commit 514ab9c38dd7311250198387f21f7f60de9beb1f Author: Damian Johnson atagar@torproject.org Date: Sun Jan 24 15:57:53 2016 -0800
Add Onion Box to examples page
Interesting project that was cited on our lists recently...
https://github.com/ralphwetzel/theonionbox --- docs/change_log.rst | 4 ++-- docs/tutorials/double_double_toil_and_trouble.rst | 1 + stem/util/connection.py | 5 ++++- 3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/docs/change_log.rst b/docs/change_log.rst index b1e26a1..b386670 100644 --- a/docs/change_log.rst +++ b/docs/change_log.rst @@ -71,11 +71,11 @@ The following are only available within Stem's `git repository
* **Utilities**
+ * IPv6 support in :func:`~stem.util.connection.get_connections` when resolving with proc, netstat, lsof, or ss (:trac:`18079`) * Added :func:`~stem.util.__init__.datetime_to_unix` - * IPv6 support in :func:`~stem.util.connection.get_connections` * The 'ss' connection resolver didn't work on Gentoo (:trac:`18079`) * Recognize IPv4-mapped IPv6 addresses in our utils (:trac:`18079`) - * Added an **is_ipv6** value to Connection instances + * Added an **is_ipv6** value to :class:`~stem.util.connection.Connection` instances * Allow :func:`stem.util.conf.Config.set` to remove values when provided with a **None** value
* **Interpreter** diff --git a/docs/tutorials/double_double_toil_and_trouble.rst b/docs/tutorials/double_double_toil_and_trouble.rst index a1d897e..bae1ec5 100644 --- a/docs/tutorials/double_double_toil_and_trouble.rst +++ b/docs/tutorials/double_double_toil_and_trouble.rst @@ -61,6 +61,7 @@ Applications `NavigaTor https://naviga-tor.github.io`_ Measures round-trip times for Tor circuits. `TorPS https://www.torproject.org/getinvolved/volunteer.html.en#project-torps`_ Tor path simulator. `Metrics Tasks https://gitweb.torproject.org/metrics-tasks.git/tree`_ One-off tasks related to Tor metrics. These mostly involve using descriptor information to answer a particular question. Tasks that involve Stem are: `1854 https://gitweb.torproject.org/metrics-tasks.git/blob/HEAD:/task-1854/pylinf.py`_, `6232 https://gitweb.torproject.org/metrics-tasks.git/tree/task-6232/pyentropy.py`_, and `7241 https://gitweb.torproject.org/metrics-tasks.git/tree/task-7241/first_pass.py`_. +`Onion Box https://github.com/ralphwetzel/theonionbox`_ Web dashboard for relay operation. `check_tor http://anonscm.debian.org/gitweb/?p=users/lunar/check_tor.git;a=blob;f=check_tor.py;hb=HEAD`_ Nagios check to verify that a relay is participating in the Tor network. `munin-tor https://github.com/mweinelt/munin-tor`_ Plugin to provide Munin graphs. `tbbscraper https://github.com/zackw/tbbscraper/blob/master/controller/controller.py`_ Automated website scraper over Tor. diff --git a/stem/util/connection.py b/stem/util/connection.py index ea7819e..cbc6ac2 100644 --- a/stem/util/connection.py +++ b/stem/util/connection.py @@ -136,6 +136,9 @@ class Connection(collections.namedtuple('Connection', ['local_address', 'local_p """ Network connection information.
+ .. versionchanged:: 1.5.0 + Added the **is_ipv6** attribute. + :var str local_address: ip address the connection originates from :var int local_port: port the connection originates from :var str remote_address: destionation ip address @@ -154,7 +157,7 @@ def get_connections(resolver, process_pid = None, process_name = None): .. versionadded:: 1.1.0
.. versionchanged:: 1.5.0 - IPv6 support when resolving via netstat, lsof, or ss. + IPv6 support when resolving via proc, netstat, lsof, or ss.
:param Resolver resolver: method of connection resolution to use :param int process_pid: pid of the process to retrieve
tor-commits@lists.torproject.org