Hello,

I'm performing bug triage of the nmap package and I would like to address
this one.

This is something that should be forwarded upstream.

It looks like there is some kind of support for using /etc/services
already[0]

The ideal solution IMO is to fallback to /etc/services when the service is
not already* on nmap-services[1] because the latter has a weight
(open-frequency).

I will have a further look into this and create an issue upstream.

Thanks for reporting it.

[0]
https://github.com/nmap/nmap/blob/86d1f7e66e47cb02b17298062a1f2ea5a1fdd63b/services.cc#L179
[1]
https://github.com/nmap/nmap/blob/86d1f7e66e47cb02b17298062a1f2ea5a1fdd63b/nmap-services
* not already on the file or marked as "unknown"

-- 
Samuel Henrique <samueloph>

Reply via email to