Skip to content

Instantly share code, notes, and snippets.

@leafnode
Forked from dwallraff/syslog_netcat.sh
Created July 15, 2019 10:46
Show Gist options
  • Save leafnode/627ca86ab2d11475d828eff92575f627 to your computer and use it in GitHub Desktop.
Save leafnode/627ca86ab2d11475d828eff92575f627 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