[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-08-01 Thread Rafael David Tinoco
Chrony issue was solved in here: https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1836929 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems broken when using multiple filte

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-22 Thread Launchpad Bug Tracker
This bug was fixed in the package iproute2 - 4.18.0-1ubuntu2.1 --- iproute2 (4.18.0-1ubuntu2.1) disco; urgency=medium * d/p/ss-review-ssfilter.patch: fixed issue with ss and ssfilter where ssfilter rejects single expressions if enclosed in braces (LP: #1831775) -- Rafael D

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-17 Thread Rafael David Tinoco
According to LP: #1836929 I've done the following merge request: https://code.launchpad.net/~rafaeldtinoco/britney/hints- ubuntu/+merge/370268 requesting tests before eoan to be classified as "bad tests". Thus, those failures are "false positives" and SRU is good. I have also verified the SRU

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-17 Thread Rafael David Tinoco
This happens because output of clknetsim was modified and the following regex: # Check if only NTP port (123) was used check_packet_port() { local i ret=0 port=123 test_message 2 1 "checking port numbers in packet log:" + set -x + + cp tmp/log.packets /tmp/mine.log.packets +

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-17 Thread Rafael David Tinoco
(c)inaddy@iproute2verification:~/work/sources/ubuntu/chrony/test/simulation/clknetsim$ git bisect bad 537cb7161de9ad372437ab0fcbff76e54a3cd97a is the first bad commit commit 537cb7161de9ad372437ab0fcbff76e54a3cd97a Author: Miroslav Lichvar Date: Tue Jun 11 17:05:22 2019 +0200 add message t

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-17 Thread Rafael David Tinoco
Issue happens because of the "upstream" "git cloned" clknetsim test dependencies. The tests clone upstream clknetsim repo. Using an old version of clknetsim I was able to make the test 111 to pass: (c)inaddy@iproute2verification:~/work/sources/ubuntu/chrony/test/simulation$ ./111-knownclient Tes

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-17 Thread Rafael David Tinoco
Chrony issue being investigated here: https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1836929 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems broken when using multiple

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-17 Thread Rafael David Tinoco
I have downgraded iproute2 package (using -updates pocket) and it also gave the same errors: (c)inaddy@iproute2verification:~/work/sources/ubuntu/chrony/test/simulation$ ./111-knownclient Testing reply to client configured as server: network with 1*1 servers and 1 clients: ... checking por

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-17 Thread Rafael David Tinoco
(c)inaddy@iproute2verification:~/work/sources/ubuntu/chrony/test/simulation$ ./111-knownclient Testing reply to client configured as server: network with 1*1 servers and 1 clients: non-default settings: client_conf=acquisitionport 123 server_conf=server 192.168.123.2 noselect acq

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-17 Thread Rafael David Tinoco
# disco verification: (c)inaddy@iproute2verification:~$ ss -tn state established "( src [172.16.17.2] || src [172.16.17.3] )" "( sport == :2049 )" Recv-Q Send-QLocal Address:Port Peer Address:Port # migration issue (chrony rev dependenc

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-17 Thread Rafael David Tinoco
Actually they are not intermittent, they started happening after ... The upstream merge request into eoan I commented about: https://code.launchpad.net/~paelzer/ubuntu/+source/chrony/+git/chrony/+merge/370185 and my comment: https://code.launchpad.net/~paelzer/ubuntu/+source/chrony/+git/chrony/

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-15 Thread Łukasz Zemczak
Hello Rafael, or anyone else affected, Accepted iproute2 into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/iproute2/4.18.0-1ubuntu2.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-11 Thread Christian Ehrhardt 
The Disco upload is in disco-unapproved waiting for the SRU Teams review now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems broken when using multiple filters in the same cmd

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-11 Thread Rafael David Tinoco
Small clarification, I think the new Eoan merge with upstream will take care of the fix in comment #7. Nevertheless, the SRU for disco can be done with: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+ref/lp1831775 -disco-sru-iproute2 I need sponsoring for that ^.

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-07-01 Thread Rafael David Tinoco
Marking cosmic as won't fix due to its EOL. Only thing here is SRU to Disco. This will become important whenever CTDB merge happens and SRU is done on bug: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/722201 ** Changed in: iproute2 (Ubuntu Cosmic) Status: In Progress => Won't Fix -

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-21 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~smb/ubuntu/+source/iproute2/+git/iproute2/+merge/369140 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems broken when us

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-17 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~smb/ubuntu/+source/iproute2/+git/iproute2/+merge/368924 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems broken when us

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-13 Thread Launchpad Bug Tracker
This bug was fixed in the package iproute2 - 4.18.0-1ubuntu3 --- iproute2 (4.18.0-1ubuntu3) eoan; urgency=medium * d/p/ss-review-ssfilter.patch: fixed issue with ss and ssfilter where ssfilter rejects single expressions if enclosed in braces (LP: #1831775) -- Rafael David

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Rafael David Tinoco
** Merge proposal unlinked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368408 ** Merge proposal unlinked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368410 ** Merge proposal unlinked: https://code.

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368422 ** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368423 -- You received this bug notification because yo

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368421 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems brok

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368420 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems brok

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Rafael David Tinoco
** Merge proposal unlinked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368407 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems br

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368411 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems brok

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Rafael David Tinoco
Eoan merge request: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368411 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems broken when u

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Rafael David Tinoco
Disco merge request: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368410 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems broken when

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368410 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems brok

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Rafael David Tinoco
** Description changed: [Impact] - * ss can't filter using single entries in parentheses +  * ss won't be able to run commands with single filters inside + parentheses, like: "( sport == :X )", for example. + + * A workaround is to remove "( )" from single filters, since it looks + the iss

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368408 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems brok

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Rafael David Tinoco
Cosmic merge request: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368407 ** Description changed: + [Impact] + + * ss can't filter using single entries in parentheses + + [Test Case] + + * ss -tn state established "( src [172.16.17.2] || src [172.16.

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/iproute2/+git/iproute2/+merge/368407 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1831775 Title: ss seems brok

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Rafael David Tinoco
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: bi

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Rafael David Tinoco
I'm notifying Stefan about this issue. Will focus in the SRU of this problem and wait for the iproute2 merge for Eoan. Debian is already at 4.20, that is enough to fix this issue: 13:51 would be any problem in merging with debian-unstable for eoan ? 13:52 yeah, but not so much this week. for eo

[Bug 1831775] Re: ss seems broken when using multiple filters in the same cmdline

2019-06-05 Thread Rafael David Tinoco
https://github.com/shemminger/iproute2/commit/38d209ecf2ae966b9b25de4acb60cdffb0e06ced This commit looks like a fix for this issue: ss: Review ssfilter The original problem was ssfilter rejecting single expressions if enclosed in braces, such as: | sport = 22 or ( dport = 22 ) This is fixed by