Commit Graph

1494 Commits

Author SHA1 Message Date
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
12845f191b add derive_key(), use it for file-xfer bulk-encryption key 2015-02-19 17:16:43 -08:00
Brian Warner
40e78ca839 ok, you might want to send files larger than your MTU 2015-02-19 17:04:52 -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
Brian Warner
d6ef752152 update code to match rearranged source tree 2015-02-15 09:32:19 -08:00
Brian Warner
e3964cd797 rearrange source tree 2015-02-15 09:29:28 -08:00
Brian Warner
f82730bfab add function to find local IP addresses
This is a stripped-down copy of the synchronous/blocking portion of
Tahoe-LAFS's src/allmydata/utils/iputil.py .
2015-02-15 09:26:59 -08:00
Brian Warner
db724a7b91 simplify ask-user-for-code (with completion) API 2015-02-15 09:16:17 -08:00
Brian Warner
bc1b367f06 deallocate channel even if key-exchange fails (wrong password) 2015-02-14 18:50:31 -08:00
Brian Warner
0474cc18d5 add list-channels API to relay, use it in receiver 2015-02-14 18:45:29 -08:00
Brian Warner
e2e2206159 use completing-input for wormhole code read, not sys.argv 2015-02-14 17:48:38 -08:00
Brian Warner
e10cd515fe import the PGP wordlist (2*256), use 16-bit codes 2015-02-13 23:37:05 -08:00
Brian Warner
d5d4a3f97a start on transit service 2015-02-11 18:13:54 -08:00
Brian Warner
ab8d9f7678 default to a relay hosted on my own domain, for now 2015-02-11 16:48:53 -08:00
Brian Warner
00a032184e depend on pynacl, for encryption of exchanged data 2015-02-11 16:38:20 -08:00
Brian Warner
18eec6e60b send/receive_text: send/show ack message 2015-02-11 02:09:26 -08:00
Brian Warner
a67d6365f8 transcribe.py: properly encrypt the transferred data 2015-02-11 02:09:08 -08:00
Brian Warner
04ef43f872 transcribe: more refactoring, speed polling to 2Hz 2015-02-11 01:46:33 -08:00
Brian Warner
d4233f44df bin/receive_text: print elapsed time 2015-02-11 01:45:54 -08:00
Brian Warner
48476f0840 transcribe.py: factor out common polling code 2015-02-11 01:35:11 -08:00
Brian Warner
882644bfc1 make send/receive text work 2015-02-11 01:18:31 -08:00
Brian Warner
6f055c84b9 fix relay URLs 2015-02-11 01:18:18 -08:00
Brian Warner
13a02df636 implement relay, fix transcribe.py to use it properly 2015-02-11 01:05:11 -08:00
Brian Warner
8e522d5387 move scripts to bin/ 2015-02-11 01:04:37 -08:00
Brian Warner
c690e8101c transcribe.Initiator: mostly complete 2015-02-10 21:08:26 -08:00
Brian Warner
3ddfac3eeb copy eventual.py/observer.py from Foolscap 2015-02-10 18:34:34 -08:00
Brian Warner
f5a0b3e5c6 fill in initiator flow, define relay API 2015-02-10 18:34:13 -08:00
Brian Warner
246e080c7c sample clients: fill in more details 2015-02-10 17:04:28 -08:00
Brian Warner
84852f26f5 start on sample clients 2015-02-10 16:50:32 -08:00
Brian Warner
1b6668ff0a start thinking about the API 2015-02-10 01:39:17 -08:00
Brian Warner
c14749fae0 add first unit test, 'setup.py test' support 2015-02-10 01:05:15 -08:00
Brian Warner
d782a8b63b initial setup.py, versioneer-ification 2015-02-10 00:48:19 -08:00
Brian Warner
82d8d02445 Initial commit 2015-02-10 00:38:44 -08:00