<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/phw/exitmap, branch v2016.04.21</title>
<subtitle>Philipp's exitmap repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/'/>
<entry>
<title>Refactor logging and enable logging to file.</title>
<updated>2016-04-21T22:14:33+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-21T15:59:39+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=52ac9c18fd1f1627076e41f143ca0455fd6be9ec'/>
<id>52ac9c18fd1f1627076e41f143ca0455fd6be9ec</id>
<content type='text'>
This commit adds the command line options "-o" and "--logfile" that
enable logging to file.  This functionality required minor restructuring
that led to a simplification of the logging code.  In particular:

- We get rid of log.py because it was never really necessary.

- We use named loggers, so it's easier to figure out what module logged
  a given message.

- We rename our logging object from "logger" to "log" to make the code
  more readable.

- The restructuring means that we now also get to see Stem's logging
  messages.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the command line options "-o" and "--logfile" that
enable logging to file.  This functionality required minor restructuring
that led to a simplification of the logging code.  In particular:

- We get rid of log.py because it was never really necessary.

- We use named loggers, so it's easier to figure out what module logged
  a given message.

- We rename our logging object from "logger" to "log" to make the code
  more readable.

- The restructuring means that we now also get to see Stem's logging
  messages.
</pre>
</div>
</content>
</entry>
<entry>
<title>Syntax cleanup.</title>
<updated>2016-04-15T04:01:02+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-15T04:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=07765506cfd49e4fd257dbe735263cb28d4b480c'/>
<id>07765506cfd49e4fd257dbe735263cb28d4b480c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Mention three new modules.</title>
<updated>2016-04-15T03:26:49+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-15T03:26:49+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=adf77653eb738d551862da97c43edf3ab4f89507'/>
<id>adf77653eb738d551862da97c43edf3ab4f89507</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>List round-trip time module.</title>
<updated>2016-04-15T03:23:33+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-15T03:23:33+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=3d64a96e9d08a0e5d7169dbab6276fb25034ac4c'/>
<id>3d64a96e9d08a0e5d7169dbab6276fb25034ac4c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add command line option for random build delays.</title>
<updated>2016-04-14T14:57:35+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-13T21:31:41+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=a20713b793baf3b71f1cb98a083a6bb27667f82f'/>
<id>a20713b793baf3b71f1cb98a083a6bb27667f82f</id>
<content type='text'>
This command line option hopefully makes it a little bit more difficult
for vigilant adversaries to discover our scanning activity.  It adds a
random value to the time delay between two subsequent circuit creations.
As a result, if an adversary monitors circuit creation timings, our
signal should be less periodic and thus less obvious.

We implement this feature by exposing a command line argument that
determines a random time delay in the interval [0, DELAY_NOISE).  This
delay is then either added to or subtracted from (both with probability
0.5) the given build delay.  By default, the argument is 0, and
therefore not in effect.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This command line option hopefully makes it a little bit more difficult
for vigilant adversaries to discover our scanning activity.  It adds a
random value to the time delay between two subsequent circuit creations.
As a result, if an adversary monitors circuit creation timings, our
signal should be less periodic and thus less obvious.

We implement this feature by exposing a command line argument that
determines a random time delay in the interval [0, DELAY_NOISE).  This
delay is then either added to or subtracted from (both with probability
0.5) the given build delay.  By default, the argument is 0, and
therefore not in effect.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add missing import.</title>
<updated>2016-04-13T20:31:53+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-13T20:31:53+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=46452c2548f5085eb0a4258bdd39247b81761eb9'/>
<id>46452c2548f5085eb0a4258bdd39247b81761eb9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix PyPy 2.6.1 issue.</title>
<updated>2016-04-11T14:15:14+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-11T14:15:14+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=fd102fea558761fb3eb6dc75468c027941ff6a9c'/>
<id>fd102fea558761fb3eb6dc75468c027941ff6a9c</id>
<content type='text'>
Travis CI discovered that PyPy in version 2.6.1 apparently lacks the
ENOTSUP variable.  This commit defines the variable if it does not exist
already.  The exact test error was:

  ============================= test session starts ==============================

  platform linux2 -- Python 2.7.10[pypy-2.6.1-final], pytest-2.8.5, py-1.4.31, pluggy-0.3.1

  rootdir: /home/travis/build/NullHypothesis/exitmap, inifile:

  plugins: cov-2.2.1

  collected 8 items / 1 errors

  test/test_relayselector.py .

  test/test_stats.py .

  test/test_util.py ......

  ==================================== ERRORS ====================================

  ____________________ ERROR collecting test/test_torsocks.py ____________________

  test/test_torsocks.py:24: in &lt;module&gt;

      import torsocks

  src/torsocks.py:61: in &lt;module&gt;

      0x07: errno.ENOTSUP,      # Command not supported / protocol error

  E   AttributeError: 'module' object has no attribute 'ENOTSUP'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Travis CI discovered that PyPy in version 2.6.1 apparently lacks the
ENOTSUP variable.  This commit defines the variable if it does not exist
already.  The exact test error was:

  ============================= test session starts ==============================

  platform linux2 -- Python 2.7.10[pypy-2.6.1-final], pytest-2.8.5, py-1.4.31, pluggy-0.3.1

  rootdir: /home/travis/build/NullHypothesis/exitmap, inifile:

  plugins: cov-2.2.1

  collected 8 items / 1 errors

  test/test_relayselector.py .

  test/test_stats.py .

  test/test_util.py ......

  ==================================== ERRORS ====================================

  ____________________ ERROR collecting test/test_torsocks.py ____________________

  test/test_torsocks.py:24: in &lt;module&gt;

      import torsocks

  src/torsocks.py:61: in &lt;module&gt;

      0x07: errno.ENOTSUP,      # Command not supported / protocol error

  E   AttributeError: 'module' object has no attribute 'ENOTSUP'
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove broken unit tests.</title>
<updated>2016-04-11T03:24:45+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-11T03:24:45+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=6bfa04a9e27e969a4d7d1d8ef3beb537c7eabb49'/>
<id>6bfa04a9e27e969a4d7d1d8ef3beb537c7eabb49</id>
<content type='text'>
After torsocks.py and relayselector.py have been refactored, we will
have to rewrite the unit tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
After torsocks.py and relayselector.py have been refactored, we will
have to rewrite the unit tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use correct variable.</title>
<updated>2016-04-11T03:24:21+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-11T03:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=4a2665f050e1341df0253684b9d949b53a38ae60'/>
<id>4a2665f050e1341df0253684b9d949b53a38ae60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #48 from zackw/master</title>
<updated>2016-04-11T03:05:24+00:00</updated>
<author>
<name>Philipp Winter</name>
<email>phw@nymity.ch</email>
</author>
<published>2016-04-11T03:05:24+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/phw/exitmap.git/commit/?id=d3d197a92e83fa8d48183e604476b96cda43ff59'/>
<id>d3d197a92e83fa8d48183e604476b96cda43ff59</id>
<content type='text'>
RFC: New module 'rtt' and a bunch of changes in aid of what it does</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RFC: New module 'rtt' and a bunch of changes in aid of what it does</pre>
</div>
</content>
</entry>
</feed>
