[PATCH] ss: Make leading ":" always optional for sport and dport

2021-02-14 Thread Thayne McCombs
a ":" to work. The vsock family required the ":" to be absent. The inet and inet6 families work with or without a leading ":". This makes the leading ":" optional in all cases, so if sport or dport are used, then it works with a leading ":" or wit

[PATCH iproute2-next] ss: Make leading ":" always optional for sport and dport

2021-02-05 Thread Thayne McCombs
The sport and dport conditions in expressions were inconsistent on whether there should be a ":" at the beginning of the port when only a port was provided depending on the family. The link and netlink families required a ":" to work. The vsock family required the ":" to be absent. The inet and ine

Re: [PATCH] Add documentation of ss filter to man page

2021-02-02 Thread Thayne McCombs
Awesome! Thank you very much! Sorry about the spelling errors.

[PATCH ip-route2-next v2] ss: always prefer family as part of host condition to default family

2021-02-01 Thread Thayne McCombs
he order that different families are checked. This changes parse_hostcond to check all family prefixes before parsing the rest of the address, so that the host condition's family always has a higher priority than the "preferred" family. Signed-off-by: Thayne McCom

[PATCH iproute2-next] ss: Add clarification about host conditions with multiple familes to man

2021-02-01 Thread Thayne McCombs
et6)? Anyway, for now, this patch just notes the limitation in the man page. Signed-off-by: Thayne McCombs --- man/man8/ss.8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man/man8/ss.8 b/man/man8/ss.8 index 3da279f9..3c4beede 100644 --- a/man/man8/ss.8 +++ b/man/man8/

[PATCH iproute2-next] ss: always prefer family as part of host condition to default family

2021-01-31 Thread Thayne McCombs
check all family prefixes before parsing the rest of the address, so that the host condition's family always has a higher priority than the "preferred" family. Signed-off-by: Thayne McCombs --- misc/ss.c | 50 -- 1 file changed, 24 in

Re: [PATCH] Add documentation of ss filter to man page

2021-01-30 Thread Thayne McCombs
Oh. I think I should have added "[PATCH iproute2-next] ss:" to my subject line. Sorry, this was my first post to this list.

[PATCH] Add documentation of ss filter to man page

2021-01-28 Thread Thayne McCombs
This adds some documentation of the syntax for the FILTER argument to the ss command to the ss (8) man page. Signed-off-by: Thayne McCombs --- man/man8/ss.8 | 105 ++ 1 file changed, 105 insertions(+) diff --git a/man/man8/ss.8 b/man/man8/ss.8

[PATCH] Add documentation of fiter syntax to ss manpage

2020-10-11 Thread Thayne
Since the documentation currently referenced in the manpage no longer exists. --- man/man8/ss.8 | 75 ++- 1 file changed, 74 insertions(+), 1 deletion(-) diff --git a/man/man8/ss.8 b/man/man8/ss.8 index 3b2559ff..f9e629f6 100644 --- a/man/man8/ss.8

Documentation for filters in ss

2019-10-16 Thread Thayne
The man page for ss(8) states: > Please take a look at the official documentation for details regarding > filters. However, I have been unable to find any documentation on the filters for ss, official or otherwise. There was some documentation that was removed in commit d77ce080d33370d90de8b12