-------- Pôvodná správa --- Original Message -------- Predmet: Re: Squid 3 Bad request reply Dátum: Thu, 12 Sep 2013 16:08:39 +0200 Od: Mgr. Peter Tuharsky <tuharsky@xxxxxxxx> Pre: Amos Jeffries <squid3@xxxxxxxxxxxxx> Here is the full communication (one attempt): /* Frame (375 bytes) */ static const unsigned char pkt185[375] = { 0x00, 0x04, 0x00, 0x01, 0x00, 0x06, 0x00, 0x21, /* .......! */ 0x85, 0x1c, 0xa9, 0x0e, 0x00, 0x00, 0x08, 0x00, /* ........ */ 0x45, 0x00, 0x01, 0x67, 0x51, 0xc2, 0x40, 0x00, /* E..gQ.@. */ 0x40, 0x06, 0xc6, 0x56, 0x0a, 0x02, 0x18, 0x08, /* @..V.... */ 0x3e, 0xc5, 0xc0, 0xa9, 0xcc, 0x73, 0x00, 0x50, /* >....s.P */ 0xe0, 0x3b, 0xba, 0x0c, 0x85, 0x43, 0x1f, 0xc2, /* .;...C.. */ 0x80, 0x18, 0x00, 0xf5, 0x5c, 0xd1, 0x00, 0x00, /* ....\... */ 0x01, 0x01, 0x08, 0x0a, 0x19, 0xd6, 0xf0, 0xef, /* ........ */ 0x19, 0xcb, 0x8b, 0x46, 0x47, 0x45, 0x54, 0x20, /* ...FGET */ 0x2f, 0x20, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, /* / HTTP/1 */ 0x2e, 0x31, 0x0d, 0x0a, 0x48, 0x6f, 0x73, 0x74, /* .1..Host */ 0x3a, 0x20, 0x77, 0x77, 0x77, 0x2e, 0x7a, 0x72, /* : www.zr */ 0x73, 0x72, 0x2e, 0x73, 0x6b, 0x0d, 0x0a, 0x55, /* sr.sk..U */ 0x73, 0x65, 0x72, 0x2d, 0x41, 0x67, 0x65, 0x6e, /* ser-Agen */ 0x74, 0x3a, 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, /* t: Mozil */ 0x6c, 0x61, 0x2f, 0x35, 0x2e, 0x30, 0x20, 0x28, /* la/5.0 ( */ 0x58, 0x31, 0x31, 0x3b, 0x20, 0x4c, 0x69, 0x6e, /* X11; Lin */ 0x75, 0x78, 0x20, 0x78, 0x38, 0x36, 0x5f, 0x36, /* ux x86_6 */ 0x34, 0x3b, 0x20, 0x72, 0x76, 0x3a, 0x31, 0x30, /* 4; rv:10 */ 0x2e, 0x30, 0x2e, 0x31, 0x32, 0x29, 0x20, 0x47, /* .0.12) G */ 0x65, 0x63, 0x6b, 0x6f, 0x2f, 0x32, 0x30, 0x31, /* ecko/201 */ 0x33, 0x30, 0x31, 0x31, 0x39, 0x20, 0x46, 0x69, /* 30119 Fi */ 0x72, 0x65, 0x66, 0x6f, 0x78, 0x2f, 0x31, 0x30, /* refox/10 */ 0x2e, 0x30, 0x2e, 0x31, 0x31, 0x65, 0x73, 0x72, /* .0.11esr */ 0x70, 0x72, 0x65, 0x20, 0x49, 0x63, 0x65, 0x61, /* pre Icea */ 0x70, 0x65, 0x2f, 0x32, 0x2e, 0x37, 0x2e, 0x31, /* pe/2.7.1 */ 0x32, 0x0d, 0x0a, 0x41, 0x63, 0x63, 0x65, 0x70, /* 2..Accep */ 0x74, 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, /* t: text/ */ 0x68, 0x74, 0x6d, 0x6c, 0x2c, 0x61, 0x70, 0x70, /* html,app */ 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, /* lication */ 0x2f, 0x78, 0x68, 0x74, 0x6d, 0x6c, 0x2b, 0x78, /* /xhtml+x */ 0x6d, 0x6c, 0x2c, 0x61, 0x70, 0x70, 0x6c, 0x69, /* ml,appli */ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x78, /* cation/x */ 0x6d, 0x6c, 0x3b, 0x71, 0x3d, 0x30, 0x2e, 0x39, /* ml;q=0.9 */ 0x2c, 0x2a, 0x2f, 0x2a, 0x3b, 0x71, 0x3d, 0x30, /* ,*/*;q=0 */ 0x2e, 0x38, 0x0d, 0x0a, 0x41, 0x63, 0x63, 0x65, /* .8..Acce */ 0x70, 0x74, 0x2d, 0x4c, 0x61, 0x6e, 0x67, 0x75, /* pt-Langu */ 0x61, 0x67, 0x65, 0x3a, 0x20, 0x65, 0x6e, 0x2d, /* age: en- */ 0x75, 0x73, 0x2c, 0x65, 0x6e, 0x3b, 0x71, 0x3d, /* us,en;q= */ 0x30, 0x2e, 0x35, 0x0d, 0x0a, 0x41, 0x63, 0x63, /* 0.5..Acc */ 0x65, 0x70, 0x74, 0x2d, 0x45, 0x6e, 0x63, 0x6f, /* ept-Enco */ 0x64, 0x69, 0x6e, 0x67, 0x3a, 0x20, 0x67, 0x7a, /* ding: gz */ 0x69, 0x70, 0x2c, 0x20, 0x64, 0x65, 0x66, 0x6c, /* ip, defl */ 0x61, 0x74, 0x65, 0x0d, 0x0a, 0x43, 0x6f, 0x6e, /* ate..Con */ 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, /* nection: */ 0x20, 0x6b, 0x65, 0x65, 0x70, 0x2d, 0x61, 0x6c, /* keep-al */ 0x69, 0x76, 0x65, 0x0d, 0x0a, 0x0d, 0x0a /* ive.... */ }; /* Frame (373 bytes) */ static const unsigned char pkt186[373] = { 0xc8, 0x9c, 0x1d, 0x49, 0x72, 0xd0, 0x00, 0x21, /* ...Ir..! */ 0x85, 0x1c, 0xa9, 0x0e, 0x08, 0x00, 0x45, 0x00, /* ......E. */ 0x01, 0x67, 0x51, 0xc2, 0x40, 0x00, 0x40, 0x06, /* .gQ.@.@. */ 0xc6, 0x56, 0x0a, 0x02, 0x18, 0x08, 0x3e, 0xc5, /* .V....>. */ 0xc0, 0xa9, 0xcc, 0x73, 0x00, 0x50, 0xe0, 0x3b, /* ...s.P.; */ 0xba, 0x0c, 0x85, 0x43, 0x1f, 0xc2, 0x80, 0x18, /* ...C.... */ 0x00, 0xf5, 0x5c, 0xd1, 0x00, 0x00, 0x01, 0x01, /* ..\..... */ 0x08, 0x0a, 0x19, 0xd6, 0xf0, 0xef, 0x19, 0xcb, /* ........ */ 0x8b, 0x46, 0x47, 0x45, 0x54, 0x20, 0x2f, 0x20, /* .FGET / */ 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x31, /* HTTP/1.1 */ 0x0d, 0x0a, 0x48, 0x6f, 0x73, 0x74, 0x3a, 0x20, /* ..Host: */ 0x77, 0x77, 0x77, 0x2e, 0x7a, 0x72, 0x73, 0x72, /* www.zrsr */ 0x2e, 0x73, 0x6b, 0x0d, 0x0a, 0x55, 0x73, 0x65, /* .sk..Use */ 0x72, 0x2d, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x3a, /* r-Agent: */ 0x20, 0x4d, 0x6f, 0x7a, 0x69, 0x6c, 0x6c, 0x61, /* Mozilla */ 0x2f, 0x35, 0x2e, 0x30, 0x20, 0x28, 0x58, 0x31, /* /5.0 (X1 */ 0x31, 0x3b, 0x20, 0x4c, 0x69, 0x6e, 0x75, 0x78, /* 1; Linux */ 0x20, 0x78, 0x38, 0x36, 0x5f, 0x36, 0x34, 0x3b, /* x86_64; */ 0x20, 0x72, 0x76, 0x3a, 0x31, 0x30, 0x2e, 0x30, /* rv:10.0 */ 0x2e, 0x31, 0x32, 0x29, 0x20, 0x47, 0x65, 0x63, /* .12) Gec */ 0x6b, 0x6f, 0x2f, 0x32, 0x30, 0x31, 0x33, 0x30, /* ko/20130 */ 0x31, 0x31, 0x39, 0x20, 0x46, 0x69, 0x72, 0x65, /* 119 Fire */ 0x66, 0x6f, 0x78, 0x2f, 0x31, 0x30, 0x2e, 0x30, /* fox/10.0 */ 0x2e, 0x31, 0x31, 0x65, 0x73, 0x72, 0x70, 0x72, /* .11esrpr */ 0x65, 0x20, 0x49, 0x63, 0x65, 0x61, 0x70, 0x65, /* e Iceape */ 0x2f, 0x32, 0x2e, 0x37, 0x2e, 0x31, 0x32, 0x0d, /* /2.7.12. */ 0x0a, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x3a, /* .Accept: */ 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, /* text/ht */ 0x6d, 0x6c, 0x2c, 0x61, 0x70, 0x70, 0x6c, 0x69, /* ml,appli */ 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x78, /* cation/x */ 0x68, 0x74, 0x6d, 0x6c, 0x2b, 0x78, 0x6d, 0x6c, /* html+xml */ 0x2c, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, /* ,applica */ 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x78, 0x6d, 0x6c, /* tion/xml */ 0x3b, 0x71, 0x3d, 0x30, 0x2e, 0x39, 0x2c, 0x2a, /* ;q=0.9,* */ 0x2f, 0x2a, 0x3b, 0x71, 0x3d, 0x30, 0x2e, 0x38, /* /*;q=0.8 */ 0x0d, 0x0a, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, /* ..Accept */ 0x2d, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, /* -Languag */ 0x65, 0x3a, 0x20, 0x65, 0x6e, 0x2d, 0x75, 0x73, /* e: en-us */ 0x2c, 0x65, 0x6e, 0x3b, 0x71, 0x3d, 0x30, 0x2e, /* ,en;q=0. */ 0x35, 0x0d, 0x0a, 0x41, 0x63, 0x63, 0x65, 0x70, /* 5..Accep */ 0x74, 0x2d, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, /* t-Encodi */ 0x6e, 0x67, 0x3a, 0x20, 0x67, 0x7a, 0x69, 0x70, /* ng: gzip */ 0x2c, 0x20, 0x64, 0x65, 0x66, 0x6c, 0x61, 0x74, /* , deflat */ 0x65, 0x0d, 0x0a, 0x43, 0x6f, 0x6e, 0x6e, 0x65, /* e..Conne */ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x6b, /* ction: k */ 0x65, 0x65, 0x70, 0x2d, 0x61, 0x6c, 0x69, 0x76, /* eep-aliv */ 0x65, 0x0d, 0x0a, 0x0d, 0x0a /* e.... */ }; /* Frame (92 bytes) */ static const unsigned char pkt190[92] = { 0x00, 0x21, 0x85, 0x1c, 0xa9, 0x0e, 0xc8, 0x9c, /* .!...... */ 0x1d, 0x49, 0x72, 0xd0, 0x08, 0x00, 0x45, 0x00, /* .Ir...E. */ 0x00, 0x4e, 0x95, 0xfb, 0x40, 0x00, 0x3f, 0x06, /* .N..@.?. */ 0x84, 0x36, 0x3e, 0xc5, 0xc0, 0xa9, 0x0a, 0x02, /* .6>..... */ 0x18, 0x08, 0x00, 0x50, 0xcc, 0x73, 0x85, 0x43, /* ...P.s.C */ 0x1f, 0xc2, 0xe0, 0x3b, 0xbb, 0x3f, 0x80, 0x18, /* ...;.?.. */ 0x01, 0x04, 0x47, 0xc2, 0x00, 0x00, 0x01, 0x01, /* ..G..... */ 0x08, 0x0a, 0x19, 0xcb, 0x92, 0xce, 0x19, 0xd6, /* ........ */ 0xf0, 0xef, 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, /* ..HTTP/1 */ 0x2e, 0x30, 0x20, 0x34, 0x30, 0x30, 0x20, 0x42, /* .0 400 B */ 0x61, 0x64, 0x20, 0x52, 0x65, 0x71, 0x75, 0x65, /* ad Reque */ 0x73, 0x74, 0x0d, 0x0a /* st.. */ }; /* Frame (66 bytes) */ static const unsigned char pkt191[66] = { 0xc8, 0x9c, 0x1d, 0x49, 0x72, 0xd0, 0x00, 0x21, /* ...Ir..! */ 0x85, 0x1c, 0xa9, 0x0e, 0x08, 0x00, 0x45, 0x00, /* ......E. */ 0x00, 0x34, 0x51, 0xc3, 0x40, 0x00, 0x40, 0x06, /* .4Q.@.@. */ 0xc7, 0x88, 0x0a, 0x02, 0x18, 0x08, 0x3e, 0xc5, /* ......>. */ 0xc0, 0xa9, 0xcc, 0x73, 0x00, 0x50, 0xe0, 0x3b, /* ...s.P.; */ 0xbb, 0x3f, 0x85, 0x43, 0x1f, 0xdc, 0x80, 0x10, /* .?.C.... */ 0x00, 0xf5, 0x21, 0x9f, 0x00, 0x00, 0x01, 0x01, /* ..!..... */ 0x08, 0x0a, 0x19, 0xd6, 0xf0, 0xf1, 0x19, 0xcb, /* ........ */ 0x92, 0xce /* .. */ }; /* Frame (297 bytes) */ static const unsigned char pkt192[297] = { 0x00, 0x21, 0x85, 0x1c, 0xa9, 0x0e, 0xc8, 0x9c, /* .!...... */ 0x1d, 0x49, 0x72, 0xd0, 0x08, 0x00, 0x45, 0x00, /* .Ir...E. */ 0x01, 0x1b, 0x95, 0xfc, 0x40, 0x00, 0x3f, 0x06, /* ....@.?. */ 0x83, 0x68, 0x3e, 0xc5, 0xc0, 0xa9, 0x0a, 0x02, /* .h>..... */ 0x18, 0x08, 0x00, 0x50, 0xcc, 0x73, 0x85, 0x43, /* ...P.s.C */ 0x1f, 0xdc, 0xe0, 0x3b, 0xbb, 0x3f, 0x80, 0x18, /* ...;.?.. */ 0x01, 0x04, 0xf5, 0x11, 0x00, 0x00, 0x01, 0x01, /* ........ */ 0x08, 0x0a, 0x19, 0xcb, 0x92, 0xce, 0x19, 0xd6, /* ........ */ 0xf0, 0xef, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, /* ..Conten */ 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, /* t-Type: */ 0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, /* text/htm */ 0x6c, 0x0d, 0x0a, 0x58, 0x2d, 0x50, 0x6f, 0x77, /* l..X-Pow */ 0x65, 0x72, 0x65, 0x64, 0x2d, 0x42, 0x79, 0x3a, /* ered-By: */ 0x20, 0x41, 0x53, 0x50, 0x2e, 0x4e, 0x45, 0x54, /* ASP.NET */ 0x0d, 0x0a, 0x44, 0x61, 0x74, 0x65, 0x3a, 0x20, /* ..Date: */ 0x54, 0x68, 0x75, 0x2c, 0x20, 0x31, 0x32, 0x20, /* Thu, 12 */ 0x53, 0x65, 0x70, 0x20, 0x32, 0x30, 0x31, 0x33, /* Sep 2013 */ 0x20, 0x31, 0x33, 0x3a, 0x35, 0x35, 0x3a, 0x34, /* 13:55:4 */ 0x39, 0x20, 0x47, 0x4d, 0x54, 0x0d, 0x0a, 0x43, /* 9 GMT..C */ 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, /* ontent-L */ 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x31, /* ength: 1 */ 0x31, 0x0d, 0x0a, 0x58, 0x2d, 0x43, 0x61, 0x63, /* 1..X-Cac */ 0x68, 0x65, 0x3a, 0x20, 0x4d, 0x49, 0x53, 0x53, /* he: MISS */ 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x6c, 0x6f, /* from lo */ 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x0d, /* calhost. */ 0x0a, 0x58, 0x2d, 0x43, 0x61, 0x63, 0x68, 0x65, /* .X-Cache */ 0x2d, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x3a, /* -Lookup: */ 0x20, 0x4d, 0x49, 0x53, 0x53, 0x20, 0x66, 0x72, /* MISS fr */ 0x6f, 0x6d, 0x20, 0x6c, 0x6f, 0x63, 0x61, 0x6c, /* om local */ 0x68, 0x6f, 0x73, 0x74, 0x3a, 0x38, 0x30, 0x38, /* host:808 */ 0x30, 0x0d, 0x0a, 0x56, 0x69, 0x61, 0x3a, 0x20, /* 0..Via: */ 0x31, 0x2e, 0x30, 0x20, 0x6c, 0x6f, 0x63, 0x61, /* 1.0 loca */ 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x20, 0x28, 0x73, /* lhost (s */ 0x71, 0x75, 0x69, 0x64, 0x29, 0x0d, 0x0a, 0x43, /* quid)..C */ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, /* onnectio */ 0x6e, 0x3a, 0x20, 0x6b, 0x65, 0x65, 0x70, 0x2d, /* n: keep- */ 0x61, 0x6c, 0x69, 0x76, 0x65, 0x0d, 0x0a, 0x0d, /* alive... */ 0x0a /* . */ }; /* Frame (66 bytes) */ static const unsigned char pkt193[66] = { 0xc8, 0x9c, 0x1d, 0x49, 0x72, 0xd0, 0x00, 0x21, /* ...Ir..! */ 0x85, 0x1c, 0xa9, 0x0e, 0x08, 0x00, 0x45, 0x00, /* ......E. */ 0x00, 0x34, 0x51, 0xc4, 0x40, 0x00, 0x40, 0x06, /* .4Q.@.@. */ 0xc7, 0x87, 0x0a, 0x02, 0x18, 0x08, 0x3e, 0xc5, /* ......>. */ 0xc0, 0xa9, 0xcc, 0x73, 0x00, 0x50, 0xe0, 0x3b, /* ...s.P.; */ 0xbb, 0x3f, 0x85, 0x43, 0x20, 0xc3, 0x80, 0x10, /* .?.C ... */ 0x01, 0x06, 0x21, 0x9f, 0x00, 0x00, 0x01, 0x01, /* ..!..... */ 0x08, 0x0a, 0x19, 0xd6, 0xf0, 0xf1, 0x19, 0xcb, /* ........ */ 0x92, 0xce /* .. */ }; /* Frame (77 bytes) */ static const unsigned char pkt194[77] = { 0x00, 0x21, 0x85, 0x1c, 0xa9, 0x0e, 0xc8, 0x9c, /* .!...... */ 0x1d, 0x49, 0x72, 0xd0, 0x08, 0x00, 0x45, 0x00, /* .Ir...E. */ 0x00, 0x3f, 0x95, 0xfd, 0x40, 0x00, 0x3f, 0x06, /* .?..@.?. */ 0x84, 0x43, 0x3e, 0xc5, 0xc0, 0xa9, 0x0a, 0x02, /* .C>..... */ 0x18, 0x08, 0x00, 0x50, 0xcc, 0x73, 0x85, 0x43, /* ...P.s.C */ 0x20, 0xc3, 0xe0, 0x3b, 0xbb, 0x3f, 0x80, 0x18, /* ..;.?.. */ 0x01, 0x04, 0x4a, 0xb8, 0x00, 0x00, 0x01, 0x01, /* ..J..... */ 0x08, 0x0a, 0x19, 0xcb, 0x92, 0xce, 0x19, 0xd6, /* ........ */ 0xf0, 0xef, 0x42, 0x61, 0x64, 0x20, 0x52, 0x65, /* ..Bad Re */ 0x71, 0x75, 0x65, 0x73, 0x74 /* quest */ }; /* Reassembled TCP (268 bytes) */ static const unsigned char pkt194_1[268] = { 0x48, 0x54, 0x54, 0x50, 0x2f, 0x31, 0x2e, 0x30, /* HTTP/1.0 */ 0x20, 0x34, 0x30, 0x30, 0x20, 0x42, 0x61, 0x64, /* 400 Bad */ 0x20, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, /* Request */ 0x0d, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, /* ..Conten */ 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x20, /* t-Type: */ 0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, 0x74, 0x6d, /* text/htm */ 0x6c, 0x0d, 0x0a, 0x58, 0x2d, 0x50, 0x6f, 0x77, /* l..X-Pow */ 0x65, 0x72, 0x65, 0x64, 0x2d, 0x42, 0x79, 0x3a, /* ered-By: */ 0x20, 0x41, 0x53, 0x50, 0x2e, 0x4e, 0x45, 0x54, /* ASP.NET */ 0x0d, 0x0a, 0x44, 0x61, 0x74, 0x65, 0x3a, 0x20, /* ..Date: */ 0x54, 0x68, 0x75, 0x2c, 0x20, 0x31, 0x32, 0x20, /* Thu, 12 */ 0x53, 0x65, 0x70, 0x20, 0x32, 0x30, 0x31, 0x33, /* Sep 2013 */ 0x20, 0x31, 0x33, 0x3a, 0x35, 0x35, 0x3a, 0x34, /* 13:55:4 */ 0x39, 0x20, 0x47, 0x4d, 0x54, 0x0d, 0x0a, 0x43, /* 9 GMT..C */ 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2d, 0x4c, /* ontent-L */ 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, 0x20, 0x31, /* ength: 1 */ 0x31, 0x0d, 0x0a, 0x58, 0x2d, 0x43, 0x61, 0x63, /* 1..X-Cac */ 0x68, 0x65, 0x3a, 0x20, 0x4d, 0x49, 0x53, 0x53, /* he: MISS */ 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x6c, 0x6f, /* from lo */ 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x0d, /* calhost. */ 0x0a, 0x58, 0x2d, 0x43, 0x61, 0x63, 0x68, 0x65, /* .X-Cache */ 0x2d, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x3a, /* -Lookup: */ 0x20, 0x4d, 0x49, 0x53, 0x53, 0x20, 0x66, 0x72, /* MISS fr */ 0x6f, 0x6d, 0x20, 0x6c, 0x6f, 0x63, 0x61, 0x6c, /* om local */ 0x68, 0x6f, 0x73, 0x74, 0x3a, 0x38, 0x30, 0x38, /* host:808 */ 0x30, 0x0d, 0x0a, 0x56, 0x69, 0x61, 0x3a, 0x20, /* 0..Via: */ 0x31, 0x2e, 0x30, 0x20, 0x6c, 0x6f, 0x63, 0x61, /* 1.0 loca */ 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x20, 0x28, 0x73, /* lhost (s */ 0x71, 0x75, 0x69, 0x64, 0x29, 0x0d, 0x0a, 0x43, /* quid)..C */ 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, /* onnectio */ 0x6e, 0x3a, 0x20, 0x6b, 0x65, 0x65, 0x70, 0x2d, /* n: keep- */ 0x61, 0x6c, 0x69, 0x76, 0x65, 0x0d, 0x0a, 0x0d, /* alive... */ 0x0a, 0x42, 0x61, 0x64, 0x20, 0x52, 0x65, 0x71, /* .Bad Req */ 0x75, 0x65, 0x73, 0x74 /* uest */ }; /* Frame (66 bytes) */ static const unsigned char pkt195[66] = { 0xc8, 0x9c, 0x1d, 0x49, 0x72, 0xd0, 0x00, 0x21, /* ...Ir..! */ 0x85, 0x1c, 0xa9, 0x0e, 0x08, 0x00, 0x45, 0x00, /* ......E. */ 0x00, 0x34, 0x51, 0xc5, 0x40, 0x00, 0x40, 0x06, /* .4Q.@.@. */ 0xc7, 0x86, 0x0a, 0x02, 0x18, 0x08, 0x3e, 0xc5, /* ......>. */ 0xc0, 0xa9, 0xcc, 0x73, 0x00, 0x50, 0xe0, 0x3b, /* ...s.P.; */ 0xbb, 0x3f, 0x85, 0x43, 0x20, 0xce, 0x80, 0x10, /* .?.C ... */ 0x01, 0x06, 0x21, 0x9f, 0x00, 0x00, 0x01, 0x01, /* ..!..... */ 0x08, 0x0a, 0x19, 0xd6, 0xf0, 0xf1, 0x19, 0xcb, /* ........ */ 0x92, 0xce /* .. */ }; /* Frame (94 bytes) */ static const unsigned char pkt197[94] = { 0x00, 0x00, 0x00, 0x01, 0x00, 0x06, 0xc8, 0x9c, /* ........ */ 0x1d, 0x49, 0x72, 0xd0, 0x00, 0x00, 0x08, 0x00, /* .Ir..... */ 0x45, 0x00, 0x00, 0x4e, 0x95, 0xfb, 0x40, 0x00, /* E..N..@. */ 0x3f, 0x06, 0x84, 0x36, 0x3e, 0xc5, 0xc0, 0xa9, /* ?..6>... */ 0x0a, 0x02, 0x18, 0x08, 0x00, 0x50, 0xcc, 0x73, /* .....P.s */ 0x85, 0x43, 0x1f, 0xc2, 0xe0, 0x3b, 0xbb, 0x3f, /* .C...;.? */ 0x80, 0x18, 0x01, 0x04, 0x47, 0xc2, 0x00, 0x00, /* ....G... */ 0x01, 0x01, 0x08, 0x0a, 0x19, 0xcb, 0x92, 0xce, /* ........ */ 0x19, 0xd6, 0xf0, 0xef, 0x48, 0x54, 0x54, 0x50, /* ....HTTP */ 0x2f, 0x31, 0x2e, 0x30, 0x20, 0x34, 0x30, 0x30, /* /1.0 400 */ 0x20, 0x42, 0x61, 0x64, 0x20, 0x52, 0x65, 0x71, /* Bad Req */ 0x75, 0x65, 0x73, 0x74, 0x0d, 0x0a /* uest.. */ }; /* Frame (68 bytes) */ static const unsigned char pkt198[68] = { 0x00, 0x04, 0x00, 0x01, 0x00, 0x06, 0x00, 0x21, /* .......! */ 0x85, 0x1c, 0xa9, 0x0e, 0x00, 0x00, 0x08, 0x00, /* ........ */ 0x45, 0x00, 0x00, 0x34, 0x51, 0xc3, 0x40, 0x00, /* E..4Q.@. */ 0x40, 0x06, 0xc7, 0x88, 0x0a, 0x02, 0x18, 0x08, /* @....... */ 0x3e, 0xc5, 0xc0, 0xa9, 0xcc, 0x73, 0x00, 0x50, /* >....s.P */ 0xe0, 0x3b, 0xbb, 0x3f, 0x85, 0x43, 0x1f, 0xdc, /* .;.?.C.. */ 0x80, 0x10, 0x00, 0xf5, 0x21, 0x9f, 0x00, 0x00, /* ....!... */ 0x01, 0x01, 0x08, 0x0a, 0x19, 0xd6, 0xf0, 0xf1, /* ........ */ 0x19, 0xcb, 0x92, 0xce /* .... */ }; /* Frame (299 bytes) */ static const unsigned char pkt199[299] = { 0x00, 0x00, 0x00, 0x01, 0x00, 0x06, 0xc8, 0x9c, /* ........ */ 0x1d, 0x49, 0x72, 0xd0, 0x00, 0x00, 0x08, 0x00, /* .Ir..... */ 0x45, 0x00, 0x01, 0x1b, 0x95, 0xfc, 0x40, 0x00, /* E.....@. */ 0x3f, 0x06, 0x83, 0x68, 0x3e, 0xc5, 0xc0, 0xa9, /* ?..h>... */ 0x0a, 0x02, 0x18, 0x08, 0x00, 0x50, 0xcc, 0x73, /* .....P.s */ 0x85, 0x43, 0x1f, 0xdc, 0xe0, 0x3b, 0xbb, 0x3f, /* .C...;.? */ 0x80, 0x18, 0x01, 0x04, 0xf5, 0x11, 0x00, 0x00, /* ........ */ 0x01, 0x01, 0x08, 0x0a, 0x19, 0xcb, 0x92, 0xce, /* ........ */ 0x19, 0xd6, 0xf0, 0xef, 0x43, 0x6f, 0x6e, 0x74, /* ....Cont */ 0x65, 0x6e, 0x74, 0x2d, 0x54, 0x79, 0x70, 0x65, /* ent-Type */ 0x3a, 0x20, 0x74, 0x65, 0x78, 0x74, 0x2f, 0x68, /* : text/h */ 0x74, 0x6d, 0x6c, 0x0d, 0x0a, 0x58, 0x2d, 0x50, /* tml..X-P */ 0x6f, 0x77, 0x65, 0x72, 0x65, 0x64, 0x2d, 0x42, /* owered-B */ 0x79, 0x3a, 0x20, 0x41, 0x53, 0x50, 0x2e, 0x4e, /* y: ASP.N */ 0x45, 0x54, 0x0d, 0x0a, 0x44, 0x61, 0x74, 0x65, /* ET..Date */ 0x3a, 0x20, 0x54, 0x68, 0x75, 0x2c, 0x20, 0x31, /* : Thu, 1 */ 0x32, 0x20, 0x53, 0x65, 0x70, 0x20, 0x32, 0x30, /* 2 Sep 20 */ 0x31, 0x33, 0x20, 0x31, 0x33, 0x3a, 0x35, 0x35, /* 13 13:55 */ 0x3a, 0x34, 0x39, 0x20, 0x47, 0x4d, 0x54, 0x0d, /* :49 GMT. */ 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, /* .Content */ 0x2d, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x3a, /* -Length: */ 0x20, 0x31, 0x31, 0x0d, 0x0a, 0x58, 0x2d, 0x43, /* 11..X-C */ 0x61, 0x63, 0x68, 0x65, 0x3a, 0x20, 0x4d, 0x49, /* ache: MI */ 0x53, 0x53, 0x20, 0x66, 0x72, 0x6f, 0x6d, 0x20, /* SS from */ 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, /* localhos */ 0x74, 0x0d, 0x0a, 0x58, 0x2d, 0x43, 0x61, 0x63, /* t..X-Cac */ 0x68, 0x65, 0x2d, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, /* he-Looku */ 0x70, 0x3a, 0x20, 0x4d, 0x49, 0x53, 0x53, 0x20, /* p: MISS */ 0x66, 0x72, 0x6f, 0x6d, 0x20, 0x6c, 0x6f, 0x63, /* from loc */ 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x3a, 0x38, /* alhost:8 */ 0x30, 0x38, 0x30, 0x0d, 0x0a, 0x56, 0x69, 0x61, /* 080..Via */ 0x3a, 0x20, 0x31, 0x2e, 0x30, 0x20, 0x6c, 0x6f, /* : 1.0 lo */ 0x63, 0x61, 0x6c, 0x68, 0x6f, 0x73, 0x74, 0x20, /* calhost */ 0x28, 0x73, 0x71, 0x75, 0x69, 0x64, 0x29, 0x0d, /* (squid). */ 0x0a, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, /* .Connect */ 0x69, 0x6f, 0x6e, 0x3a, 0x20, 0x6b, 0x65, 0x65, /* ion: kee */ 0x70, 0x2d, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x0d, /* p-alive. */ 0x0a, 0x0d, 0x0a /* ... */ }; /* Frame (68 bytes) */ static const unsigned char pkt200[68] = { 0x00, 0x04, 0x00, 0x01, 0x00, 0x06, 0x00, 0x21, /* .......! */ 0x85, 0x1c, 0xa9, 0x0e, 0x00, 0x00, 0x08, 0x00, /* ........ */ 0x45, 0x00, 0x00, 0x34, 0x51, 0xc4, 0x40, 0x00, /* E..4Q.@. */ 0x40, 0x06, 0xc7, 0x87, 0x0a, 0x02, 0x18, 0x08, /* @....... */ 0x3e, 0xc5, 0xc0, 0xa9, 0xcc, 0x73, 0x00, 0x50, /* >....s.P */ 0xe0, 0x3b, 0xbb, 0x3f, 0x85, 0x43, 0x20, 0xc3, /* .;.?.C . */ 0x80, 0x10, 0x01, 0x06, 0x21, 0x9f, 0x00, 0x00, /* ....!... */ 0x01, 0x01, 0x08, 0x0a, 0x19, 0xd6, 0xf0, 0xf1, /* ........ */ 0x19, 0xcb, 0x92, 0xce /* .... */ }; /* Frame (79 bytes) */ static const unsigned char pkt201[79] = { 0x00, 0x00, 0x00, 0x01, 0x00, 0x06, 0xc8, 0x9c, /* ........ */ 0x1d, 0x49, 0x72, 0xd0, 0x00, 0x00, 0x08, 0x00, /* .Ir..... */ 0x45, 0x00, 0x00, 0x3f, 0x95, 0xfd, 0x40, 0x00, /* E..?..@. */ 0x3f, 0x06, 0x84, 0x43, 0x3e, 0xc5, 0xc0, 0xa9, /* ?..C>... */ 0x0a, 0x02, 0x18, 0x08, 0x00, 0x50, 0xcc, 0x73, /* .....P.s */ 0x85, 0x43, 0x20, 0xc3, 0xe0, 0x3b, 0xbb, 0x3f, /* .C ..;.? */ 0x80, 0x18, 0x01, 0x04, 0x4a, 0xb8, 0x00, 0x00, /* ....J... */ 0x01, 0x01, 0x08, 0x0a, 0x19, 0xcb, 0x92, 0xce, /* ........ */ 0x19, 0xd6, 0xf0, 0xef, 0x42, 0x61, 0x64, 0x20, /* ....Bad */ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74 /* Request */ }; /* Frame (68 bytes) */ static const unsigned char pkt202[68] = { 0x00, 0x04, 0x00, 0x01, 0x00, 0x06, 0x00, 0x21, /* .......! */ 0x85, 0x1c, 0xa9, 0x0e, 0x00, 0x00, 0x08, 0x00, /* ........ */ 0x45, 0x00, 0x00, 0x34, 0x51, 0xc5, 0x40, 0x00, /* E..4Q.@. */ 0x40, 0x06, 0xc7, 0x86, 0x0a, 0x02, 0x18, 0x08, /* @....... */ 0x3e, 0xc5, 0xc0, 0xa9, 0xcc, 0x73, 0x00, 0x50, /* >....s.P */ 0xe0, 0x3b, 0xbb, 0x3f, 0x85, 0x43, 0x20, 0xce, /* .;.?.C . */ 0x80, 0x10, 0x01, 0x06, 0x21, 0x9f, 0x00, 0x00, /* ....!... */ 0x01, 0x01, 0x08, 0x0a, 0x19, 0xd6, 0xf0, 0xf1, /* ........ */ 0x19, 0xcb, 0x92, 0xce /* .... */ }; Dňa 12.09.2013 11:02, Amos Jeffries wrote / napísal(a): > On 12/09/2013 8:08 p.m., Mgr. Peter Tuharsky wrote: >> Hi, >> >> I'm trying to google this out, however unsuccessfylly so far. >> >> We have migrated Squid 2.7 to 3.1.20 (Debian). Works fine, except for >> the page zrsr.sk that returns Bad request. Interestingly, for some >> machines the page works, for some partially works (only some actions >> give Bad request), and some machines get Bad request error just entering >> the page. We use Firefox (several versions) here. The problem started >> after migration and was never observed before. >> >> I have changed config from transparent to intercept mode, however with >> no success. >> >> Please, does someone have a clue? > > What are the request headers received by Squid? the actual bytes on the > TCP connection arriving from the client. > > Amos