- 26 Dec, 2009 2 commits
-
-
Andreas Henriksson authored
Move the file and rename the configure flags. The file is being kept around for iptables < 1.4.5 compatibility. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Andreas Henriksson authored
Peter Palfrader said in http://bugs.debian.org/545008 that "--help output, if explicitly requested, should go to stdout, not stderr." which this patch fixes. Additionally, the exit code was adjusted to success if help was explicitly requested. (Syntax error still outputs to stderr and has the same exit code.) Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
- 02 Dec, 2009 3 commits
-
-
Patrick McHardy authored
The kernel takes a lack of options as indication that the fw classifier should operate in compatibility mode, where marks are mapped directly to classids. Commit e22b42a2 (tc mask patch) broke this by adding an empty TCA_OPTIONS attribute even if no handle is specified. Restore the old behaviour. Signed-off-by: Patrick McHardy <kaber@trash.net>
-
Andreas Henriksson authored
The static libnetlink.a library is exposed to other users in Debian via the "iproute-dev" package. Apparently people are interested in using it in their shared libraries and would like to see the code be position independent. Patch below makes the code under lib/ build with -fPIC. See http://bugs.debian.org/547602Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Mark Borst authored
The command "ip mroute show" will only show the first Oif. mark@flappie:~$ ip mroute show (192.168.1.1, 224.0.0.123) Iif: _rename Oifs: eth1 mark@flappie:~$ cat /proc/net/ip_mr_cache Group Origin Iif Pkts Bytes Wrong Oifs 7B0000E0 0101A8C0 2 0 0 0 0:1 1:1 This shows 2 Oifs here. However, ipmroute.c, function read_mroute_list(), uses sscanf() with a %s mask for oiflist, which stops after the first whitespace (i.e. after Oif 0:1). The patch below fixes this to read until the newline (though I'm not sure whether this is the proper way to fix it). After this patch: mark@flappie:~/iproute-20090324/ip$ ./ip mroute show (192.168.1.1, 224.0.0.123) Iif: _rename Oifs: eth1 eth0 This patch originally submitted as http://bugs.debian.org/550097Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
- 01 Dec, 2009 5 commits
-
-
Brian Haley authored
Add IFA_F_DADFAILED flag to denote an IPv6 address that has failed Duplicate Address Detection, that way tools like /sbin/ip can be more informative. 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000 inet6 2001:db8::1/64 scope global tentative dadfailed valid_lft forever preferred_lft forever Signed-off-by: Brian Haley <brian.haley@hp.com>
-
David Ward authored
After calling ll_init_map, all of the information stored in the link-layer map can be retrieved by function calls (ll_index_to_*), except for the link-layer address. This patch fills the gap by adding a ll_index_to_addr function. Changes welcome. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
Gilad Ben-Yossef authored
- Parse and handle the hoplimit ip route option and add it to the usage line and documentation. - Add the missing reordering ip route option to the usage line. - Add documentation for initcwnd ip route option. Tested by setting hoplimit and retreiving it via "show". Signed-off-by: Gilad Ben-Yossef <gilad@codefidence.com> [ported to HEAD, fixed a bug with hoplimit lock handling, added documentation] Signed-off-by: Ori Finkelman <ori@comsleep.com> Signed-off-by: Yony Amit <yony@comsleep.com>
-
Stephen Hemminger authored
Discourage developers from putting change log in comments now that software has been under change control for 5 years.
-
David Ward authored
Extend the link-layer address field from 8 to 20 bytes to support InfiniBand. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
- 17 Nov, 2009 1 commit
-
-
Stephen Hemminger authored
-
- 13 Nov, 2009 3 commits
-
-
Mike Frysinger authored
Revised version of Mike's original patch
-
Stephen Hemminger authored
Ignore files from cscope, patch, etc.
-
Mike Frysinger authored
A bunch of source files look like they're copy & pasted from other files, and some include header files that they don't actually need. Since dlfcn has very specific usage (and is a pain on a static-only system), drop it where it isn't really needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 10 Nov, 2009 7 commits
-
-
Stephen Hemminger authored
-
Mike Frysinger authored
The iptables code supports a "no shared libs" mode where it can be used without requiring dlfcn related functionality. This adds similar support to iproute2 so that it can easily be used on systems like nommu Linux (but obviously with a few limitations -- no dynamic plugins). Rather than modify every location that uses dlfcn.h, I hooked the dlfcn.h header with stub functions when shared library support is disabled. Then symbol lookup is done via a local static lookup table (which is generated automatically at build time) so that internal symbols can be found. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
A bunch of misc utils basically reimplement the daemon() function (the whole fork/close/chdir/etc...). Rather than do that, use daemon() as that will work under nommu Linux systems that lack fork(). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Patrick McHardy authored
It uses 1MB as receive buf limit by default (without increasing /proc/sys/net/core/rmem_max it will be limited by less however) and allows to specify the size manually using "-rcvbuf X" (-r is already used, so you need to specify at least -rc). Additionally rtnl_listen() continues on ENOBUFS after printing the error message.
-
Sven Anders authored
I experienced an error, if I try to perform a ip route flush proto 4 with many routes in a complex environment, it gave me the following error: Failed to send flush request: Success Flush terminated
-
Stephen Hemminger authored
Doing one item per call is like old MODULA2 code.
-
Stephen Hemminger authored
-
- 11 Sep, 2009 2 commits
-
-
Eric Dumazet authored
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
Eric Dumazet authored
On 64bit arches, sk pointer was 32/32 reversed. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
-
- 10 Sep, 2009 1 commit
-
-
Stephen Hemminger authored
Final 2.6.31 released, so update sanitized headers.
-
- 26 Aug, 2009 1 commit
-
-
Stephen Hemminger authored
-
- 06 Aug, 2009 4 commits
-
-
Mike Frysinger authored
The q_atm.so target defines its own link target, but it doesn't respect the $(LDFLAGS) variable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Andreas Henriksson authored
Fix spelling (s/commoand/command/) in ip(8) manpage. Spotted by dann frazier <dannf@hp.com> - http://bugs.debian.org/539830
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
- 13 Jul, 2009 1 commit
-
-
Stephen Hemminger authored
Checking for errors would cause some responses to be lost.
-
- 26 May, 2009 8 commits
-
-
Stephen Hemminger authored
-
Wolfgang Grandegger authored
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
-
Wolfgang Grandegger authored
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
-
Sascha Hlusiak authored
--Boundary-01=_wxi/JRaNdLkbr7g Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Stephen, please review attached patch to add support for in-kernel potential router= =20 lists for ISATAP tunnels. Usage: ip tunnel add name isatap0 mode isatap local 192.168.1.100 ip tunnel prl dev isatap0 prl-default 192.168.1.1 ip tunnel prl dev isatap0 prl-nodefault 192.168.1.2 ip tunnel prl dev isatap0 prl-delete 192.168.1.1 ip tunnel show # pr and pdr will be listed as well Patch based on http://osprey67.com/seal/iproute2_diff.v0_3.txt by Fred L.=20 Templin. Thanks, Sascha
-
Denys Fedoryshchenko authored
Sometimes while dividing bandwidth by classes it is useful to see how some specific class doing things live. Which my simple patch it is possible to do watch -n1 "tc -s -d class show dev eth0.2022 classid 1:1520" and to get live statistics, how packets queued or dropped, and how much bandwidth used (if estimator defined) for specific class. Signed-off-by: Denys Fedoryshchenko <denys@visp.net.lb>
-
Andreas Henriksson authored
On tor, 2009-04-30 at 14:32 +0100, Timothy Baldwin wrote: > Package: iproute > Version: 20090324-1 > Severity: minor > > > $ ip link set eth0 address help > "help" is invalid lladdr. > Segmentation fault > > Desipte the invalid command line arguments it shouldn't crash. > Callers need to check return value from ll_addr_a2n(). Patch below. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Stephen Hemminger authored
To emulate WRED behaviour, allow default DP of zero.
-
Stephen Hemminger authored
-
- 15 Apr, 2009 1 commit
-
-
Stephen Hemminger authored
Use existing u32 mechanism to match based on Ethernet header. No need for protocol that already exists.
-
- 14 Apr, 2009 1 commit
-
-
Thomas Egerer authored
When using iproute2 to display information on policies installed in kernel (ip x p s) output is incorrect: IPv6 addresses printed as IPv4 addresses. In case I am dealing with inter protocol policies where the template's address family differs from those of the policy itself. The patch attached solves this problem.
-