Comment 3 for bug 1831775

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

I confirm patch:

https://github.com/shemminger/iproute2/commit/38d209ecf2ae966b9b25de4acb60cdffb0e06ced

Fixes the issue.

Without the patch:

(c)inaddy@ctdb:~/work/sources/ubuntu/iproute2/misc$ sudo ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
ss: bison bellows (while parsing filter): "syntax error!" Sorry.
Usage: ss [ OPTIONS ]
       ss [ OPTIONS ] [ FILTER ]

Patch applied:

(c)inaddy@ctdb:~/work/sources/ubuntu/iproute2/misc$ sudo ./ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )"
Recv-Q Send-Q Local Address:Port Peer Address:Port

Will prepare the SRUs.