Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save carlos-teles/8ca1900930c8a5df1b17cdc026cda1a1 to your computer and use it in GitHub Desktop.
Save carlos-teles/8ca1900930c8a5df1b17cdc026cda1a1 to your computer and use it in GitHub Desktop.
Send syslog linux from nc - netcat
echo '<14>_sourcehost_ messagetext' | nc -v -u -w 2 _desthost_ 514
Example:
echo '<14>192.168.0.5 messagetext' | nc -v -u -w 2 192.168.0.105 514
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment