Snort IDS tips for VARs a

Installing Snort: Packet logger mode

Snort's second mode involves acting as a packet logger when given the -l switch and a directory to store traffic.

After sending another ICMP echo while Snort is running, a look in the tests directory reveals a file created by Snort called snort.log.1164036694.

Using the date command's -r switch shows the numeric code after "snort.log" represents the time in seconds when the packet trace was created.

Any Libpcap-compatible sniffer can read the file, such as Tcpdump or even Snort. The -X switch tells Snort to report all packet details.

Snort: Fundamentals and installation tips for the channel

 Sniffer mode
 Packet logger mode
 Intrusion detection mode

About the author
Richard Bejtlich is founder of TaoSecurity, author of several books on network security monitoring, including Extrusion Detection: Security Monitoring for Internal Intrusions, and operator of the TaoSecurity blog (

This was first published in December 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: