next up previous contents
Next: AFPACKET Up: Packet Acquisition Previous: Configuration   Contents

PCAP

pcap is the default DAQ. if snort is run w/o any DAQ arguments, it will operate as it always did using this module. These are equivalent:

    ./snort -i <device>
    ./snort -r <file>

    ./snort --daq pcap --daq-mode passive -i <device>
    ./snort --daq pcap --daq-mode read-file -r <file>

You can specify the buffer size pcap uses with:

    ./snort --daq pcap --daq-var buffer_size=<#bytes>

Note that the pcap DAQ does not count filtered packets.



Eugene Misnik 2013-05-08