2010-01-15 22:19:32 +03:00
|
|
|
.\" $NetBSD: faithd.8,v 1.28 2010/01/15 19:19:32 joerg Exp $
|
2002-05-09 18:24:03 +04:00
|
|
|
.\" $KAME: faithd.8,v 1.37 2002/05/09 14:21:23 itojun Exp $
|
2000-05-31 07:18:02 +04:00
|
|
|
.\"
|
1999-07-14 02:16:48 +04:00
|
|
|
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
|
|
|
.\" All rights reserved.
|
2000-05-31 07:18:02 +04:00
|
|
|
.\"
|
1999-07-14 02:16:48 +04:00
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\" 3. Neither the name of the project nor the names of its contributors
|
|
|
|
.\" may be used to endorse or promote products derived from this software
|
|
|
|
.\" without specific prior written permission.
|
2000-05-31 07:18:02 +04:00
|
|
|
.\"
|
1999-07-14 02:16:48 +04:00
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
2010-01-09 13:43:11 +03:00
|
|
|
.Dd January 9, 2010
|
1999-07-14 02:16:48 +04:00
|
|
|
.Dt FAITHD 8
|
1999-12-13 07:38:22 +03:00
|
|
|
.Os
|
1999-07-14 02:16:48 +04:00
|
|
|
.Sh NAME
|
|
|
|
.Nm faithd
|
|
|
|
.Nd FAITH IPv6/v4 translator daemon
|
|
|
|
.Sh SYNOPSIS
|
2000-05-31 07:18:02 +04:00
|
|
|
.Nm
|
1999-07-14 02:16:48 +04:00
|
|
|
.Op Fl dp
|
2001-02-15 20:58:55 +03:00
|
|
|
.Op Fl f Ar configfile
|
2000-09-14 04:36:10 +04:00
|
|
|
.Ar service
|
|
|
|
.Op Ar serverpath Op Ar serverargs
|
2003-02-25 13:34:36 +03:00
|
|
|
.Nm
|
1999-07-14 02:16:48 +04:00
|
|
|
.Sh DESCRIPTION
|
2010-01-09 13:43:11 +03:00
|
|
|
The
|
1999-07-14 02:16:48 +04:00
|
|
|
.Nm
|
2010-01-09 13:43:11 +03:00
|
|
|
utility provides IPv6-to-IPv4 TCP relaying.
|
|
|
|
It can only be used on an IPv4/v6 dual stack router.
|
1999-07-14 02:16:48 +04:00
|
|
|
.Pp
|
2000-07-04 17:28:13 +04:00
|
|
|
When
|
1999-07-14 02:16:48 +04:00
|
|
|
.Nm
|
2000-07-04 17:28:13 +04:00
|
|
|
receives
|
2000-05-31 07:18:02 +04:00
|
|
|
.Tn TCPv6
|
2010-01-09 13:43:11 +03:00
|
|
|
traffic, it will relay the
|
2000-05-31 07:18:02 +04:00
|
|
|
.Tn TCPv6
|
|
|
|
traffic to
|
|
|
|
.Tn TCPv4 .
|
2010-01-09 13:43:11 +03:00
|
|
|
The destination for the relayed
|
2000-05-31 07:18:02 +04:00
|
|
|
.Tn TCPv4
|
|
|
|
connection will be determined by the last 4 octets of the original
|
|
|
|
.Tn IPv6
|
|
|
|
destination.
|
1999-07-14 02:16:48 +04:00
|
|
|
For example, if
|
2009-10-25 04:09:09 +03:00
|
|
|
.Li 2001:0db8:4819:ffff::
|
1999-07-14 02:16:48 +04:00
|
|
|
is reserved for
|
2003-07-04 16:56:58 +04:00
|
|
|
.Nm ,
|
2000-05-31 07:18:02 +04:00
|
|
|
and the
|
|
|
|
.Tn TCPv6
|
|
|
|
destination address is
|
2009-10-25 04:09:09 +03:00
|
|
|
.Li 2001:0db8:4819:ffff::0a01:0101 ,
|
1999-07-14 02:16:48 +04:00
|
|
|
the traffic will be relayed to IPv4 destination
|
|
|
|
.Li 10.1.1.1 .
|
|
|
|
.Pp
|
2010-01-09 13:43:11 +03:00
|
|
|
To use the
|
1999-07-14 02:16:48 +04:00
|
|
|
.Nm
|
2000-07-04 17:28:13 +04:00
|
|
|
translation service,
|
|
|
|
an IPv6 address prefix must be reserved for mapping IPv4 addresses into.
|
2010-01-09 13:43:11 +03:00
|
|
|
The kernel must be properly configured to route all the TCP connections
|
2000-07-04 17:28:13 +04:00
|
|
|
toward the reserved IPv6 address prefix into the
|
|
|
|
.Xr faith 4
|
2010-01-09 13:43:11 +03:00
|
|
|
pseudo interface, using the
|
2000-07-04 17:28:13 +04:00
|
|
|
.Xr route 8
|
|
|
|
command.
|
|
|
|
Also,
|
|
|
|
.Xr sysctl 8
|
|
|
|
should be used to configure
|
|
|
|
.Dv net.inet6.ip6.keepfaith
|
|
|
|
to
|
|
|
|
.Dv 1 .
|
|
|
|
.Pp
|
|
|
|
The router must be configured to capture all the TCP traffic
|
2010-01-09 13:43:11 +03:00
|
|
|
for the reserved
|
2000-07-04 17:28:13 +04:00
|
|
|
.Tn IPv6
|
|
|
|
address prefix, by using
|
|
|
|
.Xr route 8
|
|
|
|
and
|
|
|
|
.Xr sysctl 8
|
|
|
|
commands.
|
2001-02-15 20:58:55 +03:00
|
|
|
.Pp
|
2010-01-09 13:43:11 +03:00
|
|
|
The
|
2001-02-15 20:58:55 +03:00
|
|
|
.Nm
|
2010-01-09 13:43:11 +03:00
|
|
|
utility needs special name-to-address translation logic, so that
|
|
|
|
hostnames gets resolved into the special
|
2001-02-15 20:58:55 +03:00
|
|
|
.Tn IPv6
|
|
|
|
address prefix.
|
2010-01-09 13:43:11 +03:00
|
|
|
For small-scale installations, use
|
|
|
|
.Xr hosts 5 ;
|
|
|
|
For large-scale installations, it is useful to have
|
2001-02-15 20:58:55 +03:00
|
|
|
a DNS server with special address translation support.
|
|
|
|
An implementation called
|
|
|
|
.Nm totd
|
2010-01-09 13:43:11 +03:00
|
|
|
is available at
|
2009-10-25 04:09:09 +03:00
|
|
|
.Pa http://www.vermicelli.pasta.cs.uit.no/software/totd.html .
|
2010-01-09 13:43:11 +03:00
|
|
|
Make sure you do not propagate translated DNS records over to normal
|
|
|
|
DNS, as it can cause severe problems.
|
2000-07-04 17:28:13 +04:00
|
|
|
.Ss Daemon mode
|
|
|
|
When
|
1999-07-14 02:16:48 +04:00
|
|
|
.Nm
|
2000-07-04 17:28:13 +04:00
|
|
|
is invoked as a standalone program,
|
|
|
|
.Nm
|
|
|
|
will daemonize itself.
|
|
|
|
.Nm
|
|
|
|
will listen to
|
|
|
|
.Tn TCPv6
|
|
|
|
port
|
|
|
|
.Ar service .
|
|
|
|
If
|
|
|
|
.Tn TCPv6
|
|
|
|
traffic to port
|
1999-07-14 02:16:48 +04:00
|
|
|
.Ar service
|
2000-07-04 17:28:13 +04:00
|
|
|
is found, it relays the connection.
|
1999-07-14 02:16:48 +04:00
|
|
|
.Pp
|
|
|
|
Since
|
|
|
|
.Nm
|
|
|
|
listens to TCP port
|
|
|
|
.Ar service ,
|
|
|
|
it is not possible to run local TCP daemons for port
|
|
|
|
.Ar service
|
|
|
|
on the router, using
|
|
|
|
.Xr inetd 8
|
|
|
|
or other standard mechanisms.
|
|
|
|
By specifying
|
|
|
|
.Ar serverpath
|
|
|
|
to
|
2003-07-04 16:56:58 +04:00
|
|
|
.Nm ,
|
1999-07-14 02:16:48 +04:00
|
|
|
you can run local daemons on the router.
|
2010-01-09 13:43:11 +03:00
|
|
|
The
|
1999-07-14 02:16:48 +04:00
|
|
|
.Nm
|
2010-01-09 13:43:11 +03:00
|
|
|
utility will invoke ia local daemon at
|
1999-07-14 02:16:48 +04:00
|
|
|
.Ar serverpath
|
2010-01-09 13:43:11 +03:00
|
|
|
if the destination address is a local interface address,
|
1999-07-14 02:16:48 +04:00
|
|
|
and will perform translation to IPv4 TCP in other cases.
|
|
|
|
You can also specify
|
|
|
|
.Ar serverargs
|
|
|
|
for the arguments for the local daemon.
|
|
|
|
.Pp
|
2001-02-15 20:58:55 +03:00
|
|
|
The following options are available:
|
|
|
|
.Bl -tag -width indent
|
|
|
|
.It Fl d
|
|
|
|
Debugging information will be generated using
|
1999-07-14 02:16:48 +04:00
|
|
|
.Xr syslog 3 .
|
2001-02-15 20:58:55 +03:00
|
|
|
.It Fl f Ar configfile
|
|
|
|
Specify a configuration file for access control.
|
|
|
|
See below.
|
|
|
|
.It Fl p
|
|
|
|
Use privileged TCP port number as source port,
|
1999-07-14 02:16:48 +04:00
|
|
|
for IPv4 TCP connection toward final destination.
|
|
|
|
For relaying
|
|
|
|
.Xr ftp 1
|
2001-02-15 20:58:55 +03:00
|
|
|
this flag is not necessary as special program code is supplied.
|
|
|
|
.El
|
1999-07-14 02:16:48 +04:00
|
|
|
.Pp
|
2000-05-31 07:18:02 +04:00
|
|
|
.Nm
|
1999-07-14 02:16:48 +04:00
|
|
|
will relay both normal and out-of-band TCP data.
|
|
|
|
It is capable of emulating TCP half close as well.
|
|
|
|
.Nm
|
|
|
|
includes special support for protocols used by
|
2002-05-09 18:24:03 +04:00
|
|
|
.Xr ftp 1 .
|
2010-01-09 13:43:11 +03:00
|
|
|
When translating the FTP protocol,
|
1999-07-14 02:16:48 +04:00
|
|
|
.Nm
|
|
|
|
translates network level addresses in
|
|
|
|
.Li PORT/LPRT/EPRT
|
|
|
|
and
|
|
|
|
.Li PASV/LPSV/EPSV
|
|
|
|
commands.
|
|
|
|
.Pp
|
|
|
|
Inactive sessions will be disconnected in 30 minutes,
|
2010-01-09 13:43:11 +03:00
|
|
|
to prevent stale sessions from chewing up resources.
|
|
|
|
This may be inappropriate for some services
|
2000-05-31 07:18:02 +04:00
|
|
|
.Pq should this be configurable? .
|
2000-07-04 17:28:13 +04:00
|
|
|
.Ss inetd mode
|
|
|
|
When
|
|
|
|
.Nm
|
|
|
|
is invoked via
|
|
|
|
.Xr inetd 8 ,
|
|
|
|
.Nm
|
2010-01-09 13:43:11 +03:00
|
|
|
will handle connections passed from standard input.
|
2001-02-15 20:58:55 +03:00
|
|
|
If the connection endpoint is in the reserved IPv6 address prefix,
|
2000-07-04 17:28:13 +04:00
|
|
|
.Nm
|
|
|
|
will relay the connection.
|
|
|
|
Otherwise,
|
|
|
|
.Nm
|
2010-01-09 13:43:11 +03:00
|
|
|
will invoke a service-specific daemon like
|
2000-07-04 17:28:13 +04:00
|
|
|
.Xr telnetd 8 ,
|
|
|
|
by using the command argument passed from
|
|
|
|
.Xr inetd 8 .
|
|
|
|
.Pp
|
|
|
|
.Nm
|
|
|
|
determines operation mode by the local TCP port number,
|
|
|
|
and enables special protocol handling whenever necessary/possible.
|
|
|
|
For example, if
|
|
|
|
.Nm
|
|
|
|
is invoked via
|
|
|
|
.Xr inetd 8
|
2010-01-09 13:43:11 +03:00
|
|
|
on the FTP port, it will operate as an FTP relay.
|
2001-02-15 20:58:55 +03:00
|
|
|
.\".Pp
|
|
|
|
.\"The operation mode requires special support for
|
|
|
|
.\".Nm
|
|
|
|
.\"in
|
|
|
|
.\".Xr inetd 8 .
|
|
|
|
.Ss Access control
|
2010-01-09 13:43:11 +03:00
|
|
|
To prevent malicious access,
|
2001-02-15 20:58:55 +03:00
|
|
|
.Nm
|
|
|
|
implements a simple address-based access control.
|
|
|
|
With
|
|
|
|
.Pa /etc/faithd.conf
|
|
|
|
.Po
|
|
|
|
or
|
|
|
|
.Ar configfile
|
|
|
|
specified by
|
|
|
|
.Fl f
|
|
|
|
.Pc ,
|
2000-07-04 17:28:13 +04:00
|
|
|
.Nm
|
2001-02-15 20:58:55 +03:00
|
|
|
will avoid relaying unwanted traffic.
|
|
|
|
The
|
|
|
|
.Pa faithd.conf
|
2010-01-09 13:43:11 +03:00
|
|
|
configuration file contains directives of the following format:
|
2001-02-15 20:58:55 +03:00
|
|
|
.Bl -bullet
|
|
|
|
.It
|
|
|
|
.Xo
|
2003-07-01 14:27:47 +04:00
|
|
|
.Ar src/slen Li deny Ar dst/dlen
|
2001-02-15 20:58:55 +03:00
|
|
|
.Xc
|
|
|
|
.Pp
|
|
|
|
If the source address of a query matches
|
|
|
|
.Ar src/slen ,
|
|
|
|
and the translated destination address matches
|
|
|
|
.Ar dst/dlen ,
|
|
|
|
deny the connection.
|
|
|
|
.It
|
|
|
|
.Xo
|
2003-07-01 14:27:47 +04:00
|
|
|
.Ar src/slen Li permit Ar dst/dlen
|
2001-02-15 20:58:55 +03:00
|
|
|
.Xc
|
|
|
|
.Pp
|
|
|
|
If the source address of a query matches
|
|
|
|
.Ar src/slen ,
|
|
|
|
and the translated destination address matches
|
|
|
|
.Ar dst/dlen ,
|
|
|
|
permit the connection.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The directives are evaluated in sequence,
|
|
|
|
and the first matching entry will be effective.
|
2001-09-05 05:22:24 +04:00
|
|
|
If there is no match
|
|
|
|
.Pq if we reach the end of the ruleset
|
|
|
|
the traffic will be denied.
|
2001-02-15 20:58:55 +03:00
|
|
|
.Pp
|
|
|
|
With inetd mode,
|
2002-01-19 06:12:56 +03:00
|
|
|
traffic may be filtered by using access control functionality in
|
2000-07-04 17:28:13 +04:00
|
|
|
.Xr inetd 8 .
|
2002-01-19 06:12:56 +03:00
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Nm
|
|
|
|
exits with
|
|
|
|
.Dv EXIT_SUCCESS
|
|
|
|
.Pq 0
|
|
|
|
on success, and
|
|
|
|
.Dv EXIT_FAILURE
|
|
|
|
.Pq 1
|
|
|
|
on error.
|
1999-07-14 02:16:48 +04:00
|
|
|
.Sh EXAMPLES
|
1999-07-17 17:03:28 +04:00
|
|
|
Before invoking
|
2003-07-04 16:56:58 +04:00
|
|
|
.Nm ,
|
2010-01-09 13:43:11 +03:00
|
|
|
the
|
1999-07-17 17:03:28 +04:00
|
|
|
.Xr faith 4
|
|
|
|
interface has to be configured properly.
|
2009-04-08 18:36:41 +04:00
|
|
|
.Bd -literal
|
2000-07-04 17:28:13 +04:00
|
|
|
# sysctl -w net.inet6.ip6.accept_rtadv=0
|
|
|
|
# sysctl -w net.inet6.ip6.forwarding=1
|
|
|
|
# sysctl -w net.inet6.ip6.keepfaith=1
|
2003-07-01 04:08:52 +04:00
|
|
|
# ifconfig faith0 create up
|
2009-10-25 04:09:09 +03:00
|
|
|
# route add -inet6 2001:0db8:4819:ffff:: -prefixlen 96 ::1
|
|
|
|
# route change -inet6 2001:0db8:4819:ffff:: -prefixlen 96 -ifp faith0
|
2000-07-04 17:28:13 +04:00
|
|
|
.Ed
|
|
|
|
.Ss Daemon mode samples
|
1999-07-14 02:16:48 +04:00
|
|
|
To translate
|
|
|
|
.Li telnet
|
|
|
|
service, and provide no local telnet service, invoke
|
|
|
|
.Nm
|
2001-02-15 20:58:55 +03:00
|
|
|
as follows:
|
2009-04-08 18:36:41 +04:00
|
|
|
.Bd -literal
|
2000-05-31 07:18:02 +04:00
|
|
|
# faithd telnet
|
1999-07-14 02:16:48 +04:00
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
If you would like to provide local telnet service via
|
|
|
|
.Xr telnetd 8
|
|
|
|
on
|
1999-12-09 18:20:02 +03:00
|
|
|
.Pa /usr/libexec/telnetd ,
|
2000-07-04 17:28:13 +04:00
|
|
|
use the following command line:
|
2009-04-08 18:36:41 +04:00
|
|
|
.Bd -literal
|
1999-12-09 18:20:02 +03:00
|
|
|
# faithd telnet /usr/libexec/telnetd telnetd
|
1999-07-14 02:16:48 +04:00
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
If you would like to pass extra arguments to the local daemon:
|
2009-04-08 18:36:41 +04:00
|
|
|
.Bd -literal
|
2001-02-15 20:58:55 +03:00
|
|
|
# faithd ftp /usr/libexec/ftpd ftpd -l
|
1999-07-14 02:16:48 +04:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2000-07-04 17:28:13 +04:00
|
|
|
Here are some other examples.
|
|
|
|
You may need
|
|
|
|
.Fl p
|
2002-05-09 18:24:03 +04:00
|
|
|
if the service checks the source port range.
|
2009-04-08 18:36:41 +04:00
|
|
|
.Bd -literal
|
2001-02-15 20:58:55 +03:00
|
|
|
# faithd ssh
|
2002-05-09 18:24:03 +04:00
|
|
|
# faithd telnet /usr/libexec/telnetd telnetd
|
1999-07-14 02:16:48 +04:00
|
|
|
.Ed
|
2000-07-04 17:28:13 +04:00
|
|
|
.Ss inetd mode samples
|
|
|
|
Add the following lines into
|
|
|
|
.Xr inetd.conf 5 .
|
|
|
|
.\"Syntax may vary depending upon your operating system.
|
2009-04-08 18:36:41 +04:00
|
|
|
.Bd -literal
|
2000-07-04 17:28:13 +04:00
|
|
|
telnet stream faith/tcp6 nowait root faithd telnetd
|
|
|
|
ftp stream faith/tcp6 nowait root faithd ftpd -l
|
2001-02-15 20:58:55 +03:00
|
|
|
ssh stream faith/tcp6 nowait root faithd /usr/sbin/sshd -i
|
2000-07-04 17:28:13 +04:00
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
.Xr inetd 8
|
2010-01-09 13:43:11 +03:00
|
|
|
will open listening sockets with kernel TCP relay support enabled.
|
|
|
|
Whenever a connection comes in,
|
2000-07-04 17:28:13 +04:00
|
|
|
.Nm
|
|
|
|
will be invoked by
|
|
|
|
.Xr inetd 8 .
|
2010-01-09 13:43:11 +03:00
|
|
|
If the connection endpoint is in the reserved IPv6 address prefix.
|
2000-07-04 17:28:13 +04:00
|
|
|
.Nm
|
|
|
|
will relay the connection.
|
|
|
|
Otherwise,
|
|
|
|
.Nm
|
|
|
|
will invoke service-specific daemon like
|
|
|
|
.Xr telnetd 8 .
|
2001-02-15 20:58:55 +03:00
|
|
|
.Ss Access control samples
|
|
|
|
The following illustrates a simple
|
|
|
|
.Pa faithd.conf
|
|
|
|
setting.
|
2009-04-08 18:36:41 +04:00
|
|
|
.Bd -literal
|
2009-10-25 04:09:09 +03:00
|
|
|
# permit anyone from 2001:0db8:ffff::/48 to use the translator,
|
2001-02-15 20:58:55 +03:00
|
|
|
# to connect to the following IPv4 destinations:
|
|
|
|
# - any location except 10.0.0.0/8 and 127.0.0.0/8.
|
|
|
|
# Permit no other connections.
|
|
|
|
#
|
2009-10-25 04:09:09 +03:00
|
|
|
2001:0db8:ffff::/48 deny 10.0.0.0/8
|
|
|
|
2001:0db8:ffff::/48 deny 127.0.0.0/8
|
|
|
|
2001:0db8:ffff::/48 permit 0.0.0.0/0
|
2001-02-15 20:58:55 +03:00
|
|
|
.Ed
|
1999-07-14 02:16:48 +04:00
|
|
|
.Sh SEE ALSO
|
1999-07-17 17:03:28 +04:00
|
|
|
.Xr faith 4 ,
|
1999-07-14 02:16:48 +04:00
|
|
|
.Xr route 8 ,
|
2009-10-25 04:09:09 +03:00
|
|
|
.Xr sysctl 8 ,
|
|
|
|
.Pa pkgsrc/net/totd
|
2000-02-25 13:05:26 +03:00
|
|
|
.Rs
|
|
|
|
.%A Jun-ichiro itojun Hagino
|
|
|
|
.%A Kazu Yamamoto
|
|
|
|
.%T "An IPv6-to-IPv4 transport relay translator"
|
2003-09-07 20:22:20 +04:00
|
|
|
.%B RFC 3142
|
2010-01-15 22:19:32 +03:00
|
|
|
.%U ftp://ftp.isi.edu/in-notes/rfc3142.txt
|
2001-06-30 05:01:36 +04:00
|
|
|
.%D June 2001
|
2000-02-25 13:05:26 +03:00
|
|
|
.Re
|
2001-02-15 20:58:55 +03:00
|
|
|
.\"
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
2010-01-09 13:43:11 +03:00
|
|
|
utility first appeared in the WIDE Hydrangea IPv6 protocol stack kit.
|
2001-02-15 20:58:55 +03:00
|
|
|
.\"
|
|
|
|
.Sh SECURITY CONSIDERATIONS
|
2002-05-09 18:24:03 +04:00
|
|
|
It is very insecure to use IP-address based authentication, for connections relayed by
|
2003-07-04 16:56:58 +04:00
|
|
|
.Nm ,
|
2001-06-30 05:01:36 +04:00
|
|
|
and any other TCP relaying services.
|
2000-03-12 19:47:24 +03:00
|
|
|
.Pp
|
2001-02-15 20:58:55 +03:00
|
|
|
Administrators are advised to limit accesses to
|
|
|
|
.Nm
|
|
|
|
using
|
|
|
|
.Pa faithd.conf ,
|
2010-01-09 13:43:11 +03:00
|
|
|
or by using IPv6 packet filters, to protect the
|
2000-03-12 19:47:24 +03:00
|
|
|
.Nm
|
2010-01-09 13:43:11 +03:00
|
|
|
service from malicious parties, and to avoid theft of service/bandwidth.
|
|
|
|
IPv6 destination addresses can be limited by
|
|
|
|
carefully configuring routing entries that point to
|
2000-03-12 19:47:24 +03:00
|
|
|
.Xr faith 4 ,
|
|
|
|
using
|
|
|
|
.Xr route 8 .
|
2010-01-09 13:43:11 +03:00
|
|
|
The IPv6 source address needs to be filtered using packet filters.
|
|
|
|
The documents listed in
|
2000-03-12 19:47:24 +03:00
|
|
|
.Sx SEE ALSO
|
2010-01-09 13:43:11 +03:00
|
|
|
have more information on this topic.
|