[Bug 381246] [NEW] check_http adds Port to Host Header (which is a violation of RFC) leading to problems checking certain hosts; current official nagios plugin sources fixes the problem

Sebastian Nohn sebastian at nohn.net
Thu May 28 11:25:01 BST 2009


Public bug reported:

Ubuntu 8.04 sends this:

E..<.. at .@...W.  .P......P...Q...................

.~.........
12:23:13.384425 IP 80.237.198.212.80 > 87.230.9.180.54999: S 1138991569:1138991569(0) ack 3164577106 win 5792 <mss 1460,sackOK,timestamp 1351211080 183271144,nop,wscale 2>
E..<.. at .;..`P...W.      ..P..C......R...............
P..H
.~.....
12:23:13.384448 IP 87.230.9.180.54999 > 80.237.198.212.80: . ack 1 win 1460 <nop,nop,timestamp 183271145 1351211080>
E..4.. at .@...W.  .P......P...RC........6.....

.~.P..H
12:23:13.384564 IP 87.230.9.180.54999 > 80.237.198.212.80: P 1:117(116) ack 1 win 1460 <nop,nop,timestamp 183271145 1351211080>
E..... at .@..6W.  .P......P...RC........s.....

.~.P..HGET / HTTP/1.0
User-Agent: check_http/v1944 (nagios-plugins 1.4.11)
Connection: close
Host: www.ligatus.de:80

Expected (an in current official nagios plugins) is:

12:24:32.231387 IP 192.168.31.102.54538 > 80.237.198.212.80: S 2155244456:2155244456(0) win 5840 <mss 1460,sackOK,timestamp 39048674 0,nop,wscale 6>
E..<.J at .@......fP....
.P.vk....................
.S..........
12:24:32.236297 IP 80.237.198.212.80 > 192.168.31.102.54538: S 1890808228:1890808228(0) ack 2155244457 win 5792 <mss 1380,sackOK,timestamp 1351289965 39048674,nop,wscale 2>
E..<.. at .7.K.P......f.P.
p.q..vk.....`......d...
P..m.S......
12:24:32.236335 IP 192.168.31.102.54538 > 80.237.198.212.80: . ack 1 win 92 <nop,nop,timestamp 39048675 1351289965>
E..4.K at .@......fP....
.P.vk.p.q....\.......
.S..P..m
12:24:32.239564 IP 192.168.31.102.54538 > 80.237.198.212.80: P 1:114(113) ack 1 win 92 <nop,nop,timestamp 39048676 1351289965>
E....L at .@..6...fP....
.P.vk.p.q....\.g.....
.S..P..mGET / HTTP/1.0
User-Agent: check_http/v2053 (nagios-plugins 1.4.13)
Connection: close
Host: www.ligatus.de

** Affects: nagios-plugins (Ubuntu)
     Importance: Undecided
         Status: New

-- 
check_http adds Port to Host Header (which is a violation of RFC) leading to problems checking certain hosts; current official nagios plugin sources fixes the problem
https://bugs.launchpad.net/bugs/381246
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nagios-plugins in ubuntu.



More information about the Ubuntu-server-bugs mailing list