perl Module for scripting pcap files instead of capturing traffic
Perl Perl 6
Switch branches/tags
Nothing to show
Latest commit fd946d9 Feb 1, 2016 Steffen Ullrich Steffen Ullrich 0.724 fix duplicate ACK for FIN in some occassion of multiple shutdow…
…n/close.
Permalink
Failed to load latest commit information.
lib/Net
t
.gitignore
.travis.yml
COPYRIGHT
Changes
LICENSE
MANIFEST Sync MANIFEST and contents Feb 1, 2015
Makefile.PL
README
TODO 0.7 - support for udp (udp_conn) Mar 6, 2013

README

Net::PcapWriter
perl library for easy creation of pcap files from script instead of capturing
data. Useful for testing IDS etc.

 | my $w = Net::PcapWriter->new('test.pcap');
 | my $conn = $w->tcp_conn('1.2.3.4',1234,'5.6.7.8',80) or die;
 | $conn->write(0,"GET / HTTP/1.0 200 Ok\r\n\r\n");
 | $conn->write(1,"HTTP/1.0 12345 ab\r\nContent-length: 0\r\n\r\n");