[tor-commits] [stem/master] Explain what the flags mean

atagar at torproject.org atagar at torproject.org
Tue Feb 17 18:08:21 UTC 2015


commit 52d6b36cbf71e9bdc198df532354ae57cad79cad
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue Feb 17 08:50:53 2015 -0800

    Explain what the flags mean
    
    Explaining what all the netstat args mean as we do for the other commands...
    
      http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/netstat.mspx
---
 stem/util/connection.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stem/util/connection.py b/stem/util/connection.py
index 7e9d43b..e5abaa8 100644
--- a/stem/util/connection.py
+++ b/stem/util/connection.py
@@ -93,7 +93,7 @@ RESOLVER_COMMAND = {
   # -n = prevents dns lookups, -p = include process
   Resolver.NETSTAT: 'netstat -np',
 
-  # -ano is a Windows variant for netstat including pid
+  # -a = show all TCP/UDP connections, -n = numeric addresses and ports, -o = include pid
   Resolver.NETSTAT_WINDOWS: 'netstat -ano',
 
   # -n = numeric ports, -p = include process, -t = tcp sockets, -u = udp sockets





More information about the tor-commits mailing list