mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 09:42:46 +01:00
Preliminary fix for packet capture loss
Interface offloading was not being turned off during setup
This commit is contained in:
9
install_scripts/disable-checksum-offload.sh
Normal file
9
install_scripts/disable-checksum-offload.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/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
|
||||
fii
|
||||
fi
|
||||
Reference in New Issue
Block a user