X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=disable_pod.sh;fp=disable_pod.sh;h=bba89f8973cb84b31bff28e3c329f520bd80c7a7;hb=93f0412887322c8f7f38ec71d6a57d5b3ddd9260;hp=0000000000000000000000000000000000000000;hpb=2df2fbe518d5a221ce6e3ee88a3fb23fb1b94b27;p=pingofdeath.git diff --git a/disable_pod.sh b/disable_pod.sh new file mode 100755 index 0000000..bba89f8 --- /dev/null +++ b/disable_pod.sh @@ -0,0 +1,28 @@ +#! /bin/bash +#include INTEL_LICENSE.txt +# +######################################################################## +# +# Disable Ping Of Death +# +######################################################################## +# +# DESCRIPTION +# +# The disable_pod function turns off the pod syscntl +# +# HISTORY +# +# May 17, 2003 - Paul Brett +# Initial version based on the work of +# Robert Adams and EMULAB +# + +function disable_pod() +{ + local SYSCTL=/sbin/sysctl + $SYSCTL -w net.ipv4.icmp_ipod_enabled=0 >/dev/null + return 0 +} + +