Files
securityonion/install_scripts/disable-checksum-offload.sh
William Wernert 8dbb5de55d Preliminary fix for packet capture loss
Interface offloading was not being turned off during setup
2019-08-15 16:14:14 -04:00

9 lines
228 B
Bash

#!/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