Created Sat May, 25 2019 at 09:33PM

simulate kern message

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

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

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