Hi, > I was able to reproduce this bug on Lenny i386 and AMD64 systems, but > not in Sid (0.25-1). According to the upstream changelog, this was > fixed in 0.24 - I am tagging this a Lenny bug, as it has been closed > in Sid. Probably we should backport the fix and do a Lenny-targetted > upload.
I have only submitted a patch so that people could fix the problem by rebuilding the package. But I also thought the example mentionned could be solved by using the Net::Pcap module. Would it be enough to avoid backporting the package? Regards, -- Franck Joncourt http://debian.org - http://smhteam.info/wiki/
#!/usr/bin/perl use strict; use warnings; use Net::Pcap; my $err = ''; my $dev = 'lo'; my ($address, $netmask); Net::Pcap::lookupnet($dev, \$address, \$netmask, \$err); my $pcap = Net::Pcap::open_live($dev, 1500, 1, 0, \$err); my $filter; Net::Pcap::compile($pcap, \$filter, "dst port 68", 0, $netmask); Net::Pcap::setfilter($pcap, $filter); Net::Pcap::loop($pcap, 1, \&process_packet, "packet found"); Net::Pcap::close($pcap); sub process_packet { my($user_data, $header, $packet) = @_; print "$user_data\n"; } exit 0;
signature.asc
Description: OpenPGP digital signature