Merge pull request #466 from Security-Onion-Solutions/bugfix/ubuntu-xenial-fixes

Bugfix/ubuntu xenial fixes
This commit is contained in:
William Wernert
2020-03-26 18:55:41 -04:00
committed by GitHub
3 changed files with 590 additions and 540 deletions

View File

@@ -1,9 +0,0 @@
#!/bin/bash
if [[ "$NM_DISPATCHER_ACTION" == "pre-up" ]]; then
if [[ "$DEVICE_IFACE" != "$MAININT" ]]; then
for i in rx tx sg tso ufo gso gro lro; do
ethtool -K "$DEVICE_IFACE" "$i" off;
done
fi
fi

View File

@@ -0,0 +1,8 @@
#!/bin/bash
if [[ "$DEVICE_IFACE" != "ens33" && "$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

File diff suppressed because it is too large Load Diff