Search squid archive

Re: Zero Sized Reply / Invalid response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El 20/08/2008, a las 23:19, Henrik Nordstrom escribió:

On ons, 2008-08-20 at 15:15 +0100, Pedro Mansito Pérez wrote:

It fails on: 2.6 STABLE14, 2.7 STABLE4 and 3.0 STABLE7 (with and
without the Accept-Encoding hack).

You don't need the Accept-Encoding hack with Suqid-2.7.

What you should do now is to fire up wireshark on the proxy server and
look in detail what the response from the web server looks like, and
post the result here..

1. Start wireshark.

2. Trigger the issue.

3. Locate the GET /... request sent to the web server where the problem
is seen.

4. Anaylyze -> Follow TCP stream to get it nicely formatted.


Hello Henrik,

I have never used wireshark or tshark, so excuse my ignorance.


# 10.13.44.6 is the client computer (IE 6, use HTTP/1.1 on proxy connections disabled)
# 10.13.44.119 is the squid server (2.7.STABLE4)
root@betelgeuse:~# tshark  | grep -i http | grep "10.13.44.119"
Running as user "root" and group "root". This could be dangerous.
Capturing on eth0
23.065698 10.13.44.6 -> 10.13.44.119 HTTP GET http://www.transhotel.com/ HTTP/1.0 23.262692 10.13.44.119 -> 88.221.9.246 TCP 35568 > http [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=59255758 TSER=0 WS=6 23.262946 88.221.9.246 -> 10.13.44.119 TCP http > 35568 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=25083290 TSER=59255758 WS=0 23.263009 10.13.44.119 -> 88.221.9.246 TCP 35568 > http [ACK] Seq=1 Ack=1 Win=5888 Len=0 TSV=59255759 TSER=25083290
 23.263360 10.13.44.119 -> 88.221.9.246 HTTP GET / HTTP/1.0
23.263653 88.221.9.246 -> 10.13.44.119 TCP http > 35568 [ACK] Seq=1 Ack=532 Win=6432 Len=0 TSV=25083290 TSER=59255759 23.663147 88.221.9.246 -> 10.13.44.119 HTTP HTTP/1.0 301 Moved Permanently (text/html) 23.663189 10.13.44.119 -> 88.221.9.246 TCP 35568 > http [ACK] Seq=532 Ack=491 Win=6912 Len=0 TSV=59255859 TSER=25083330 23.663844 10.13.44.119 -> 10.13.44.6 HTTP HTTP/1.0 301 Moved Permanently (text/html) 23.670320 10.13.44.6 -> 10.13.44.119 HTTP GET http://www.transhotel.com/pls/b2b/ HTTP/1.0
 23.670880 10.13.44.119 -> 88.221.9.246 HTTP GET /pls/b2b/ HTTP/1.0
23.671176 88.221.9.246 -> 10.13.44.119 TCP http > 35568 [ACK] Seq=491 Ack=1112 Win=7540 Len=0 TSV=25083331 TSER=59255861 23.875901 88.221.9.246 -> 10.13.44.119 HTTP HTTP/1.0 302 Moved Temporarily 23.876578 10.13.44.119 -> 10.13.44.6 HTTP HTTP/1.0 302 Moved Temporarily 23.877295 10.13.44.6 -> 10.13.44.119 HTTP GET http://www.transhotel.com/pls/b2b/!pkHome.html HTTP/1.0 23.877896 10.13.44.119 -> 88.221.9.246 HTTP GET /pls/b2b/! pkHome.html HTTP/1.0 23.878199 88.221.9.246 -> 10.13.44.119 TCP http > 35568 [ACK] Seq=761 Ack=1704 Win=8880 Len=0 TSV=25083352 TSER=59255913 150.448657 88.221.9.246 -> 10.13.44.119 TCP http > 35568 [FIN, ACK] Seq=761 Ack=1704 Win=8880 Len=0 TSV=25096009 TSER=59255913 150.448868 10.13.44.119 -> 88.221.9.246 TCP 35568 > http [FIN, ACK] Seq=1704 Ack=762 Win=8000 Len=0 TSV=59287556 TSER=25096009 150.449116 88.221.9.246 -> 10.13.44.119 TCP http > 35568 [ACK] Seq=762 Ack=1705 Win=8880 Len=0 TSV=25096009 TSER=59287556 150.812096 10.13.44.119 -> 88.221.9.246 TCP 58993 > http [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=59287646 TSER=0 WS=6 150.812351 88.221.9.246 -> 10.13.44.119 TCP http > 58993 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=25096045 TSER=59287646 WS=0 150.812403 10.13.44.119 -> 88.221.9.246 TCP 58993 > http [ACK] Seq=1 Ack=1 Win=5888 Len=0 TSV=59287646 TSER=25096045 150.812752 10.13.44.119 -> 88.221.9.246 HTTP GET /pls/b2b/!pkHome.html HTTP/1.0 150.813051 88.221.9.246 -> 10.13.44.119 TCP http > 58993 [ACK] Seq=1 Ack=593 Win=6512 Len=0 TSV=25096045 TSER=59287647 310.494229 88.221.9.246 -> 10.13.44.119 TCP http > 58993 [FIN, ACK] Seq=1 Ack=593 Win=6512 Len=0 TSV=25112013 TSER=59287647


# Now the same request, using lynx running on the squid server and NOT using the proxy
root@betelgeuse:~# tshark  | grep -i http  | grep "10.13.44.119"
Running as user "root" and group "root". This could be dangerous.
Capturing on eth0
9.670369 10.13.44.119 -> 88.221.9.246 TCP 52168 > http [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=59388155 TSER=0 WS=6 9.670623 88.221.9.246 -> 10.13.44.119 TCP http > 52168 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=25136247 TSER=59388155 WS=0 9.670703 10.13.44.119 -> 88.221.9.246 TCP 52168 > http [ACK] Seq=1 Ack=1 Win=5888 Len=0 TSV=59388155 TSER=25136247
  9.673143 10.13.44.119 -> 88.221.9.246 HTTP GET / HTTP/1.0
9.673411 88.221.9.246 -> 10.13.44.119 TCP http > 52168 [ACK] Seq=1 Ack=242 Win=6432 Len=0 TSV=25136247 TSER=59388156 9.844520 88.221.9.246 -> 10.13.44.119 HTTP HTTP/1.0 301 Moved Permanently (text/html) 9.844578 10.13.44.119 -> 88.221.9.246 TCP 52168 > http [ACK] Seq=242 Ack=509 Win=6912 Len=0 TSV=59388198 TSER=25136264 9.844526 88.221.9.246 -> 10.13.44.119 TCP http > 52168 [FIN, ACK] Seq=509 Ack=242 Win=6432 Len=0 TSV=25136264 TSER=59388156 9.848501 10.13.44.119 -> 88.221.9.246 TCP 52168 > http [FIN, ACK] Seq=242 Ack=510 Win=6912 Len=0 TSV=59388199 TSER=25136264 9.848733 88.221.9.246 -> 10.13.44.119 TCP http > 52168 [ACK] Seq=510 Ack=243 Win=6432 Len=0 TSV=25136265 TSER=59388199 13.952400 10.13.44.119 -> 88.221.9.246 TCP 52169 > http [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=59389225 TSER=0 WS=6 13.952688 88.221.9.246 -> 10.13.44.119 TCP http > 52169 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=25136675 TSER=59389225 WS=0 13.952759 10.13.44.119 -> 88.221.9.246 TCP 52169 > http [ACK] Seq=1 Ack=1 Win=5888 Len=0 TSV=59389225 TSER=25136675
 13.955287 10.13.44.119 -> 88.221.9.246 HTTP GET /pls/b2b/ HTTP/1.0
13.955556 88.221.9.246 -> 10.13.44.119 TCP http > 52169 [ACK] Seq=1 Ack=250 Win=6432 Len=0 TSV=25136675 TSER=59389226 14.116854 88.221.9.246 -> 10.13.44.119 HTTP HTTP/1.0 302 Moved Temporarily 14.116899 10.13.44.119 -> 88.221.9.246 TCP 52169 > http [ACK] Seq=250 Ack=266 Win=6912 Len=0 TSV=59389267 TSER=25136691 14.116925 88.221.9.246 -> 10.13.44.119 TCP http > 52169 [FIN, ACK] Seq=266 Ack=250 Win=6432 Len=0 TSV=25136691 TSER=59389226 14.120296 10.13.44.119 -> 88.221.9.246 TCP 52169 > http [FIN, ACK] Seq=250 Ack=267 Win=6912 Len=0 TSV=59389267 TSER=25136691 14.120520 88.221.9.246 -> 10.13.44.119 TCP http > 52169 [ACK] Seq=267 Ack=251 Win=6432 Len=0 TSV=25136692 TSER=59389267 18.214047 10.13.44.119 -> 88.221.9.246 TCP 52170 > http [SYN] Seq=0 Win=5840 Len=0 MSS=1460 TSV=59390291 TSER=0 WS=6 18.214298 88.221.9.246 -> 10.13.44.119 TCP http > 52170 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=25137101 TSER=59390291 WS=0 18.214365 10.13.44.119 -> 88.221.9.246 TCP 52170 > http [ACK] Seq=1 Ack=1 Win=5888 Len=0 TSV=59390291 TSER=25137101 18.216931 10.13.44.119 -> 88.221.9.246 HTTP GET /pls/b2b/! pkHome.html HTTP/1.0 18.217201 88.221.9.246 -> 10.13.44.119 TCP http > 52170 [ACK] Seq=1 Ack=262 Win=6432 Len=0 TSV=25137101 TSER=59390292 18.587615 10.13.44.119 -> 88.221.9.246 TCP 52170 > http [ACK] Seq=262 Ack=1449 Win=8768 Len=0 TSV=59390384 TSER=25137139

Regards,

Pedro



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux