Last active
February 28, 2020 16:48
-
-
Save raphaunix/7739c0a35c6e01067073e3b9cb40ddf0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
iptables -I INPUT -p tcp -m tcp --dport 7308 -m state --state NEW -j LOG --log-level 1 --log-prefix "New Connection " | |
tail -f syslog | awk -F'SRC=' '{print $2}' | awk -F' ' '{print $1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment