ADDRFORM(1)

NAME
addrform - Change the form of a socket's addresses

SYNOPSIS
addrform [ -d ] <family> <command>

DESCRIPTION
addrform is a simple front-end to the IPV6_ADDRFORM setsockopt(2) call designed to be used with the wrapper(8) program. Given a connected socket on standard input, it will request that the kernel convert the socket's addresses to the specified address family. If this procedure fails, addrform will exit, causing the connection to die (the addresses should be checked by an address filter such as wrapper before the socket is passed to addrform). The conditions under which this conversion is allowed are discussed in the documentation of the IPV6_ADDRFORM option. While the allowed cases may vary from system to system, the case of downgrading a PF_INET6 socket with only IPv4-mapped addresses to a PF_INET socket should be safe to use on all systems. This is the primary intended use for addrform.

OPTIONS

-d  Record verbose debugging information to syslog. This option may not be available on your particular build of addrform.

SEE ALSO
wrapper(8), inetd(8)

AUTHOR
Craig Metz <cmetz@inner.net>