Free tech learning for everyone, from basics to pro

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.

Port514
TransportUDP
ServiceSystem logging protocol (Syslog)
EncryptedNo (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

WhereCommand
Scan from another machinenmap -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 in

In 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.

Get free updates by email

New notes, tools, CCNA and Security+ tips and important security news from FM TecHub, explained simply. Free, about twice a month. Unsubscribe anytime; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesup

Free · no spam · past emails · powered by Buttondown