Quantcast
Channel: Sniffer10G
Viewing all articles
Browse latest Browse all 99

Can multiple Libpcap processes have access to incoming data from a single device?

$
0
0

By default, Sniffer10G sends all packets to 1 user space receive ring.

If more than one ring is required, then one must choose between duplication and partitioning of incoming data. If the rings reside in different processes, process-sharing must be enabled.

These features can be enabled by exporting environment variables before tcpdump is run against a libpcap/SNF capable library.

For example, one possible configuration might be:

export SNF_NUM_RINGS=2 # for 2 receivers
export SNF_FLAGS=0x301 # 0x300 for duplication and 0x1 for process sharing.

For more details, see "Advanced Libpcap usage" in the Sniffer10G Installation and User Guide, available on the Sniffer10G Download Page.


Viewing all articles
Browse latest Browse all 99

Latest Images

Trending Articles



Latest Images