Thanks very much David, that's exactly what I needed!

The pluggable transports page on the website still points at the old 180 proposal.  Do you know whom I should ping to get that updated to point at pt-spec.txt?


Cheers,
Ox

-----------------------------------------------------------------------------------------

"I love people who harness themselves, an ox to a heavy cart,
who pull like water buffalo, with massive patience,
who strain in the mud and the muck to move things forward,
who do what has to be done, again and again."

- Marge Piercy



On Wed, Jan 29, 2014 at 6:19 PM, David Fifield <david@bamsoftware.com> wrote:
On Wed, Jan 29, 2014 at 03:24:51PM -0600, Ox Cart wrote:
> I'm interested in writing a pluggable transport for Tor.  Is this spec a good
> place to start?
>
> https://gitweb.torproject.org/torspec.git/blob/HEAD:/proposals/180-pluggable-transport.txt

Better than proposal 180 is pt-spec.txt, which is more up to date.
https://gitweb.torproject.org/torspec.git/blob/HEAD:/pt-spec.txt

For the extended OR port on the server side, see
https://gitweb.torproject.org/torspec.git/blob/HEAD:/proposals/196-transport-control-ports.txt
https://gitweb.torproject.org/torspec.git/blob/HEAD:/proposals/217-ext-orport-auth.txt
(But ignore the TransportControlPort part of proposal 196, as that's not
implemented.) For the extended OR port, you may also want to look at
some existing source code:
https://gitweb.torproject.org/pluggable-transports/obfsproxy.git/blob/b88efc0ce3f145d5e767d5b938889e99b47021b7:/obfsproxy/network/extended_orport.py
https://gitweb.torproject.org/pluggable-transports/goptlib.git/blob/abeea884f554b4119ebd84974c612c0dca6ce941:/pt.go#l581

David Fifield