packetgen
packetgen copied to clipboard
capture packets from array of interfaces
Is there a way to capture from multiple interfaces since iface
param is string?
https://github.com/sdaubert/packetgen/blob/master/lib/packetgen/capture.rb#L30
Hi @bobfly, thank you for your interest about Packetgen.
There is no way to capture packets from multiple selected interfaces, as the underlying library (PcapRUB) does not handle it. Nevertheless, a string any
passed as interface argument enables capturing on all interfaces on Linux since kernel 2.2.