Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							6654efb429 
							
						 
					 
					
						
						
							
							move describe() from Transit to RecordPipe  
						
						 
						
						
						
					 
					
						2016-02-28 01:42:46 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							1903c58248 
							
						 
					 
					
						
						
							
							ipaddrs: return 127.0.0.1 if everything else fails  
						
						 
						
						... 
						
						
						
						This helps the windows tests where ipaddrs currently fails entirely. 
						
					 
					
						2016-02-27 17:37:12 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							ca06e95bbd 
							
						 
					 
					
						
						
							
							test_blocking: avoid using real hints  
						
						 
						
						
						
					 
					
						2016-02-27 17:29:04 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							8067acbf82 
							
						 
					 
					
						
						
							
							cmd_receive: close the file before renaming  
						
						 
						
						... 
						
						
						
						I'm always forgetting this one. It's more obvious on windows. 
						
					 
					
						2016-02-27 17:20:43 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							ed1eb06ae8 
							
						 
					 
					
						
						
							
							blocking/transit: use descriptive error message  
						
						 
						
						
						
					 
					
						2016-02-27 14:48:12 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							1ff0792b32 
							
						 
					 
					
						
						
							
							test_scripts: prep for windows compatibility  
						
						 
						
						... 
						
						
						
						newlines, os.mkfifo errors, JSON type differences 
						
					 
					
						2016-02-27 14:46:38 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							14dcfeed73 
							
						 
					 
					
						
						
							
							tolerate lack of readline at runtime  
						
						 
						
						... 
						
						
						
						'readline' is part of the python stdlib, so declaring a dependency on it
doesn't help. It doesn't exist on windows, and the pypi 'readline'
module doesn't work on windows. So instead, just attempt to import
readline, and if that fails, fall back to a non-completion flavor. 
						
					 
					
						2016-02-27 14:16:58 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							b7319f90c8 
							
						 
					 
					
						
						
							
							windows "route.exe" is not absolute, and that's ok  
						
						 
						
						
						
					 
					
						2016-02-27 14:15:36 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							dbba482c62 
							
						 
					 
					
						
						
							
							cmd_receive_blocking.py: refactor  
						
						 
						
						
						
					 
					
						2016-02-17 21:35:53 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							e6fba34570 
							
						 
					 
					
						
						
							
							start on twisted receive: move old files into new homes  
						
						 
						
						
						
					 
					
						2016-02-17 19:25:19 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							7f056ca075 
							
						 
					 
					
						
						
							
							send-twisted: set transit key before sending phase1  
						
						 
						
						... 
						
						
						
						This ensures that we'll be ready for them. Previously there was a race
between us revealing the direct hints to the peer, and us setting the
transit key (thus allowing us to check inbound handshake requests). The
Transit instance didn't handle the race, causing errors to be thrown
when the other side connected quickly. 
						
					 
					
						2016-02-17 19:02:36 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							aa27bfd32c 
							
						 
					 
					
						
						
							
							add twisted form of sender  
						
						 
						
						... 
						
						
						
						Currently this is only invokable from tests. 
						
					 
					
						2016-02-17 19:02:36 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							7ceffd783a 
							
						 
					 
					
						
						
							
							add more assertions around transit_key  
						
						 
						
						
						
					 
					
						2016-02-17 19:02:35 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							3ffceff9d5 
							
						 
					 
					
						
						
							
							send-blocking: set transit key before sending phase1  
						
						 
						
						... 
						
						
						
						This ensures that we'll be ready for them. Previously there was a race
between us revealing the direct hints to the peer, and us setting the
transit key (thus allowing us to check inbound handshake requests). The
Transit instance handles this race (with an interlock on the transit
key), but it's still nicer to do it cleanly.
This exposed a new race in Transit, where the inbound connection would
complete before transit.connect() had been called. The previous commit
adds an interlock to wait for that too. Until this change, the transit
key lock was covering that one up. 
						
					 
					
						2016-02-17 19:02:35 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							142f3fc154 
							
						 
					 
					
						
						
							
							send-blocking: don't create Transit unless we need it  
						
						 
						
						
						
					 
					
						2016-02-17 19:02:35 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							dba42aff01 
							
						 
					 
					
						
						
							
							blocking transit: tolerate inbound connections before connect() starts  
						
						 
						
						
						
					 
					
						2016-02-17 19:02:35 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							369854b4cc 
							
						 
					 
					
						
						
							
							test build_phase1_data  
						
						 
						
						
						
					 
					
						2016-02-17 18:07:35 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							79decea9ea 
							
						 
					 
					
						
						
							
							rearrange scripts: make room for twisted  
						
						 
						
						
						
					 
					
						2016-02-17 16:26:03 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							d36d1cb063 
							
						 
					 
					
						
						
							
							runner.py: new approach to dispatching  
						
						 
						
						
						
					 
					
						2016-02-17 16:03:30 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							3b447df0f4 
							
						 
					 
					
						
						
							
							move argparser out to a separate module  
						
						 
						
						
						
					 
					
						2016-02-17 15:55:11 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							5d572137f4 
							
						 
					 
					
						
						
							
							improve test error message  
						
						 
						
						
						
					 
					
						2016-02-17 14:00:03 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							fd7d1b97d4 
							
						 
					 
					
						
						
							
							test scripts in a thread, not a subprocess, mostly  
						
						 
						
						
						
					 
					
						2016-02-17 14:00:01 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							903129f4a2 
							
						 
					 
					
						
						
							
							add --hide-progress, mostly for tests  
						
						 
						
						
						
					 
					
						2016-02-17 13:58:41 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							c5b2800a3e 
							
						 
					 
					
						
						
							
							runner: strictly use cwd/stdout/stderr from 'args'  
						
						 
						
						... 
						
						
						
						This will make it easier to test the scripts in a controlled fashion. 
						
					 
					
						2016-02-17 13:53:20 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							e2f3bebe38 
							
						 
					 
					
						
						
							
							allow --relay-helper="" to disable relay  
						
						 
						
						... 
						
						
						
						test_scripts now uses this to avoid accidentally using a relay 
						
					 
					
						2016-02-17 13:53:18 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							d14d35f3cd 
							
						 
					 
					
						
						
							
							cmd_send_blocking: close the transit when we're done  
						
						 
						
						
						
					 
					
						2016-02-17 13:52:26 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							5e928ac9f0 
							
						 
					 
					
						
						
							
							rewrite ProgressPrinter as a class, add tests  
						
						 
						
						
						
					 
					
						2016-02-17 12:46:12 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							00833a4bde 
							
						 
					 
					
						
						
							
							test_scripts: factor out common test code  
						
						 
						
						
						
					 
					
						2016-02-17 10:22:31 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							99ff75259a 
							
						 
					 
					
						
						
							
							catch 'send' of non-file/non-directory  
						
						 
						
						
						
					 
					
						2016-02-17 09:36:31 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							8079340bff 
							
						 
					 
					
						
						
							
							more rearranging  
						
						 
						
						
						
					 
					
						2016-02-15 21:59:18 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							512c7c0a59 
							
						 
					 
					
						
						
							
							cmd_send: rearrange in preparation for twisted version  
						
						 
						
						
						
					 
					
						2016-02-15 21:40:57 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							a235b507c8 
							
						 
					 
					
						
						
							
							twisted.transit: implement producer/consumer flow control  
						
						 
						
						
						
					 
					
						2016-02-15 21:23:20 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							763d72f582 
							
						 
					 
					
						
						
							
							twisted.transit: implement Deferred-based receive_record()  
						
						 
						
						
						
					 
					
						2016-02-15 11:40:21 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							fb1461fa8c 
							
						 
					 
					
						
						
							
							add twisted.transit, with tests  
						
						 
						
						
						
					 
					
						2016-02-14 17:57:09 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							7212e9e9f4 
							
						 
					 
					
						
						
							
							transit: split common code out to a new file  
						
						 
						
						... 
						
						
						
						This will be shared between blocking.transit and the soon-to-land
twisted.transit . 
						
					 
					
						2016-02-14 17:51:46 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							36cc0e2bca 
							
						 
					 
					
						
						
							
							tests: don't use network  
						
						 
						
						... 
						
						
						
						Some tests failed to override --transit-helper, which meant they
intermittently talked to the real transit server (briefly, before
deciding the local+direct connection was better). 
						
					 
					
						2016-02-12 17:11:06 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							7ded461342 
							
						 
					 
					
						
						
							
							show-usage: give more room for "rendezvous-lonely"  
						
						 
						
						
						
					 
					
						2016-01-14 14:30:08 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							bd912a73ee 
							
						 
					 
					
						
						
							
							Transit: blur the file sizes too  
						
						 
						
						
						
					 
					
						2016-01-12 16:32:38 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							35c9e29eb3 
							
						 
					 
					
						
						
							
							transit handshake: wait for newline, not just expected string  
						
						 
						
						
						
					 
					
						2016-01-12 15:04:52 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							9ed39be346 
							
						 
					 
					
						
						
							
							don't log HTTP requests when blur-usage is on  
						
						 
						
						
						
					 
					
						2015-12-04 17:35:56 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							1ab66d2fd0 
							
						 
					 
					
						
						
							
							privacy: only store coarse timestamps in the usage table  
						
						 
						
						
						
					 
					
						2015-12-03 21:15:19 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							ee86059b0a 
							
						 
					 
					
						
						
							
							transit_server: clean up logging slightly  
						
						 
						
						
						
					 
					
						2015-12-03 20:44:34 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							6c88396f14 
							
						 
					 
					
						
						
							
							CLI: make 'wormhole server usage' show transit too  
						
						 
						
						
						
					 
					
						2015-12-03 20:15:29 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							909cdfa3dc 
							
						 
					 
					
						
						
							
							track transit usage in DB  
						
						 
						
						
						
					 
					
						2015-12-03 19:45:34 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							a3656c162b 
							
						 
					 
					
						
						
							
							schema change: prep usage table for including transit too  
						
						 
						
						
						
					 
					
						2015-12-03 19:44:47 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							fb493da8c7 
							
						 
					 
					
						
						
							
							transit_server.py: underscore-ify private attributes  
						
						 
						
						
						
					 
					
						2015-12-03 19:25:40 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							6369c17595 
							
						 
					 
					
						
						
							
							test_transit: use better error in Accumulator  
						
						 
						
						... 
						
						
						
						apparently this was broken before, but never got triggered 
						
					 
					
						2015-12-03 19:25:40 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							568903ac48 
							
						 
					 
					
						
						
							
							add test for Transit (blocking only)  
						
						 
						
						
						
					 
					
						2015-12-03 16:24:52 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							229c702ccc 
							
						 
					 
					
						
						
							
							transit: fix py3  
						
						 
						
						
						
					 
					
						2015-12-03 16:23:12 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							95d0e68cf2 
							
						 
					 
					
						
						
							
							transit: avoid near-infinite loop upon connector error  
						
						 
						
						... 
						
						
						
						Now we will never try any hint more than once. Previously we'd hit the
relay hint over and over until the timeout fired. 
						
					 
					
						2015-12-03 16:22:03 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							11f806a316 
							
						 
					 
					
						
						
							
							transit_relay: add Producer/Consumer flow control  
						
						 
						
						... 
						
						
						
						This limits the buffering to about 10MB (per connection*direction).
Previously, if the sender had more bandwidth than the receiver, the
transit relay would buffer the entire file. With this change, the sender
will be throttled to match the receiver's downstream speed. 
						
					 
					
						2015-12-03 15:07:47 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							c103441648 
							
						 
					 
					
						
						
							
							test_transit: fix py3.3, no %s in bytestrings  
						
						 
						
						
						
					 
					
						2015-12-02 03:02:50 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							8240d9e910 
							
						 
					 
					
						
						
							
							add test of transit server, make it work under py3  
						
						 
						
						... 
						
						
						
						Also have transit send logs to log.msg, not stdout. 
						
					 
					
						2015-12-02 01:47:52 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							80603aaa32 
							
						 
					 
					
						
						
							
							finish py3/async support, needs Twisted >= 15.5.0  
						
						 
						
						... 
						
						
						
						The latest Twisted fixes the web.Agent code we need for proper async
support. There's still a daemonization bug that prevents 'wormhole
server start' from succeeding (it hangs). 
						
					 
					
						2015-12-01 00:15:24 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							5b46df133f 
							
						 
					 
					
						
						
							
							implement (and test) --output-file for receive-file  
						
						 
						
						
						
					 
					
						2015-11-29 01:40:25 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							3a343f9895 
							
						 
					 
					
						
						
							
							test send/receive directory  
						
						 
						
						
						
					 
					
						2015-11-29 01:33:15 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							6fefcde061 
							
						 
					 
					
						
						
							
							add send/receive of whole directories  
						
						 
						
						
						
					 
					
						2015-11-25 01:53:04 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							6958241f3f 
							
						 
					 
					
						
						
							
							preliminary refactoring  
						
						 
						
						
						
					 
					
						2015-11-25 01:47:24 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							1428507909 
							
						 
					 
					
						
						
							
							refactor cmd_receive.py, split accept_file() to a separate function  
						
						 
						
						
						
					 
					
						2015-11-25 01:40:17 -06:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							a96f29d01f 
							
						 
					 
					
						
						
							
							wormhole server show-usage / tail-usage  
						
						 
						
						... 
						
						
						
						Use a separate "tail-usage" command instead of "show-usage -f". Make
both work on py3 too. 
						
					 
					
						2015-11-24 13:20:58 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							0c36fad720 
							
						 
					 
					
						
						
							
							add "wormhole server usage" to dump usage DB  
						
						 
						
						
						
					 
					
						2015-11-24 13:03:53 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							1d6c3d1f96 
							
						 
					 
					
						
						
							
							clients: use "watch" endpoint, not "get"  
						
						 
						
						
						
					 
					
						2015-11-23 16:50:54 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							2318c94169 
							
						 
					 
					
						
						
							
							test_server: error properly when EventSource fails  
						
						 
						
						
						
					 
					
						2015-11-23 16:49:46 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							c482c248ff 
							
						 
					 
					
						
						
							
							server: add "watch" endpoint, deprecate non-ES "get"  
						
						 
						
						... 
						
						
						
						I'm planning to leave non-EventSource "/get" in until after 0.6.0, then
remove it. I think it's cleaner for the logs to have the two
forms (EventSource and immediate) use different URLs. 
						
					 
					
						2015-11-23 16:43:25 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							82cdadae80 
							
						 
					 
					
						
						
							
							check welcome message 'send' too  
						
						 
						
						
						
					 
					
						2015-11-23 16:33:09 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							badf5168ef 
							
						 
					 
					
						
						
							
							test_server: rename some functions  
						
						 
						
						
						
					 
					
						2015-11-22 18:06:42 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							5e0a7e4c93 
							
						 
					 
					
						
						
							
							remove stale copy of server URLs  
						
						 
						
						
						
					 
					
						2015-11-22 17:44:25 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							00bb816d11 
							
						 
					 
					
						
						
							
							remove close-on-error from derive_key(), for now  
						
						 
						
						... 
						
						
						
						In the twisted-style code, the close_on_error() decorator forces the
return value to be a Deferred, which is all wrong for internal uses of
derive_key() (verification string and confirmation message). It might be
useful to have a synchronous form of close_on_error(), but since the
actual close() is async, that's not very straightforward.
So for now, tolerate unclosed Wormhole objects when someone calls
derive_key() too early, or with a non-unicode type string. 
						
					 
					
						2015-11-19 17:11:27 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							22a1ce2eda 
							
						 
					 
					
						
						
							
							add close-with-mood-on-error to twisted style too  
						
						 
						
						
						
					 
					
						2015-11-19 17:08:21 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							9827a2e50c 
							
						 
					 
					
						
						
							
							add twisted/blocking interop test  
						
						 
						
						
						
					 
					
						2015-11-19 16:21:10 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							fd9a62e8ff 
							
						 
					 
					
						
						
							
							change confirmation message: must be different on each side  
						
						 
						
						... 
						
						
						
						The previous same-message-for-both-sides approach failed, because the
Channel filters out duplicates. 
						
					 
					
						2015-11-19 16:06:30 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							1ad001bbc3 
							
						 
					 
					
						
						
							
							WIP: test that we tolerate missing key-confirmation messages  
						
						 
						
						
						
					 
					
						2015-11-16 18:25:28 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							6b57d7d05d 
							
						 
					 
					
						
						
							
							check key-confirmation messages, if present  
						
						 
						
						
						
					 
					
						2015-11-16 18:24:39 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							3220014605 
							
						 
					 
					
						
						
							
							send key-confirmation message upon receipt of PAKE  
						
						 
						
						... 
						
						
						
						This will allow the first peer to detect a wrong password even though
the second peer bails before sending something encrypted. 
						
					 
					
						2015-11-16 17:02:02 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							4ad7342459 
							
						 
					 
					
						
						
							
							make self.channel internal (twisted)  
						
						 
						
						
						
					 
					
						2015-11-16 16:54:00 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							ae2a6c6a05 
							
						 
					 
					
						
						
							
							add Channel.get_first_of()  
						
						 
						
						... 
						
						
						
						This allows the Wormhole code to wait for multiple messages, which will
be useful for getting Confirmation messages soon. 
						
					 
					
						2015-11-16 16:47:52 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							b709a45891 
							
						 
					 
					
						
						
							
							get_data/set_data: reserve _ for internal uses  
						
						 
						
						
						
					 
					
						2015-11-16 16:20:00 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							6956f35e9a 
							
						 
					 
					
						
						
							
							receive: fetch channel list before completion, to get welcome message  
						
						 
						
						
						
					 
					
						2015-11-15 10:53:13 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							47d3eee6fe 
							
						 
					 
					
						
						
							
							server: treat missing moods (from older clients) as "quiet"  
						
						 
						
						
						
					 
					
						2015-11-15 10:34:40 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							4f0dde9529 
							
						 
					 
					
						
						
							
							server: summarize transfers, store in DB  
						
						 
						
						
						
					 
					
						2015-11-15 10:34:29 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							26c7008c23 
							
						 
					 
					
						
						
							
							DB: use 'messages' to track allocations, not 'allocations'  
						
						 
						
						... 
						
						
						
						This removes the 'allocations' table entirely, and cleans up the way we
prune old messages. This should make it easier to summarize each
connection (for usage stats) when it gets deallocated, as well as making
pruning more reliable. 
						
					 
					
						2015-11-13 18:24:36 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							bb97729a23 
							
						 
					 
					
						
						
							
							server: more refactoring  
						
						 
						
						... 
						
						
						
						flattening some attribute access paths 
						
					 
					
						2015-11-13 18:20:47 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							0b9f858761 
							
						 
					 
					
						
						
							
							server: internal refactoring  
						
						 
						
						
						
					 
					
						2015-11-13 18:12:47 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							101c800237 
							
						 
					 
					
						
						
							
							deallocate: ignore all 'requests' exceptions  
						
						 
						
						
						
					 
					
						2015-11-12 10:11:30 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							2e393c145e 
							
						 
					 
					
						
						
							
							make default mood "happy", change other mood names  
						
						 
						
						
						
					 
					
						2015-11-12 09:31:03 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							80beb20631 
							
						 
					 
					
						
						
							
							make blocking.Wormhole into a context manager  
						
						 
						
						
						
					 
					
						2015-11-11 21:59:16 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							a881d6055f 
							
						 
					 
					
						
						
							
							auto-close Channel (with a "mood") upon server or crypto error  
						
						 
						
						
						
					 
					
						2015-11-11 21:54:45 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							0748647049 
							
						 
					 
					
						
						
							
							allow multiple close() calls, throw error when using a closed Wormhole  
						
						 
						
						
						
					 
					
						2015-11-11 18:17:52 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							3daef13ac0 
							
						 
					 
					
						
						
							
							indent commands: no functional changes  
						
						 
						
						
						
					 
					
						2015-11-11 18:11:53 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							cb5ad8ced1 
							
						 
					 
					
						
						
							
							Use exception for Timeout, not return value  
						
						 
						
						
						
					 
					
						2015-11-11 18:01:22 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							6de677c1df 
							
						 
					 
					
						
						
							
							use timeouts for allocate and list_channels too  
						
						 
						
						
						
					 
					
						2015-11-11 18:00:06 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							fa3be3523d 
							
						 
					 
					
						
						
							
							pass timeouts down  
						
						 
						
						
						
					 
					
						2015-11-11 17:56:08 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							07686f3de7 
							
						 
					 
					
						
						
							
							make self.channel internal  
						
						 
						
						
						
					 
					
						2015-11-11 17:52:13 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							9ead3f48a8 
							
						 
					 
					
						
						
							
							fix 'wormhole server restart'  
						
						 
						
						... 
						
						
						
						It got broken when I added --no-daemon to 'server start'. 
						
					 
					
						2015-11-11 17:30:31 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							ec51adb713 
							
						 
					 
					
						
						
							
							add 'wormhole send --text -' to read message from stdin  
						
						 
						
						
						
					 
					
						2015-11-11 17:27:26 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							b83062701d 
							
						 
					 
					
						
						
							
							server: give old 0.4.0 senders a "you must upgrade" error  
						
						 
						
						... 
						
						
						
						Without this, old senders will throw a messy 404 traceback when talking
to a modern server.
Unfortunately 0.4.0 receivers don't make API calls in the right order,
so they throw a 404 before seeing our "you need to upgrade" message. 
						
					 
					
						2015-11-11 17:06:33 -08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							595a0e5845 
							
						 
					 
					
						
						
							
							server API: include "mood" when closing the channel  
						
						 
						
						... 
						
						
						
						This will be used as a simple unverifiable counter of success/failure. 
						
					 
					
						2015-10-08 18:35:26 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							0a6ab83bc5 
							
						 
					 
					
						
						
							
							test distinctness of encryption nonces  
						
						 
						
						
						
					 
					
						2015-10-07 16:31:45 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							385762b36d 
							
						 
					 
					
						
						
							
							demo.py: make it easier to modify for local testing  
						
						 
						
						
						
					 
					
						2015-10-07 16:31:45 -07:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Brian Warner 
							
						 
					 
					
						
						
						
						
							
						
						
							df3aee2a86 
							
						 
					 
					
						
						
							
							fix EventSource (server and parsers)  
						
						 
						
						... 
						
						
						
						I was really confused about the Server-Sent Events syntax. This new one
is compatible with actual web browsers and the spec:
 http://www.w3.org/TR/eventsource/  
						
					 
					
						2015-10-07 16:31:45 -07:00