Port 514 is Syslog, TCP and UDP.
TCPUDP
low risk
App-IDsyslog
Syslog — network devices stream log messages to a central collector. UDP is fire-and-forget; TCP adds delivery guarantees.
Palo Alto
Create the service objects for this port, then allow the App-ID on it. Restricting the rule to the port's service object keeps the rule working on a non-default port and stops the App-ID matching on other ports. Replace the placeholders with your own rule name and zones.
set service tcp-514 protocol tcp port 514
set service udp-514 protocol udp port 514
set rulebase security rules <rule-name> from <from-zone> to <to-zone> source any destination any application syslog service [ tcp-514 udp-514 ] action allow
Risk and exposure
Rated low risk. Even so, only expose this port to the networks and hosts that need it, and keep it patched.
Check it
- Linux
ss -tlnp | grep :514 - Linux
ss -ulnp | grep :514 - PowerShell
Test-NetConnection <host> -Port 514 - nmap
nmap -p 514 <host> - nmap
nmap -sU -p 514 <host>