LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-20-2007, 09:06 AM   #1
csdhiman
Member
 
Registered: Mar 2007
Posts: 47

Rep: Reputation: 15
squid acl addr1-addr2/netmask


i am using squid with delay pool
so i have to use ip address ranges in
acl pool1 scr 192.168.0.1-192.168.0.25/255.255.255.0
acl pool2 scr 192.168.0.26-192.168.0.50/255.255.255.0
acl pool3 scr 192.168.0.51-192.168.0.75/255.255.255.0
acl pool4 scr 192.168.0.76-192.168.0.100/255.255.255.0

but when i stop squid it gives warning message
as

[root@postfix squid]# service squid stop
Stopping squid: 2007/03/20 18:49:44| aclParseIpData: WARNING: Netmask masks away
part of the specified IP in '192.168.0.1-192.168.0.25/255.255.255.0'
2007/03/20 18:49:44| aclParseIpData: WARNING: Netmask masks away part of the spe
cified IP in '192.168.0.26-192.168.0.50/255.255.255.0'
2007/03/20 18:49:44| aclParseIpData: WARNING: Netmask masks away part of the spe
cified IP in '192.168.0.51-192.168.0.75/255.255.255.0'
2007/03/20 18:49:44| aclParseIpData: WARNING: Netmask masks away part of the spe
cified IP in '192.168.0.76-192.168.0.100/255.255.255.0'
................ OK ]



pls suggest me if i am using wrong acl atatement , or error in subnet mask
 
Old 03-20-2007, 11:52 PM   #2
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
Stupid me for suggesting this, might be more complicated:
_First_ check the client_netmask entry in squid.conf to be the same as your declared: 255.255.255.0
Then... I don't know yet.
 
Old 03-21-2007, 06:48 AM   #3
csdhiman
Member
 
Registered: Mar 2007
Posts: 47

Original Poster
Rep: Reputation: 15
The subnet mask is same as i declared

now i am using acl without subnet masks
as
acl student src 192.168.0.1-192.168.0.25

etc...

working ok with this
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid ACL problem ~=gr3p=~ Linux - Networking 0 04-11-2006 02:04 AM
squid and acl of mime Ammad Linux - Networking 0 02-11-2006 02:13 AM
Squid acl help cgelectek Linux - Networking 3 11-10-2005 11:04 PM
do i need to ACL in squid.conf... razan Linux - Security 2 04-20-2005 06:42 AM
Squid ACL zeroability Linux - Networking 2 01-13-2003 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration