Kill arpspoof with SIGKILL when we're done with it so it doesn't try
to "clean up" and possibly tell the router that your MAC is all-zeros.
+invirt-remote (0.4.22) precise; urgency=low
+
+ * Kill arpspoof with SIGKILL when we're done with it so it doesn't try
+ to "clean up" and possibly tell the router that your MAC is all-zeros.
+
+ -- Mitchell Berger <mitchb@mit.edu> Mon, 26 Jun 2018 22:22:00 -0400
+
invirt-remote (0.4.21) precise; urgency=low
* Add the long-awaited arp remctl
gw=`echo $script | sed -ne 's/.* gateway=\([0-9\.]*\).*/\1/p'`
oip=`echo $script | sed -ne 's/.* other_ip=\([0-9\.]*\).*/\1/p'`
ogw=`echo $script | sed -ne 's/.* other_gateway=\([0-9\.]*\).*/\1/p'`
- timeout 5 /usr/sbin/arpspoof -i $iface -t $gw $ip
+ timeout -s KILL 5 /usr/sbin/arpspoof -i $iface -t $gw $ip
if [ -n "$oip" ]; then
- timeout 5 /usr/sbin/arpspoof -i $iface -t $ogw $oip
+ timeout -s KILL 5 /usr/sbin/arpspoof -i $iface -t $ogw $oip
fi
done
;;