CyberHunter
// Monitoring & logging

Port 8161: Patrol SNMP

Port 8161 is assigned by IANA to patrol-snmp (Patrol SNMP).

8161

How patrol-snmp works

Monitoring & logging
monitoringdevicepatrol-snmp monitoringdevicepatrol-snmp

The monitoring server collects metrics, alerts or logs from devices over port 8161.

Transport
TCP · 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 8161 dangerous?

We have no specific security note for port 8161. Its risk depends on the program actually listening on it. General advice for monitoring & logging services:

  • Restrict management and monitoring protocols to the monitoring network.
  • Replace community strings and default credentials.
  • Send logs over TLS.
02 Registry

IANA registry entries for port 8161

ServicePortTransportDescriptionReferenceUpdated
patrol-snmp 8161 TCP, UDP Patrol SNMP - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 8161, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :8161

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 8161 is assigned by IANA to patrol-snmp (Patrol SNMP).

Is port 8161 TCP or UDP?

Port 8161 is registered for TCP and UDP.

Is it safe to open port 8161?

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. Restrict management and monitoring protocols to the monitoring network.

How do I check if port 8161 is open?

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

05 Related