next up previous contents
Next: Configuration Up: Snort Overview Previous: Changing Alert Order   Contents

Packet Acquisition

Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O. The DAQ replaces direct calls to PCAP functions with an abstraction layer that facilitates operation on a variety of hardware and software interfaces without requiring changes to Snort. It is possible to select the DAQ type and mode when invoking Snort to perform PCAP readback or inline operation, etc.

Note:  

Some network cards have features named "Large Receive Offload" (lro) and "Generic Receieve Offload" (gro). With these features enabled, the network card performs packet reassembly before they're processed by the kernel.

By default, Snort will truncate packets larger than the default snaplen of 1518 bytes. In addition, LRO and GRO may cause issues with Stream5 target-based reassembly. We recommend that you turn off LRO and GRO. On linux systems, you can run:

    $ ethtool -K eth1 gro off
    $ ethtool -K eth1 lro off



Subsections

Eugene Misnik 2013-05-08