[tor-commits] r24537: {arm} Connection reordering, putting them in logical groupings (re (arm/trunk/src/interface/connections)

Damian Johnson atagar1 at gmail.com
Sat Apr 2 22:42:48 UTC 2011


Author: atagar
Date: 2011-04-02 22:42:48 +0000 (Sat, 02 Apr 2011)
New Revision: 24537

Modified:
   arm/trunk/src/interface/connections/connEntry.py
Log:
Connection reordering, putting them in logical groupings (relay, client, other)



Modified: arm/trunk/src/interface/connections/connEntry.py
===================================================================
--- arm/trunk/src/interface/connections/connEntry.py	2011-04-02 22:10:13 UTC (rev 24536)
+++ arm/trunk/src/interface/connections/connEntry.py	2011-04-02 22:42:48 UTC (rev 24537)
@@ -13,16 +13,17 @@
 #   Inbound      Relay connection, coming to us.
 #   Outbound     Relay connection, leaving us.
 #   Exit         Outbound relay connection leaving the Tor network.
-#   Client       Circuits for our client traffic.
-#   Program      Socks connections for applications using Tor.
+#   Hidden       Connections to a hidden service we're providing.
+#   Socks        Socks connections for applications using Tor.
+#   Circuit      Circuits our tor client has created.
 #   Directory    Fetching tor consensus information.
 #   Control      Tor controller (arm, vidalia, etc).
 
-Category = enum.Enum("INBOUND", "OUTBOUND", "EXIT", "CIRCUIT", "DIRECTORY", "SOCKS", "HIDDEN", "CONTROL")
+Category = enum.Enum("INBOUND", "OUTBOUND", "EXIT", "HIDDEN", "SOCKS", "CIRCUIT", "DIRECTORY", "CONTROL")
 CATEGORY_COLOR = {Category.INBOUND: "green",      Category.OUTBOUND: "blue",
-                  Category.EXIT: "red",           Category.CIRCUIT: "cyan",
-                  Category.DIRECTORY: "magenta",  Category.SOCKS: "yellow",
-                  Category.HIDDEN: "magenta",     Category.CONTROL: "red"}
+                  Category.EXIT: "red",           Category.HIDDEN: "magenta",
+                  Category.SOCKS: "yellow",       Category.CIRCUIT: "cyan",
+                  Category.DIRECTORY: "magenta",  Category.CONTROL: "red"}
 
 # static data for listing format
 # <src>  -->  <dst>  <etc><padding>



More information about the tor-commits mailing list