[squid-users] aclParseIpData warning
hi, squid return this message aclParseIpData : Warning netmask masks away part of the specifed IP in 10.10.10.1/255.0.0.0 can anyone help ,me solve this acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl allowed_hosts src 10.10.0.0/255.255.255.255 acl jillion_clients src 10.10.10.1/255.0.0.0 acl our_network src 10.10.10.25 10.10.10.13 acl to_localhost dst 127.0.0.0/8 My second problem: I also want to use squid to access news.php.net , because added this acls but i cannt get nntp or ftp to work acl Safe_ports port 119 # nntp acl Safe_ports port 563 # php anyone who can direct me with that?
[squid-users] Re: strange squid 2.6S1 behavior
Hi, Sorry, this is my message log (I was turn-off syslog before) Jul 24 15:38:32 tproxy (squid): xstrdup: tried to dup a NULL pointer! Jul 24 15:38:33 tproxy squid[2049]: Squid Parent: child process 2051 exited due to signal 6 I though it was a bug-listed in Squid-2.6.PRE1 ? http://www.squid-cache.org/bugs/show_bug.cgi?id=1589 Which patch should I added ? I'm on 2.6.stable1, wccpv2+cttproxy regards, Tino - Original Message - From: tino To: squid-users@squid-cache.org Sent: Monday, July 24, 2006 2:29 PM Subject: strange squid 2.6S1 behavior hi, I notice something strange, suddenly cache hit become zero for a couple of second then ok again Cache information for squid: Request Hit Ratios: 5min: 0.0%, 60min: 0.0% Byte Hit Ratios: 5min: -0.0%, 60min: -0.0% Request Memory Hit Ratios: 5min: 0.0%, 60min: 0.0% Request Disk Hit Ratios: 5min: 0.0%, 60min: 0.0% I was use wccpv2 When this happend, wccp still up redirecting packets , access.log still active writing clients response. NO error in /var/log/message or cache.log Anyone experience the same problem ? regards, Tino
[squid-users] cache.log : Unsupported method 'REGISTER
Hello All, I have configured squid-2.6STABLE1 as transparent proxy in my linux machine.Past two weeks it was running without error. But today it is stopped. My cache.log saying it is Unsupported method 'REGISTER'. My relevant squid.conf is as follows: http_port transparent http_access allow all always_direct allow all The following entries in my cache.log 2006/07/21 09:21:04| CACHEMGR: unknown@127.0.0.1 requesting 'menu' 2006/07/21 09:21:08| CACHEMGR: unknown@127.0.0.1 requesting 'vm_objects' 2006/07/21 10:39:04| clientProcessRequest2: ETag loop 2006/07/21 10:39:17| clientProcessRequest2: ETag loop 2006/07/21 11:24:21| urlParse: URL too large (4403 bytes) 2006/07/21 11:54:29| clientProcessRequest2: ETag loop 2006/07/21 12:20:44| clientProcessRequest2: ETag loop 2006/07/21 16:59:00| parseHttpRequest: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory 2006/07/21 18:55:11| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 18:55:11| clientReadRequest: FD 16 Invalid Request 2006/07/21 18:57:36| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 18:57:36| clientReadRequest: FD 15 Invalid Request 2006/07/21 19:00:36| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:00:36| clientReadRequest: FD 15 Invalid Request 2006/07/21 19:04:13| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:04:13| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:08:26| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:08:26| clientReadRequest: FD 14 Invalid Request 2006/07/21 19:13:15| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:13:15| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:18:39| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:18:39| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:24:40| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:24:40| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:31:16| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:31:16| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:38:29| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:38:29| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:46:28| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:46:28| clientReadRequest: FD 15 Invalid Request 2006/07/21 19:54:21| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:54:21| clientReadRequest: FD 13 Invalid Request 2006/07/24 09:46:25| clientProcessRequest2: ETag loop 2006/07/24 09:46:27| clientProcessRequest2: ETag loop 2006/07/24 09:52:29| clientProcessRequest2: ETag loop 2006/07/24 09:52:30| clientProcessRequest2: ETag loop 2006/07/24 09:52:45| clientProcessRequest2: ETag loop 2006/07/24 14:41:45| parseHttpRequest: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory FATAL: xstrdup: tried to dup a NULL pointer! What may be the reason? Thanks in advance, Sekar.D
[squid-users] Heavy mail attachments hotmail
How to tame heavy mail attachments through hotmail please. Today one user downloaded six BMP images equal to 218 MB. Somebody please advise. Regards
Re: [squid-users] Heavy mail attachments hotmail
On Monday 24 July 2006 15:34, Santosh Rani wrote: How to tame heavy mail attachments through hotmail please. Today one user downloaded six BMP images equal to 218 MB. Squid has no notion of hotmail email attachments. You can limit the size of downloads (reply_body_max_size) for the domain hotmail.com if that helps you. Regards Christoph -- ~ ~ .signature [Modified] 1 line --100%--1,48 All
Re: [squid-users] Throughput slower, when data is in cache instead geting it from the webserver
On Mon, 24 Jul 2006, Dieter Bloms wrote: Hi, we use squid as shipped with SuSE Linux Enterprise 9 (squid-2.5.STABLE5-42.41). The throughput is slower, when I get the data from cache and is faster, when I use the -r option to get the data from the webserver. --snip-- This is my squid.conf --snip-- cache_dir diskd /var/cache/squid 15360 16 256 --snip-- I'm alone on this server, which has 2G Ram and 2 Xeon 3.4 GHz CPUs. The cache_dir is a hardware raid1 with 36 GByte Space. Does anybody have an idea why the throughput is lower, when I get the data from cache instead from the webserver ? I had a similar problem under Linux where cache hits were really slow on a server that was not busy. Switching to aufs fixed the problem for me (ie just replace the word diskd with aufs on the cache_dir line). I know the FAQ suggests that diskd gives better performance (or it did the last time I checked). I think that the FAQ may need updating to advise that diskd or aufs may give the best performance depending on the load and OS. Steven
Re: [squid-users] Heavy mail attachments hotmail
But my (reply_body_max_size) already reads as under reply_body_max_size 2097152 allow all In my case the user has first opened the file in browser window and then saved the file. The file saved in this way is converted to BMP even though it was a JPG image as an attachment. Further help is required please. Regards On 24/07/06, Christoph Haas [EMAIL PROTECTED] wrote: On Monday 24 July 2006 15:34, Santosh Rani wrote: How to tame heavy mail attachments through hotmail please. Today one user downloaded six BMP images equal to 218 MB. Squid has no notion of hotmail email attachments. You can limit the size of downloads (reply_body_max_size) for the domain hotmail.com if that helps you. Regards Christoph -- ~ ~ .signature [Modified] 1 line --100%--1,48 All
Re: [squid-users] Heavy mail attachments hotmail
On Monday 24 July 2006 16:47, Santosh Rani wrote: But my (reply_body_max_size) already reads as under reply_body_max_size 2097152 allow all In my case the user has first opened the file in browser window and then saved the file. The file saved in this way is converted to BMP even though it was a JPG image as an attachment. The browser magically converts a displayed image to another format when saving? Strange. Anyway, your setting should prevent larger objects from being fetched. Check your access.log to see whether this works as expected. It's a bit extreme to use allow all. Perhaps limiting it to patterns dealing with Hotmail will be nicer. Regards Christoph -- ~ ~ .signature [Modified] 1 line --100%--1,48 All
Re: [squid-users] Throughput slower, when data is in cache instead geting it from the webserver
Hi, On Mon, Jul 24, Steven wrote: I had a similar problem under Linux where cache hits were really slow on a server that was not busy. Switching to aufs fixed the problem for me (ie just replace the word diskd with aufs on the cache_dir line). I've tried it on my test system and yes, the throughput is higher now, when the data comes from cache instead get it from webserver. I will replace diskd with aufs on the production servers tomorrow. Thank you very much for your hint ! -- Gruß Dieter -- I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the From field. pgpH41AyZUZmt.pgp Description: PGP signature
[squid-users] cache.log : Unsupported method 'REGISTER
Hello All, I have configured squid-2.6STABLE1 as transparent proxy in my linux machine.Past two weeks it was running without error. But today it is stopped. My cache.log saying it is Unsupported method 'REGISTER'. My relevant squid.conf is as follows: http_port transparent http_access allow all always_direct allow all The following entries in my cache.log 2006/07/21 09:21:04| CACHEMGR: unknown@127.0.0.1 requesting 'menu' 2006/07/21 09:21:08| CACHEMGR: unknown@127.0.0.1 requesting 'vm_objects' 2006/07/21 10:39:04| clientProcessRequest2: ETag loop 2006/07/21 10:39:17| clientProcessRequest2: ETag loop 2006/07/21 11:24:21| urlParse: URL too large (4403 bytes) 2006/07/21 11:54:29| clientProcessRequest2: ETag loop 2006/07/21 12:20:44| clientProcessRequest2: ETag loop 2006/07/21 16:59:00| parseHttpRequest: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory 2006/07/21 18:55:11| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 18:55:11| clientReadRequest: FD 16 Invalid Request 2006/07/21 18:57:36| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 18:57:36| clientReadRequest: FD 15 Invalid Request 2006/07/21 19:00:36| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:00:36| clientReadRequest: FD 15 Invalid Request 2006/07/21 19:04:13| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:04:13| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:08:26| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:08:26| clientReadRequest: FD 14 Invalid Request 2006/07/21 19:13:15| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:13:15| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:18:39| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:18:39| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:24:40| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:24:40| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:31:16| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:31:16| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:38:29| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:38:29| clientReadRequest: FD 13 Invalid Request 2006/07/21 19:46:28| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:46:28| clientReadRequest: FD 15 Invalid Request 2006/07/21 19:54:21| parseHttpRequest: Unsupported method 'REGISTER' 2006/07/21 19:54:21| clientReadRequest: FD 13 Invalid Request 2006/07/24 09:46:25| clientProcessRequest2: ETag loop 2006/07/24 09:46:27| clientProcessRequest2: ETag loop 2006/07/24 09:52:29| clientProcessRequest2: ETag loop 2006/07/24 09:52:30| clientProcessRequest2: ETag loop 2006/07/24 09:52:45| clientProcessRequest2: ETag loop 2006/07/24 14:41:45| parseHttpRequest: NF getsockopt(SO_ORIGINAL_DST) failed: (2) No such file or directory FATAL: xstrdup: tried to dup a NULL pointer! What may be the reason? Thanks in advance, Sekar.D