fragattacks/research/droptraffic.sh

12 lines
278 B
Bash
Raw Normal View History

#!/bin/bash
2020-10-24 13:49:17 -04:00
# Copyright (c) 2020, Mathy Vanhoef <mathy.vanhoef@nyu.edu>
#
# This code may be distributed under the terms of the BSD license.
# See README for more details.
set -e
iptables -P INPUT DROP
iptables -P FORWARD DROP
ip6tables -P INPUT DROP
ip6tables -P FORWARD DROP