-
-
Save leafnode/627ca86ab2d11475d828eff92575f627 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