- 04 Feb, 2013 5 commits
-
-
Eric W. Biederman authored
Document ip netns monitor. Add a few senteces describing each command. The manpage was looking very scrawny. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
Eric W. Biederman authored
Sometimes "ip netns delete" fails because it can not delete the file a network namespace was mounted on. If this only happened when a network namespace was really in use this would be fine, but today it is possible to pin all network namespaces by simply having a long running process started with "ip netns exec". Every mount is copied when a network namespace is created so it is impossible to prevent the mounts from getting into other mount namespaces. Modify all mounts in the files and subdirectories of /var/run/netns to be shared mount points so that unmount events can propogate, making it unlikely that "ip netns delete" will fail because a directory is mounted in another mount namespace. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
Eric W. Biederman authored
Report the name of the network namespace that could not be added. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
Eric W. Biederman authored
Ben Hutchings pointed out that the return value of do_netns is passed to exit and the current convention of returning -1 for failure is inconsitent with that reality. Return EXIT_FAILURE instead of -1 and EXIT_SUCCESS instead of 0. To make it clear that the return codes are expected to be passed to exit. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
Eric W. Biederman authored
Some systems are now following the advice in linux/Documentation/sharedsubtrees.txt and running with all mount points shared between all mount namespaces by default. After creating the mount namespace call mount on / with MS_SLAVE|MS_REC to modify all mounts in the new mount namespace to slave mounts if they are shared or private mounts otherwise. Guarnateeing that changes to the mount namespace created with "ip netns exec" don't propgate to other namespaces. Reported-by: Petr Šabata <contyk@redhat.com> Tested-by: Petr Šabata <contyk@redhat.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
-
- 18 Jan, 2013 2 commits
-
-
Stephen Hemminger authored
-
Mike Frysinger authored
Clang doesn't support the gcc extension for embeddeding flexible arrays inside of structures. Use the slightly more portable alloca(). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 16 Jan, 2013 1 commit
-
-
Jamal Hadi Salim authored
Fixes breakage with xtables API starting with version 1.4.10 Signed-off-by: Hasan Chowdhury <shemonc@gmail.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
- 15 Jan, 2013 2 commits
-
-
Mike Frysinger authored
If an error occurs in a man subdir, make sure we propagate it back up. While we're here, merge the duplicate rules into one. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The man dir misses the man7 as a subdir which means none of the pages get installed. URL: https://bugs.gentoo.org/451166Reported-by: Marcin Mirosław <bug@mejor.pl> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
- 23 Dec, 2012 1 commit
-
-
Strake authored
Needed to build iproute2 with musl
-
- 20 Dec, 2012 5 commits
-
-
Cong Wang authored
Signed-off-by: Cong Wang <amwang@redhat.com>
-
Cong Wang authored
bridge -> dev group -> grp Signed-off-by: Cong Wang <amwang@redhat.com>
-
Cong Wang authored
This patch adds a flag to mdb entries so that we can distinguish permanent entries with temporary ones. Signed-off-by: Cong Wang <amwang@redhat.com>
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Previous change wasn't needed, since merge of configure: move toolchain init to a function
-
- 18 Dec, 2012 2 commits
-
-
Stephen Hemminger authored
Script has lots of shell functions but never indented properly.
-
Jan Engelhardt authored
Commit v3.7.0~10 caused the variable new PKG_CONFIG variable never to be present at the time of calling make, leading to tc/m_xt.so not linked with -lxtables (result from pkg-config xtables --libs), that in turn leading to tc: symbol lookup error: /usr/lib64/tc//m_xt.so: undefined symbol: xtables_init_all Fixing that. Signed-off-by: Jan Engelhardt <jengelh@inai.de>
-
- 17 Dec, 2012 6 commits
-
-
Mike Frysinger authored
This matches the existing CC behavior. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The lib makefile doesn't include Config which means it misses setting up toolchain vars that it includes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The layout of this file uses functions to update Config. Move the toolchain logic to the same style to fix setting the vars in Config. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-
Nicolas Dichtel authored
Sync with the current code. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
This patch add the documentation about 'ip netconf' command. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Zhi Yong Wu authored
The new type 'vxlan' is added in the output of "ip link help" Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
-
- 14 Dec, 2012 6 commits
-
-
Nicolas Dichtel authored
mroute was using /proc/net/ip_mr_[vif|cache] to display mroute entries. Hence, only RT_TABLE_DEFAULT was displayed and only IPv4. With rtnetlink, it is possible to display all tables for IPv4 and IPv6. The output format is kept. Also, like before the patch, statistics are displayed when user specify the '-s' argument. The patch also adds the support of 'ip monitor mroute', which is now possible. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
INFO_SPEC already uses the term 'OPTIONS' and describe it. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Now 'ip link' supports ipip, sit and ip6tnl. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Sync with the current code. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Use tabs instead of space when possible. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Cong Wang authored
Cc: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Cong Wang <amwang@redhat.com>
-
- 12 Dec, 2012 9 commits
-
-
Cong Wang authored
This patch implements `bridge monitor mdb`. Cc: Stephen Hemminger <shemminger@vyatta.com> Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Cong Wang <amwang@redhat.com>
-
Cong Wang authored
This patch implements: bridge mdb { add | del } dev DEV port PORT grp GROUP Cc: Stephen Hemminger <shemminger@vyatta.com> Cc: Thomas Graf <tgraf@suug.ch> Signed-off-by: Cong Wang <amwang@redhat.com>
-
David L Stevens authored
This patch adds a new flag to iproute2 for vxlan devices to enable DOVE features. It also adds support for L2 and L3 switch lookup miss netlink messages to "ip monitor". Changes since v2: fix merge conflict Changes since v1: - split "dove" flag into separate feature flags: - "proxy" for ARP reduction - "rsc" for route short circuiting - "l2miss" for L2 switch miss notifications - "l3miss" for L3 switch miss notifications Signed-off-by: David L Stevens <dlstevens@us.ibm.com>
-
Nicolas Dichtel authored
This patch allows to manage ip tunnels via the interface ip link. The syntax for parameters is the same that 'ip tunnel'. It also allows to display tunnels parameters with 'ip -details link' or 'ip -details monitor link'. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
This patch allows to manage ip6 tunnels via the interface ip link. The syntax for parameters is the same that 'ip -6 tunnel'. It also allows to display tunnels parameters with 'ip -details link' or 'ip -details monitor link'. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
Example of the output: $ ip monitor netconf& [1] 24901 $ echo 0 > /proc/sys/net/ipv6/conf/all/forwarding ipv6 dev lo forwarding off ipv6 dev eth0 forwarding off ipv6 all forwarding off $ echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding ipv4 dev eth0 forwarding on $ ip -6 netconf ipv6 all forwarding on mc_forwarding 0 $ ip netconf show dev eth0 ipv4 dev eth0 forwarding on rp_filter off mc_forwarding 1 Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Minor cleanup of original patch, made sure netconf.h matched result of santized kernel headers
-
Andreas Henriksson authored
The debian package checking tool, lintian, spotted that the tc ematch manpage seems to have an error in the specified section. Signed-off-by: Andreas Henriksson <andreas@fatal.se>
-
Cong Wang authored
Sample output: # ./bridge/bridge mdb show dev br0 bridge br0 port eth1 group 224.8.8.9 bridge br0 port eth0 group 224.8.8.8 # ./bridge/bridge -d mdb show dev br0 bridge br0 port eth1 group 224.8.8.9 bridge br0 port eth0 group 224.8.8.8 router ports on br0: eth0 Signed-off-by: Cong Wang <amwang@redhat.com>
-
Stephen Hemminger authored
Since system may not have upto date kernel headers, keep if_bridge.h in set of exported headers used to build iproute.
-
- 11 Dec, 2012 1 commit
-
-
Stephen Hemminger authored
Sanitized headers from net-next
-