- 10 Oct, 2011 1 commit
-
-
Stephen Hemminger authored
Fix usage of ".R" which is not man macro.
-
- 07 Oct, 2011 13 commits
-
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Jiri Benc authored
When changing ip6ip6 parameters (ip -6 tun change), ip passes zeroed struct ip6_tnl_parm to the kernel. The kernel then tries to change all of the tunnel parameters to the passed values, including zeroing of local and remote address. This fails (-EEXIST in net/ipv6/ip6_tunnel.c:ip6_tnl_ioctl). For other tunnel types, ip fetches the current parameters first and applies the required changes on top of them. This patch applies the same code as in ip/iptunnel.c to ip/ip6tunnel.c. See http://bugzilla.redhat.com/730627 for the original bug report. Signed-off-by: Jiri Benc <jbenc@redhat.com>
-
Thomas Jarosch authored
Detected by cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
-
Sridhar Samudrala authored
Add bridge as a supported type with 'ip link' in usage and all the missing types in 'ip' man page. Also fixed some typos. Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
-
- 06 Oct, 2011 3 commits
-
-
Petr Sabata authored
Signed-off-by: Petr Sabata <contyk@redhat.com>
-
Petr Sabata authored
Signed-off-by: Petr Sabata <contyk@redhat.com>
-
Petr Sabata authored
Signed-off-by: Petr Sabata <contyk@redhat.com>
-
- 31 Aug, 2011 15 commits
-
-
Stephen Hemminger authored
Add some documentation about ip neighbour table parameter command.
-
Dan McGee authored
-
Dan McGee authored
-
Dan McGee authored
remove unused basename logic, avoid dereference of possibly NULL variable
-
Dan McGee authored
would leak a file handle
-
Eric W. Biederman authored
Use O_EXCL so that we only create and mount a new network namespace if there is no chance an existing network namespace is present. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
-
Eric W. Biederman authored
If libc has setns present use that version instead of rolling the syscall wrapper by hand. Dan McGee found the following compile error: gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -c -o ipnetns.o ipnetns.c ipnetns.c:31:12: error: static declaration of ‘setns’ follows non-static declaration /usr/include/bits/sched.h:93:12: note: previous declaration of ‘setns’ was here make[1]: *** [ipnetns.o] Error 1 Reported-by: Dan McGee <dan@archlinux.org> Tested-by: Dan McGee <dan@archlinux.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
-
Stephen Hemminger authored
Update the automatically generated sanitized headers
-
Dan McGee authored
On Arch Linux, we still install the iptables shared libraries in /usr/lib/iptables/, even though the main library is installed to /usr/lib/libxtables.so. This change checks all available locations to correctly find the iptables library directory. Signed-off-by: Dan McGee <dan@archlinux.org>
-
Florian Westphal authored
when specifiying filters without 'protocol' keyword, tc will default to 'protocol all'. Unfortunately, this missed a byte-ordering conversion.
-
Dan McGee authored
This hasn't been updated since 2006.
-
Stephen Hemminger authored
and make type table const.
-
Florian Westphal authored
Document 'divisor' option and mention that external classifiers can be used.
-
Florian Westphal authored
-
Bin Li authored
Extra bracket
-
- 20 Jul, 2011 2 commits
-
-
Andreas Henriksson authored
$ ip route help 2>&1 | grep monitor ip route { add | del | change | append | replace | monitor } ROUTE $ ip route monitor Command "monitor" is unknown, try "ip route help". (I guess what was really intended is "ip monitor route", so just remove the argument from the help output.) Originally reported by martin f krafft at http://bugs.debian.org/537681 While at it, also drop all non-existant (route,link,netns) monitor arguments from the ip(8) man page. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Christoph Biedl authored
The "ip monitor" command does properly decode the "preferred" and "valid" lifetime records in router advertisements from netlink messages.
-
- 13 Jul, 2011 3 commits
-
-
Stephen Hemminger authored
Basic configuration support for QFQ. Still need to add manual page.
-
Stephen Hemminger authored
redo.
-
Eric W. Biederman authored
The goal of this code change is to implement a mechanism such that it is simple to work with a kernel that is using multiple network namespaces at once. This comes in handy for interacting with vpns where there may be rfc1918 address overlaps, and different policies default routes, name servers and the like. Configuration specific to a network namespace that would ordinarily be stored under /etc/ is stored under /etc/netns/<name>. For example if the dns server configuration is different for your vpn you would create a file /etc/netns/myvpn/resolv.conf. File descriptors that can be used to manipulate a network namespace can be created by opening /var/run/netns/<NAME>. This adds the following commands to iproute. ip netns add NAME ip netns delete NAME ip netns monitor ip netns list ip netns exec NAME cmd .... ip link set DEV netns NAME ip netns exec exists to cater the vast majority of programs that only know how to operate in a single network namespace. ip netns exec changes the default network namespace, creates a new mount namespace, remounts /sys and bind mounts netns specific configuration files to their standard locations. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
-
- 11 Jul, 2011 3 commits
-
-
Stephen Hemminger authored
getline() returns -1 on EOF, need to not loose that by forcing result to size_t (unsigned). Reported-by: Petr Sabata
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-