Darren Reed
2016-04-27 13:15:44 UTC
Is there a NetBSD equivalent to ethtool(8) on Linux?
reference:
https://github.com/pavel-odintsov/fastnetmon/wiki/Traffic-filtration-using-NIC-capabilities-on-wire-speed-%2810GE,-14Mpps%29
http://linux.die.net/man/8/ethtool
As an example, to drop ICMP packets:
ethtool --config-ntuple eth4 flow-type ip4 proto 1 action -1
... and the NIC drops them all for you, not an interrupt in sight in
response to ICMP (but there's also no logs...)
The other interesting and obscure Linux networking command is "tc".
http://lartc.org/manpages/tc.txt
Cheers,
Darren
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
reference:
https://github.com/pavel-odintsov/fastnetmon/wiki/Traffic-filtration-using-NIC-capabilities-on-wire-speed-%2810GE,-14Mpps%29
http://linux.die.net/man/8/ethtool
As an example, to drop ICMP packets:
ethtool --config-ntuple eth4 flow-type ip4 proto 1 action -1
... and the NIC drops them all for you, not an interrupt in sight in
response to ICMP (but there's also no logs...)
The other interesting and obscure Linux networking command is "tc".
http://lartc.org/manpages/tc.txt
Cheers,
Darren
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de