CyberHunter
Local dataset, no network
// Network services

Port 15998: 2ping Bi-Directional Ping Service

Port 15998 is assigned by IANA to 2ping (2ping Bi-Directional Ping Service).

15998

How 2ping works

Network services
client:159982pingresponse client:159982pingresponse

The client sends a request to port 15998 and the 2ping 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 15998 dangerous?

We have no specific security note for port 15998. 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 15998

ServicePortTransportDescriptionReferenceUpdated
2ping 15998 UDP 2ping Bi-Directional Ping Service - 2010-10-06
-15998-Reserved--

// source: IANA service name and port number registry

03 Check it

Which program uses port 15998, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :15998

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 15998 is assigned by IANA to 2ping (2ping Bi-Directional Ping Service).

Is port 15998 TCP or UDP?

Port 15998 is registered for UDP.

Is it safe to open port 15998?

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 15998 is open?

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

05 Related

Latest vulnerability news

All news