erinn
6dabcf5cf8
Merge branch 'getinfo' of openprivacy/asaur into master
2018-10-12 22:42:52 +00:00
Dan Ballard
51709637a2
getinfo support for status/bootstrap-phase
2018-10-12 15:06:24 -07:00
erinn
cafd7dad87
merging pr/2
2018-10-09 15:00:53 -07:00
Dan Ballard
b644cf94ef
asaur-ificate package and imports
2018-10-09 14:40:38 -07:00
Sarah Jamie Lewis
ff89f06c93
Merge branch 'detports' of openprivacy/asaur into master
2018-10-09 21:36:52 +00:00
erinn
ba4ecf3e39
better messaging for detports
2018-10-09 13:34:26 -07:00
erinn
6258396dc7
check current onion descriptors on old versions of tor to see if they're out-of-sync
2018-10-09 12:56:25 -07:00
erinn
9c1c5ef98a
tidying up code paths and making detport selection a little better
2018-10-09 10:13:43 -07:00
erinn
b1738ac964
simplify port number generation
2018-10-09 08:54:34 -07:00
erinn
23e043ad93
make local port selection deterministic and detach from the control port to improve performane
2018-10-08 20:14:47 -07:00
Yawning Angel
85d80d893c
Merge pull request #10 from nogoegst/trim-nl-before-the-dot
...
Trim trailing CRLF from dot-encoded data
2017-04-05 03:35:06 +00:00
Ivan Markin
7891df5908
Trim trailing CRLF from dot-encoded data
2017-03-18 23:45:27 +00:00
Yawning Angel
44d2fc9d7a
Merge pull request #8 from nogoegst/addonion-config
...
Make AddOnion use special config structs
2017-01-30 13:45:31 +00:00
Ivan Markin
3cc4ebc379
Add expanded interface for ADD_ONION (NewOnion) to use special configuration
...
structs that implements all ADD_ONION flags.
Corresponding interface for creating onion Listener (NewListener) that also
makes onion Listeners use multiple virtual ports.
Some code simplifications.
2017-01-30 13:23:57 +00:00
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