[squid-users] acl dst 255.255.255.255 means "no such hostname"?

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Fri, 9 Sep 2005 14:21:39 +0200

Hello,

I found out that if I deny users going to 255.255.255.255, it is the same as
if I denied going to unknown hostnames:

acl bogus dst 255.255.255.255
http_access deny bogus

Originally I wanted to deny customers goind to reserved IP spaces defined by
RFC1918 and RFC3330:

acl bogus dst 0.0.0.0/8 10.0.0.0/8 127.0.0.0/8 169.254.0.0/16 172.16.0.0/12 192.0.2.0/24 192.168.0.0/16 198.18.0.0/15 224.0.0.0/4 240.0.0.0/4
 
and I was very surprised that now I get "access denied" instead of "Unable
to determine IP address" (aka "The domain name does not exist.").

Is this wanted behaviour, a side effect of something (probably when
getnostname() returns -1) or a bug? Should I fill a bugreport?

(squid 2.5.STABLE10 on gentoo linux)

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
How does cat play with mouse? cat /dev/mouse
Received on Fri Sep 09 2005 - 06:21:42 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT