Name

Port - Holds information about a remote port as detected by nmap.


portid()

Port number


owner()

If ident scan was performed and succeeded, this will contain the username the service on the port runs as.


protocol()

Protocol of the port, 'TCP' or 'UDP' for application level ports, 'BGP,' 'ICMP,' etc for protocol level ports.


state()

Textual representation of the state of the port: `open', `closed', `filtered', etc.


service()

Service this port represents if known (Nmap::Scanner::Service reference)