Fehler bei VPNC-Cisco + Schnellmodusantwort abgelehnt

1146
eytan

Ich habe ein vpnc auf meiner Linux-Red Hat-Version 6.3 installiert

In den meisten Fällen funktioniert vpnc gut (Verbindung zu Gateway-Kunden über vpnc)

Gegen bestimmte Kunden (Cisco Gateways) erhalte ich jedoch unmittelbar nach der Aktivierung des vpnc die folgenden Meldungen:

 vpnc: quick mode response rejected: (ISAKMP_N_INVALID_PAYLOAD_TYPE)(1) 

In diesem Fall konnte Vpnc nicht angeschlossen werden

Bitte beraten was das problem hier ist?

 [root@TEST-LINUX-MACHINE /var/tmp]# vpnc 

.

 Enter password for user@216.134.162.39:    Connect Banner: | Remote access to UGG company resources is restricted to AUTHORIZED USERS! |  | Company resources may only be used for the purpose of performing work-related duties. | The user is responsible for protecting the confidentiality and integrity of the company resources. | Violation may cause disciplinary action. | By clicking on "Continue" the user agrees with the rules above. |  

.

 RTNETLINK answers: File exists **vpnc: quick mode response rejected: (ISAKMP_N_INVALID_PAYLOAD_TYPE)(1)** this means the concentrator did not like what we had to offer. 

.

 Possible reasons are:  * concentrator configured to require a firewall this locks out even Cisco clients on any platform expect windows which is an obvious security improvment. There is no workaround (yet). 

.

* concentrator configured to require IP compression this is not yet supported by vpnc. Note: the Cisco Concentrator Documentation recommends against using compression, expect on low-bandwith (read: ISDN) links, because it uses much CPU-resources on the concentrator 

Ich versuche auch folgendes zu tun

 Add the line "NAT Traversal Mode cisco-udp" in /etc/vpnc.conf 

Oder

 Add the line "Local Port 10000" in /etc/vpnc.conf 

Aber sie helfen mir und ich bekomme immer noch die schlechten Nachrichten (sollte nicht durch den vpnc verbunden sein)

Bitte beraten, wo ist das Problem?

2

1 Antwort auf die Frage

1
Fabian Heller

Ich hatte ein ähnliches Problem mit der Vpnc-Version von CentOS 7. Die Verwendung einer neueren Vpnc-Version mit den neuesten Änderungen von SVN hat es gelöst.

Der einfachste Weg für Red Hat oder CentOS ist die Verwendung des Quellpakets Fedora 24 und das Kompilieren. Unter CentOS 7 sollte Folgendes funktionieren:

$ sudo yum install gcc make redhat-rpm-config libgcrypt-devel libgpg-error-devel gnutls-devel $ mkdir -p ~/rpmbuild/ $ test -f ~/.rpmmacros || echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros $ curl -LO https://dl.fedoraproject.org/pub/fedora/linux/releases/24/Workstation/source/tree/Packages/v/vpnc-0.5.3-27.svn550.fc24.src.rpm $ rpmbuild --rebuild vpnc-0.5.3-27.svn550.fc24.src.rpm $ sudo yum localinstall ~/rpmbuild/RPMS/x86_64/vpnc-0.5.3-27.svn550.el7.local.x86_64.rpm