[cups.bugs] [HIGH] STR #2117: Error on parsing IPv6 subnet addresses

Volker Götz goetz at sectionone.de
Thu Nov 23 06:05:25 PST 2006


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

If I add the following line with an IPv6 subnete address to cupsd.conf

<Location />
  # Allow shared printing and remote administration...
  Order allow,deny
  Allow @LOCAL
  Allow from [fec0:1000:1:2000::]/64
</Location>

I get this error in error_log:

d [22/Nov/2006:17:37:09 +0100]
get_addr_and_mask(value="[fec0:1000:1:2000::]/64",
ip=[fec01000:00012000:00000000:bfada280],
mask=[ffffffff:ffffffff:00000000:00000000]

E [22/Nov/2006:17:37:09 +0100] Bad netmask value [fec0:1000:1:2000::]/64
on line 20.

E [22/Nov/2006:17:37:09 +0100] Unknown Location directive Allow on line
20.

System:
gentoo linux
gcc version 4.1.1 (Gentoo 4.1.1)
glibc 2.4

Link: http://www.cups.org/str.php?L2117
Version: 1.2.6





More information about the cups mailing list