CyberHunter
// Directory & authentication

Port 324: Resource PKI to Router Protocol over TLS

Port 324 is assigned by IANA to rpki-rtr-tls (Resource PKI to Router Protocol over TLS).

324

How rpki-rtr-tls works

Directory & authentication
userdirectory#%&@!x9response? userdirectory#%&@!x9response?

The client proves who it is on port 324 and gets an answer (or a ticket) it can use with other services. Everything is encrypted: someone on the path only sees unreadable bytes.

Transport
TCP
Exposure risk
not rated depends on the program listening
Encryption
EncryptedTLS or built-in crypto
IANA status
Assigned1 registered service
Range
Well-known (0-1023)
01 Security

Is port 324 dangerous?

We have no specific security note for port 324. Its risk depends on the program actually listening on it. General advice for directory & authentication services:

  • Keep directory and authentication services on internal networks.
  • Require signing or TLS and disable anonymous queries.
  • Monitor authentication failures for spraying and brute force.
02 Registry

IANA registry entries for port 324

ServicePortTransportDescriptionReferenceUpdated
rpki-rtr-tls 324 TCP Resource PKI to Router Protocol over TLS RFC 6810 -
-324-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 324, and is it reachable?

Linux

sudo ss -ltnup 'sport = :324'      # process listening on 324
sudo lsof -nP -i :324

macOS

sudo lsof -nP -i :324

Windows (PowerShell)

Get-NetTCPConnection -LocalPort 324 -State Listen | Select LocalAddress, OwningProcess
Get-NetUDPEndpoint -LocalPort 324
netstat -ano | findstr :324

From another machine

nmap -p 324 -sV <host>
nc -zv <host> 324

Block it in the firewall

sudo ufw deny 324/tcp                                         # Linux (ufw)
New-NetFirewallRule -DisplayName "Block 324" -Direction Inbound -LocalPort 324 -Protocol TCP -Action Block  # Windows
04 FAQ
What is port 324 used for?

Port 324 is assigned by IANA to rpki-rtr-tls (Resource PKI to Router Protocol over TLS).

Is port 324 TCP or UDP?

Port 324 is registered for TCP.

Is it safe to open port 324?

It depends on the program that listens on it. Open it only for a service you know and only to the networks that need it. Keep directory and authentication services on internal networks.

How do I check if port 324 is open?

On Linux run "ss -ltnup 'sport = :324'", on macOS "lsof -nP -i :324", and on Windows "netstat -ano | findstr :324" to see the local process. From another machine, "nmap -p 324 <host>" shows whether it is reachable.

05 Related