If you are trying to control access by IP Address, you should use Source Access-Lists.
You should add something like this to your squid.conf:
---------
acl allowedaddressrange src 192.168.0.1/255.255.255.0
acl anybodyelse src 0.0.0.0/0.0.0.0
http_access allow allowedaddressrange
http_access deny anybodyelse
---------
The above will allow access from the IP addresses 192.168.0.0 - 192.168.0.255, and deny access for all other IP addresses.
Have a look on the squid-cache website FAQ, there's more about it there.
Aaron
-----Original Message-----
From: "Garc�a Garc�a, Alberto" [mailto:agarciag@endesa.es]
Sent: 18 October 2002 09:25
To: 'squid-users@squid-cache.org'
Subject: [squid-users] Deny IP & SMB
Hi all, i try to deny the internet access from a few of Ip Adress.
But when the users try to access the authentication screen appear in the web
browser.
How can I configure squid in order to the autentication screen not
appear?
Thanks
Este mensaje de correo electr�nico y sus documentos adjuntos est�n dirigidos
EXCLUSIVAMENTE a los destinatarios especificados. La informaci�n contenida
puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente
refleja la opini�n de ENDESA. Si usted recibe este mensaje por ERROR, por
favor comun�queselo inmediatamente al remitente y ELIM�NELO ya que usted
NO ESTA AUTORIZADO al uso, revelaci�n, distribuci�n, impresi�n o copia de
toda o alguna parte de la informaci�n contenida. Gracias.
This e-mail message and any attached files are intended SOLELY for the
addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY
PRIVILEGED information and may not necessarily represent the opinion of
ENDESA. If you receive this message in ERROR, please immediately notify the
sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose,
distribute, print or copy all or part of the contained information. Thank
you.
Received on Fri Oct 18 2002 - 02:37:46 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:44 MST