- 11 Dec, 2007 3 commits
-
-
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
Fixes segv in: tc qdisc show dev eth1 due to uninitialized attribute table. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 29 Nov, 2007 1 commit
-
-
Stephen Hemminger authored
Resync santized headers with 2.6.24-rc3 Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 26 Oct, 2007 1 commit
-
-
Patrick McHardy authored
Arkadiusz Miskiewicz wrote: > People are reporting that >> ip link set multicast on dev eth0 (Invalid argument) >> no longer works when using iproute 2.6.23 on kernel 2.6.21. >> >> On my testing machine it also fails: >> # ./ip link set eth0 multicast on >> RTNETLINK answers: Invalid argument It seems it fails to properly detect that your kernel is missing RTM_NEWLINK support. Apparently the reason is that the kernels I tested with return a different error in this situation. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 17 Oct, 2007 5 commits
-
-
Herbert Xu authored
If a dotted quad ikey is specified for GRE tunnels, it gets set as the okey instead. This patch fixes it. (http://bugs.debian.org/200714) Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Andreas Henriksson authored
The problem was that length of allocation changed but caller not told. Anyway, the patch fixes a problem resulting in a double free that occurs when using batch files that contains a special combination of broken up lines and comments as reported in: http://bugs.debian.org/398912 Thanks to Michal Pokrywka <mpokrywka@hoga.pl> for testcase and information on which conditions problem could be reproduced under. Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Andreas Barth authored
Spotted by Aleš Kozumplík <al_es@seznam.cz> (http://bugs.debian.org/289225) Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Alexander Wirt authored
Add src option to route help text (http://bugs.debian.org/226142). Add prio option to rule prio help text (http://bugs.debian.org/213673). Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Alexander Wirt authored
Fix typo in ss manpage. Make the backslash visible in ip manpage (http://bugs.debian.org/285507). Strict syntax for ip addr advice in error message. Fix typo in libnetlink(3) manpage (writen -> written). Fix typos in tc-prio(8) manpage. Fix typo in tc-htb(8) manpage (mininum -> minimum). Fix typo in tc-cbq-details(8) manpage (occured -> occurred). Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 16 Oct, 2007 2 commits
-
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 12 Oct, 2007 14 commits
-
-
Andreas Henriksson authored
tc_core_time2big only used in tc/q_netem.c where it gets passed an unsigned. Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Andreas Henriksson authored
Follow up patch to "Fix overflow in time2tick / tick2time." which switches the remaining two helper functions from long to unsigned as well. These functions are only used in "tc/q_hfsc.c" where both the passed argument and the place the return value is stored are unsigned/u32 variables, so this change should be safe to make but hasn't been tested as extensively as the time2tick patch. Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Patrick McHardy authored
Andreas Henriksson wrote: > From: Alexander Wirt <formorer@debian.org> > > > Signed-off-by: Andreas Henriksson <andreas@fatal.se> > --- > ip/iplink.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/ip/iplink.c b/ip/iplink.c > index 4060845..da1f64e 100644 > --- a/ip/iplink.c > +++ b/ip/iplink.c > @@ -670,6 +670,10 @@ static int do_set(int argc, char **argv) > } > > if (newname && strcmp(dev, newname)) { > + if (strlen(newname) == 0) { > + printf("\"\" is not valid device identifier\n"); > + return -1; > + } Indentation fixed, same change for the non-ioctl case, use invarg. While I'm at it I also fixed the error message for "name too long", *argv is NULL at this point. Signed-off-by: Patrick McHardy <kaber@trash.net>
-
Stephen Hemminger authored
Use Patrick's instead This reverts commit ba371d98.
-
Stephen Hemminger authored
This reverts commit 1bacc7ce.
-
Alexander Wirt authored
Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Andreas Henriksson authored
The helper functions gets passed an unsigned int, which gets cast to long and overflows. See http://bugs.debian.org/175462Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Andreas Henriksson authored
Symlink rtstat(8) and ctstat(8) to lnstat(8). Add rtacct/nstat manpage based on doc/nstat.sgml as rtacct(8). Symlink nstat(8) to rtacct(8). Add arpd(8) symlink based on doc/arpd.sgml. Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Lionel Elie Mamane authored
The help/usage screen of ematch cmp and nbyte say recognised symbolic values for "layer FOO" are link, header and next-header, but the code does _not_ implement that: it will recognise "next-header" as what is supposed to be "header" and will not recognise "header". The right symbolic values seem to be link, network, transport. Here is a patch that changes the help/usage screen to match the code. (http://bugs.debian.org/438653) Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Andreas Barth authored
Spotted by Aleš Kozumplík <al_es@seznam.cz> (http://bugs.debian.org/289225) Signed-off-by: Andreas Henriksson <andreas@fatal.se> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
If a zero-length string is given, it is not rejected by netlink in kernel so catch it at command line. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
IP multipath routing was so buggy that it was dropped from the current kernel. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
Haven't received a bug from this script in years. And it has several race conditions, etc. See http://bugs.debian.org/289541, http://bugs.debian.org/313540, http://bugs.debian.org/313541, and http://bugs.debian.org/313544. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
YOSHIFUJI Hideaki / 吉藤英明 authored
Based on patch from Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 11 Oct, 2007 5 commits
-
-
Rick Jones authored
Enable users of ip to specify the times for rtt, rttvar and rto_min in human-friendly terms a la "tc" while maintaining backwards compatability with the previous "raw" mechanism. Builds upon David Miller's uncommited patch to set rto_min. Signed-off-by: Rick Jones <rick.jones2@hp.com> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
Making veth a shared library for ip caused build problems (not PIC) and is unneeded. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
-
Eric Dumazet authored
Hi Stephen This small patch allows to use lnstat/rtstat with a pipe output, without a full bufferisation. Thank you Eric Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
Update headers to sanitized versions of 2.6.23 final Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
- 05 Sep, 2007 8 commits
-
-
Stephen Hemminger authored
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Masahide NAKAMURA authored
Fix xfrm state or policy flush message. And minor updates are included: o Use static buffer to show unknown value as string. o Show policy type (ptype) only when kernel specified it. o Clean-up xfrm_monitor. Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Masahide NAKAMURA authored
o Support policy flag with string format. Note that kernel defines only one name "localok" for the flag and it has not had any effect currently. o Support state flag value XFRM_STATE_NOPMTUDISC. o Fix to show detailed flags value when "-s" option is used. o Fix minor typo. Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Masahide NAKAMURA authored
Remove unused or redundant usage for xfrm_filter. Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Pavel Emelianov authored
The usage is # ip link add [name] type veth [peer <name>] [mac <mac>] [peer_mac <mac>] This version doesn't include the fix for ip/iplink.c as Patrick said that he had included it into his patches already. Signed-off-by: Pavel Emelianov <xemul@openvz.org> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Patrick McHardy authored
This is a resend of the iproute VLAN patch with the if_link.h changes edited out since the headers are already synced. [IPROUTE]: VLAN support Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-
Stephen Hemminger authored
This reverts commit 4ed390ce. Newer version doesn't use genetlink. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
-