[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #12125 [Pluggable transport]: Proposal 232 (TOR_PT_PROXY) support for goptlib
#12125: Proposal 232 (TOR_PT_PROXY) support for goptlib
-------------------------------------+---------------------
Reporter: dcf | Owner: dcf
Type: project | Status: new
Priority: normal | Milestone:
Component: Pluggable transport | Version:
Resolution: | Keywords: goptlib
Actual Points: | Parent ID:
Points: |
-------------------------------------+---------------------
Comment (by yawning):
Welp, I likewise spent the evening working on this for obfs4proxy (SOCKSv5
works through the magic of library code, I'll write SOCKSv4/HTTP support
next).
My `ProxyError`/`ProxyDone` routines are basically identical. I went with
having a `ptGetProxy()` routine and I currently do more validation (check
vs known scheme types, validate that the rest of the URI is sane) since I
stole the code I wrote for pyptlib, and need to have those checks anyway.
https://github.com/Yawning/obfs4/blob/master/obfs4proxy/pt_extras.go#L83
Changing my code to use your interface at a later date is no problem for
me.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12125#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs