- 17 May, 2013 4 commits
-
-
Nicolas Dichtel authored
This patch add support of netlink messages for AF_PACKET and thus it allows to get filter information of this kind of sockets. To dump these filters info the option --bfp must be specified and the user must have admin rights. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
This is now possible, because the dump function has been added in kernel. Note that IPv4 and IPv6 entries are displayed. Before this patch, only all entries were displayed. Example: $ ip netconf ipv4 dev lo forwarding on rp_filter off mc_forwarding 0 ipv4 dev eth0 forwarding on rp_filter off mc_forwarding 1 ipv4 all forwarding on rp_filter off mc_forwarding 1 ipv4 default forwarding on rp_filter off mc_forwarding 0 ipv6 dev lo forwarding on mc_forwarding 0 ipv6 dev eth0 forwarding on mc_forwarding 0 ipv6 all forwarding on mc_forwarding 0 ipv6 default forwarding on mc_forwarding 0 Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-
Nicolas Dichtel authored
For the display part, we print extra-flags only if show_stats is set, like for standard flags. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-
Stephen Hemminger authored
For later ss change.
-
- 15 May, 2013 1 commit
-
-
Stephen Hemminger authored
This change shifts burden onto the users to choose the UDP port value. Kernel default value is incorrect UDP port 5287 but now there is an official assigned port for VXLAN. The kernel can't change because of legacy compatibility but new deployments should not use the legacy port value.
-
- 06 May, 2013 1 commit
-
-
David L Stevens authored
This patch allows setting the "NTF_ROUTER" flag in VXLAN forwarding table entries to enable L3 switching for router destinations while still allowing L2 redirection appliances for non-router MAC destinations. Signed-Off-By: David L Stevens <dlstevens@us.ibm.com>
-
- 04 May, 2013 1 commit
-
-
Eric Dumazet authored
ss -i can output "fastopen" attribute if socket used Fast Open Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-
- 03 May, 2013 6 commits
-
-
David Stevens authored
iproute2 patch to generalize VXLAN forwarding tables This is the iproute2 support allowing an administrator to specify alternate ports, vnis and outgoing interfaces for VXLAN device forwarding tables. Changes since v3: changed NDA_PORT to be 16-bit network byte order to match changed byte-order/size in the VXLAN driver. Signed-Off-By: David L Stevens <dlstevens@us.ibm.com>
-
Stephen Hemminger authored
Add ability to set UDP destination port on a per device basis. If no port is assigned, the default IANA assigned port will be used. If you want the kernel default value, then use port 0. Source port range option is now called 'srcport', to avoid confusion. The old option syntax is accepted for compatiablity. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-
Daniel Borkmann authored
This patch adds support for tokenized IIDs, that enable administrators to assign well-known host-part addresses to nodes whilst still obtaining global network prefix from Router Advertisements. This is the iproute2 part for the kernel patch f53adae4eae5 (``net: ipv6: add tokenized interface identifier support''). Example commands with iproute2: Setting a device token: # ip token set ::1a:2b:3c:4d/64 dev eth1 Getting a device token: # ip token get dev eth1 token ::1a:2b:3c:4d dev eth1 Listing all tokens: # ip token list (or: ip token) token :: dev eth0 token ::1a:2b:3c:4d dev eth1 Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
-
Stephen Hemminger authored
Merge in kernel sanitized headers from upstream
-
Nicolas Dichtel authored
There is three possibilities: only IPv6, only IPv4 or both. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Kamil Rytarowski authored
Hello! I'm attaching a patch [1] "Feed GCC 4.8.0 against new warning that is shipped with -Wall: -Wsizeof-pointer-memaccess.". More details: http://gcc.gnu.org/gcc-4.8/porting_to.html Regards, [1] 0001-Feed-GCC-4.8.0-against-new-warning-that-is-shipped-w.patch >From 1f3ea01fe2ff61cbbca6474f7d9903a0756a4f44 Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski <n54@gmx.com> Date: Fri, 3 May 2013 18:43:38 +0200 Subject: [PATCH] Feed GCC 4.8.0 against new warning that is shipped with -Wall: -Wsizeof-pointer-memaccess.
-
- 01 May, 2013 1 commit
-
-
Alexander Duyck authored
In trying to build on a RHEL6.3 I ran into several build issues that are addressed in this patch. The first is that xtables_merge_options only has 3 parameters. It appears this is how this code was originally. As such for the case where the version is less than 6 I am assuming it would be correct to maintain the original setup that only had 3 parameters being passed instead of 4. I also ran into an issue with the define for __ALIGN_KERNEL not being present. I believe this may be due to the fact that __ALIGN_KERNEL was moved into a separate header from ALIGN after the UAPI changes. In order to just cover all of the bases I have moved the main definition for the macros into __ALIGN_KERNEL_MASK and __ALIGN_KERNEL and if ALIGN is also needed then it is just a direct redefine to __ALIGN_KERNEL. Cc: Hasan Chowdhury <shemonc@gmail.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
-
- 30 Apr, 2013 1 commit
-
-
Stephen Hemminger authored
-
- 26 Apr, 2013 1 commit
-
-
Alexander Duyck authored
This change corrects a kernel incompatibility that was resulting in the ext_filter_mask not being correctly discovered by the kernel as it is buried somewhere in the ifinfomsg. Reported-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Acked-by: David S. Miller <davem@davemloft.net>
-
- 17 Apr, 2013 3 commits
-
-
Stephen Hemminger authored
Debian Squeeze has out of date <sys/mount.h> without the required flags.
-
Stephen Hemminger authored
This reverts commit 5abe4685.
-
Stephen Hemminger authored
The ipnetns nees MS_SLAVE, MS_SHARED etc definitions which are in include/linux/fs.h.
-
- 12 Apr, 2013 2 commits
-
-
Stephen Hemminger authored
Be more careful about overflow in strtoXX routines. Checks are based on documented interface on man pages. Based on suggestion from "Mr Dash Four". Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-
Hubert Kario authored
The tc command is missing documentation of -batch and -force switches that are returned by "tc -help". Add short description on their syntax and usage.
-
- 05 Apr, 2013 1 commit
-
-
Petr Sabata authored
This patch fixes some of the typos found in iproute2 documentation. Signed-off-by: Petr Šabata <contyk@redhat.com>
-
- 01 Apr, 2013 1 commit
-
-
Stephen Hemminger authored
-
- 28 Mar, 2013 10 commits
-
-
Stephen Hemminger authored
Don't call ll_init_map on modify operations Saves significant overhead with 1000's of devices.
-
Stephen Hemminger authored
Make ll_ functions faster by having a name hash, and allow for deletion. Also, allow them to work without calling ll_init_map.
-
Nicolas Dichtel authored
When this flag is set, it means that dump was interrupted and result may be inconsistent. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
David Ward authored
Quotation marks are now used only to indicate literal text on the command line. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
Change ALGO-KEY to ALGO-KEYMAT to make it more obvious that the keying material might need to contain more than just the key (such as a salt or nonce value). List the algorithm names that currently exist in the kernel. Indicate that for IPComp, the Compression Parameter Index (CPI) is used as the SPI. Group the list of mode values by transform protocol. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
Compression algorithms do not use a key. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
Ensure that only algorithms and modes supported by the transform protocol are specified (so that errors are more obvious). Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
AEAD algorithms perform both encryption and authentication; they are not combined with separate encryption or authentication algorithms. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
David Ward authored
A Security Policy Index (SPI) is not used with Mobile IPv6. IPComp uses a smaller 16-bit Compression Parameter Index (CPI) which is passed as the SPI value. Perform checks whenever specifying an ID. Signed-off-by: David Ward <david.ward@ll.mit.edu>
-
- 27 Mar, 2013 4 commits
-
-
James Chapman authored
Add documentation about the new l2spec_type parameter for "ip l2tp add session". Signed-off-by: James Chapman <jchapman@katalix.com>
-
James Chapman authored
When unmanaged L2TP sessions are created using "ip l2tp add session", there is no option to allow the session's Layer2SpecificHeader type to be selected - the kernel's default setting is always used. For interopability with some vendor equipment, it might be necessary to use a different setting. So add a new l2spec_type parameter to the "ip l2tp add session" parameter list, allowing operators to set a specific Layer2SpecificHeader type. The kernel already exposes the setting as a netlink attribute so it is straightforward to add support for it in iproute2. This change allows unmanaged L2TP sessions to be configured between Linux and some Cisco equipment by specifying "l2spec_type none" in "ip l2tp add session" command parameters. Signed-off-by: James Chapman <jchapman@katalix.com>
-
Stephen Hemminger authored
Better to get prototype from system headers
-
Stephen Hemminger authored
The address was being stored but not used by current code.
-
- 22 Mar, 2013 1 commit
-
-
Stephen Hemminger authored
In older versions of traffic shaping the Alpha kernel was special and had higher HZ. This no longer matters, TC is based on high resoulution timers in kernel.
-
- 20 Mar, 2013 1 commit
-
-
Thomas Egerer authored
My previous commit introduced a patch to allow for states with different ip address families for selector and id. The must have somehow been a mixup of the patch I tested and the one I send, so the patch sent breaks the iproute2 build. This patch fixes this. My apologies. Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
-
- 18 Mar, 2013 1 commit
-
-
Thomas Egerer authored
Do not enforce the selector of a state to have the same address family as the id. This makes it possible to configure inter family states. Signed-off-by: Thomas Egerer <hakke_007@gmx.de>
-