Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 661551 Details for
Bug 829630
ss -a lists only TCP sockets
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
ss - change default filter to include all socket types
0001-ss-change-default-filter-to-include-all-socket-types.patch (text/plain), 1023 bytes, created by
Petr Šabata
on 2012-12-11 16:44:13 UTC
(
hide
)
Description:
ss - change default filter to include all socket types
Filename:
MIME Type:
Creator:
Petr Šabata
Created:
2012-12-11 16:44:13 UTC
Size:
1023 bytes
patch
obsolete
>From 2bfc0259014b4df0c9114b5c8777a048f7176508 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk@redhat.com> >Date: Tue, 11 Dec 2012 17:35:07 +0100 >Subject: [PATCH] iproute2: ss - change default filter to include all socket types >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Currently the default filter lists TCP sockets only which is >rather confusing especially when the '-a/--all' flag is used. >This patch changes the default to include all sockets, imitating >netstat(8) behavior. > >Signed-off-by: Petr Å abata <contyk@redhat.com> >--- > misc/ss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/ss.c b/misc/ss.c >index b45f5ba..b8cd60d 100644 >--- a/misc/ss.c >+++ b/misc/ss.c >@@ -105,7 +105,7 @@ struct filter > }; > > struct filter default_filter = { >- .dbs = (1<<TCP_DB), >+ .dbs = ~0, > .states = SS_ALL & ~((1<<SS_LISTEN)|(1<<SS_CLOSE)|(1<<SS_TIME_WAIT)|(1<<SS_SYN_RECV)), > .families= (1<<AF_INET)|(1<<AF_INET6), > }; >-- >1.7.11.7 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 829630
: 661551