Re: [squid-users] How may I block MSN Messenger...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 20 Aug 2003 14:55:57 +0200

On Wednesday 20 August 2003 13.44, Boniforti Flavio wrote:
> > Scratch that - I made the silly mistake of assuming that
> > req_mime_type would match on the entire data; it probably
> > looks for the Content-Type: line and matches from there.
>
> Well... I'm still at it:
>
> acl msn_no_block src 10.167.211.165/255.255.255.255
> acl msn_server rep_mime_type ^application/x-msn-messenger
> #acl msn_server dstdomain gateway.messenger.hotmail.com
> #acl msn_server dst 207.46.110.0/255.255.255.0
> http_access deny !msn_no_block msn_server

You can not use rep_mime_type acls in http_access. See documentation
in squid.conf.

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Wed Aug 20 2003 - 06:57:34 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:00 MST