[Openvas-devel] occasional gnutls_handschake error
jan-oliver.wagner at intevation.de
Wed Jun 18 17:08:12 CEST 2008
working with SLAD as described on
I occasionally got this messages from openvasd:
|  gnutls_handshake: A TLS packet with unexpected length was received.
|  gnutls_handshake: A record packet with illegal version was received.
|  gnutls_handshake: Function was interrupted.
after patching slad_ssh.inc to use get_ssh_error() for better error messages
| Reported by NVT "SLAD Fetch Results" (126.96.36.199.4.1.256188.8.131.52003):
| SSH login failed: Public key authentication failed.
Funny enough, SLAD Run script executed successfully.
Later on, SAD Fetch worked as well and I received the
SLAD analysis results.
The above error message is produced in ssh_func.inc:
| # code 60 (SSH_MSG_USERAUTH_PK_OK)
| payload = recv_ssh_packet(socket:socket);
| if ((ord(payload) == 52) || (ord(payload) == 60))
| authenticated = 1;
| if (!authenticated)
| payload = "Public key authentication failed.";
Seems the first character of the ssh packet is sometimes bad.
Just to let you know there is something to keep in mind.
Maybe someone likes to dig into this further.
Dr. Jan-Oliver Wagner Intevation GmbH, Osnabrück
Amtsgericht Osnabrück, HR B 18998 http://www.intevation.de/
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
More information about the Openvas-devel