import p5-Net-Pcap-Reassemble
Net::Pcap::Reassemble performs reassembly of fragmented datagrams in libpcap packet capture data returned by the Net::Pcap loop() function. Net::Pcap::Reassemble module supports reassembly of IPv4 and IPv6 fragments. feedback and OK sthen@
This commit is contained in:
parent
e4a8767da0
commit
6278bf30b4
19
net/p5-Net-Pcap-Reassemble/Makefile
Normal file
19
net/p5-Net-Pcap-Reassemble/Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/16 20:13:25 okan Exp $
|
||||
|
||||
COMMENT = IP fragment reassembly for Net::Pcap
|
||||
|
||||
DISTNAME = Net-Pcap-Reassemble-0.05
|
||||
CATEGORIES = net
|
||||
MODULES = cpan
|
||||
|
||||
MAINTAINER = Okan Demirmen <okan@openbsd.org>
|
||||
|
||||
# Perl
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
RUN_DEPENDS = net/p5-Net-Pcap
|
||||
|
||||
.include <bsd.port.mk>
|
5
net/p5-Net-Pcap-Reassemble/distinfo
Normal file
5
net/p5-Net-Pcap-Reassemble/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (Net-Pcap-Reassemble-0.05.tar.gz) = ash4TmUuKtPVFqJcV5QD4A==
|
||||
RMD160 (Net-Pcap-Reassemble-0.05.tar.gz) = YCXYzgtjpXsv2kndWuNHjcVJSTQ=
|
||||
SHA1 (Net-Pcap-Reassemble-0.05.tar.gz) = sJajOFJ/5xeKIGjGck2+F8A/AGY=
|
||||
SHA256 (Net-Pcap-Reassemble-0.05.tar.gz) = ZAKmbWiMZ4wqm1DGaQ7eEl67zMT0NOudjwCIRCqJ0yM=
|
||||
SIZE (Net-Pcap-Reassemble-0.05.tar.gz) = 13853
|
23
net/p5-Net-Pcap-Reassemble/patches/patch-t_reassemble_t
Normal file
23
net/p5-Net-Pcap-Reassemble/patches/patch-t_reassemble_t
Normal file
@ -0,0 +1,23 @@
|
||||
$OpenBSD: patch-t_reassemble_t,v 1.1.1.1 2012/04/16 20:13:25 okan Exp $
|
||||
|
||||
test 7 requires DLT_LINUX_SLL
|
||||
|
||||
--- t/reassemble.t.orig Thu May 13 12:27:05 2010
|
||||
+++ t/reassemble.t Mon Apr 16 13:57:26 2012
|
||||
@@ -9,7 +9,7 @@
|
||||
# Change 1..1 below to 1..last_test_to_print .
|
||||
# (It may become useful if the test is moved to ./t subdirectory.)
|
||||
|
||||
-BEGIN { $| = 1; print "1..7\n"; }
|
||||
+BEGIN { $| = 1; print "1..6\n"; }
|
||||
END {print "not ok 1\n" unless $loaded;}
|
||||
use Net::Pcap::Reassemble;
|
||||
$loaded = 1;
|
||||
@@ -90,6 +90,7 @@ if (!defined($pcap_t)) {
|
||||
}
|
||||
print "ok 6\n";
|
||||
|
||||
+=head
|
||||
#
|
||||
# Test 7: Read from a LINUX_SLL dump file. It contains one whole datagram
|
||||
# and one datagram in three fragments. The callback should
|
4
net/p5-Net-Pcap-Reassemble/pkg/DESCR
Normal file
4
net/p5-Net-Pcap-Reassemble/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
Net::Pcap::Reassemble performs reassembly of fragmented datagrams in
|
||||
libpcap packet capture data returned by the Net::Pcap loop() function.
|
||||
Net::Pcap::Reassemble module supports reassembly of IPv4 and IPv6
|
||||
fragments.
|
5
net/p5-Net-Pcap-Reassemble/pkg/PLIST
Normal file
5
net/p5-Net-Pcap-Reassemble/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/16 20:13:25 okan Exp $
|
||||
${P5SITE}/Net/
|
||||
${P5SITE}/Net/Pcap/
|
||||
${P5SITE}/Net/Pcap/Reassemble.pm
|
||||
@man man/man3p/Net::Pcap::Reassemble.3p
|
Loading…
Reference in New Issue
Block a user