Created Sat May, 25 2019 at 09:33PM

simulate kern message

# ubuntu
sudo su root -c 'echo ThreatSTOP-TSblock test test > /dev/kmsg'
logger -p kern.crit MESSAGE

# network syslog traffic via Netcat
# Send each line of file.log towards syslog server on port 514
nc -q0 514 < file.log
# Send a simple string that will generate a single log entry:

echo "message" | nc -q0 514
# -q0 makes nc exit after sending:
# -q seconds after EOF on stdin, wait the specified number of seconds and then quit.