Skip to contentSkip to conversation

what/where is ss tool ?

DISCUSSION Applied Maciej Soltysiak 6 participants 9 messages Dec 22, 2004 – Dec 28, 2004 Networking

lore
Share & tools
lore
#0 lore raw

Hi,

Reading help about tcp diagnostics we can read:

"Support for TCP socket monitoring interface used by native Linux tools such as ss."

I have not heard of this tool yet, where can i fetch it from? I tried using google but with no good results.

Regards,
Maciej

#1 lore raw
Quoted 9 lines · Maciej Soltysiak

Hi,

Reading help about tcp diagnostics we can read:

"Support for TCP socket monitoring interface used by native Linux tools such as ss."

I have not heard of this tool yet, where can i fetch it from? I tried using google but with no good results.

It comes with iproute2 (developer.osdl.org/dev/iproute2).

Regards
Patrick

#2 lore raw

Thanks Patrick!

Maybe we could add a line to the help so people, like me, that were not aware that ss exists.
AFAICS ss appeared not so long ago, I think many distributions are still using versions that do not have ss.
Or I may be wrong.

Regards,
Maciej

net/ipv4/Kconfig +0 -0
diff -ru linux.orig/net/ipv4/Kconfig linux/net/ipv4/Kconfig
@@ -355,7 +355,8 @@
	default y
	---help---
	  Support for TCP socket monitoring interface used by native Linux
-	  tools such as ss.
+	  tools such as ss. ss comes from iproute2.
+	  http://developer.osdl.org/dev/iproute2/

If unsure, say Y.

net/ipv4/Kconfig +2 -1
diff -ru linux.orig/net/ipv4/Kconfig linux/net/ipv4/Kconfig
@@ -355,7 +355,8 @@
 	default y
 	---help---
 	  Support for TCP socket monitoring interface used by native Linux
-	  tools such as ss.
+	  tools such as ss. ss comes from iproute2.
+	  http://developer.osdl.org/dev/iproute2/
 	  
 	  If unsure, say Y.
 
#3 lore raw
Quoted 14 lines · Maciej Soltysiak

Thanks Patrick!

Maybe we could add a line to the help so people, like me, that were not aware that ss exists.
AFAICS ss appeared not so long ago, I think many distributions are still using versions that do not have ss.
Or I may be wrong.

Regards,
Maciej
diff -ru linux.orig/net/ipv4/Kconfig linux/net/ipv4/Kconfig

net/ipv4/Kconfig line 359

Quoted 6 lines
net/ipv4/Kconfig +2 -1
@@ -355,7 +355,8 @@
 	default y
 	---help---
 	  Support for TCP socket monitoring interface used by native Linux
-	  tools such as ss.
+	  tools such as ss. ss comes from iproute2.
+	  http://developer.osdl.org/dev/iproute2/

Add also "if you wish to view IPv6 addresses (Local/Peer Address) with ss, IPv6 support must be built into the kernel (not as a module)."

Quoted 1 line
net/ipv4/Kconfig +0 -0
 	  If unsure, say Y.
#4 lore raw

Hi Dave,

please apply this patch which gives users a pointer where to find the ss tool and adds an explanation about TCPDIAG and IPV6.

Regards
Patrick

Quoted 10 lines · Sami Farin
Quoted 8 lines · Maciej Soltysiak

Thanks Patrick!

Maybe we could add a line to the help so people, like me, that were not aware that ss exists.
AFAICS ss appeared not so long ago, I think many distributions are still using versions that do not have ss.
Or I may be wrong.

Quoted 21 lines

net/ipv4/Kconfig line 359

Quoted 12 lines

Regards,
Maciej
diff -ru linux.orig/net/ipv4/Kconfig linux/net/ipv4/Kconfig

net/ipv4/Kconfig +2 -1
@@ -355,7 +355,8 @@
 	default y
 	---help---
 	  Support for TCP socket monitoring interface used by native Linux
-	  tools such as ss.
+	  tools such as ss. ss comes from iproute2.
+	  http://developer.osdl.org/dev/iproute2/

Add also "if you wish to view IPv6 addresses (Local/Peer Address) with ss, IPv6 support must be built into the kernel (not as a module)."

Quoted 1 line
net/ipv4/Kconfig +0 -0
 	  If unsure, say Y.

===== net/ipv4/Kconfig 1.23 vs edited =====

net/ipv4/Kconfig +4 -1
@@ -355,7 +355,10 @@
 	default y
 	---help---
 	  Support for TCP socket monitoring interface used by native Linux
-	  tools such as ss.
+	  tools such as ss. ss is included in iproute2, currently downloadable
+	  at http://developer.osdl.org/dev/iproute2/. If you want IPv6 support
+	  and have selected IPv6 as a module, you need to built this as a
+	  module too.
 	  
 	  If unsure, say Y.
 
#5 lore raw

net/ipv4/Kconfig line 361

Quoted 9 lines · Patrick McHardy

Hi Dave,

please apply this patch which gives users a pointer where to find the ss tool and adds an explanation about TCPDIAG and IPV6.

net/ipv4/Kconfig +2 -0
+	  and have selected IPv6 as a module, you need to built this as a
+	  module too.

Patrick, I caught one minor typo. "you need to built this" should read, "you need to *build* this".

Signature · 9 lines
Sean E. Fao

Capital Genomix
9290 Gaither Road
Gaithersburg, MD.  20877

Phone: (301) 977-3224
Fax: (301) 977-3613
Web: http://www.capitalgenomix.com
#6 lore raw
In reply to Patrick McHardy

In article <[email protected]> (at Wed, 22 Dec 2004 13:57:08 +0100), Patrick McHardy <[email protected]> says:

net/ipv4/Kconfig line 362

Quoted 13 lines

===== net/ipv4/Kconfig 1.23 vs edited =====

net/ipv4/Kconfig +4 -1
@@ -355,7 +355,10 @@
 	default y
 	---help---
 	  Support for TCP socket monitoring interface used by native Linux
-	  tools such as ss.
+	  tools such as ss. ss is included in iproute2, currently downloadable
+	  at http://developer.osdl.org/dev/iproute2/. If you want IPv6 support
+	  and have selected IPv6 as a module, you need to built this as a
+	  module too.
 

would you enclose URL by <>, like <http://...>?

--yoshfuji

#7 lore raw
Quoted 4 lines · YOSHIFUJI

would you enclose URL by <>, like <http://...>?

--yoshfuji

Updated patch attached, thanks everyone.

===== net/ipv4/Kconfig 1.23 vs edited =====

net/ipv4/Kconfig +4 -1
@@ -355,7 +355,10 @@
 	default y
 	---help---
 	  Support for TCP socket monitoring interface used by native Linux
-	  tools such as ss.
+	  tools such as ss. ss is included in iproute2, currently downloadable
+	  at <http://developer.osdl.org/dev/iproute2>. If you want IPv6 support
+	  and have selected IPv6 as a module, you need to build this as a
+	  module too.
 	  
 	  If unsure, say Y.
 
maintainer Applied
#8 lore raw
Quoted 7 lines · On Wed, 22 Dec 2004 14:39:33 +0100 Patrick McHardy <[email protected]> wrote:
Quoted 4 lines · YOSHIFUJI

would you enclose URL by <>, like <http://...>?

--yoshfuji

Updated patch attached, thanks everyone.

Applied, thanks Patrick.