Public bug reported:

When in Ubuntu Bionic, if one calls:

$ sudo ss -Hnp -o state established 'dport = 22' src 127.0.0.1 dst 127.0.0.1
tcp              0                    0                                   
127.0.0.1:58910                             127.0.0.1:22               
users:(("ssh",pid=11672,fd=3)) timer:(keepalive,119min,0)

it works. Just like when in Groovy:

$ sudo ss -Hnp -o state established 'dport = 22' src 127.0.0.1 dst 127.0.0.1
tcp               0                    0                                  
127.0.0.1:58908                             127.0.0.1:22               
users:(("ssh",pid=1488591,fd=3)) timer:(keepalive,119min,0)

but.. if there is nothing to show, in Bionic we get a segfault:

$ sudo ss -Hnp -o state established 'dport = 22' src 127.0.0.1 dst 127.0.0.1
Segmentation fault

** Affects: iproute2 (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: iproute2 (Ubuntu Bionic)
     Importance: Undecided
     Assignee: Rafael David Tinoco (rafaeldtinoco)
         Status: Confirmed

** Changed in: iproute2 (Ubuntu)
       Status: New => Confirmed

** Also affects: iproute2 (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: iproute2 (Ubuntu Bionic)
       Status: New => Confirmed

** Changed in: iproute2 (Ubuntu)
       Status: Confirmed => Fix Released

** Changed in: iproute2 (Ubuntu Bionic)
     Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913187

Title:
  iproute2 segfaults when filtering sockets

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1913187/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to