Bug#366173: libmail-spf-query-perl: spfquery fails with Bad arg length for Socket:$

Julian Mehnle julian at mehnle.net
Fri May 5 23:25:07 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John A. Martin wrote:
> Package: libmail-spf-query-perl
> Version: 1:1.999.1-1
> Severity: normal
>
> ,----[ spfquery --version ]
> spfquery version 2.3
>
> `----
> [...]
> ,----[ spfquery -i 11.22.33.44 -m user at example.com -h spammer.example.net ]
> Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib/perl/5.8/Socket.pm line 201.
> `----
> ,----[ spfquery -ip=11.22.33.44 -sender=user at example.com -helo=spammer.example.net ]
> Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib/perl/5.8/Socket.pm line 201.
> `---- 
> ,----[ spfquery -i 199.184.165.135 -m jam at tux.org -h gwyn.tux.org ]
> Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib/perl/5.8/Socket.pm line 201.
> `----
> ,----[ spfquery -ip=199.184.165.135 -sender=jam at tux.org -helo=gwyn.tux.org ]
> Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib/perl/5.8/Socket.pm line 201.
> `----

I can't reproduce any of these with the spfquery of libmail-spf-query-perl
1:1.999.1-1.  These are my package versions:

| Versions of packages libmail-spf-query-perl depends on:
| ii  libnet-cidr-lite-perl         0.20-1
| ii  libnet-dns-perl               0.57-1
| ii  libsys-hostname-long-perl     1.4-1
| ii  liburi-perl                   1.35-2
| ii  perl                          5.8.8-4

It seems those package versions are identical to the second system of
yours.

> Same package same commands on another Debian box
>
> ,----[ spfquery --version ]
> spfquery version information:
> SPF test system version: 2.1
> Compiled with SPF library version: 1.0.0
> Running with SPF library version: 1.0.0
> [...]
> `----
> [...]
> The following files are identical on both boxen:
>
>         /usr/bin/spfquery
>         /usr/share/perl5/Mail/SPF/Query.pm

I don't think so.  The spfquery you execute on the second system most
likely is the one from the "spfquery" package (which is supposed to
conflict with "libmail-spf-query-perl"):

  http://packages.debian.org/cgi-bin/search_contents.pl?word=usr/bin/spfquery&searchmode=searchfiles&case=insensitive&version=testing&arch=i386

> [System with libmail-spf-query-perl's "spfquery":]
> Versions of packages libmail-spf-query-perl depends on:
> ii  libnet-cidr-lite-perl         0.15-1
> ii  libnet-dns-perl               0.48-1
> ii  libsys-hostname-long-perl     1.2-1
> ii  liburi-perl                   1.35-1
> ii  perl                          5.8.4-8sarge4

> [System with spfquery's "spfquery":]
> Versions of packages libmail-spf-query-perl depends on:
> ii  libnet-cidr-lite-perl         0.20-1
> ii  libnet-dns-perl               0.57-1
> ii  libsys-hostname-long-perl     1.4-1
> ii  liburi-perl                   1.35-2
> ii  perl                          5.8.8-4

Do you have the "spfquery" package installed on the second system?  What's
the output of `which -a spfquery` on both systems?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEW97VwL7PKlBZWjsRAs/xAKDixUpu6nJMXMdqs9MN1cPchDS9ZACg5yeU
mcqLx83lKYHQFiceqQj/ZN0=
=N2wa
-----END PGP SIGNATURE-----




More information about the pkg-perl-maintainers mailing list