diff --git a/scripts/tcpreflect b/scripts/tcpreflect new file mode 100755 index 0000000..81710bb --- /dev/null +++ b/scripts/tcpreflect @@ -0,0 +1,11 @@ +#! /bin/bash +set -e + +# Require a port +if [ -z "$1" ]; then + echo "Usage: $0 " + exit 1 +fi + +echo "Reflecting all TCP traffic on port $1" +ncat --broker --listen -p "$1" \ No newline at end of file