summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-07-22 23:17:38 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-07-22 23:17:38 +0000
commitfbe219bd235dfb3465ac762683f46f5cc5c67dd4 (patch)
tree403f73864d2b321cd5c1ad59c8ec3000f01a2146 /include
parent59e24e00344933c83781a4833897f7769c0250af (diff)
Add dynamic IPv6-to-IPv4 and IPv4-to-IPv6 translation inspired by
faithd(8) by doing a similar mapping of IPv4/6 addresses with relayd(8) and pf(4) redirections without the need of the faith(4) interface. The trick works in both directions, it can accept IPv6 connections and relay them to IPv4 hosts by extracting the last 4 octets from the IPv6 destination (like faithd(8)), and it can accept IPv4 connections and relay them to IPv6 hosts by prepending the 4 octets of the original IPv4 destination to a configured IPv6 prefix. An access list is not needed because the classification is done in pf.conf(5). It helps to get more faith in relayd. manpage bits ok jmc@ yes, sounds good todd@
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions