Net::InspectA libary for inspection of data on various network layers | |
Download |
Net::Inspect Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Steffen Ullrich
- Publisher web site:
- http://search.cpan.org/~sullr/
Net::Inspect Tags
Net::Inspect Description
The idea of the Net::Inspect module is to plug various layers of network inspection together to analyze data. This is kind of what wireshark or IDS do, exept this is in perl and therefore slower to execute but faster to develop and maybe more flexibel too.SYNOPSIS use Net::Pcap; use Net::Inspect::L2::Pcap; use Net::Inspect::L3::IP; use Net::Inspect::L4::TCP; use Net::Inspect::L7::HTTP; use Net::Inspect::L7::HTTP::Request::InspectChain; use Net::Inspect::Debug; my $pcap = Net::Pcap->new... ... my $l7 = Net::Inspect::L7::HTTP->new; my $l4 = Net::Inspect::L4::TCP->new($l5); my $l3 = Net::Inspect::L3::IP->new($l4); my $l2 = Net::Inspect::L2::Pcap->new($pcap,$l3); pcap_loop($pcap,-1,sub { my (undef,$hdr,$data) = @_; return $l2->pktin($data,$hdr); });Product's homepage
Net::Inspect Related Software