When
faithd is invoked as a standalone program,
faithd will daemonize itself.
faithd will listen to TCPv6 port
service. If TCPv6 traffic to port
service is found, it relays the connection.
Since
faithd listens to TCP port
service, it is not possible to run local TCP daemons for port
service on the router, using
inetd(8) or other standard mechanisms. By specifying
serverpath to
faithd, you can run local daemons on the router. The
faithd utility will invoke ia local daemon at
serverpath if the destination address is a local interface address, and will perform translation to IPv4 TCP in other cases. You can also specify
serverargs for the arguments for the local daemon.
The following options are available:
-d
Debugging information will be generated using
syslog(3).
-f configfile
Specify a configuration file for access control. See below.
-p
Use privileged TCP port number as source port, for IPv4 TCP connection toward final destination. For relaying
ftp(1) this flag is not necessary as special program code is supplied.
faithd will relay both normal and out-of-band TCP data. It is capable of emulating TCP half close as well.
faithd includes special support for protocols used by
ftp(1). When translating the FTP protocol,
faithd translates network level addresses in
PORT/LPRT/EPRT and
PASV/LPSV/EPSV commands.
Inactive sessions will be disconnected in 30 minutes, to prevent stale sessions from chewing up resources. This may be inappropriate for some services (should this be configurable?).