标签: perl network-programming
有人可以提供一份好的文档/教程/ PDF /参考资料,以预览Net::Pcap和module documentation以及 this Perl and Net::Pcap article on PerlMonks?
Net::Pcap
答案 0 :(得分:4)
Chapter 2 materials查看Programming the Network with Perl。另请参阅an example included in the distribution。
答案 1 :(得分:0)
如果您只想为每个TCP / UDP /等进行回调。匹配过滤器的数据包,您可能会发现Net::Pcap::Easy更方便。您可以man tcpdump获取有关libpcap过滤器字符串的文档。
man tcpdump