Your message dated Fri, 29 Apr 2011 07:57:51 +0000
with message-id <[email protected]>
and subject line postgrey: logs Perl warning on mail from IPv6 sources when
whitelist contains IPv4 CIDR entries
has caused the Debian Bug report #554887,
regarding postgrey: logs Perl warning on mail from IPv6 sources when whitelist
contains IPv4 CIDR entries
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
554887: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=554887
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postgrey
Version: 1.31-3.2
Severity: normal
Tags: ipv6
Here's an example of the warning from my system log, with the source address
scrubbed (and the line wrapped):
postgrey: WARNING: Argument "2001:db8:5678:2255::25" isn't numeric in
bitwise and (&) at /usr/sbin/postgrey line 47.
This appears to occur because the cidr_match function converts an incoming
IPv4 address to its integer numeric form before matching, but leaves an
incoming IPv6 address alone. This can theoretically cause a match if the
address starts with decimal digits and the resulting decimal integer matches
one of the IPv4 CIDR masks present, though I think this may be prevented in
practice by the allocation of IPv4 addresses.
Suggested small fix: if cidr_match won't get anything but dotted-quad for IPv4
addresses, and IPv6 CIDR is not supported, then have cidr_match return 0 for
anything that isn't a dotted quad.
Wishlist item: support IPv6 address prefixes also.
---> Drake Wilson
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i586)
Kernel: Linux 2.6.27.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages postgrey depends on:
ii adduser 3.110 add and remove users and groups
ii libberkeleydb-perl 0.34-1+b1 use Berkeley DB 4 databases from P
ii libnet-dns-perl 0.63-2 Perform DNS queries from a Perl sc
ii libnet-server-perl 0.97-1 An extensible, general perl server
ii perl 5.10.0-19lenny2 Larry Wall's Practical Extraction
ii ucf 3.0016 Update Configuration File: preserv
Versions of packages postgrey recommends:
ii libdigest-sha1-perl 2.11-2+b1 NIST SHA-1 message digest algorith
ii libnet-rblclient-perl 0.5-2 Queries multiple Realtime Blackhol
ii libparse-syslog-perl 1.10-1 Perl module for parsing syslog ent
ii postfix 2.5.5-1.1 High-performance mail transport ag
postgrey suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
backport provided on squeeze-backports, we can close this bug.
Cheers
Antonio
--- End Message ---