CyberHunter
// Directory & authentication

Port 1918: IBM Tivole Directory Service - NDS

Port 1918 is assigned by IANA to can-nds (IBM Tivole Directory Service - NDS).

1918

How can-nds works

Directory & authentication
userdirectorycan-ndsresponse userdirectorycan-ndsresponse

The client proves who it is on port 1918 and gets an answer (or a ticket) it can use with other services.

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 1918 dangerous?

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

ServicePortTransportDescriptionReferenceUpdated
can-nds 1918 TCP, UDP IBM Tivole Directory Service - NDS - -

// source: IANA service name and port number registry

03 Check it

Which program uses port 1918, and is it reachable?

Linux

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

macOS

sudo lsof -nP -i :1918

Windows (PowerShell)

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

From another machine

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

Block it in the firewall

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

Port 1918 is assigned by IANA to can-nds (IBM Tivole Directory Service - NDS).

Is port 1918 TCP or UDP?

Port 1918 is registered for TCP and UDP.

Is it safe to open port 1918?

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

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

05 Related