1 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
2 .\" All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the project nor the names of its contributors
13 .\" may be used to endorse or promote products derived from this software
14 .\" without specific prior written permission.
16 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 .\" $Id: faith.4,v 1.1.1.1 1999/08/08 23:30:37 itojun Exp $
37 .Tn IPv6-to-IPv4 TCP relay capturing interface
39 .Cd "pseudo-device faith 1"
43 interface captures IPv6 TCP traffic
44 for implementing userland IPv6-to-IPv4 TCP relays
48 Special action will be taken when IPv6 TCP traffic is seen on a router
49 and the routing table suggests to route it to the
52 In this case the packet will be accepted by the router,
53 regardless of the list of IPv6 interface addresses assigned to the router.
54 The packet will be captured by an IPv6 TCP socket if it has the
56 flag turned on and it has matching address/port pairs.
59 will let you divert IPv6 TCP traffic to some specific destination addresses.
60 Userland programs, such as
62 can use this behavior to relay IPv6 TCP traffic to IPv4 TCP traffic.
63 The program can accept some specific IPv6 TCP traffic, perform
65 to get the IPv6 destination address specified by the client,
66 and perform application-specific address mapping to relay IPv6 TCP to IPv4 TCP.
70 flag on an IPv6 TCP socket can be set by using
81 To handle error reports by ICMPv6 some of the ICMPv6 packets routed to the
83 interface will need be delivered to IPv6 TCP as well.
87 can be used take a look at the source code of
92 interface implements potentially dangerous operations,
93 great care must be taken when configuring the
96 To avoid possible misuse the
99 .Li net.inet6.ip6.keepfaith
102 prior to the use of the interface.
104 .Li net.inet6.ip6.keepfaith
107 no packets will be captured by the
113 interface is intended to be used on routers, not on hosts.
120 .\" .%A Jun-ichiro itojun Hagino
121 .\" .%A Kazu Yamamoto
122 .\" .%T ``FAITH'' IPv6-to-IPv4 TCP relay translator
127 The FAITH IPv6-to-IPv4 TCP relay translator first appeared in
128 WIDE hydrangea IPv6 stack.