UDP port
Port 514: Syslog
UDP port 514 is syslog: devices send their log lines, one message each, to a collector that listens there.
- UDP gives no acknowledgement: a lost log line is not sent again.
- Syslog inside TLS uses TCP port 6514.
Check port 514 on Linux
Put the server's name or address in place of HOST.
ss -ulnp 'sport = :514'- On the server: is a program listening on UDP port 514, and which? How to read ss.
tcpdump -ni any udp port 514- On either end: the datagrams to and from UDP port 514. With UDP this is the sure test, since nothing is acknowledged. How to read tcpdump.
nmap -sU -p 514 HOST- From outside: a UDP scan of port 514. No answer reads open|filtered: UDP does not say which. How to read nmap.
What runs on it
- Syslog
- The standard way devices send log lines to a collector: one message each, on port 514.
- Facility and severity
- The two numbers that sort a syslog message: what kind of program sent it, and how bad it is.
- SIEM and log correlation
- Gathering every device's log in one place, parsing each line into fields, and running rules across all of them to raise alerts.
Use port 514 on real machines
Open Syslog server: one place to read every machine's logs