Patrick McHardy
e0b29fe7dd
The current behaviour for IPv6 routing table filters is to derive the
...
table from the route type. This doesn't really work anymore now that IPv6
supports multiple tables. Add detection for IPv6 multiple table support
(relying on the fact that the first routes dumped belong to the local table
and have rtm_table == RT_TABLE_LOCAL with multiple tables) and handle it
like other protocols.
Signed-off-by: Patrick McHardy <kaber@trash.net>
2006-08-10 13:56:13 -07:00
Stephen Hemminger
e7be3b22e8
Fix build error on Ubuntu (Debian) because of ip.h dependence
...
on byteorder.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
2006-08-08 12:16:55 -07:00
Stephen Hemminger
de0a0b52a6
Another .gitignore file.
...
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
2006-08-08 12:11:23 -07:00
Patrick McHardy
f4f6d6407d
Add support for multipath route realms
2006-08-04 10:51:01 -07:00
Stephen Hemminger
f38c733409
Cleanup mx_names table
...
use C99 initialization to match rtnetlink.h
2006-08-04 10:49:51 -07:00
Vince Worthington
a1f1143e8d
Proposed patch to iproute to add Initial Max Congestion Window Size route tuning parameter
...
Vince Worthington wrote:
> Hello,
>
> We've been working with a customer of ours who was experiencing some
> latency issues, and in the process of helping them solve their problem
> we found that adding the ability to adjust the Initial Max Congestion
> Window size on a route, they were able to tune their routes to perform
> more favorably in their mixed Linux and Solaris environment. There
> were a couple of other tuning steps necessary as well but we did find
> that the ability to set a larger initial max congestion window size
> was helpful in making Linux behave more like Solaris in low-latency
> situations.
>
> The kernel already supports this route attribute, this patch simply
> adds the option to iproute.c to provide a means to set it from userspace.
>
> I've attached the patch we used in test builds of the iproute packages
> we distribute in RHEL3 and RHEL4 for your consideration for possible
> acceptance and inclusion in iproute. Please let us know if there is
> any further information you would need or if there is a more
> appropriate venue to submit this patch.
>
> Thanks,
> Vince Worthington
> Red Hat, Inc.
Stephen,
I apologize for the last patch I sent not applying cleanly to the latest
iproute2 sources. I realized that this might impede any
review/acceptance of the patch and created a separate patch against the
20060323 build of iproute2, which seems to be the latest (by looking at
the website).
The previous patch wouldn't apply cleanly due to the label of the
ssthresh argument being corrected from REALMS to NUMBER.
Please let us know if there is any other information or assistance we
can be with this patch submission.
Thanks
Vince
2006-08-04 10:26:39 -07:00
Stephen Hemminger
58bb642f72
if you simply run `ifcfg iface`, you get:
...
/sbin/ifcfg: line 25: [: too many arguments
/sbin/ifcfg: line 26: [: -ge: unary operator expected
/sbin/ifcfg: line 27: [: -ge: unary operator expected
/sbin/ifcfg: line 28: [: -ge: unary operator expected
might i suggest the attached patch
-mike
2006-05-09 10:56:53 -07:00
shemminger
7b5657545d
The ip(8) command has a bug when dealing with IPoIB link layer
...
addresses. Specifically it does not correctly handle the addition of
new entries in the neighbor/arp table. For example, this command will
fail:
ip neigh add 192.168.0.138 lladdr
00:00:04:04:fe:80:00:00:00:00:00:00:00:01:73:00:00:00:8a:91 nud
permanent dev ib0
An IPoIB link layer address is 20-bytes (see
http://www.ietf.org/internet-drafts/draft-ietf-ipoib-ip-over-infiniband-09.txt ,
section 9.1.1).
The command line parsing code expects link layer addresses to be a
maximum of 16-bytes. Addresses over 16-bytes are truncated.
2006-03-21 23:57:50 +00:00
shemminger
27356a5e00
ndle DCCP in ipxfrm.c to allow using port numbers in the selector.
2006-01-12 18:31:36 +00:00
shemminger
143969f24b
Add missing files.
2006-01-10 18:50:18 +00:00
shemminger
09954dc61a
IP ntable support and header update.
2006-01-10 18:43:32 +00:00
shemminger
e25d697069
Backout ambigious error for ip
2005-12-02 20:02:26 +00:00
shemminger
ede723964a
Add ip command aliases and better matching
2005-11-22 17:30:43 +00:00
shemminger
669ae748d6
Minor fixes from Masahide for XFRM dynamic keying
2005-11-07 18:39:30 +00:00
shemminger
c595c790a0
Fix XFRM bugs introduced by batching code.
...
Re-introduces the SA and policy add/del events
2005-11-01 23:03:03 +00:00
shemminger
234b613556
Fix ip command shortcuts
2005-10-24 16:26:25 +00:00
shemminger
7849fb5591
Fix memcpy overwrite in iproute.c because of bits vs. bytes confusion
2005-10-12 22:49:50 +00:00
shemminger
b77caeba0e
Fix ip rule flush
2005-10-12 22:32:34 +00:00
shemminger
84616f8317
Reenable 'ip mroute'
2005-10-07 16:41:34 +00:00
shemminger
8ed63ab1f1
Fix leaks and warnings reported by valgrind.
2005-09-21 19:33:17 +00:00
shemminger
fc57a9df1b
Fix ip monitor since it is special and can't reuse
...
rtnl_open handle.
2005-09-07 17:43:00 +00:00
shemminger
3d418dc38a
Add usage for ip -batch
2005-09-01 22:29:33 +00:00
shemminger
351efcde4e
Update header files to 2.6.14
...
Integrate support for DCCP and tcp_diag into ss
Add -batch to ip command
2005-09-01 19:21:50 +00:00
shemminger
660818498d
Update include files and fix a couple of minor bugs
2005-08-16 21:10:51 +00:00
shemminger
737f15f6da
Thomas's ematch fixes for lex.
...
Fix more GCC signedness warnings.
2005-07-08 22:08:47 +00:00
shemminger
f332d16924
Cleanup GCC4 warnings about signedness.
2005-07-05 22:37:15 +00:00
shemminger
02d2ae55c6
IPv4 multipath algorithm selection support
2005-06-23 17:31:27 +00:00
shemminger
9bec1a4363
Masahide NAKAMURA <nakam@linux-ipv6.org>
...
It fixes flush feature for IPsec(ip xfrm).
Jamal gave me comment about it. I've tested it on 2.6.11.7.
Please find the log below, check code and pull it:
bk://bk.skbuff.net:38000/iproute2-xfrm-flush
ChangeSet@1.182 , 2005-04-13 21:19:44+09:00, nakam@linux-ipv6.org
[ip] add "deleteall" command for xfrm;
"flush" uses kernel's flush interface and
"deleteall" uses legacy iproute2's flush feature like
getting-and-deleting-for-each.
2005-06-07 21:58:25 +00:00
shemminger
90f93024a0
Monitor time patch from Masahide NAKAMURA
2005-06-07 21:55:55 +00:00
net[shemminger]!shemminger
f082b64fb4
Import patch addr-del
...
(Logical change 1.178)
2005-03-30 18:16:10 +00:00
linux-ipv6.org!nakam
15ac4cdc2f
split printing state/policy info function for xfrm common use.
...
add xfrm monitor.
(Logical change 1.175)
2005-03-22 16:13:21 +00:00
linux-ipv6.org!nakam
48f1ef9f15
split printing state/policy info function for xfrm common use.
...
(Logical change 1.175)
2005-03-22 16:13:21 +00:00
linux-ipv6.org!nakam
56e8ad38cb
split printing policy info function for xfrm common use.
...
(Logical change 1.175)
2005-03-22 16:13:21 +00:00
linux-ipv6.org!nakam
fb7399b2ba
allocspi feature support.
...
support to specify sequence number.
split printing state info function for xfrm common use.
(Logical change 1.175)
2005-03-22 16:13:21 +00:00
linux-ipv6.org!nakam
beebd7aa04
add xfrm_monitor.o.
...
(Logical change 1.175)
2005-03-22 16:13:21 +00:00
linux-ipv6.org!nakam
f9cb3a2fe2
(Logical change 1.175)
2005-03-22 16:13:21 +00:00
linux-ipv6.org!nakam
bf82c4c0d3
Initial revision
2005-03-22 16:13:21 +00:00
net[shemminger]!shemminger
73b49e9f48
Import patch ip-nocarrier
...
(Logical change 1.161)
2005-03-14 18:47:38 +00:00
net[shemminger]!shemminger
5e8bc6316b
Import patch iproute2-hz
...
(Logical change 1.159)
2005-03-14 18:44:54 +00:00
osdl.net!shemminger
60f1317aaa
NDA_PROBES not defined yet, so work around.
...
(Logical change 1.155)
2005-03-10 19:07:43 +00:00
osdl.net!shemminger
5cf576d928
Add Esp-in-udp encapsulation
...
(Logical change 1.152)
2005-03-10 19:04:00 +00:00
net[shemminger]!shemminger
69410a496b
Import patch thomas.2
...
(Logical change 1.148)
2005-03-10 19:01:07 +00:00
net[shemminger]!shemminger
f2111e6f51
Import patch iproute-typo.patch
...
(Logical change 1.145)
2005-03-10 18:12:41 +00:00
osdl.net!shemminger
dd79ac48df
Workaround for kernel/user htons confusion.
...
(Logical change 1.144)
2005-02-10 18:31:18 +00:00
osdl.net!shemminger
03ffadfe02
don't strip shell scripts
...
(Logical change 1.141)
2005-02-09 22:05:41 +00:00
net[shemminger]!shemminger
3eb1731bbd
Import patch family_check_when_flushing
...
(Logical change 1.139)
2005-02-07 18:28:31 +00:00
7!tgraf
2af5c3d344
tb buffer initialization is now done in the parser
...
(Logical change 1.129)
2005-01-18 22:11:58 +00:00
7!tgraf
43d9d2de04
Remove obsolete XFRM_MAX_DEPTH and fix xfrm_xfrma_print prototype
...
(Logical change 1.129)
2005-01-18 22:11:58 +00:00
6!tgraf
48cef4eb2b
tb buffer initialization is now done in the parser
...
(Logical change 1.129)
2005-01-18 22:11:58 +00:00
5!tgraf
87bc1f03ad
tb buffer initialization is now done in the parser
...
(Logical change 1.129)
2005-01-18 22:11:58 +00:00
2!tgraf
ca96957c42
tb buffer initialization is now done in the parser
...
(Logical change 1.129)
2005-01-18 22:11:58 +00:00
12!tgraf
bcf3281961
Use tb[type] access to TLVs
...
(Logical change 1.129)
2005-01-18 22:11:58 +00:00
12!tgraf
2534613eeb
Switch to parse_rtattr and use XFRMA_MAX directly instead of a easly
...
forgetable magic define
(Logical change 1.129)
2005-01-18 22:11:58 +00:00
net[shemminger]!shemminger
1cb54e5806
Import patch iproute2.118
...
(Logical change 1.120)
2005-01-17 23:30:18 +00:00
net[shemminger]!shemminger
eaa34ee35d
Import patch iproute2.117
...
(Logical change 1.119)
2005-01-17 23:29:39 +00:00
net[shemminger]!shemminger
b906243b62
Import patch iproute2.116
...
(Logical change 1.118)
2005-01-17 23:28:16 +00:00
net[shemminger]!shemminger
526afe4008
Import patch iproute2.113
...
(Logical change 1.115)
2005-01-17 23:27:23 +00:00
net[shemminger]!shemminger
3e1d2ea6ab
Initial revision
2005-01-17 23:26:23 +00:00
ch[shemminger]!tgraf
435ac6b8b5
iproute2: ndm states should be handled as flags
...
(Logical change 1.108)
2004-12-07 23:55:01 +00:00
osdl.net!shemminger
50772dc51a
Add ip rule flush capabilty and fix all the prototype changes
...
because of that code rewrites the nlmsghdr.
(Logical change 1.106)
2004-12-07 21:48:29 +00:00
osdl.net!shemminger
63d91b4fda
Fix for older /usr/include headers.
...
(Logical change 1.105)
2004-10-20 23:22:30 +00:00
osdl.net!shemminger
dfb9203054
don't need this either.
...
(Logical change 1.104)
2004-10-20 16:17:13 +00:00
net[shemminger]!shemminger
ae0f14435e
Import patch stats.eml
...
(Logical change 1.96)
2004-10-19 19:57:38 +00:00
net[shemminger]!shemminger
0284dcde32
Import patch iproute2-typo-fixes-1.diff
...
(Logical change 1.94)
2004-10-07 18:56:07 +00:00
net[shemminger]!shemminger
44d3eb258c
Import patch iproute2-compile-fixes-1.diff
...
(Logical change 1.93)
2004-10-07 18:55:51 +00:00
osdl.net!shemminger
cb4d97a9a8
add mike's stuff.
...
(Logical change 1.89)
2004-09-28 19:16:48 +00:00
org[shemminger]!nakam
c70b36d231
[iproute2] XFRM: support ICMP/ICMPv6's type and code
...
(Logical change 1.85)
2004-09-28 18:42:35 +00:00
org[shemminger]!nakam
29aa4dd76c
[iproute2] XFRM: fixing protocol
...
(Logical change 1.84)
2004-09-28 18:40:49 +00:00
org[shemminger]!nakam
bd641cd661
[iproute2] XFRM: using flush message type
...
(Logical change 1.83)
2004-09-28 18:38:35 +00:00
org[shemminger]!nakam
54f7328aec
[iproute2] XFRM: fixing IPsec algorithm key
...
(Logical change 1.82)
2004-09-28 18:36:52 +00:00
osdl.net!shemminger
71058eb8ef
Fix ip command to not crash when interface name is too long.
...
always use strncpy(.., IFNAMSIZ)
(Logical change 1.79)
2004-09-01 17:15:45 +00:00
osdl.net!shemminger
6dc9f01634
make all filtering handles take const args.
...
(Logical change 1.77)
2004-08-31 17:45:21 +00:00
net[shemminger]!shemminger
7809c61688
Import patch xrfm-msg.patch
...
(Logical change 1.64)
2004-08-11 23:41:38 +00:00
osdl.net!shemminger
4b1bbd9c18
Remove configuration options for stuff using our copied header files.
...
(Logical change 1.62)
2004-08-09 16:35:28 +00:00
osdl.net!shemminger
8792aa821f
Delete: ip/xfrm_stub.c
...
}(Logical change 1.62)
2004-08-09 16:35:28 +00:00
osdl.net!shemminger
b9cb1c9a4b
XFRM is now a config optio.
...
(Logical change 1.60)
2004-07-30 22:27:50 +00:00
osdl.net!shemminger
9a4a2b4721
(Logical change 1.60)
2004-07-30 22:27:50 +00:00
osdl.net!shemminger
7238aafa61
Initial revision
2004-07-30 22:27:50 +00:00
osdl.net!shemminger
beab3a8352
unused variable.
...
(Logical change 1.59)
2004-07-30 20:50:38 +00:00
net[shemminger]!shemminger
ad273962a1
Import patch iproute-xfrm.3
...
2004/07/14 00:35:49-07:00 net[shemminger]!shemminger
Import patch iproute-xfrm.2
2004/07/14 00:35:49-07:00 net[shemminger]!shemminger
Import patch iproute2-xfrm.1
(Logical change 1.58)
2004-07-30 20:26:15 +00:00
net[shemminger]!shemminger
9e566a46f2
Import patch iproute-xfrm.3
...
2004/07/14 00:35:49-07:00 net[shemminger]!shemminger
Import patch iproute-xfrm.2
(Logical change 1.58)
2004-07-30 20:26:15 +00:00
net[shemminger]!shemminger
30ff5089c4
Import patch iproute-xfrm.3
...
(Logical change 1.58)
2004-07-30 20:26:15 +00:00
net[shemminger]!shemminger
c7699875be
Import patch ipxfrm-20040707_2.diff
...
(Logical change 1.53)
2004-07-07 17:05:56 +00:00
net[shemminger]!shemminger
7798b5237e
Initial revision
2004-07-07 17:05:56 +00:00
net[shemminger]!shemminger
d27b1b5b41
Import patch iplink.c.more_ifcfg_opts.diff
...
(Logical change 1.42)
2004-07-01 22:15:50 +00:00
osdl.org!shemminger
0315641098
another place where user headers need to come before linux headers.
...
(Logical change 1.30)
2004-06-09 22:58:42 +00:00
osdl.org!shemminger
e5779fb2c8
more problems when kernel headers included before user headers.
...
(Logical change 1.29)
2004-06-09 22:56:28 +00:00
osdl.org!shemminger
33551240de
Handle case wher non-root user runs ip flush.
...
Timeout after attempts to delete fail.
(Logical change 1.14)
2004-06-08 22:51:46 +00:00
org[shemminger]!shemminger
4fb466f944
Import patch iproute2-2.4.7-hex.patch
...
(Logical change 1.8)
2004-06-07 22:02:48 +00:00
osdl.org!shemminger
7272ddc775
rearrange includes to try and fix build issues.
...
(Logical change 1.6)
2004-06-02 20:22:08 +00:00
osdl.org!shemminger
aba5acdfdb
(Logical change 1.3)
2004-04-15 20:56:59 +00:00
osdl.org!shemminger
86fdf0e47b
Initial revision
2004-04-15 20:56:59 +00:00