mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
8 lines
255 B
Bash
Executable File
8 lines
255 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ "$DEVICE_IFACE" != "$MAININT" && "$DEVICE_IFACE" != *"docker"* ]]; then
|
|
for i in rx tx sg tso ufo gso gro lro; do
|
|
ethtool -K "$DEVICE_IFACE" "$i" off;
|
|
done
|
|
ip link set dev "$DEVICE_IFACE" arp off multicast off allmulticast off
|
|
fi |