[prelude-user] GnuTLS "handshake failed" when registering

Yoann Vandoorselaere yoann.v at prelude-ids.com
Mon Sep 22 16:29:36 CEST 2008


Hi,

Le jeudi 11 septembre 2008 à 09:58 -0400, heyerichunter at aim.com a
écrit :

[...]

> Connection from ::ffff:127.0.0.1:49903...
> GnuTLS handshake failed: A TLS packet with unexpected length was 
> received..

> not very helpful errors.. at least not to me. So I ran an strace on the 
> manager side, in the hopes I can see a little clearer:

> accept(4, {sa_family=AF_INET6, sin6_port=htons(51354), 
> inet_pton(AF_INET6, "::ff
> ff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 
> [120259084288]) =
>  5
> recv(-7613696, 0x8004e9b0, 5, 0)        = -1 EBADF (Bad file descriptor)

The strace output look real strange: accept() return a file descriptor
(number 5), which other function find invalid (EBADF error).

[...]

> Even though  I see  (Address already in use), I dont see 5553 already 
> in use in netstat output, nor does "ps" show any managers already 
> running...

The address already in use error you see in the strace output is normal
behavior, you can safely ignore this issue.

[...]

> ..another "Bad file descriptor".. .well, at least they agree on 
> something.
> 
> I'm starting to wonder if I'm missing a file that GNUtls would like to 
> see, but I cant tell what it is. Am I missing something in my setup 
> here??

Would it be possible for you to retry with the recently released
libprelude-0.9.21 version, and confirm whether you are hitting the same
issue?

Thanks,

-- 
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)9 50 70 21 58                  Fax: +33(0)9 57 25 21 58
http://www.prelude-ids.com



More information about the Prelude-user mailing list