Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
iproute2
Commits
526afe40
Commit
526afe40
authored
Jan 17, 2005
by
net[shemminger]!shemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import patch iproute2.113
(Logical change 1.115)
parent
540cea7c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
ChangeLog
ChangeLog
+4
-0
ip/iprule.c
ip/iprule.c
+2
-1
man/man8/ip.8
man/man8/ip.8
+5
-4
No files found.
ChangeLog
View file @
526afe40
2005-01-12 Stephen Hemminger <shemminger@dxpl.pdx.osdl.net>
* Add warning about "ip route nat" no longer supported
2005-01-12 Thomas Graf <tgraf@suug.ch>
* Tc testsuite
...
...
ip/iprule.c
View file @
526afe40
...
...
@@ -35,7 +35,7 @@ static void usage(void)
fprintf
(
stderr
,
"Usage: ip rule [ list | add | del | flush ] SELECTOR ACTION
\n
"
);
fprintf
(
stderr
,
"SELECTOR := [ from PREFIX ] [ to PREFIX ] [ tos TOS ] [ fwmark FWMARK ]
\n
"
);
fprintf
(
stderr
,
" [ dev STRING ] [ pref NUMBER ]
\n
"
);
fprintf
(
stderr
,
"ACTION := [ table TABLE_ID ]
[ nat ADDRESS ]
\n
"
);
fprintf
(
stderr
,
"ACTION := [ table TABLE_ID ]
\n
"
);
fprintf
(
stderr
,
" [ prohibit | reject | unreachable ]
\n
"
);
fprintf
(
stderr
,
" [ realms [SRCREALM/]DSTREALM ]
\n
"
);
fprintf
(
stderr
,
"TABLE_ID := [ local | main | default | NUMBER ]
\n
"
);
...
...
@@ -270,6 +270,7 @@ static int iprule_modify(int cmd, int argc, char **argv)
}
else
if
(
strcmp
(
*
argv
,
"nat"
)
==
0
||
matches
(
*
argv
,
"map-to"
)
==
0
)
{
NEXT_ARG
();
fprintf
(
stderr
,
"Warning: route NAT is deprecated
\n
"
);
addattr32
(
&
req
.
n
,
sizeof
(
req
),
RTA_GATEWAY
,
get_addr32
(
*
argv
));
req
.
r
.
rtm_type
=
RTN_NAT
;
}
else
{
...
...
man/man8/ip.8
View file @
526afe40
...
...
@@ -907,8 +907,11 @@ error.
are considered to be dummy (or external) addresses which require translation
to real (or internal) ones before forwarding. The addresses to translate to
are selected with the attribute
.BR "via" .
.B Warning:
Route NAT is no longer supported in Linux 2.6.
.BR "via" .
.sp
.B anycast
.RI "- " "not implemented"
...
...
@@ -1794,7 +1797,6 @@ It prepends the history with the state snapshot dumped at the moment
of starting.
.SH HISTORY
.B ip
was written by Alexey N. Kuznetsov and added in Linux 2.2.
.SH SEE ALSO
...
...
@@ -1805,5 +1807,4 @@ was written by Alexey N. Kuznetsov and added in Linux 2.2.
.RB "IP tunnels " ip-cref.ps
.SH AUTHOR
Manpage maintained by Michail Litvak <mci@owl.openwall.com>
Original Manpage by Michail Litvak <mci@owl.openwall.com>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment