Created
November 10, 2016 02:54
-
-
Save dwallraff/82a629a5836947ab975a4999ee6b964f to your computer and use it in GitHub Desktop.
Use netcat to send syslog messages
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
# Here’s how to create UDP syslog messages via nc, netcat: | |
echo ‘<14>_sourcehost_ messagetext’ | nc -v -u -w 0 _syslog-host_ 514 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment