Skip to content

Instantly share code, notes, and snippets.

@kyparisisg
Forked from dwallraff/syslog_netcat.sh
Created September 14, 2021 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyparisisg/19efa33c8853a8345fca49225268e1de to your computer and use it in GitHub Desktop.
Save kyparisisg/19efa33c8853a8345fca49225268e1de to your computer and use it in GitHub Desktop.
Use netcat to send syslog messages
# 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