protocols
The protocols map is the the abbreviated name for the protocols.bynumber map. The derived maps are protocols.byname and protocols.bynumber. In most cases, the protocols map is created from the /etc/protocols file. A typical line looks like this:
protocol number alias # comment
For example:
ip 0 IP # internet protocol, pseudo protocol number
udp 17 UDP # user datagram protocol
For the protocols.byname map, entries are defined like this:
- Key is the protocol name: udp
- Value is the protocol name, number, and any aliases defined for the protocol: udp 17 UDP
For the protocols.bynumber map, entries are defined like this:
- Key is the protocol number: 17
- Value is the protocol name, number, and any aliases defined for the protocol: udp 17 UDP
If you create a protocols map in Active Directory, you must include the key as part of the value. For example:
- Key: udp
- Value: udp 17 UDP
- Comment: user datagram protocol