Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squid acls
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Daniel_walmsley
n00b
n00b


Joined: 28 Aug 2003
Posts: 42
Location: Palmerston north

PostPosted: Tue Jun 14, 2005 2:47 am    Post subject: Squid acls Reply with quote

With squid do the acls use wildcard masks or subnetmasks? ie to specify 192.168.1.0 to 192.168.1.255 can i put 192.168.1.0/255.255.255.0 or 192.168.1.0 0.0.0.255
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Tue Jun 14, 2005 2:59 am    Post subject: Reply with quote

Yes squid can use subnets though I use slash notation rather than the lengthy dotted quad. Here's an example of my config

Code:

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid.pass
acl our_networks src 10.0.0.0/8 192.168.191.0/24
acl ncsa_users proxy_auth REQUIRED

# Allow the localhost to have access by default
http_access allow localhost
http_access allow our_networks
http_access allow ncsa_users
no_cache deny all


kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum