Re: [squid-users] squid acl

From: deborha malka <deborah_malka@dont-contact.us>
Date: Fri, 4 Jun 2004 11:52:09 +0200 (CEST)

 --- deny1 <deny1@free.fr> a écrit : > hello good
morning
> i am setting squid with the ncsa_auth plugin
>
> here is my acls in squid.conf
>
> Recommended minimum configuration:
> acl all src 0.0.0.0/0.0.0.0
> acl manager proto cache_object
> acl localdomain src 192.168.0.0/255.255.255.0
> acl to_localhost dst 127.0.0.0/8
> acl SSL_ports port 443 563
> acl Safe_ports port 80
> acl Safe_ports port 21
> acl Safe_ports port 443 563
> acl Safe_ports port 70
> acl Safe_ports port 210
> acl Safe_ports port 1025-65535
> acl Safe_ports port 280
> acl Safe_ports port 488
> acl Safe_ports port 591
> acl Safe_ports port 777
> acl CONNECT method CONNECT
> acl Users proxy_auth REQUIRED
>
>
>
>
>
>
>
>
> # Only allow cachemgr access from localhost
> http_access allow manager localdomain
> http_access deny !Users
> # Deny requests to unknown ports
> http_access allow localdomain
> # Deny CONNECT to other than SSL ports
> http_access deny manager
> http_access deny !Safe_ports
> http_access deny CONNECT !SSL_ports
>
>
> when i launched squid i get
>
> Failed to reconfigure squid :
>
> 2004/06/04 08:49:56| aclParseAclLine: IGNORING:
> Proxy Auth ACL 'acl
> Users proxy_auth REQUIRED' because no authentication
> schemes are fully
> configured.
> 2004/06/04 08:49:56| aclParseAclLine: IGNORING
> invalid ACL: acl Users
> proxy_auth REQUIRED
> 2004/06/04 08:49:56| squid.conf line 1758:
> http_access deny !Users
> 2004/06/04 08:49:56| aclParseAccessLine: ACL name
> 'Users' not found.
> 2004/06/04 08:49:56| squid.conf line 1758:
> http_access deny !Users
> 2004/06/04 08:49:56| aclParseAccessLine: Access line
> contains no ACL's,
> skipping
>
>
> thanks

But you do not 'tell' him the program authentication:
the line with :
authenticate_program /.../ncsa_auth file_with_users !!

=====
=================
Déborah Malka

        
        
                
Yahoo! Mail : votre e-mail personnel quel que soit votre fournisseur d’accès - avec anti-virus gratuit !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
Received on Fri Jun 04 2004 - 03:52:10 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT