Re: [squid-users] Unsupported method in request dropbox.com
On Tue, 14 Jun 2011 10:43:17 +0200, Gontzal wrote: Hi everybody!! I get these messages on cache.log: 2011/06/14 10:23:54| clientParseRequestMethod: Unsupported method attempted by client_ip: This is not a bug. see squid.conf extension_methods 2011/06/14 10:23:54| clientParseRequestMethod: Unsupported method in request 'X-Dropbox-Locale: es' This 'X-Dropbox-Locale:' is the method being mentioned. Look strange to you? Squid thinks so. I guess the requesting software is adding "\nX-Dropbox-Locale: " when it should be adding "X-Dropbox-Locale: ...\n". 2011/06/14 10:23:54| clientProcessRequest: Invalid Request when accessing dropbox: client_ip - user_name [14/Jun/2011:10:23:54 +0200] "GET http://notify3.dropbox.com/subscribe? HTTP/1.1" 200 366 TCP_MISS:DEFAULT_PARENT This is one of the other requests. Which succeeded. It might be the real one which that header was supposed to be attached to. But it is not easy to be sure since this is already finished. Does not matter anyway, the problem is in the agent code adding that custom X- header. doing a tcpdump on squid eth and filtering by client ip address I obtain this: 10:23:54.184989 IP (tos 0x0, ttl 64, id 25600, offset 0, flags [DF], proto TCP (6), length 406) proxy-ip.3128 > client_ip.2712: Flags [P.], cksum 0xe043 (incorrect -> 0x3668), seq 1:367, ack 308, win 6432, length 366 10:23:54.188327 IP (tos 0x0, ttl 128, id 59315, offset 0, flags [DF], proto TCP (6), length 347) NP: this type of packet trace is useless for finding out what is inside the packets. (366 bytes of what?) I don't understand why it says unsupported method when it is just a GET. Can anyone help me? see above. You can contact the software devs and get them to fix that header. And/or ignore it and continue. Squid will react by dropping the TCP links this occurs on. This will only be a user-noticable problem when pipiline_prefetch is turned on. HTH Amos
Re: [squid-users] Unsupported method in request '_'
* donovan jeffrey j : > >>2009/08/13 09:31:30| clientParseRequestMethod: Unsupported method in > >>request '_' > > > >What does the request "_" do? > > > I thought it was attached at the end of a url some-site-had-many- > hyphens-then_ _.jpg > im not sure > > I need to grab a better snapshot. Yep. For me that looks like a lone "_" request :) -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
Re: [squid-users] Unsupported method in request '_'
On Aug 13, 2009, at 10:24 AM, Ralf Hildebrandt wrote: * donovan jeffrey j : Greetings I'm seeing this error in cache.log 2009/08/13 09:31:30| clientParseRequestMethod: Unsupported method in request '_' What does the request "_" do? I thought it was attached at the end of a url some-site-had-many- hyphens-then_ _.jpg im not sure I need to grab a better snapshot. -j
Re: [squid-users] Unsupported method in request '_'
* donovan jeffrey j : > Greetings > > I'm seeing this error in cache.log > > 2009/08/13 09:31:30| clientParseRequestMethod: Unsupported method in > request '_' What does the request "_" do? -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebra...@charite.de | http://www.charite.de
Re: [squid-users] Unsupported method in request '_'
On Aug 13, 2009, at 9:56 AM, Amos Jeffries wrote: donovan jeffrey j wrote: Greetings I'm seeing this error in cache.log 2009/08/13 09:31:30| clientParseRequestMethod: Unsupported method in request '_' I thought i compiled with enable underscores. So im not sure what is causing this error. Im seeing it in 3.0 stable 18 &16 --enable-underscores affects whether URLs which violate HTTP standards and contain _ in the domain name are accepted and passed around. METHOD being an underscore may mean some random binary byte was received at the start of the request. We replace them in the log with underscores to prevent bad things happening when the logs are viewed. Ah ha. thank you. I'm pretty much extension_method illiterate. -j
Re: [squid-users] Unsupported method in request '_'
donovan jeffrey j wrote: Greetings I'm seeing this error in cache.log 2009/08/13 09:31:30| clientParseRequestMethod: Unsupported method in request '_' I thought i compiled with enable underscores. So im not sure what is causing this error. Im seeing it in 3.0 stable 18 &16 --enable-underscores affects whether URLs which violate HTTP standards and contain _ in the domain name are accepted and passed around. METHOD being an underscore may mean some random binary byte was received at the start of the request. We replace them in the log with underscores to prevent bad things happening when the logs are viewed. root# squid -v Squid Cache: Version 3.0.STABLE18 configure options: '--enable-async-io' '--enable-icmp' '--enable-delay-pools' '--disable-htcp' '--enable-ssl' '--enable-ipfw-transparent' '--enable-snmp' '--enable-underscores' '--enable-basic-auth-helpers=NCSA,LDAP' thanks. Amos -- Please be using Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18 Current Beta Squid 3.1.0.13
Re: [squid-users] Unsupported method in request
Amos Jeffries escreveu: Dhyanesh Ramaiya wrote: Hello, I am getting the error below in cache.log. The setup which I have is a PC connected to a modem. Web browser on the PC is configured to establish a proxy connection to the modem on port 9877 and an upstream proxy configured on the modem to establish the connection to my Squid proxy on port 3128. Please let me know what does this mean and if there is a way to resolve it. Something on the way is corrupting the data sent to your squid. Wrapping the real request in some raw binary encoding by the looks of those bytes. You'll have to find out what is doing that and see what can be done about the problem. just a hint . skype uses to do this kind of wrapped connections and fill squid logs with those 'Unsupported method in connection' . -- Atenciosamente / Sincerily, Leonardo Rodrigues Solutti Tecnologia http://www.solutti.com.br Minha armadilha de SPAM, NÃO mandem email [EMAIL PROTECTED] My SPAMTRAP, do not email it
Re: [squid-users] Unsupported method in request
Dhyanesh Ramaiya wrote: Hello, I am getting the error below in cache.log. The setup which I have is a PC connected to a modem. Web browser on the PC is configured to establish a proxy connection to the modem on port 9877 and an upstream proxy configured on the modem to establish the connection to my Squid proxy on port 3128. Please let me know what does this mean and if there is a way to resolve it. Something on the way is corrupting the data sent to your squid. Wrapping the real request in some raw binary encoding by the looks of those bytes. You'll have to find out what is doing that and see what can be done about the problem. Amos 2008/10/11 12:21:31| clientParseRequestMethod: Unsupported method in request 'â Äàááá Û ¬´QRÎÌá~á Ð vGET http://www.cnn.com/ HTTP/1.1 Host: www.cnn.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070223 CentOS/1.5.0.10-0.1.el4.centos Firefox/1.5.0.10 Accept: text/xml,appliÐcation/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q =0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-AliÐve: 300 Proxy-Connection: keep-alive Cookie: SelectedEdition=edition; CNNid=Ga50a8f1e-26092-1223712303-509; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Dcnn2global%253D%252526pid%25253DCNN%252525 20Home%25252520Page%2Ð52526pidt%25253D1%252526oid%25253Dhttp%2525253A//www.c nn.com/2008/SHOWBIZ/Movies/10/10/people.angelina.jolie.ap/index.html%252526o t%25253DA%3B; adDEmas=R01&hi&satconet.com&0&tza&-1&0&12243&-&-&-&10307&; adDE>on=true; s_vi=[CS]v1|48F05E3D4151-A3A094C0227[CE] ~' 2008/10/11 12:21:31| clientProcessRequest: Invalid Request Dhyanesh Ramaiya [EMAIL PROTECTED] Satcom Networks Africa Ltd. Tel.: +255 22 2183961 Cel.: +255 784 514623 -- Please use Squid 2.7.STABLE4 or 3.0.STABLE9