[squid-users] squid 3 acl browser

2009-06-24 Thread Erwann PENCREACH
Hi all, I'm configuring a squid 3 proxy and I want, to deny access to all unwanted browsers but that is not working. here are my current acl : acl all_src src 0.0.0.0/0.0.0.0 acl nodst url_regex ^.*sex.*$ ^.*porn.*$

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Ralf Hildebrandt
* Erwann PENCREACH : > Hi all, > > I'm configuring a squid 3 proxy and I want, to deny access to all > unwanted browsers but that is not working. > > here are my current acl : You REALLY need to read on regular expressions > acl nodst url_regex ^.*sex.*$ ^.*porn.*$ ^.*hack.*$ ^.*crack.*$ ^.*drug

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Ralf Hildebrandt
* Erwann PENCREACH : > acl checkua browser -i ^.*Mozilla/.*$ ^Keyvelop$ ^ClamWin/.*$ > http_access deny !checkua ... > In case I'm using MSIE, I shouldn't have my access granted, but I have, > and getloggeduser.sh generate a log line. > > what's wrong ? What useragent does MSIE use? Here it us

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Erwann PENCREACH
Ok, thanks, I'll try and tell you Ralf Hildebrandt a écrit : * Erwann PENCREACH : Hi all, I'm configuring a squid 3 proxy and I want, to deny access to all unwanted browsers but that is not working. here are my current acl : You REALLY need to read on regular expressions acl nodst url_re

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Erwann PENCREACH
ok, I made changes nodst and contenttype acl works fine (I'll look later for squidguard and dansguardian) browser filtering doesn't work at all external_acl works fine I don't understand what I'm doing wrong with User-agent filtering something strange I wrote a script that I called with an

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Erwann PENCREACH
Ralf Hildebrandt a écrit : * Erwann PENCREACH : acl checkua browser -i ^.*Mozilla/.*$ ^Keyvelop$ ^ClamWin/.*$ http_access deny !checkua ... In case I'm using MSIE, I shouldn't have my access granted, but I have, and getloggeduser.sh generate a log line. what's wrong ? What useragent does

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Ralf Hildebrandt
* Erwann PENCREACH : > ok, I made changes > > nodst and contenttype acl works fine (I'll look later for squidguard and > dansguardian) > > browser filtering doesn't work at all > > external_acl works fine > > I don't understand what I'm doing wrong with User-agent filtering But I already told yo

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Ralf Hildebrandt
* Erwann PENCREACH : >> Here it uses: >> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET >> CLR 2.0.50727; .NET CLR 3.0.04506.30)" >> which matches >> >> "^.*Mozilla/.*$" (or shorter : "Mozilla/") > > MSIE is using something including MSIE, but in fact I know that the

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Erwann PENCREACH
Ralf Hildebrandt a écrit : * Erwann PENCREACH : ok, I made changes nodst and contenttype acl works fine (I'll look later for squidguard and dansguardian) browser filtering doesn't work at all external_acl works fine I don't understand what I'm doing wrong with User-agent filtering But I

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Amos Jeffries
Erwann PENCREACH wrote: Ralf Hildebrandt a écrit : * Erwann PENCREACH : ok, I made changes nodst and contenttype acl works fine (I'll look later for squidguard and dansguardian) browser filtering doesn't work at all external_acl works fine I don't understand what I'm doing wrong with Use

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Erwann PENCREACH
Amos Jeffries a écrit : Erwann PENCREACH wrote: Ralf Hildebrandt a écrit : * Erwann PENCREACH : ok, I made changes nodst and contenttype acl works fine (I'll look later for squidguard and dansguardian) browser filtering doesn't work at all external_acl works fine I don't understand what

Re: [squid-users] squid 3 acl browser

2009-06-24 Thread Amos Jeffries
On Wed, 24 Jun 2009 15:43:07 +0200, Erwann PENCREACH wrote: > Amos Jeffries a écrit : >> Erwann PENCREACH wrote: >>> Ralf Hildebrandt a écrit : * Erwann PENCREACH : > ok, I made changes > > nodst and contenttype acl works fine (I'll look later for squidguard > and dansguardi