Last active
May 10, 2017 17:07
-
-
Save chrisxaustin/ced9aeee5cbb9362dfe956f110a12351 to your computer and use it in GitHub Desktop.
log inbound syslog sources
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
sudo tcpdump -ntlp port 514 2>/dev/null| perl -ne 'next unless /^IP (.*).[0-9]* >/; print $1,$/ if !$d{$1}++' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment