- 15 Mar, 2015 5 commits
-
-
Eric Dumazet authored
Socket cookies are 64bit, even if ss happens to be a 32bit binary, running on a 64 bit host. Signed-off-by:
Eric Dumazet <edumazet@google.com>
-
Vadim Kochan authored
Ugly change but it allows to specify sport/dport w/o ':' # ss dport = 80 and sport = 44862 Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Also added some trivial form of the ID as "major:minor", just for visualisation of explained words. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
- 28 Feb, 2015 5 commits
-
-
Vadim Kochan authored
Added some clarification why 'ip link set netns' can not change network namespace for some kind of devices. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Daniel Borkmann authored
Left-overs when copying this over from cls_bpf. ;) Lets remove them. Signed-off-by:
Daniel Borkmann <daniel@iogearbox.net> Cc: Jiri Pirko <jiri@resnulli.us>
-
Ebben Aries authored
Add missing GUE/FOU manpages to Makefile Signed-off-by:
Ebben Aries <exa@fb.com>
-
Roopa Prabhu authored
This patch adds support to specify 'master' keyword, to target a bridge link command explicitly to the software bridge driver. Adds self/master keywords to usage and man page v2: fix usage to say (self and master) and not (self or master) Signed-off-by:
Roopa Prabhu <roopa@cumulusnetworks.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
- 24 Feb, 2015 6 commits
-
-
Hagen Paul Pfeifer authored
Keep ss output consistent and format DCTCP socket statistics similar to skmen and timer where a group of logical values are grouped by brackets. This makes parser scripts *and* humans more happy. Current output of 'ss -inetm dst :80': ESTAB 0 0 192.168.11.14:55511 173.194.66.189:443 timer:(keepalive,14sec,0) uid:1000 ino:428768 sk:ffff88020ceb5b00 <-> skmem:(r0,rb372480,t0,tb87040,f0,w0,o0,bl0) ts sack wscale:7,7 rto:250 rtt:49.225/20.837 ato:40 mss:1408 cwnd:10 ce_state 23 alpha 23 ab_ecn 23 ab_tot 23 send 2.3Mbps lastsnd:121026 lastrcv:121026 lastack:30850 pacing_rate 4.6Mbps retrans:0/2 rcv_rtt:40.416 rcv_space:2920 New grouped output: ESTAB 0 0 192.168.11.14:55511 173.194.66.189:443 timer:(keepalive,14sec,0) uid:1000 ino:428768 sk:ffff88020ceb5b00 <-> skmem:(r0,rb372480,t0,tb87040,f0,w0,o0,bl0) ts sack wscale:7,7 rto:250 rtt:49.225/20.837 ato:40 mss:1408 cwnd:10 dctcp(ce_state:23,alpha:23,ab_ecn:23,ab_tot:23) send 2.3Mbps lastsnd:121026 lastrcv:121026 lastack:30850 pacing_rate 4.6Mbps retrans:0/2 rcv_rtt:40.416 rcv_space:2920 Cc: Stephen Hemminger <stephen@networkplumber.org> Acked-by:
Daniel Borkmann <dborkman@redhat.com> Acked-by:
Florian Westphal <fw@strlen.de> Signed-off-by:
Hagen Paul Pfeifer <hagen@jauu.net>
-
Lennart Sorensen authored
-
Nicolas Dichtel authored
Now done by default or with 'ip monitor rule'. Signed-off-by:
Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Detailed info can be printed if filter should not pass the socket info. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Alex Pilon authored
The existing behaviour forces one to memorize the integer constants for STP port states. # bridge link set dev dummy0 state 3 This patch makes it possible to use the lowercased port state name. # bridge link set dev dummy0 state forwarding Invalid non-integer inputs now cause exit with status -1. Signed-off-by:
Alex Pilon <alp@alexpilon.ca>
-
- 22 Feb, 2015 14 commits
-
-
Nicolas Dichtel authored
When this attribute is set, it means that the i/o part of the related netdevice is in another netns. Signed-off-by:
Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
This new attribute is now advertised by the kernel for x-netns interfaces. It's also possible to set it when an interface is created (and thus creating a x-netns interface with one single message). Example: $ ip netns add foo $ ip netns add bar $ ip -n foo netns set bar 15 $ ip -n foo link add ipip1 link-netnsid 15 type ipip remote 10.16.0.121 local 10.16.0.249 $ ip -n foo link ls ipip1 3: ipip1@NONE: <POINTOPOINT,NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default link/ipip 10.16.0.249 peer 10.16.0.121 link-netnsid 15 Signed-off-by:
Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Nicolas Dichtel authored
The kernel now provides ids for peer netns. This patch implements a new command 'set' to assign an id. When netns are listed, if an id is assigned, it is now displayed. Example: $ ip netns add foo $ ip netns set foo 1 $ ip netns foo (id: 1) init_net Signed-off-by:
Nicolas Dichtel <nicolas.dichtel@6wind.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Just to be aligned with the usage output. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Bryton Lee authored
Signed-off-by:
Bryton Lee <brytonlee01@gmail.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
Vadim Kochan authored
Seems expression parser did not work correctly some long time and such simple things did not work too: # ss -a '( sport = :ssh )' Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
- 21 Feb, 2015 1 commit
-
-
Stephen Hemminger authored
Add net_namespace.h and update other headers
-
- 10 Feb, 2015 3 commits
-
-
Stephen Hemminger authored
-
Stephen Hemminger authored
-
Vadim Kochan authored
Added new '-N NSNAME, --net=NSNAME' option to show socket stats from the specified network namespace name. Signed-off-by:
Vadim Kochan <vadim4j@gmail.com>
-
- 05 Feb, 2015 6 commits
-
-
Stephen Hemminger authored
-
Tom Herbert authored
Add section for additional arguments to GRE, IPIP, and SIT types that are related to Foo-over-UDP and Generic UDP Encapsulation. Also, added an example GUE configuration in the examples section. Signed-off-by:
Tom Herbert <therbert@google.com>
-
Stephen Hemminger authored
-
Tom Herbert authored
This patch adds support to remote checksum checksum offload confinguration for IPIP, SIT, and GRE tunnels. This patch adds a [no]encap-remcsum to ip link command which applicable when configured tunnels that use GUE. http://tools.ietf.org/html/draft-herbert-remotecsumoffload-00 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 \ encap-remcsum This would create an GRE tunnel in GUE encapsulation where the source port is automatically selected (based on hash of inner packet), checksums in the encapsulating UDP header are enabled (needed.for remote checksum offload), and remote checksum ffload is configured to be used on the tunnel (affects TX side). Signed-off-by:
Tom Herbert <therbert@google.com>
-
Stephen Hemminger authored
-
Roopa Prabhu authored
Introduce new option -c[ompressvlans] to request vlan ranges from kernel (pls suggest better option names if this does not look ok) $bridge vlan show port vlan ids dummy0 1 PVID Egress Untagged dummy1 1 PVID Egress Untagged 2 3 4 5 6 7 9 10 12 br0 1 PVID Egress Untagged $bridge help Usage: bridge [ OPTIONS ] OBJECT { COMMAND | help } where OBJECT := { link | fdb | mdb | vlan | monitor } OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -o[neline] | -t[imestamp] | -n[etns] name | -c[ompressvlans] } $bridge -c vlan show port vlan ids dummy0 1 PVID Egress Untagged dummy1 1 PVID Egress Untagged 2-7 9-10 12 br0 1 PVID Egress Untagged Signed-off-by:
Roopa Prabhu <roopa@cumulusnetworks.com>
-