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 IPv6 fail
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.32-6.1
Severity: normal
Tags: ipv6
postgrey[3863]: WARNING: Argument "2001:470:1f05:eff:f00f:10:14f:40"
isn't numeric in bitwise and (&) at /usr/sbin/postgrey line 47.#012
postgrey[3863]: WARNING: Argument "2001:748:100:40::2:9" isn't numeric
in bitwise and (&) at /usr/sbin/postgrey line 47.#012
postgrey[3863]: WARNING: Argument "2001:748:100:40::2:9" isn't numeric
in bitwise and (&) at /usr/sbin/postgrey line 47.#012
this code is very unfriendly to IPv6 :(
sub cidr_match($$$)
{
my ($net, $mask, $addr) = @_;
return undef unless defined $net and defined $mask and defined
$addr;
if($addr =~ /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/) {
$addr = ($1<<24)+($2<<16)+($3<<8)+$4;
}
return ($addr & $mask) == $net; <-- ERROR
}
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- End Message ---
--- Begin Message ---
backport provided on squeeze-backports, we can close this bug.
Cheers
Antonio
--- End Message ---