RE: [squid-users] Filter ACLs with IPs

From: Lucas Beber <lucas.beber@dont-contact.us>
Date: Tue, 4 May 2004 10:57:54 -0300

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In my squid.conf:

...
acl acl_full_access dstdomain "/etc/squid/sites.fullaccess"
acl acl_only_news dstdomain "/etc/squid/sites.onlynews" (1)
# acl acl_prohibited url_regex "/etc/squid/sites.prohibited"
...
acl acl_group_full_access proxy_auth "/etc/squid/group.fullaccess"
acl acl_group_only_news proxy_auth "/etc/squid/group.onlynews"
...
http_access allow acl_group_full_access acl_full_access
# Full access rule (up) for all users in it.

http_access allow acl_group_only_news acl_only_news
http_access deny all acl_group_only_news
...

Note:
into (1) file (sites.onlynews):
www.clarin.com
www.lanacion.com
...
123.123.123.123

Into (1) file, the sites there is a series of places that they work
correctly, since they have the name (e.g. www.clarin.com) but there
are places that, I not yet eat they have it (ej:
123.123.123.123/index.html) that if I place them as address IP, Squid
doesn't allow me the access.
  
As I place that address IP inside the same file? I have already proven
adding "http://123...." but doesn't work.
  
Thank you another time.

     [ Lucas Beber ]
   Seguridad Informática
Nuevo Banco de Entre Rios S.A.
lucas.beber@nuevobersa.com.ar
    Tel.: 0343-4201432
    Fax : 0343-4201329

# -----Mensaje original-----
# De: Henrik Nordstrom [mailto:hno@squid-cache.org]
# Enviado el: Lunes, 03 de Mayo de 2004 13:06
# Para: Lucas Beber
# CC: squid-users@squid-cache.org
# Asunto: Re: [squid-users] Filter ACLs with IPs
#
#
# On Mon, 3 May 2004, Lucas Beber wrote:
#
# > they have requested me that them of access to a place web
# that doesn't
# > have name (ej: www.anysite.com) but an address IP.
# >
# > As I place that address IP in the text file (sites.newspapers)?
#
# What kind of ACL is used in squid.conf?
#
# Generally it is best to split domains and IP addresses as
# Squid operates
# differently on the two (there is one acl type each).
#
# Regards
# Henrik
#

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.0.2i

iQA/AwUBQJehYjO7/bRht+vuEQJd+QCgj05VIBIIxqxI0PEmB4X4FFjkSAoAniGN
OkSV+6rdrLMst9C/ukoyT9YP
=/SsG
-----END PGP SIGNATURE-----
Received on Tue May 04 2004 - 07:57:17 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT