Check_http bug ?

"Warrick FitzGerald" <[email protected]> Wed, 18 Dec 2002 21:04:00 +0500 (GMT-5)
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Hi All,

I have for a number of days now, being trying to figure out why the
Check_http tool will not successfully against a site of mine.

I do not get any error message, but I also do not get a success message.
The reason seems to be due to a malformed HTTP GET request that the tool
is making. The HTTP spec specifies that the header should end in a double
carriage return, and if any more data is being sent a content-length must
be specified.

I am using “check_http (netsaint-plugins 1.2.9-4) 1.32.2.6”

As you can see from the tcpdump output in the last packet there are three
sets of carriage return line feeds, one more than should be sent.

09:45:54.671260 172.16.1.100.46045 > 206.65.169.151.80: P 1:17(16) ack 1
win 5840 <nop,nop,timestamp 46608955 0> (DF)
0x0000   4500 0044 522b 4000 4006 c33b ac10 0164        E..DR+@.@..;...d
0x0010   ce41 a997 b3dd 0050 4c9b 6013 0b09 b70c        .A.....PL.`.....
0x0020   8018 16d0 10fe 0000 0101 080a 02c7 323b        ..............2;
0x0030   0000 0000 4745 5420 2f20 4854 5450 2f31        ....GET./.HTTP/1
0x0040   2e30 0d0a                                      .0..
09:45:54.854386 206.65.169.151.80 > 172.16.1.100.46045: . ack 17 win 16544
<nop,nop,timestamp 80401406 46608955> (DF)
0x0000   4500 0034 6ebb 4000 7c06 6abb ce41 a997        E..4n.@.|.j..A..
0x0010   ac10 0164 0050 b3dd 0b09 b70c 4c9b 6023        ...d.P......L.`#
0x0020   8010 40a0 e002 0000 0101 080a 04ca d3fe        ..@.............
0x0030   02c7 323b                                      ..2;
09:45:54.854499 172.16.1.100.46045 > 206.65.169.151.80: P 17:111(94) ack 1
win 5840 <nop,nop,timestamp 46608973 80401406> (DF)
0x0000   4500 0092 522c 4000 4006 c2ec ac10 0164        E...R,@[email protected]
0x0010   ce41 a997 b3dd 0050 4c9b 6023 0b09 b70c        .A.....PL.`#....
0x0020   8018 16d0 e2bb 0000 0101 080a 02c7 324d        ..............2M
0x0030   04ca d3fe 486f 7374 3a20 7777 772e 6c69        ....Host:.www.li
0x0040   7665 7465 6368 6e6f 6c6f 6779 2e63 6f6d        vetechnology.com
0x0050   0d0a 5573 6572 2d41 6765 6e74 3a20 6368        ..User-Agent:.ch
0x0060   6563 6b5f 6874 7470 2f31 2e33 322e 322e        eck_http/1.32.2.
0x0070   3620 286e 6574 7361 696e 742d 706c 7567        6.(netsaint-plug
0x0080   696e 7320 312e 322e 392d 3429 0d0a 0d0a        ins.1.2.9-4)....
0x0090   0d0a                                           ..

Could someone please confirm that this is a bug? You can test by making a
request to http://www.LiveTechnology.com

Thanks
Warrick FitzGerld
LiveTechnology Holdings Inc





-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/