- 25 Jan, 2008 1 commit
-
-
Stephen Hemminger authored
-
- 24 Jan, 2008 2 commits
-
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
- 21 Jan, 2008 1 commit
-
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
- 08 Jan, 2008 1 commit
-
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
- 03 Jan, 2008 5 commits
-
-
Stephen Hemminger authored
This reverts commit 720a2e8d. After further investigation it seems clear to me that reverting the commit 720a2e8d... is the correct thing to do, since the real fix for the problem this commit was supposed to fix was instead fixed in commit c29391c7... Whatever you specify after a u32 police you will now get a syntax error, and according to "tc filter add u32 help" there are several things that you are supposed to be able to specify after a police. So, Steven, please revert 720a2e8d...
-
Andreas Henriksson authored
commit 355e1438f73602fbac029d28891dfa889471b679 Author: Andreas Henriksson <andreas@fatal.se> Date: Wed Jan 2 23:21:59 2008 +0100 Add synonyms for ip rule options to ip(8) manpage. See: http://bugs.debian.org/433507 http://bugs.debian.org/213673Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Andreas Henriksson authored
Sorry. The pref and prio options are actually synonyms. This reverts part of commit 576c63ee. Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Andreas Henriksson authored
commit 355e1438f73602fbac029d28891dfa889471b679 Author: Andreas Henriksson <andreas@fatal.se> Date: Wed Jan 2 23:21:59 2008 +0100 Add synonyms for ip rule options to ip(8) manpage. See: http://bugs.debian.org/433507 http://bugs.debian.org/213673Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Andreas Henriksson authored
Sorry. The pref and prio options are actually synonyms. This reverts part of commit 576c63ee. Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
- 02 Jan, 2008 1 commit
-
-
Stephen Hemminger authored
[...] > Commands like "tc filter add dev ppp0 parent ffff: protocol ip prio 50 > u32 match ip src 0.0.0.0/0 police rate 4mbit burst 10k drop flowid :1" > apparently no longer works. The flowid is not accepted anymore. > Reverting commit 720a2e8d... which you authored seems to "fix" this. [...] After further investigation it seems clear to me that reverting the commit 720a2e8d... is the correct thing to do, since the real fix for the problem this commit was supposed to fix was instead fixed in commit c29391c7... Whatever you specify after a u32 police you will now get a syntax error, and according to "tc filter add u32 help" there are several things that you are supposed to be able to specify after a police. This reverts commit 720a2e8d.
-
- 31 Dec, 2007 12 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
ss.c needs lastest version of netinet/tcp.h which probably isn't on most distro's yet. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Stephen Hemminger authored
-
Denys Fedoryshchenko authored
New iptables 1.4.0 has some library names changed from libipt to libxt. It is prefferable also to open libxt_ first, as newer "style". Signed-off-by: Denys Fedoryshchenko <nuclearcat@nuclearcat.com> Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Jesper Dangaard Brouer authored
Patrick McHardy, Cite: 'its better to overestimate than underestimate to stay in control of the queue'. Illustrating the rate table array: Legend description rtab[x] : Array index x of rtab[x] xmit_sz : Transmit size contained in rtab[x] (normally transmit time) maps[a-b] : Packet sizes from a to b, will map into rtab[x] Current/old rate table mapping (cell_log:3): rtab[0]:=xmit_sz:0 maps[0-7] rtab[1]:=xmit_sz:8 maps[8-15] rtab[2]:=xmit_sz:16 maps[16-23] rtab[3]:=xmit_sz:24 maps[24-31] rtab[4]:=xmit_sz:32 maps[32-39] rtab[5]:=xmit_sz:40 maps[40-47] rtab[6]:=xmit_sz:48 maps[48-55] New rate table mapping, with kernel cell_align support. rtab[0]:=xmit_sz:8 maps[0-8] rtab[1]:=xmit_sz:16 maps[9-16] rtab[2]:=xmit_sz:24 maps[17-24] rtab[3]:=xmit_sz:32 maps[25-32] rtab[4]:=xmit_sz:40 maps[33-40] rtab[5]:=xmit_sz:48 maps[41-48] rtab[6]:=xmit_sz:56 maps[49-56] New TC util on a kernel WITHOUT support for cell_align rtab[0]:=xmit_sz:8 maps[0-7] rtab[1]:=xmit_sz:16 maps[8-15] rtab[2]:=xmit_sz:24 maps[16-23] rtab[3]:=xmit_sz:32 maps[24-31] rtab[4]:=xmit_sz:40 maps[32-39] rtab[5]:=xmit_sz:48 maps[40-47] rtab[6]:=xmit_sz:56 maps[48-55] Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Jesper Dangaard Brouer authored
Change tc_calc_rtable() to take a tc_ratespec struct as an argument. (cell_log still needs to be passed on as a parameter, because -1 indicate that the cell_log needs to be computed by the function.). Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Jesper Dangaard Brouer authored
The only current user is HTB. HTB overhead argument is now passed on to the kernel (in the struct tc_ratespec). Also correct the data types. Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Stephen Hemminger authored
Fix the userspace header file rather than importing more kernel headers. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Stephen Hemminger authored
Show ip address etc when decoding output of tc filter show Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
Stephen Hemminger authored
These are from debian sid. Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
-
- 25 Dec, 2007 1 commit
-
-
Stephen Hemminger authored
Move veth.h to linux/ since it is an API. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 21 Dec, 2007 6 commits
-
-
Stephen Hemminger authored
Add Makefile target to create snapshot file. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
Use santized kernel header for veth.h and put in correct place to prevent possible future problems with API. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Vitaliy Gusev authored
Signed-off-by: Vitaliy Gusev <vgusev@openvz.org> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Pavel Emelyanov authored
This routine parses CLI attributes, describing generic link parameters such as name, address, etc. This is mostly copy-pasted from iplink_modify(). Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Vitaliy Gusev authored
get_link_kind() fails for statically linked modules (vlan, veth, etc.) if "ip" was linked without "export-dynamic". Signed-off-by: Vitaliy Gusev <vgusev@openvz.org> -- Thank, Vitaliy Gusev Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
YOSHIFUJI Hideaki / 吉藤英明 authored
Reported by: Satoru SATOH <satoru.satoh@gmail.com> "ip route show" does not print correct value when larger rto_min is set (e.g. 3sec). This problem is because of overflow in print_route() and the patch below is a workaround fix for that. [root test]# ./iproute2.git.org/ip/ip route show dev eth1 192.168.140.0/24 proto kernel scope link src 192.168.140.130 169.254.0.0/16 scope link [root test]# ./iproute2.git.org/ip/ip route change 192.168.140.0/24 dev eth1 rto_min 3s [root test]# ./iproute2.git.org/ip/ip route show dev eth1 192.168.140.0/24 scope link rto_min lock 2ms <-- wrong 169.254.0.0/16 scope link [root test]# ./iproute2.git/ip/ip route show dev eth1 # patched version 192.168.140.0/24 scope link rto_min lock 3000ms <-- correct 169.254.0.0/16 scope link This is a simpler fix. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 12 Dec, 2007 1 commit
-
-
Stephen Hemminger authored
Fix possible stack overflow when given distribution table that is too large. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 11 Dec, 2007 8 commits
-
-
Templin, Fred L authored
This patch includes support for the Intra-Site Automatic Tunnel Addressing Protocol (ISATAP) per RFC4214. The following diffs are specific to the iproute2-2.6.23 software distribution. This message includes the full and patchable diff text; please use this version to apply patches. Signed-off-by: Fred L. Templin <fred.l.templin@boeing.com> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Andreas Henriksson authored
On tor, 2007-12-06 at 11:53 -0800, Stephen Hemminger wrote: > On Tue, 4 Dec 2007 14:58:18 +0100 > Andreas Henriksson <andreas@fatal.se> wrote: > > > Suggested patch for allowing netmask to be specified in dotted quad format. > > See http://bugs.debian.org/357172 > > > > (Known problem: this will not prevent some invalid syntaxes, > > ie. "255.0.255.0" will be treated as "255.255.255.0") > > > > Comments? Suggestions? Improvements? > > Fix the bug you mentioned? > > [... snip example code ...] Updated patch, added your netmask validation code but without the check that made 0.0.0.0 (default) and 255.255.255.255 (one address) invalid netmasks as they are permitted in CIDR format. Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
François Delawarde authored
Hello Stephen, As the current maintainer of iproute2 package, you could be interested in including the attached patch that allow using masks in the fw filter of the tc utility (very useful at least for me). AFAK, it works at least from iproute2 version 2.6.20-?. Feel free to make the appropriate cleaning changes if necessary, or contact me if you see any trouble. Best regards, François Delawarde. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Tomas Janousek authored
The ip util would happily change these flags, it's just not recommended. Reflect that in the doc. The behaviour of ifconfig is exactly the same as of ip, delete the note about it. Signed-off-by: Tomas Janousek <tjanouse@redhat.com> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Herbert Xu authored
Here's a patch to add support for the nat action which is now in the kernel. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Herbert Xu authored
Here's a patch to add support for the nat action which is now in the kernel. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 10 Dec, 2007 1 commit
-
-
Stephen Hemminger authored
Add support for new rate limit qdisc Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-