Re: [squid-users] aclParseIpData warning

2006-07-25 Thread Henrik Nordstrom
mån 2006-07-24 klockan 09:14 +0300 skrev melvin obiri:
 hi,
 squid return this message
 aclParseIpData : Warning netmask masks away part of the specifed IP in
 10.10.10.1/255.0.0.0
 can anyone help ,me solve this

What is it you want the ACL to match? A single host, or a whole network?

A single host:  10.10.10.1/32 or alternatively 10.10.10.1

The whole 10 network: 10.0.0.0/8

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


[squid-users] aclParseIpData warning

2006-07-24 Thread melvin obiri

hi,
squid return this message
aclParseIpData : Warning netmask masks away part of the specifed IP in
10.10.10.1/255.0.0.0
can anyone help ,me solve this

acl all src 0.0.0.0/0.0.0.0

acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255

acl allowed_hosts src 10.10.0.0/255.255.255.255

acl jillion_clients src 10.10.10.1/255.0.0.0

acl our_network src 10.10.10.25 10.10.10.13

acl to_localhost dst 127.0.0.0/8

My second problem:

I also want to use squid to access news.php.net ,
because added this acls but i cannt get nntp or ftp to work

acl Safe_ports port 119 # nntp

acl Safe_ports port 563 # php
anyone who can direct me with that?


[squid-users] aclParseIpData: WARNING: Netmask masks away part of the specified IP in '172.16.4.1/12' ....Plz help

2004-10-09 Thread Arun G Nair
Hi,

I get this while running Squid.

2004/10/09 16:45:26| aclParseIpData: WARNING: Netmask masks away part
of the specified IP in '172.16.4.1/12'
2004/10/09 16:45:26| aclParseIpData: WARNING: Netmask masks away part
of the specified IP in '172.16.1.0/12'
2004/10/09 16:45:26| aclParseIpData: WARNING: Netmask masks away part
of the specified IP in '172.16.3.0/12'

ACL part of squid.conf is..

acl a src 172.16.4.1/12
acl b src 172.16.1.0/12
acl b src 172.16.3.0/12
acl leisure time 16:30-18:00

http_access allow  a
http_access allow  b
http_access allow  c
http_access allow !a !b !c leisure

ifconfig output.
dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
address: 00:80:ad:01:3d:88
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::280:adff:fe01:3d88%dc0 prefixlen 64 scopeid 0x1
inet 172.16.5.0 netmask 0xfff0 broadcast 172.31.255.255

Any ideas ? Thanx in advance.

AGN


-- 
...Keep Smiling...


Re: [squid-users] aclParseIpData: WARNING: Netmask masks away part of the specified IP in '172.16.4.1/12' ....Plz help

2004-10-09 Thread Muthukumar
 ACL part of squid.conf is..

 acl a src 172.16.4.1/12
 acl b src 172.16.1.0/12
 acl b src 172.16.3.0/12

Try as,

acl a src 172.16.4.1/32
 so that individual ip-address has to be with netmask as 32 there.


 acl leisure time 16:30-18:00

 http_access allow  a
 http_access allow  b
 http_access allow  c
 http_access allow !a !b !c leisure


Execute ./squid -k parse to check acl settings again.

Regards
Muthu


---
===  It is a Virus Free Mail ===
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.774 / Virus Database: 521 - Release Date: 10/7/2004




Re: [squid-users] aclParseIpData: WARNING: Netmask masks away part of the specified IP in '172.16.4.1/12' ....Plz help

2004-10-09 Thread Henrik Nordstrom
On Sat, 9 Oct 2004, Arun G Nair wrote:
ACL part of squid.conf is..
acl a src 172.16.4.1/12
acl b src 172.16.1.0/12
acl b src 172.16.3.0/12
What exacly is it you want these threee ACLs to match? Is it individual IP 
addresses or is it networks of many addresses?

The error says that you have specified a network with either an incorrect 
netmask or incorrect address where the host component (what is masked away 
by the netmask) is not zero.

Regards
Henrik