Commit Graph

89 Commits

Author SHA1 Message Date
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