- 10 Dec, 2014 10 commits
-
-
vadimk authored
Now it is posible to filter by existing Netlink protos: ss -A netlink src uevent ss -A netlink src nft ss -A netlink src genl Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
Nikita Edward Baruzdin authored
This patch makes CAN_CTRLMODE_PRESUME_ACK netlink feature configurable. When enabled, the feature sets CAN controller in mode in which acknowledgement absence is ignored. Signed-off-by: Nikita Edward Baruzdin <nebaruzdin@gmail.com> Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
-
Eric Dumazet authored
On Fri, 2014-12-05 at 17:13 -0800, Eric Dumazet wrote: > I guess we could count number of spaces/fields in both lines, > and disable the iproute2 trick if counts match. Something like that maybe ? misc/nstat.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) Tested-by: Vijay Subramanian <subramanian.vijay@gmail.com>
-
vadimk authored
This patch fixes the following issues which was introduced by me in commits: #1 (2dc85485) ss: Fixed broken output for Netlink 'Peer Address:Port' column ISSUE: Broken layout when all sockets are printed out #2 (eef43b50) ss: Identify more netlink protocol names ISSUE: Protocol id is not printed if 'numbers only' output was specified (-n) Also aligned the width of the local/peer ports to be more wider. I tested with a lot of option combinations (I may miss some test cases), but layout seems to me better than the previous released version of iproute2/ss. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
Stephen Hemminger authored
Adding in6.h breaks build with redefined values.
-
vadimk authored
The issue was observed when IPv6 router broadcasted NDUSEROPT messages which are not handled by monitor and caused printing 'Timestamps' w/o message because such kind of rtnl messages is not handled by monitor. As 'ip monitor' by default subscribes to the all mcast rtnl groups except RTGRP_TC then all messages of these rtnl groups which are not handled by monitor may cause such issues. Fixed by subscribing by default to rtnl mcast groups which are supported by 'ip monitor'. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
Nicolas Dichtel authored
This option was used only for 'ip link', but it can be useful to have it for 'ip address'. Thus it is possible to display link details and addresses with one command. Example: $ ip -d a ls dev gre1 9: gre1@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1468 qdisc noqueue state UNKNOWN group default link/gre 10.16.0.249 peer 10.16.0.121 promiscuity 0 gre remote 10.16.0.121 local 10.16.0.249 ttl inherit ikey 0.0.0.10 okey 0.0.0.10 icsum ocsum inet 192.168.0.249 peer 192.168.0.121/32 scope global gre1 valid_lft forever preferred_lft forever inet6 fe80::5efe:a10:f9/64 scope link valid_lft forever preferred_lft forever Suggested-by: Christophe Gouault <christophe.gouault@6wind.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Scott Feldman authored
Signed-off-by: Scott Feldman <sfeldma@gmail.com> Signed-off-by: Jiri Pirko <jiri@resnulli.us>
-
- 05 Dec, 2014 2 commits
-
-
Stephen Hemminger authored
The header wars continue...
-
Stephen Hemminger authored
Need this header file to avoid build issues on older systems like Debian 7
-
- 04 Dec, 2014 4 commits
-
-
Stephen Hemminger authored
Missing "
-
Stephen Hemminger authored
-
Stephen Hemminger authored
Add ESP to decode switch.
-
Stephen Hemminger authored
RFC 2598 defines Expedited Forwarding in section 2.3 Codepoint 101110 is recommended for the EF PHB. which translates to B8 as encoded in rt_dsfield
-
- 03 Dec, 2014 2 commits
-
-
vadimk authored
BEFORE: The show command has additional formatting options: -s, -stats, -statistics output more statistics about packet usage. -d, -details output more detailed information. -h, -human, -human-readble output statistics with human readable values number followed by suffix -iec print human readable rates in IEC units (ie. 1K = 1024). AFTER: The show command has additional formatting options: -s, -stats, -statistics output more statistics about packet usage. -d, -details output more detailed information. -h, -human, -human-readble output statistics with human readable values number followed by suffix -iec print human readable rates in IEC units (ie. 1K = 1024). Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
Pavel Simerda authored
Just print the help when "ip route del" is called without any other arguments. Resolves: * https://bugzilla.redhat.com/show_bug.cgi?id=997965Signed-off-by: Pavel Šimerda <psimerda@redhat.com>
-
- 30 Nov, 2014 4 commits
-
-
vadimk authored
Added checking existence of the doc files converters. If the XXX tool exists then HAVE_XXX:=y will be written to the Config file. Example of the configure script output: TC schedulers ATM no IPT using xtables IPSET yes iptables modules directory: /usr/lib/iptables libc has setns: yes SELinux support: no Docs latex: no WARNING: no docs can be built from LaTeX files sgml2html: yes Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
Stephen Hemminger authored
Use current upstream header.
-
vadimk authored
Get rid of self-handling and creating of Netlink socket for show packet socket stats. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
- 29 Nov, 2014 11 commits
-
-
vadimk authored
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Added 'master' option to 'ip link show' command to filter devices by master dev. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
Dave Taht authored
-
vadimk authored
When output the netlink sockets: ss -A netlink state close the layout is a little broken with a shifted 'Peer Address:Port' stars and empty new lines. Fixed by making the port field to be wider for 'Local Address:Port' column. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
I dont see a reason that packet and netlink states will be printed only if SS_CLOSE state is set in filter, in that case to print states of netlink or packet sockets it is needed to run: ss -A netlink state close instead of: ss -A netlink Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
As 'ip' util will share the same netns from the caller process then we can just look at /proc/self/.. to show the netns of the current process by: ip netns id Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
With this change the results of tc tests will be recorded under: testsuite/results/tc/ The ip related tests can be added under: testsuite/tests/ip Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
Added 'dev' option to allow filtering events by device. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
vadimk authored
There were only few Netlink protocol names which were printed on the screen: rtnl, fw, tcpdiag So added the ability to identify Netlink proto name from /etc/iproute/nl_protos or from static table. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
-
Tom Herbert authored
Add udpcsum option to enable transmitting UDP checksums when doing VXLAN/IPv4. Add udp6zerocsumtx, and udp6zerocsumrx options to enable sending zero checksums and receiving zero checksums in VXLAN/IPv6. Signed-off-by: Tom Herbert <therbert@google.com>
-
Or Gerlitz authored
Add documentation on how to create devices of type IP-over-Infiniband in the man page. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
-
- 22 Nov, 2014 1 commit
-
-
Florian Westphal authored
ip route change dev tap0 192.168.7.0/24 rto_min 1ms Error: argument "1ms" is wrong: "rto_min" value is invalid get_time_rtt() checks for 's' or 'msec' and converts to milliseconds if needed. Fixes: 697ac639 (utils: fix range checking for get_u32/get_u64 et all) Signed-off-by: Florian Westphal <fw@strlen.de>
-
- 07 Nov, 2014 6 commits
-
-
Tom Herbert authored
Man pages for Foo-over-UDP and Generic UDP Encapsulation receive port configuration. gue man page links to fou one. Signed-off-by: Tom Herbert <therbert@google.com>
-
Tom Herbert authored
This patch adds support to configure foo-over-udp (FOU) and Generic UDP Encapsulation for GRE tunnels. This configuration allows selection of FOU or GUE for the tunnel, specification of the source and destination ports for UDP tunnel, and enabling TX checksum. This configuration only affects the transmit side of a tunnel. Example: ip link add name tun1 type gre remote 192.168.1.1 local 192.168.1.2 \ ttl 225 encap fou encap-sport auto encap-dport 7777 encap-csum This would create an GRE tunnel in GUE encapsulation where the source port is automatically selected (based on hash of inner packet) and checksums in the encapsulating UDP header are enabled. Signed-off-by: Tom Herbert <therbert@google.com>
-
Tom Herbert authored
This patch adds support to configure foo-over-udp (FOU) and Generic UDP Encapsulation for IPIP and sit tunnels. This configuration allows selection of FOU or GUE for the tunnel, specification of the source and destination ports for UDP tunnel, and enabling TX checksum. This configuration only affects the transmit side of a tunnel. Example: ip link add name tun1 type ipip remote 192.168.1.1 local 192.168.1.2 \ ttl 225 encap gue encap-sport auto encap-dport 9999 encap-csum This would create an IPIP tunnel in GUE encapsulation where the source port is automatically selected (based on hash of inner packet) and checksums in the encapsulating UDP header are enabled. Signed-off-by: Tom Herbert <therbert@google.com>
-
Tom Herbert authored
Added 'ip fou...' commands to enable/disable UDP ports for doing foo-over-udp and Generic UDP Encapsulation variant. Arguments are port number to bind to and IP protocol to map to port (for direct FOU). Examples: ip fou add port 7777 gue ip fou add port 8888 ipproto 4 The first command creates a GUE port, the second creates a direct FOU port for IPIP (receive payload is a assumed to be an IPv4 packet). Signed-off-by: Tom Herbert <therbert@google.com>
-
Masatake YAMATO authored
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
-
Christian Hesse authored
-