<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sebastian/stem, branch exit-policy</title>
<subtitle>Sebastian's stem repository</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/'/>
<entry>
<title>test the exit-policy getinfo command</title>
<updated>2016-03-29T04:46:15+00:00</updated>
<author>
<name>Sebastian Hahn</name>
<email>sebastian@torproject.org</email>
</author>
<published>2016-03-29T04:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=a3c9b574a9f95ef2b85b34cb77279c609f5de343'/>
<id>a3c9b574a9f95ef2b85b34cb77279c609f5de343</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update test_get_exit_policy slightly</title>
<updated>2016-03-28T14:18:35+00:00</updated>
<author>
<name>Sebastian Hahn</name>
<email>sebastian@torproject.org</email>
</author>
<published>2016-03-28T11:36:27+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=fc7923035f265a65010630f412f5e6379c37667e'/>
<id>fc7923035f265a65010630f412f5e6379c37667e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Inverted skip checks</title>
<updated>2016-03-27T21:19:01+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2016-03-27T21:19:01+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=7bfc752b69972f7043b260651602b8cb7bc270c4'/>
<id>7bfc752b69972f7043b260651602b8cb7bc270c4</id>
<content type='text'>
Baka, skipped on non-osx rather than osx. Oops.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Baka, skipped on non-osx rather than osx. Oops.
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip couple manual unit tests on OSX</title>
<updated>2016-03-27T21:05:16+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2016-03-27T21:05:16+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=3519790cb186f1442883c928434819c6637e22d9'/>
<id>3519790cb186f1442883c928434819c6637e22d9</id>
<content type='text'>
OSX is still proving an issue for some of these assertions. Skipping the tests
for now...

  https://trac.torproject.org/projects/tor/ticket/18660
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OSX is still proving an issue for some of these assertions. Skipping the tests
for now...

  https://trac.torproject.org/projects/tor/ticket/18660
</pre>
</div>
</content>
</entry>
<entry>
<title>Expand IPv6 addresses from the proc module</title>
<updated>2016-03-27T20:40:44+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2016-03-27T20:40:44+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=a06302ce5547798d5846c0e99fabccc6640c4a1b'/>
<id>a06302ce5547798d5846c0e99fabccc6640c4a1b</id>
<content type='text'>
Sebastian's running into unit test failures because the socket module gives him
a different but equivalent address..

  https://trac.torproject.org/projects/tor/ticket/18659

Normalizing addresses the module gives us.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sebastian's running into unit test failures because the socket module gives him
a different but equivalent address..

  https://trac.torproject.org/projects/tor/ticket/18659

Normalizing addresses the module gives us.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use a real random generator instead of time.time()</title>
<updated>2016-03-27T20:21:00+00:00</updated>
<author>
<name>Sebastian Hahn</name>
<email>sebastian@torproject.org</email>
</author>
<published>2016-03-27T20:19:16+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=52f0d735b5158cc667019d136764d80ab77cb066'/>
<id>52f0d735b5158cc667019d136764d80ab77cb066</id>
<content type='text'>
Fixes spurious issues in the integration tests, ticket #8865.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes spurious issues in the integration tests, ticket #8865.
</pre>
</div>
</content>
</entry>
<entry>
<title>Python3 regression when reading descriptors</title>
<updated>2016-03-27T20:08:28+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2016-03-27T20:08:28+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=a82f7fcfd08174d6edbbb7d120a28ea2d478eea1'/>
<id>a82f7fcfd08174d6edbbb7d120a28ea2d478eea1</id>
<content type='text'>
Oops! Recent commit broke all descriptor parsing for python3, caught by
toralf...

  https://trac.torproject.org/projects/tor/ticket/18658
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Oops! Recent commit broke all descriptor parsing for python3, caught by
toralf...

  https://trac.torproject.org/projects/tor/ticket/18658
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't provide man's '--encoding' argument on OSX</title>
<updated>2016-03-27T19:36:41+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2016-03-27T19:33:02+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=878f90cc3aba39fe86f762ef15bac9f848938f4b'/>
<id>878f90cc3aba39fe86f762ef15bac9f848938f4b</id>
<content type='text'>
Turns out the argument isn't available on OSX. Caught by Sebastian...

  https://trac.torproject.org/projects/tor/ticket/18660
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turns out the argument isn't available on OSX. Caught by Sebastian...

  https://trac.torproject.org/projects/tor/ticket/18660
</pre>
</div>
</content>
</entry>
<entry>
<title>Explicit non-ascii content validation</title>
<updated>2016-03-26T23:53:53+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2016-03-26T23:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=27a654e2e0495c7ac701d792e7db7ed47d4e9753'/>
<id>27a654e2e0495c7ac701d792e7db7ed47d4e9753</id>
<content type='text'>
Few hours ago a relay started publishing a malformed extrainfo descriptor...

  https://trac.torproject.org/projects/tor/ticket/18656

This is fine, bugs happen. This is why we check for malformed content. But
this one cost me a few hours since the non-ascii content then caused DocTor to
choke, providing me a useless stacktrace...

  Traceback (most recent call last):
    File "./descriptor_checker.py", line 99, in &lt;module&gt;
      main()
    File "./descriptor_checker.py", line 57, in main
      log.warn("Unable to retrieve the %s: %s" % (descriptor_type, query.error))
  UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 76: ordinal not in range(128)

Instead now it provides...

  source: http://86.59.21.38:80/tor/extra/all.z
  time: 03/26/2016 16:30
  error: 'dirreq-v3-reqs' line had non-ascii content: S?=4026597208,S?=4026597208,S?=4026597208,S?=4026597208,S?=4026597208,S?=4026597208,??=4026591624,6?=4026537520,6?=4026537520,6?=4026537520,us=8

Non-ascii strings are toxic for systems they're in. They break printing,
logging, exception handling, and anything else that touches them unless they're
handled specially.

Changing Stem to explicitly validate that content is ascii, and provide the
user with escaped strings in those exceptions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Few hours ago a relay started publishing a malformed extrainfo descriptor...

  https://trac.torproject.org/projects/tor/ticket/18656

This is fine, bugs happen. This is why we check for malformed content. But
this one cost me a few hours since the non-ascii content then caused DocTor to
choke, providing me a useless stacktrace...

  Traceback (most recent call last):
    File "./descriptor_checker.py", line 99, in &lt;module&gt;
      main()
    File "./descriptor_checker.py", line 57, in main
      log.warn("Unable to retrieve the %s: %s" % (descriptor_type, query.error))
  UnicodeEncodeError: 'ascii' codec can't encode character u'\ufffd' in position 76: ordinal not in range(128)

Instead now it provides...

  source: http://86.59.21.38:80/tor/extra/all.z
  time: 03/26/2016 16:30
  error: 'dirreq-v3-reqs' line had non-ascii content: S?=4026597208,S?=4026597208,S?=4026597208,S?=4026597208,S?=4026597208,S?=4026597208,??=4026591624,6?=4026537520,6?=4026537520,6?=4026537520,us=8

Non-ascii strings are toxic for systems they're in. They break printing,
logging, exception handling, and anything else that touches them unless they're
handled specially.

Changing Stem to explicitly validate that content is ascii, and provide the
user with escaped strings in those exceptions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding the NoEdConsensus flag</title>
<updated>2016-03-25T16:21:35+00:00</updated>
<author>
<name>Damian Johnson</name>
<email>atagar@torproject.org</email>
</author>
<published>2016-03-25T16:21:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.torproject.org/user/sebastian/stem.git/commit/?id=50f94029003cee86fe42a8eea4ede3b1792a01f4'/>
<id>50f94029003cee86fe42a8eea4ede3b1792a01f4</id>
<content type='text'>
Dirspec recently got a new flag. Reflecting that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dirspec recently got a new flag. Reflecting that.
</pre>
</div>
</content>
</entry>
</feed>
