Port 514: Syslog (System logging protocol)
What port 514 (UDP) does, the security risks of leaving it open, and how to secure and test it.
| Port | 514 |
|---|---|
| Transport | UDP |
| Service | System logging protocol (Syslog) |
| Encrypted | No (TLS on 6514) |
What is port 514?
Syslog sends log messages from network devices and servers to a central log server or SIEM, usually on UDP 514.
Common uses
- Collecting logs from switches, routers, firewalls and Linux servers
- Feeding a SIEM for security monitoring
Security risks
- Logs can be read in transit and UDP messages can be lost
- Fake log messages sent by an attacker to hide activity or fill disks
How to secure port 514
- Only accept syslog from known devices
- Use TCP or TLS syslog (6514) for important logs
- Keep device clocks in sync with NTP so logs line up
How to check if port 514 is open
| Where | Command |
|---|---|
| Scan from another machine | nmap -sU -p 514 <host> |
| Linux (what is listening) | sudo ss -tulpn | grep :514 |
| Windows (what is listening) | netstat -ano | findstr :514 |
Only scan systems you own or have permission to test.
Example: block it at the internet edge (Cisco)
For a service that should stay inside your network, deny it on the internet-facing interface. Put the rule before any broader permit statements:
ip access-list extended INTERNET-IN
remark Block Syslog from the internet
deny udp any any eq 514
permit ip any any
!
interface GigabitEthernet0/0
ip access-group INTERNET-IN inIn a real network the final line would be your normal inbound policy, not "permit ip any any". Build and check rules with the ACL builder.
Related ports
Frequently asked questions
What is port 514 used for?
Port 514 (UDP) is used by System logging protocol (Syslog). Syslog sends log messages from network devices and servers to a central log server or SIEM, usually on UDP 514.
Is it safe to open port 514?
Only if the service needs to be reached and is configured securely. Only accept syslog from known devices.
How do I check if port 514 is open?
From another computer, run nmap -p 514 followed by the host address with -sU for UDP. On the server itself, ss -tulpn on Linux or netstat -ano on Windows shows whether anything is listening on 514.
Learn more: TCP, UDP and ports explained and firewall basics.