Portmap is a component of the ONCRPC suite of software that facilitates communication between computer programs via remote procedure calls.
A key benefit of this project is the ability to control compilation through the use of make variables. For instance, the NO_TCP_WRAPPER variable can be utilized so that tcp_wrappers are not used. Additionally, the USE_DNS variable can be set so that tcp_wrappers can verify peers using hostnames as well as IP addresses. However, caution must be used with this option to ensure that gethostbyname does not trigger a request to portmap.
Another helpful variable is RPCUSER, which allows portmap to find the specified user via getpwnam. The software then setsuid to that user before actively listening for incoming messages. One can also set DAEMON_UID to override the default UID that the program uses for setuid, while DAEMON_GID changes the default GID used for setgid.
This latest release has been highly anticipated, considering that it is the first update in a decade. It incorporates numerous patches from various Linux distributions, providing users with a more efficient and seamless experience. One of the most noteworthy improvements in this release is the enhancement of security, which allows privileged services to register non-privileged ports that cannot be unregistered by other users.
Version 6.0: N/A