Brian Warner
106991fe0d
require caller to provide transit relay too
2015-03-25 13:07:17 -07:00
Brian Warner
cc37d2dc2f
add CLI args to override the relay hosts (rendezvous and transit)
2015-03-20 17:45:03 -07:00
Brian Warner
fcf3b080f9
transit: don't complain about the relay connection failing or being dropped
2015-03-12 18:38:42 -07:00
Brian Warner
fcd2678dfd
transit: provide encrypted record-pipe, use it for file-xfer
2015-03-12 18:14:42 -07:00
Brian Warner
cedd04a2fb
transit.py: add debug prints, disabled
2015-03-12 16:03:00 -07:00
Brian Warner
35630661a5
increase establish_connection() timeout to let relay work
...
If all the direct hints resulted in timeouts (e.g. they were to bad IP
addresses where connections just hang), the relay connection would fail.
The establish_connection() function had the same TIMEOUT as the
direct-hint connector, so it would give up just before the relay
connection was initiated.
2015-03-12 15:52:11 -07:00
Brian Warner
b5ff8a5d4a
format inbound-hint better
2015-03-12 15:24:34 -07:00
Brian Warner
b27cbd19b6
change hint format to "tcp:HOST:PORT"
2015-03-12 15:20:06 -07:00
Brian Warner
d71c8492c1
transit: describe the connection
2015-03-12 14:50:40 -07:00
Brian Warner
5682ddff8e
fix transit relay
...
stop using web setup for now
2015-03-02 00:09:17 -08:00
Brian Warner
dc8d6e979f
more transit-relay work
2015-03-01 11:33:16 -08:00
Brian Warner
cd54eff994
start on transit relay client
2015-02-20 01:40:09 -08:00
Brian Warner
3cc4461049
reduce transit timeout to 15s
2015-02-20 01:39:31 -08:00
Brian Warner
3171a4bb56
transit: don't use hard-coded listening ports
2015-02-20 00:00:27 -08:00
Brian Warner
e4390859d1
transit: switch to proper handshakes, with keyid
2015-02-19 23:56:56 -08:00
Brian Warner
6f64b6d326
transit: finish refactoring, combine mostly into a single class
2015-02-19 23:55:05 -08:00
Brian Warner
af5f2053b8
transit: start to factor into common superclass
2015-02-19 19:16:51 -08:00
Brian Warner
99e08c2e37
transit: use bidirectional connections
2015-02-19 19:09:08 -08:00
Brian Warner
01dbec820b
transit: set key on both ends, instead of generate+send
2015-02-19 18:24:10 -08:00
Brian Warner
66ad6fb272
rearrange transit.py in preparation for refactoring
2015-02-19 18:19:17 -08:00
Brian Warner
50e466b581
don't complain about unconnectable sockets, improve error messages
2015-02-19 16:51:59 -08:00
Brian Warner
3ccd7bd61e
file-xfer: add ack, print encouraging messages, remove noise
2015-02-19 16:30:24 -08:00
Brian Warner
0ba01b2ce7
hush exception noise
2015-02-19 15:55:59 -08:00
Brian Warner
9f998221da
transit: fix race, file-xfer basically works, but noisy
...
The failed connections are throwing exceptions that should be caught and
ignored.
2015-02-19 15:30:16 -08:00
Brian Warner
ae68dad441
make transit mostly work, but the race condition kills it
2015-02-18 17:23:09 -08:00
Brian Warner
f459d59b48
transit: fix handshake
...
Also make all threads daemonic, so they won't keep the process alive.
Also crank up the timeouts for manual testing.
2015-02-18 16:20:35 -08:00
Brian Warner
18ff9f9fd6
transit: plausibly correct
2015-02-18 13:02:17 -08:00
Brian Warner
71e3e73c99
stumbling towards transit implementation
2015-02-17 13:59:08 -08:00
Brian Warner
9dd4c6039f
better sketch of transit-client API
2015-02-15 14:42:59 -08:00
Brian Warner
38b9c07566
sketch out transit-client API
2015-02-15 09:53:59 -08:00