ANNOUNCE: amavisd-new-2.8.1-rc1 release candidate is available

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Sun Apr 28 19:27:14 CEST 2013


* Mark Martinec <Mark.Martinec+amavis at ijs.si>:

> - improved IPv6 support: p0f-analyzer.pl can now communicate with amavisd
>   processes over an INET6 socket (or over an INET or UNIX socket as before).
>   Extended the protocol between amavisd and p0f-analyzer.pl to allow
>   queries on IPv6 addresses;
> 
> - rewritten p0f-analyzer.pl to support a newer p0f v3 output format,
>   while still recognizing an older p0f v2 output format;
>   suggested by Jernej Porenta;
> 
>   NOTE: the p0f v3 does not provide a compact output on stdout like p0f v2
>   could by using an option -l, so leave out the option -l with p0f v3;

p0f-analyzer.pl fails here with:

root at mail:/usr/src/amavisd-new-2.8.1-rc1# p0f -i eth0 'tcp dst port 25' 2>&1 | p0f-analyzer.pl 2345
Unexpected keys - V6Only at /usr/sbin/p0f-analyzer.pl line 365
root at mail:/usr/src/amavisd-new-2.8.1-rc1# /usr/sbin/p0f -l 'tcp dst port 25 and dst host 141.42.202.200' 2>&1 | /usr/sbin/p0f-analyzer.pl 2345
Unexpected keys - V6Only at /usr/sbin/p0f-analyzer.pl line 365

AH!
          V6Only => 1,  # understood by IO::Socket::IP since 0.09

Apr 28 19:08:59 mail amavis[17549]: socket module IO::Socket::IP, protocol families available: INET, INET6
Apr 28 19:08:59 mail amavis[17549]: Module IO::Socket::INET6   2.69
Apr 28 19:08:59 mail amavis[17549]: Module IO::Socket::IP      0.07

Maybe I should update :)

ii  libio-socket-ip-perl        0.07-1                      module for using IPv4 and IPv6 sockets in a protocol-independent way

Phew, when building IO::Socket::IP from CPAN:
Socket version 1.97 required--this is only version 1.94 at /root/IO-Socket-IP-0.21/blib/lib/IO/Socket/IP.pm line 27.

And when I try to build IO::Socket:
IO::Socket is a standard module. Will not build without --core-ok.

Is there a workaround for users of Ubuntu LTS 12.04?
(for now I just commented out the "V6Only => 1," line)

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155


More information about the amavis-users mailing list