-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mod_pcap: new config option to select devices by interface speed.
Instead of a systemd snowflake like: pcap { dev = ens33 } pcap { dev = en17736 } We can just write: pcap { speed = 1G-1T } and it will match all physical NICs with speeds in that range. The range can be partially specified: 1G-1T => speed >= 1G && speed <= 1T 1G- => speed >= 1G 1G => speed == 1G 1- => speed > 0 The aim is to make it easier to end up with a configuration file that will work for all hosts, such as: sflow { agent.cidr=10.0.0.0/8 DNS-SD {} pcap { speed = 1G- } tcp {} }
- Loading branch information
Showing
8 changed files
with
262 additions
and
51 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
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
Oops, something went wrong.