[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] RFC: Ephemeral Hidden Services via the Control Port



Hello all,

Just a quick heads up for where this is going:
 * 'GET_ONIONS' was changed to be 'GETINFO' subcommands for consistency.
 * Code is in 'needs_review', for the 2nd round.

As a proof of concept I wrote: https://github.com/Yawning/onionwrap

It's a dumb quick and dirty hack that works like this:

  $ TOR_CONTROL_PORT=9251 ./onionwrap -port="80,8080" godoc -http=%TADDR
  INFO: Created onion: 5rn73le64hri2zmp.onion:80 -> 127.0.0.1:8080

    [onionwrap blocks till killed]

The %TADDR notation is a convenience thing for automation, there's also
%TPORT, and %VPORT that get rewritten as appropriate.

The onionwrap code is still incomplete, so I wouldn't recommend using
it quite yet, especially since it:

 * Only supports creating one shot Onion Services.
 * Should support talking to the real server over AF_UNIX.
 * Needs documentation.
 * Requires a really experimental branch based on tor's master.
 * Maybe should use stem/txtorcon instead of bulb[0].

But as a proof of concept and a demonstration of the feature, I think
it gets the point across.  Thanks to special for inspiring me to write
this.

Regards,

-- 
Yawning Angel

[0]: Which is another quick and dirty hack I wrote, so I could write
things like this.

Attachment: pgpmei9PMb7qd.pgp
Description: OpenPGP digital signature

_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev