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.*$
* 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
* 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
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
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
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
* 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
* 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
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
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
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
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
12 matches
Mail list logo