CyberHunter
// Other services

Port 6784: Bidirectional Forwarding Detection (BFD) on Link Aggregation Group (LAG) Interfaces

Port 6784 is assigned by IANA to bfd-lag (Bidirectional Forwarding Detection (BFD) on Link Aggregation Group (LAG) Interfaces).

6784

How bfd-lag works

Other services
client:6784bfd-lagresponse client:6784bfd-lagresponse

The client sends a request to port 6784 and the bfd-lag 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 6784 dangerous?

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

  • Close the port if nothing on the host needs it.
  • Identify the process that listens on it (commands below) before opening it in a firewall.
  • Expose a service only to the networks that use it.
02 Registry

IANA registry entries for port 6784

ServicePortTransportDescriptionReferenceUpdated
bfd-lag 6784 UDP Bidirectional Forwarding Detection (BFD) on Link Aggregation Group (LAG) Interfaces RFC 7130 2014-01-09
-6784-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 6784, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :6784

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 6784 is assigned by IANA to bfd-lag (Bidirectional Forwarding Detection (BFD) on Link Aggregation Group (LAG) Interfaces).

Is port 6784 TCP or UDP?

Port 6784 is registered for UDP.

Is it safe to open port 6784?

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. Close the port if nothing on the host needs it.

How do I check if port 6784 is open?

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

05 Related