Skip to content

Instantly share code, notes, and snippets.

@dwallraff
Created November 10, 2016 02:54
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save dwallraff/82a629a5836947ab975a4999ee6b964f to your computer and use it in GitHub Desktop.
Save dwallraff/82a629a5836947ab975a4999ee6b964f 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