Yawning Angel
38b4676028
Merge pull request #6 from nogoegst/undup-status-message
...
Do not print status message twice
2016-10-27 18:45:32 +00:00
Ivan Markin
9bea501013
Do not print status message twice
2016-10-27 13:36:57 +00:00
Yawning Angel
c694c91ead
Merge pull request #5 from nogoegst/split-quoted-strings
...
Parse lines with quoted substrings right
2016-10-27 00:37:55 +00:00
Ivan Markin
9adcdb14c4
Parse lines with quoted substrings right
2016-10-26 22:08:14 +00:00
Yawning Angel
2d65b370c8
Merge pull request #4 from leif/RawLines
...
make ReadResponse public, and add RawLines
2016-08-21 22:24:25 +00:00
Leif Ryge
332fc001df
include RawLines in Response
2016-08-19 22:43:58 +00:00
Leif Ryge
a7a9158e85
make ReadResponse public
...
also updated comments about things it shouldn't be used with
2016-08-19 17:07:31 +00:00
Yawning Angel
e639c4d32b
Fix error message.
2015-10-10 15:34:56 +00:00
Yawning Angel
b6bf698604
Add the dialer and listener example binaries to .gitignore.
2015-10-10 15:23:52 +00:00
Yawning Angel
2a8b7b287f
Add usage example of generating a RSA private key for the Listener.
2015-10-10 15:22:50 +00:00
Yawning Angel
77023b2ed7
Remove the old dialer/listener code.
2015-10-10 15:02:42 +00:00
Yawning Angel
7d26c026b2
Added c.Listener() which returns a net.Listener.
...
Likewise, different from David S' implementation.
2015-10-10 15:01:05 +00:00
Yawning Angel
da6c08c21e
Rewrite the ADD_ONION command to be easier(?) to use.
...
This is more fully featured and integrates better with other Go (in
particular crypto.rsa).
2015-10-10 14:58:06 +00:00
Yawning Angel
ae6d97af37
Add c.Dialer(auth) which returns a net.proxy.
...
A bit more involved than David S' version, since it queries the control
port for an appropriate SOCKS listener. This makes it easier to use.
2015-10-10 14:14:31 +00:00
Yawning Angel
f6128d70b6
Add PKCS#1 RSA key related helpers stolen from orkey.
...
These routines can handle Tor's idea of an RSA key, assuming PEM/Base64
handling is done as appropriate.
2015-10-08 23:19:35 +00:00
Yawning Angel
28616763d2
Minor cleanups to make golint happy, removed a stray Printf.
2015-10-08 21:25:22 +00:00
David Stainton
2beeb7bc51
Add ephemeral onion service functionality to controller API
...
here we also:
- add a TorDialer and OnionListener
- complete working example of an onion echo server
2015-10-01 12:15:18 +02:00
Yawning Angel
8f9a7ec076
Add a utils package for helpful things.
2015-03-23 15:36:23 +00:00
Yawning Angel
8736a9cd73
Cache the PROTOCOLINFO response if it was issued before AUTHENTICATE.
...
Control clients get one PROTOCOLINFO before they must issue an
AUTHCHALLENGE or AUTHENTICATE, and the Authenticate() implementation
uses PROTOCOLINFO. This allows users to call ProtocolInfo() before
Authenticate() without mysterious failures.
2015-03-22 04:21:23 +00:00
Yawning Angel
b19f84d674
Add further documentation to Authenticate().
2015-03-20 11:48:55 +00:00
Yawning Angel
d109336930
Add support for password ("HASHEDPASSWORD") authentication.
2015-03-20 11:21:35 +00:00
Yawning Angel
9592666abd
Ensure that Conn implements io.ReadWriteCloser.
2015-03-18 16:41:13 +00:00
Yawning Angel
ae9457c354
Give txtorcon some love too.
2015-03-18 15:34:05 +00:00
Yawning Angel
90a4be2923
Initial import.
2015-03-18 15:10:49 +00:00