RE: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-20 Thread Yiannis Pliatsikas
-Original Message- From: Eliezer Croitoru [mailto:elie...@ngtech.co.il] Sent: Saturday, July 21, 2012 5:58 AM To: squid-users@squid-cache.org Subject: Re: [squid-users] Squid + Cisco 4500 + WCCP2 On 7/20/2012 1:53 PM, Ioannis Pliatsikas wrote: > I'm trying to setup a transparent proxy wit

Re: [squid-users] FTP Proxy with FTP Username+Password

2012-07-20 Thread Brett Lymn
On Fri, Jul 20, 2012 at 01:58:59PM +0200, ml ml wrote: > Hello List, > > ftp links like ftp://user:p...@ftp.example.com dont work for me. > > Does Squid support ftp proxy with ftp login username+password? > Yes. The URL syntax you have describe works fine for me. -- Brett Lymn "Warning: The

Re: [squid-users] Optimising squid cache for USB flash drives

2012-07-20 Thread Amos Jeffries
On 21/07/2012 3:11 p.m., Eliezer Croitoru wrote: On 7/20/2012 5:17 PM, haggismn wrote: Hi all, I am a bit of a noob with squid, as well as USB flash storage, so please bear with me. I have squid up and running on a USB equipped dd-wrt router. I have plugged in a 8gb USB flash drive, of which 4

Re: [squid-users] yahoo mail problem with tproxy (squid 3.1.19, kernel 3.2.21)

2012-07-20 Thread Ming-Ching Tiew
Thank you for the input. I will do that sometime later and report back when I have new info. - Original Message - From: Eliezer Croitoru they indeed are not suppose to fail your setup but it's not suppose to be symmetric with tproxy. the idea of the bridge is that you have clients s

Re: [squid-users] yahoo mail problem with tproxy (squid 3.1.19, kernel 3.2.21)

2012-07-20 Thread Eliezer Croitoru
On 7/21/2012 6:01 AM, Ming-Ching Tiew wrote: - Original Message - From: Eliezer Croitoru so what you just need for ebtables is two rules: all packets the are destined to the web om port 80.. route them into the machine... later will be intercepted by tproxy > so: ebtables -t broute

Re: [squid-users] Optimising squid cache for USB flash drives

2012-07-20 Thread Eliezer Croitoru
On 7/20/2012 5:17 PM, haggismn wrote: Hi all, I am a bit of a noob with squid, as well as USB flash storage, so please bear with me. I have squid up and running on a USB equipped dd-wrt router. I have plugged in a 8gb USB flash drive, of which 4gb are allocated for the squid cache. Currently I a

Re: [squid-users] yahoo mail problem with tproxy (squid 3.1.19, kernel 3.2.21)

2012-07-20 Thread Ming-Ching Tiew
- Original Message - > From: Eliezer Croitoru > > so what you just need for ebtables is two rules: > all packets the are destined to the web om port 80.. route them into the > machine... later will be intercepted by tproxy > so: > ebtables -t broute -A BROUTING -i eth0 -p ipv4 --ip-prot

Re: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-20 Thread Eliezer Croitoru
On 7/20/2012 1:53 PM, Ioannis Pliatsikas wrote: I'm trying to setup a transparent proxy with squid using wccpv2 and a 4507 (ios v15.1) Cisco switch. Tried using out of the box rpm package, 3.1.20 on Opensuse 12.1 with no luck. My cache.log kept filling with "Unknown capability type in WCCPv2 Pac

Re: [squid-users] How to optimize squid config for live flash video streaming?

2012-07-20 Thread Amos Jeffries
On 21/07/2012 5:58 a.m., J DJ wrote: My squid proxy is not caching (using the "cache deny all" in squid.conf), and I was wondering if anyone had any suggestions or resources on how to optimize it for live flash video streaming? There is no optimization for live streaming without caching. The Sq

Re: [squid-users] yahoo mail problem with tproxy (squid 3.1.19, kernel 3.2.21)

2012-07-20 Thread Eliezer Croitoru
On 7/21/2012 3:15 AM, Ming-Ching Tiew wrote: - Original Message - From: Ming-Ching Tiew rc.local attached. Attachment rejected so re-post inline below :- i got it all in the private mail. #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can p

Re: [squid-users] Fw: [ERROR] commonUfsDirOpenSwapLog: Failed to open swap log

2012-07-20 Thread Amos Jeffries
On 21/07/2012 12:02 a.m., Anonymous wrote: I search the "FATAL" in /var/log/squid/cache.log and didn't find anything. Here's all stuff: ** 2012/07/20 16:53:03| Squid is already running! Process ID 154 You have multiple processes runn

Re: [squid-users] yahoo mail problem with tproxy (squid 3.1.19, kernel 3.2.21)

2012-07-20 Thread Ming-Ching Tiew
- Original Message - >From: Ming-Ching Tiew > > rc.local attached. > Attachment rejected so re-post inline below :- #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys

Re: [squid-users] yahoo mail problem with tproxy (squid 3.1.19, kernel 3.2.21)

2012-07-20 Thread Ming-Ching Tiew
OK I could see the same problem with just fedora 15. The client side I use a Window XP machine loaded with Firefox and Internet Explorer. What I experience with this set up is that, it is impossible to logon on to Yahoo mail using Firefox. But in other occasions, from home internet, I have e

[squid-users] Re: Low memory usage

2012-07-20 Thread RW
On Fri, 20 Jul 2012 11:00:43 -0300 Marcus Kool wrote: > And if you want Squid to respond fast to cache cleanups, change > >> cache_swap_low 85 > >> cache_swap_high 95 > into > cache_swap_low 94 > cache_swap_high 95 I'm not convinced that makes much difference. I think cache_swap_high fell-off a

[squid-users] How to optimize squid config for live flash video streaming?

2012-07-20 Thread J DJ
My squid proxy is not caching (using the "cache deny all" in squid.conf), and I was wondering if anyone had any suggestions or resources on how to optimize it for live flash video streaming? Any ideas (technical or trivial) would be greatly appreciated. Cheers, J

[squid-users] Optimising squid cache for USB flash drives

2012-07-20 Thread haggismn
Hi all, I am a bit of a noob with squid, as well as USB flash storage, so please bear with me. I have squid up and running on a USB equipped dd-wrt router. I have plugged in a 8gb USB flash drive, of which 4gb are allocated for the squid cache. Currently I am using mostly default settings, ie cach

Re: [squid-users] Low memory usage

2012-07-20 Thread Guido Marino Lorenzutti
This is my problem: Storage Mem size: 365584 KB Storage Mem capacity: 2.5% used, 97.5% free Why only 2.5% of cache memory usage ... and... Storage Swap size: 24371196 KB Storage Swap capacity: 85.0% used, 15.0% free Marcus Kool escribió: And if you want Squid to respond fast to cache cle

Re: [squid-users] Low memory usage

2012-07-20 Thread Marcus Kool
And if you want Squid to respond fast to cache cleanups, change >> cache_swap_low 85 >> cache_swap_high 95 into cache_swap_low 94 cache_swap_high 95 Marcus On 07/20/2012 10:53 AM, Marcus Kool wrote: If you have 14 GB physical memory, it is not recommended to set cache_mem 14 GB. See the FAQ for

Re: [squid-users] Low memory usage

2012-07-20 Thread Guido Marino Lorenzutti
I have 18GB of physical memory. Marcus Kool escribió: If you have 14 GB physical memory, it is not recommended to set cache_mem 14 GB. See the FAQ for more details: http://wiki.squid-cache.org/SquidFaq/SquidMemory Marcus On 07/20/2012 10:17 AM, Guido Marino Lorenzutti wrote: Hi people! I

Re: [squid-users] Low memory usage

2012-07-20 Thread Marcus Kool
If you have 14 GB physical memory, it is not recommended to set cache_mem 14 GB. See the FAQ for more details: http://wiki.squid-cache.org/SquidFaq/SquidMemory Marcus On 07/20/2012 10:17 AM, Guido Marino Lorenzutti wrote: Hi people! Im running 3.1.20 with ntlm and it works much better! I was u

[squid-users] Low memory usage

2012-07-20 Thread Guido Marino Lorenzutti
Hi people! Im running 3.1.20 with ntlm and it works much better! I was using squid 2.7 and the ntlm was much slower. What I'm seeing strange is that the use of memory for cache is very low. Any suggestion to improve the use of my 14GB of ram ? This is my squid.conf: external_acl_type ldap

Fw: [squid-users] Fw: [ERROR] commonUfsDirOpenSwapLog: Failed to open swap log

2012-07-20 Thread Anonymous
- Forwarded Message - > From: Anonymous > To: Amos Jeffries > Cc: > Sent: Friday, July 20, 2012 5:02 PM > Subject: Re: [squid-users] Fw: [ERROR] commonUfsDirOpenSwapLog: Failed to > open swap log > > I search the "FATAL" in /var/log/squid/cache.log and didn't find > anything. Here

[squid-users] FTP Proxy with FTP Username+Password

2012-07-20 Thread ml ml
Hello List, ftp links like ftp://user:p...@ftp.example.com dont work for me. Does Squid support ftp proxy with ftp login username+password? Thanks, Mario

Re: [squid-users] Squid + Cisco 4500 + WCCP2

2012-07-20 Thread Amos Jeffries
On 20/07/2012 10:53 p.m., Ioannis Pliatsikas wrote: Unknown capability type in WCCPv2 Packet Your cisco is advertising two capability types (4 & 5) which are not defined in the WCCPv2 protocol document. It is not a major problem. Squid ignores them. You can silence them with this (when the

Re: [squid-users] Fw: [ERROR] commonUfsDirOpenSwapLog: Failed to open swap log

2012-07-20 Thread Amos Jeffries
On 20/07/2012 4:36 p.m., Anonymous wrote: Any updates please...! Still awaiting the cache.log "FATAL:" line which says what was being opened that failed. The config file shows what is supposed to be opened, that directory looks okay. But it may not be actually what Squid was attemptign to o

Re: [squid-users] Time based access

2012-07-20 Thread Edmonds Namasenda
Try the below, acl urlsFB dstdomain -r .facebook.com .fbcdn.net # Sample Facebook domains acl timedFB time SMTWHFA 12:30-13:29 # Accessible time for Facebook # Place the below above all access rules http_access deny urlsFB !timedFB # Rule to deny Face

Re: [squid-users] Time based access

2012-07-20 Thread nipun_mlist Assam
Suppose you want to allow linkedin.com between 06:00-19:00 and block all others, then you should define acls like as given below: --- acl linkedin dstdomain .linkedin.com acl DAY time 06:00-19:00 . . . http_access allow linkedin DAY http_access deny all ##--- -Nipun Bangalore On Fri,

Re: [squid-users] Can squid catch authentication info between end user and real web server?

2012-07-20 Thread Amos Jeffries
On 20/07/2012 3:20 p.m., Tian You wrote: Hi Guys, I'd like to do a scenario like this: The squid works as a reverse proxy, and itself does not do authentication to end user, the real web server will do this. But I want squid to catch that authentication info between them, like who is going to l

Re: [squid-users] Time based access

2012-07-20 Thread Amos Jeffries
On 20/07/2012 9:41 p.m., a bv wrote: Hi , I tried to write a timebased acl for for testingat special time of day but it didnt seem to work. I tried to block the access to CNN using dstdomain .cnn.com. My aim is to allow facebook at special times of the day at lunch time for example. Can so

[squid-users] Squid + Cisco 4500 + WCCP2

2012-07-20 Thread Ioannis Pliatsikas
I'm trying to setup a transparent proxy with squid using wccpv2 and a 4507 (ios v15.1) Cisco switch. Tried using out of the box rpm package, 3.1.20 on Opensuse 12.1 with no luck. My cache.log kept filling with "Unknown capability type in WCCPv2 Packet" messages. Compiled from source the same

Re: [squid-users] Time based access

2012-07-20 Thread nipun_mlist Assam
An external acl might help you. Regards, Nipun Talukdar Bangalore On Fri, Jul 20, 2012 at 3:11 PM, a bv wrote: > Hi , > > I tried to write a timebased acl for for testingat special time of > day but it didnt seem to work. I tried to block the access to CNN > using dstdomain .cnn.com. > > My

[squid-users] Time based access

2012-07-20 Thread a bv
Hi , I tried to write a timebased acl for for testingat special time of day but it didnt seem to work. I tried to block the access to CNN using dstdomain .cnn.com. My aim is to allow facebook at special times of the day at lunch time for example. Can someone provide me a working rule for wh