1 .\" $KAME: faith.4,v 1.9 2001/04/27 17:26:35 itojun Exp $
3 .\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
4 .\" All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. Neither the name of the project nor the names of its contributors
15 .\" may be used to endorse or promote products derived from this software
16 .\" without specific prior written permission.
18 .\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
19 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
22 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" $FreeBSD: src/share/man/man4/faith.4,v 1.6.2.4 2002/08/28 04:44:23 brooks Exp $
31 .\" $DragonFly: src/share/man/man4/faith.4,v 1.4 2007/11/23 23:03:57 swildner Exp $
38 .Nd IPv6-to-IPv4 TCP relay capturing interface
40 .Cd "pseudo-device faith" Op Ar count
44 interface captures IPv6 TCP traffic,
45 for implementing userland IPv6-to-IPv4 TCP relay
51 interface is created at runtime using interface cloning.
53 most easily done with the
61 Special action will be taken when IPv6 TCP traffic is seen on a router,
62 and routing table suggests to route it to
65 In this case, the packet will be accepted by the router,
66 regardless of list of IPv6 interface addresses assigned to the router.
67 The packet will be captured by an IPv6 TCP socket, if it has
69 flag turned on and it has matching address/port pairs.
72 will let you capture IPv6 TCP traffic to some specific destination addresses.
73 Userland programs, such as
75 can use this behavior to relay IPv6 TCP traffic to IPv4 TCP traffic.
76 The program can accept some specific IPv6 TCP traffic, perform
78 to get the IPv6 destination address specified by the client,
79 and perform application-specific address mapping to relay IPv6 TCP to IPv4 TCP.
83 flag on IPv6 TCP socket can be set by using
90 To handle error reports by ICMPv6, some of ICMPv6 packets routed to
92 interface will be delivered to IPv6 TCP, as well.
96 can be used, take a look at source code of
101 interface implements potentially dangerous operation,
102 great care must be taken when configuring
105 To avoid possible misuse,
108 .Va net.inet6.ip6.keepfaith
111 prior to the use of the interface.
113 .Va net.inet6.ip6.keepfaith
116 no packet will be captured by
121 interface is intended to be used on routers, not on hosts.
128 .%A Jun-ichiro itojun Hagino
130 .%T "An IPv6-to-IPv4 transport relay translator"
132 .%N draft-ietf-ngtrans-tcpudp-relay-04.txt
133 .%O work in progress material
136 The FAITH IPv6-to-IPv4 TCP relay translator was first appeared in
137 WIDE hydrangea IPv6 stack.