-   Linux - Software (
-   -   Blocking iPod browsers on squid (

crackyblue 09-01-2010 04:36 AM

Blocking iPod browsers on squid

Im trying to block iPod browsers or any similar mobile phones to access the internet.. I got this useragent.log entries

"Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us)
AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7D11 Safari/528.16"

I created an acl like

acl mobile browser -i iPod

to block all versions of iPod and deny it via http_access, but didn't block. Any ideas?


bathory 09-02-2010 04:25 AM


You should use something like:

acl mobile browser -i (.*?)iPod

All times are GMT -5. The time now is 11:03 PM.