ively simple protocol to try this "sans-io" style
and was happy to start with the state-machine (using Automat). This
forced some good decisions. Then I worked outwards to the "more boring"
bits (framing and serialization/parsing).
(Hmm, this should almost just be a blog-post maybe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
I'm pleased to announce txtorcon 20.0.0. This fixes a few bugs and
officially deprecates Python 2 support.
* Use real GeoIP database or nothing
(https://github.com/meejah/txtorcon/issues/250)
* Change abstract base classes import in preperation
threaded an so only one callback is running at a time. There's no
need to lock etc.
(Or, is there another reason you need to cache to "be async"? Like maybe
it's using memcached or so?)
--
meejah
___
Twisted-Python mailing list
Twisted-P
too.
See e.g. TorState.on_circuit_new()
* fixes to the CI setup to properly test Twisted versions
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/19.1.0
https://github.com/meejah/txtorcon/releases/t
but is way simpler.
Obviously, an RPC-style communication system avoids the startup penalty
(but can be more complex).
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
es twisted web so it will use http2 if the
underlying twisted has been set up to use http2 (by installing the right
things).
p.s. if you need real-time help/discussion, #twisted on freenode is a
friendly and active channel.
Cheers,
meejah
___
Twisted
ocol (which does RPC and PubSub).
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
gt; fwiw, WAMP is a protocol with a clear-cut, rigorous and decoupled
>> layering:
> Do browsers speak WAMP?
Yes. See Autobahn-JS
> Do firewalls get upset with it?
No.
WAMP connections are usually "outbound" style connections to the router,
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/19.0.0
https://github.com/meejah/txtorcon/releases/tag/v19.0.0
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtor
hn repository above.
Here are some "not IOPump" examples using the Twisted "StringTransport"
helper (this isn't WebSocket but should give some ideas):
https://github.com/meejah/txtorcon/blob/master/test/test_torcontrolprotocol.py#L80
--
meejah
__
ourse "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/18.3.0
https://github.com/meejah/txtorcon/releases/tag/v18.3.0
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-18.3.0.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-18.3.
`single_hop=` kwarg
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/18.2.0
https://github.com/meejah/txtorcon/releases/tag/v18.2.0
Releases are also available from the hidden service:
http://timaq4ygg2ie
the remote vs local
connections.
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/18.1.0
https://github.com/meejah/txtorcon/releases/tag/v18.1.0
Releases are also available from the hidden service:
mized t-shirt with your
exploit printed on it and add you to the "Hack Tahoe-LAFS Hall
Of Fame" [13].
ACKNOWLEDGEMENTS
This is the eighteenth release of Tahoe-LAFS to be created
solely as a labor of love by volunteers. Thank you very much
to the team of "hackers in the public interest
con/18.0.1
https://github.com/meejah/txtorcon/releases/tag/v18.0.1
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-18.0.1.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-18.0.1.tar.gz.asc
Or via a "version 3"
nix paths.
* make sure README renders on Warehouse/PyPI
You can download the release from PyPI or GitHub (or of course "pip
install txtorcon"):
https://pypi.python.org/pypi/txtorcon/18.0.0
https://github.com/meejah/txtorcon/releases/tag/v18.0.0
Releases are also ava
Are you using Python3? Then there's "asynchronous context managers". I
finally found a use-case for one in txtorcon, so here's an example:
http://txtorcon.readthedocs.io/en/latest/txtorcon-controller.html#txtorcon.Tor.onion_authentication
deleted following NEWCONSENSUS
* Issue 279: remember proxy endpoint if it was Deferred
You can download the release from PyPI or GitHub (or of course "pip
install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.20.0
https://github.com/meejah/txtorcon/releases/tag/v0.20.0
egration tests that I
wrote for Tahoe-LAFS (which uses Twisted) and which also starts a
25-node Tor test network.
https://meejah.ca/blog/pytest-integration-testing
You probably also want the pytest-twisted extension for pytest. I'm
often around in #twisted or #ta
calls (to help
filtering-proxies).
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.19.3
https://github.com/meejah/txtorcon/releases/tag/v0.19.3
Releases are also available from the hidden servic
n download the release from PyPI or GitHub (or of course "pip
install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.19.2
https://github.com/meejah/txtorcon/releases/tag/v0.19.2
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-0.19.2.tar.gz
htt
umentation, including the new
Programming Guide:
https://txtorcon.readthedocs.io/en/latest/guide.html
* Issue 203: https://github.com/meejah/txtorcon/issues/203
* new helper: txtorcon.Router.get_onionoo_details which downloads
JSON for a particular relay from OnionOO
* new helper: txtorcon.ut
t's easier to tell
"how new" a release is; and big version numbers are cool (just kidding).
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
ing code will continue to work for the forseeable future.
thanks,
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
ux for all my terminal multiplexing needs (it's
great!). Except there's that one machine that still uses "screen"
instead, and I "somehow" got confused about prefix-keys and chorded out
the "send the email" Morse-code instead of the "insert a file" one...
--
m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
txtorcon 0.18.0 is released, improving error-reporting when you have
SAFECOOKIE or COOKIE authentication turned on but can't read the file.
* https://github.com/meejah/txtorcon/issues/200
You can download the release from PyPI or GitHub
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
for `socks_hostname` was incorrectly named
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.17.0
https://github.com/meejah/txtorcon/releases/tag/v0.17.0
Releases are also available from the hidden service
the decorator). It would look like:
myWidget.text = await somethingDeferred()
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
for TorClientEndpoint
(thanks to "dawuud"). Also adds TLS support over SOCKS5.
You can download the release from PyPI or GitHub (or of
course "pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.16.1
https://github.com/meejah/txtorcon/releases/tag/v0.16.1
Releases are
txtorcon runs all tests fine with 16.4.0pre1
Thanks! Lots of great additions, it looks like :)
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
t;pip install txtorcon"):
https://pypi.python.org/pypi/txtorcon/0.15.1
https://github.com/meejah/txtorcon/releases/tag/v0.15.1
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-0.15.1.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-0.15.1.
qt5reactor
qt5reactor.install()
from twisted.internet.task import react
if __name__ == '__main__':
react(print_it)
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
t readable).
* both TorState and TorConfig now have a ``.from_protocol``
class-method.
* spec-compliant string-un-escaping from https://github.com/coffeemakr
* fix https://github.com/meejah/txtorcon/issues/176
You can download the release from PyPI or GitHub (or of
course "pip inst
hich assigns a "self.scheduler" which is usually just gotten by
importing from twisted.internet.reactor -- *but* critically, the tests
can re-assign this:
https://github.com/meejah/txtorcon/blob/master/test/test_addrmap.py#L109
Ideally, this would have been passed-in via the __init
the "open PRs" list (hopefully!)
shorter.
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
nderstanding of the setup is that the
buildbot slaves don't run random PR code, only post-merged-to-master
code).
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
async(item)
d.addCallback(process_an_item, item)
defs.append(d)
yield DeferredList(defs)
Error-handling left as an exercise for the reader :)
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatri
for multiTrust()
just check that they get an IOpenSSLTrustRoot implementation back or do
... something else? That is, currently I'm just confirming this via
asserting IOpenSSLTrustRoot.providedBy(theReturnValue) or so in the
tests. Of course, this means I'm importing the private interface into
the tes
in the near term but haven't
started any direct work on 8151. I'm usually idling in OFTC and Freenode
if anyone has feedback or ideas or wants to help :)
Cheers,
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http
e only way I can see is to construct one of those from a
list of OpenSSL certificate instances and pass that as trustRoot=
Thanks for any hints,
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
meejah <mee...@meejah.ca> writes:
> * add .is_built Deferred to txtorcon.Circuit that gets callback()'d
> when the circuit becomes BUILT
This had a bug in it. I give you 0.14.1:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There was a subtle bug with the Circuit.is_built AP
ticmethods to directly create
TCPHiddenServiceEndpoints attached to existing or launched Tor
instances.
If anyone would like to help, that'd be great; the enhancement ticket
for the "tor:..." endpoints is:
https://github.com/meejah/txtorcon/issues/128
Anything unclear can be discusse
n/0.14.0
https://github.com/meejah/txtorcon/releases/tag/v0.14.0
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-0.14.0.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon-0.14.0.tar.gz.asc
http://timaq4ygg2iegci7.onion/txtorcon-0.14.0-py2-none-any.
, callback, errback)
# ...
txaio.resolve(f0, value)
txaio.reject(f1, RuntimeError(it failed))
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
or GitHub (or of
course pip install txtorcon):
https://pypi.python.org/pypi/txtorcon/0.12.0
https://github.com/meejah/txtorcon/releases/tag/v0.12.0
Releases are also available from the hidden service:
http://timaq4ygg2iegci7.onion/txtorcon-0.12.0.tar.gz
http://timaq4ygg2iegci7.onion/txtorcon
correctly. Of course, Twisted's setup is likely considerably more
complex than mine was :)
Cheers,
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
to find it out :).
Okay, I'll take a look.
--
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
/0.10.1
https://github.com/meejah/txtorcon/releases/tag/v0.10.1
sha256sum reports:
33f04523329b14accb2054b81c5da887c28b402c797ba895dc1ee58824e107f1
txtorcon-0.10.1-py2-none-any.whl
7a6e8fab71fd05c223d866b60b998cf308661ef1fc87d94e06c3b51f4ada4a6a
txtorcon-0.10.1.tar.gz
thanks,
meejah
-BEGIN
can download the release from PyPI or GitHub (or of course use
pip install txtorcon):
https://pypi.python.org/pypi/txtorcon/0.10.0
https://github.com/meejah/txtorcon/releases/tag/v0.10.0
sha256sum reports:
910ff3216035de0a779cfc167c0545266ff1f26687b163fc4655f298aca52d74
txtorcon-0.10.0
the code is in endpoints.py if anyone is interested, here:
https://github.com/meejah/txtorcon/blob/master/txtorcon/endpoints.py#L117
If you do look, I'd certainly appreciate any comments.
(The tests are in test/test_endpoints.py)
Anyway, one really cool thing now that txtorcon supports endpoints
-feature, though :)
Another point for this is that someday tor will have UDP support...
thanks,
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
enriquefynn improving tor binary locating
* strip OK lines in TorControlProtocol
(https://github.com/meejah/txtorcon/issues/8)
* use TERM not KILL when Tor launch times out
(https://github.com/meejah/txtorcon/pull/68) from hellais
* Unit-test coverage now at 98%
sha256 sums for the distribution
github in this respect soon:
https://github.com/gitlabhq/gitlabhq/pull/3597
Cheers,
meejah
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
authenticated sessions now use a password callback
(that may return a Deferred);
. fixes for AddrMap in case Tor ticket #8596 is implemented;
Code and built documentation may be obtained:
git clone git://github.com/meejah/txtorcon.git
https://github.com/meejah/txtorcon
https
thanks,
meejah
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/
iQEcBAEBAgAGBQJQxO+XAAoJEMJgKAMSgGmnRzcH/1Pmo9OwQ4OTDGmTHvPARqER
2FH4noSwgULpNclIB58QEKlkbfCA1yFpZwMUj2dKtnGEz8kxwl1R3TPnjisSRs1f
5qXIaGg1uKAlCW0re2
URIs for ReadTheDocs
Code and built documentation may be obtained:
https://github.com/meejah/txtorcon
https://txtorcon.readthedocs.org/en/latest/index.html
git clone git://github.com/meejah/txtorcon.git
You may also install it directly:
pip install txtorcon
easy_install txtorcon
to circuit_failure_rates.py example to make it actually-useful;
. include built documentation + sources in tarball;
. include tests in tarball;
. improved logging;
. a few patches from mmaker and kneufeld
docs: http://readthedocs.org/docs/txtorcon/en/latest/
code: https://github.com/meejah/txtorcon
https
58 matches
Mail list logo