aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking/ip_dynaddr.txt
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /Documentation/networking/ip_dynaddr.txt
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'Documentation/networking/ip_dynaddr.txt')
-rw-r--r--Documentation/networking/ip_dynaddr.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/networking/ip_dynaddr.txt b/Documentation/networking/ip_dynaddr.txt
new file mode 100644
index 000000000000..45f3c1268e86
--- /dev/null
+++ b/Documentation/networking/ip_dynaddr.txt
@@ -0,0 +1,29 @@
1IP dynamic address hack-port v0.03
2~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3This stuff allows diald ONESHOT connections to get established by
4dynamically changing packet source address (and socket's if local procs).
5It is implemented for TCP diald-box connections(1) and IP_MASQuerading(2).
6
7If enabled[*] and forwarding interface has changed:
8 1) Socket (and packet) source address is rewritten ON RETRANSMISSIONS
9 while in SYN_SENT state (diald-box processes).
10 2) Out-bounded MASQueraded source address changes ON OUTPUT (when
11 internal host does retransmission) until a packet from outside is
12 received by the tunnel.
13
14This is specially helpful for auto dialup links (diald), where the
15``actual'' outgoing address is unknown at the moment the link is
16going up. So, the *same* (local AND masqueraded) connections requests that
17bring the link up will be able to get established.
18
19[*] At boot, by default no address rewriting is attempted.
20 To enable:
21 # echo 1 > /proc/sys/net/ipv4/ip_dynaddr
22 To enable verbose mode:
23 # echo 2 > /proc/sys/net/ipv4/ip_dynaddr
24 To disable (default)
25 # echo 0 > /proc/sys/net/ipv4/ip_dynaddr
26
27Enjoy!
28
29-- Juanjo <jjciarla@raiz.uncu.edu.ar>