1

reflect scripts for TCP and UDP

This commit is contained in:
Evan Pratten 2024-11-13 22:42:47 -05:00
parent a3155b7042
commit 99bd108fad
2 changed files with 11 additions and 0 deletions

11
scripts/udp-reflect Executable file

@ -0,0 +1,11 @@
#! /bin/bash
set -e
# Require a port
if [ -z "$1" ]; then
echo "Usage: $0 <port>"
exit 1
fi
echo "Reflecting all UDP traffic on port $1"
ncat --broker --listen -p "$1" -u