A local (version-controlled) copy of the service and protocol assignments from IANA, along with scripts that generate /etc/protcocols and /etc/services from them.



This repository contains three scripts (under bin):

fetch-files -- retrieve the current version of the protocol and service files from IANA's web site.

gen-protocols -- produce the /etc/protocols file from IANA protocol-numbers.xml.

gen-services -- produce the /etc/serviecs file from IANA service-names-port-numbers.xml.

It also contains the canonical XML files from IANA.