forked from voipmonitor/sniffer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-Default ring buffer in libpcap < 1.0.0 relies on /proc/sys/net/core/…
…rmem_default which differs system to system and is low in general for accurate sniffing higher traffic (on debian etch it is 135KB). Voipmonitor now requires libpcap at least >= 1.0.0 (the latest recommended) which implements pcap_set_buffer_size and default value is 2MB. I've set it to 5MB. Thanks to AronHopkins (https://sourceforge.net/tracker/?func=detail&aid=3109439&group_id=312498&atid=1315315) - added syslog report about lost packets by pcap or interface. If pcap is bottleneck, it should be written in syslog
- Loading branch information
Martin Vit
committed
Feb 6, 2011
1 parent
226d630
commit a4b19a6
Showing
3 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters