Dear Misc, Various parts of OpenBSD base refer to AddressFamily and accepted values are different. Examples listed below.
Any reason why we have “inet” in sshd_config and “inet4” in smtpd.conf? I’m assuming OpenSMTPD released after inet6 was in wide(r) use and old programs, utilities, etc. were released when there was no ipv6 around, hence the difference. This is not an important issue, just asking if there are plans to migrate to a common reference. Regards, Vivek $man sshd_config … AddressFamily Specifies which address family should be used by sshd(8). Valid arguments are any (the default), inet (use IPv4 only), or inet6 (use IPv6 only). … $man smtpd.conf … listen on interface [family] [port port] … Specify an interface and optional port to listen on for incoming connections. An interface group, an IP address or a domain name may be used in place of interface. The family parameter can be used to listen only on specific address family. Accepted values are inet4 and inet6. … $man netstat … The following address families are recognized: Address Family Constant Description Inet AF_INET IP Version 4 inet6 AF_INET6 IP Version 6 …