Snort mailing list archives
Re: Monitor progress and ETA while running snort
From: John Byrne via Snort-users <snort-users () lists snort org>
Date: Sat, 13 Oct 2018 11:23:22 -0700
I’m assuming this doesn’t work for snort v2.9.11.1? It doesn’t work for me. But it seems the snort 3 manual has this. Do you know when this was added? Curiously, John Byrne
On Oct 12, 2018, at 6:49 AM, Assaf via Snort-users <snort-users () lists snort org> wrote: Thanks! I didn't knew about the USR1 trick. On Thu, Oct 11, 2018, 15:51 Carter Waxman (cwaxman) <cwaxman () cisco com <mailto:cwaxman () cisco com>> wrote: kill –USR1 (snort pid) and snort will dump stats to stdout. See “Packet I/O Totals” for packets read so far. --pcap-list will run a batch of pcaps, but be aware that Snort resets between each pcap so you would probably still need to do your merge. From: Snort-users <snort-users-bounces () lists snort org <mailto:snort-users-bounces () lists snort org>> on behalf of Assaf via Snort-users <snort-users () lists snort org <mailto:snort-users () lists snort org>> Reply-To: Assaf <assaf.morami () gmail com <mailto:assaf.morami () gmail com>> Date: Thursday, October 11, 2018 at 12:56 AM To: "snort-users () lists snort org <mailto:snort-users () lists snort org>" <snort-users () lists snort org <mailto:snort-users () lists snort org>> Subject: [Snort-users] Monitor progress and ETA while running snort Hi, I just wanted to share how I monitor progress and ETA while running snort from a pcap file. If I have only one pcap I use pipe viewer (the pv command) like this: pv x.pcap | snort -r - If I have more than one pcap, e.g. from a big tcpdump run, I merge all of them on the fly using joincap ( https://github.com/assafmo/joincap <https://github.com/assafmo/joincap> ) like this: joincap *.pcap | pv -s $(du -bc *.pcap | awk '/total/{print $1}') | snort -r - This way pv print progress and ETA information while snort is running. :-) Shameless plug - I wrote joincap specifically for these kind of situations, because mergecap and tcpslice does not handle errors very well. _______________________________________________ Snort-users mailing list Snort-users () lists snort org Go to this URL to change user options or unsubscribe: https://lists.snort.org/mailman/listinfo/snort-users To unsubscribe, send an email to: snort-users-leave () lists snort org Please visit http://blog.snort.org to stay current on all the latest Snort news! Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette
_______________________________________________ Snort-users mailing list Snort-users () lists snort org Go to this URL to change user options or unsubscribe: https://lists.snort.org/mailman/listinfo/snort-users To unsubscribe, send an email to: snort-users-leave () lists snort org Please visit http://blog.snort.org to stay current on all the latest Snort news! Please follow these rules: https://snort.org/faq/what-is-the-mailing-list-etiquette
Current thread:
- Monitor progress and ETA while running snort Assaf via Snort-users (Oct 10)
- Re: Monitor progress and ETA while running snort Carter Waxman (cwaxman) via Snort-users (Oct 11)
- Re: Monitor progress and ETA while running snort Assaf via Snort-users (Oct 12)
- Re: Monitor progress and ETA while running snort John Byrne via Snort-users (Oct 13)
- Re: Monitor progress and ETA while running snort Carter Waxman (cwaxman) via Snort-users (Oct 15)
- Re: Monitor progress and ETA while running snort Assaf via Snort-users (Oct 12)
- Re: Monitor progress and ETA while running snort Carter Waxman (cwaxman) via Snort-users (Oct 11)