CyberHunter
Local dataset, no network
// Network services

Port 5794: Simple Peered Discovery Protocol

Port 5794 is assigned by IANA to spdp (Simple Peered Discovery Protocol).

5794

How spdp works

Network services
client:5794spdpresponse client:5794spdpresponse

The client sends a request to port 5794 and the spdp service answers.

Transport
UDP
Exposure risk
not rated depends on the program listening
Encryption
Unknownnot stated by the registry
IANA status
Assigned1 registered service
Range
Registered (1024-49151)
01 Security

Is port 5794 dangerous?

We have no specific security note for port 5794. Its risk depends on the program actually listening on it. General advice for network services services:

  • Answer only the networks that need the service (no open resolvers, relays or reflectors).
  • UDP services can be abused for DDoS amplification: rate-limit or block them at the edge.
  • Disable legacy test services that have no use in production.
02 Registry

IANA registry entries for port 5794

ServicePortTransportDescriptionReferenceUpdated
spdp 5794 UDP Simple Peered Discovery Protocol - 2010-05-27
-5794-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 5794, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :5794

Windows (PowerShell)

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

From another machine

nmap -p 5794 -sV <host>
sudo nmap -sU -p 5794 <host>
nc -zv <host> 5794

Block it in the firewall

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

Port 5794 is assigned by IANA to spdp (Simple Peered Discovery Protocol).

Is port 5794 TCP or UDP?

Port 5794 is registered for UDP.

Is it safe to open port 5794?

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. Answer only the networks that need the service (no open resolvers, relays or reflectors).

How do I check if port 5794 is open?

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

05 Related

Latest vulnerability news

All news