[Pkg-gnutls-maint] Bug#466477: a "problem" https server

Andreas Metzler ametzler at downhill.at.eu.org
Sat Jul 12 09:24:48 UTC 2008


On 2008-07-10 Markus Schiegl <ms at schiegl.com> wrote:
> while analyzing a similar problem showing the same specified 
> error-message "A TLS packet with unexpected length was received" i've 
> found this report and your request for a test address.

> So I hope this doesn't cause any confusion - maybe it's a completely 
> different issue.

> Nevertheless one example target is https://www.lbbw.de/ (I'm the 
> webmaster). My failed tests involved gnutls-cli version 1.4.4 on 
> Ubuntu7.04 and version 2.4.1 on Gentoo (yes i know, no "pure" debian :-)

> If you have any questions don't hesitate to ask.

> kind regards,
> Markus

Confirmed with 2.4.1-1 on Debian sid.

gnutls-cli --debug 200  -p https www.lbbw.de 

It seems to be a different issue than the original one though, the
handshake is completed successfully but sending data seems to cause
the crash:

------------------
- Handshake was completed

- Simple Client Mode:

get /
|<4>| REC[9009ca0]: Sending Packet[1] Application Data(23) with length: 6
|<7>| WRITE: Will write 85 bytes to 4.
|<7>| WRITE: wrote 85 bytes to 4. Left 0 bytes. Total 85 bytes.
|<7>| 0000 - 17 03 01 00 50 4d f9 76 5b 71 2b 1b 7c 66 c7 90
|<7>| 0001 - aa 19 c4 a1 b6 e2 bb 07 0b 41 d1 c5 a1 02 40 cd
|<7>| 0002 - 56 a8 3e 59 28 78 5e 40 43 0f c7 c8 13 b6 8b 3e
|<7>| 0003 - a5 13 a5 bb ff 50 e7 60 76 db e5 26 66 26 83 6b
|<7>| 0004 - b2 36 cc 1a 80 9e af 88 6a 10 d8 5a 24 93 94 3d
|<7>| 0005 - e1 ce 6c ad a2
|<4>| REC[9009ca0]: Sent Packet[2] Application Data(23) with length: 85
|<7>| READ: Got 0 bytes from 4
|<7>| READ: read 0 bytes from 4
|<7>| 0000 -
|<2>| ASSERT: gnutls_buffers.c:638
|<2>| ASSERT: gnutls_record.c:909
*** Fatal error: A TLS packet with unexpected length was received.
*** Server has terminated the connection abnormally.
random usage: poolsize=600 mixed=26 polls=25/120 added=629/13576
              outmix=4 getlvl1=4/134 getlvl2=0/0
------------------

cu andreas





More information about the Pkg-gnutls-maint mailing list