This module is a unified framework to craft, send and receive packets at
layers 2, 3, 4 and 7. Basically, you forge each layer of a frame (Net::Packet::IPv4 for layer 3, Net::Packet::TCP for layer 4 ; for example), and pack all of this into a Net::Packet::Frame object. Then, you can send the frame to the network, and receive it easily, since the response is automatically searched for and matched against the request.
This commit is contained in:
parent
1936d21d3d
commit
b2b2b75ac1
4 changed files with 39 additions and 0 deletions
8
net/p5-Net-Packet/DESCR
Normal file
8
net/p5-Net-Packet/DESCR
Normal file
|
@ -0,0 +1,8 @@
|
|||
This module is a unified framework to craft, send and receive packets at
|
||||
layers 2, 3, 4 and 7.
|
||||
|
||||
Basically, you forge each layer of a frame (Net::Packet::IPv4 for layer 3,
|
||||
Net::Packet::TCP for layer 4 ; for example), and pack all of this into a
|
||||
Net::Packet::Frame object. Then, you can send the frame to the network, and
|
||||
receive it easily, since the response is automatically searched for and
|
||||
matched against the request.
|
25
net/p5-Net-Packet/Makefile
Normal file
25
net/p5-Net-Packet/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/08/13 08:11:17 adrianp Exp $
|
||||
|
||||
DISTNAME= Net-Packet-2.04
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
CATEGORIES= net perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Net/}
|
||||
|
||||
MAINTAINER= adrianp@NetBSD.org
|
||||
COMMENT= Modules to assemble/disassemble network packets
|
||||
|
||||
DEPENDS+= p5-Net-Pcap>0.04:../../net/p5-Net-Pcap
|
||||
DEPENDS+= p5-IO-Interface-[0-9]*:../../net/p5-IO-Interface
|
||||
DEPENDS+= p5-Socket6-[0-9]*:../../net/p5-Socket6
|
||||
DEPENDS+= p5-Time-HiRes-[0-9]*:../../time/p5-Time-HiRes
|
||||
DEPENDS+= p5-Net-IPv6Addr-[0-9]*:../../net/p5-Net-IPv6Addr
|
||||
DEPENDS+= p5-Class-Gomor-Hash-[0-9]*:../../devel/p5-Class-Gomor-Hash
|
||||
|
||||
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
||||
BUILDLINK_DEPENDS.libpcap+= libpcap>=0.9.3nb2
|
||||
|
||||
PERL5_PACKLIST= auto/Net/Packet/.packlist
|
||||
|
||||
.include "../../net/libpcap/buildlink3.mk"
|
||||
.include "../../lang/perl5/module.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
1
net/p5-Net-Packet/PLIST
Normal file
1
net/p5-Net-Packet/PLIST
Normal file
|
@ -0,0 +1 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/08/13 08:11:17 adrianp Exp $
|
5
net/p5-Net-Packet/distinfo
Normal file
5
net/p5-Net-Packet/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/08/13 08:11:17 adrianp Exp $
|
||||
|
||||
SHA1 (Net-Packet-2.04.tar.gz) = 38bdcf453d4e7665dea98414d6ece2b1a4a4e0ca
|
||||
RMD160 (Net-Packet-2.04.tar.gz) = c5bb9638a7e926733d8381cfee3db7e23f1bcf1a
|
||||
Size (Net-Packet-2.04.tar.gz) = 50984 bytes
|
Loading…
Reference in a new issue