mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Merge pull request #466 from Security-Onion-Solutions/bugfix/ubuntu-xenial-fixes
Bugfix/ubuntu xenial fixes
This commit is contained in:
@@ -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
|
|
||||||
8
setup/install_scripts/99-so-checksum-offload-disable
Executable file
8
setup/install_scripts/99-so-checksum-offload-disable
Executable 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
|
||||||
1113
setup/so-functions
1113
setup/so-functions
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user