Serene H
0ae71952d2
additional proxy timeout check
2016-07-25 15:28:10 -07:00
Serene Han
c1f623948b
update README
2016-06-18 15:51:14 -07:00
Serene Han
e93c38f834
client multiplexes AND recovers correctly! ( close #31 )
...
- stabilize rest of WebRTCPeer
- use uid for the datachannel label
- store a consistent WebRTC config in the dialer
2016-06-15 21:57:56 -07:00
Serene Han
2bf0e5457e
pull copyLoop out of goroutine, better pop and reset
2016-06-14 17:07:21 -07:00
Serene Han
a71c98c0ae
able to break out of ConnectLoop, try separate webrtcConfigs as well
2016-06-13 15:12:47 -07:00
Serene Han
4ca0a3aa0a
improve client interface specificity and composability which eliminates much unnecessary code
2016-06-13 11:10:49 -07:00
Serene Han
02562ba750
copy-paste rendezvous works again, but with new interface allowing seamless recovery for the first time
2016-06-12 12:43:24 -07:00
Serene Han
fedb124313
localize ptInfo and iceServers vars, separate copy-paste helpers, move some logging
...
to more sensible locations
2016-06-12 11:51:59 -07:00
Serene Han
b6f15a8d5c
expose multiplex capacity as flag, un-global some more
2016-06-12 00:20:54 -07:00
Serene Han
2caa47988d
fix Peers.Count() using activePeers list, mark for delete on Close, and remove
...
maxedChan
2016-06-11 23:59:26 -07:00
Serene Han
c63f5cfc0a
Separate peers.go file with improved documentation and more solid interfaces
2016-06-11 19:58:08 -07:00
Serene Han
556596cc5a
interfaces.go, SnowflakeCollector, better composition
2016-05-24 15:18:54 -07:00
Serene Han
b2c9fcac5e
webRTCConn has better seam with BytesLogger interface
2016-05-24 12:56:09 -07:00
Serene Han
6b8568cc6c
client interfaces compose better, remove some globals, test ConnectLoop
2016-05-19 19:44:54 -07:00
Serene Han
00196bbd74
more complete and improved client rendezvous tests
2016-05-18 13:21:01 -07:00
Serene Han
361da32ecb
lint proxypair
2016-05-18 13:21:01 -07:00
David Fifield
0690b0620d
Make koch.jpg square and tile better.
...
It was wider than tall and there was a column of black pixels at the far
right.
2016-05-16 16:43:33 -07:00
Arlo Breault
bdbabe5e0c
Return after bad request
2016-05-11 07:27:42 -07:00
Arlo Breault
81931fa8e7
Clear ws connection timeout on success/failure
...
* Follow up to 14fc6a13
2016-05-10 18:46:49 -07:00
Arlo Breault
064875cc29
Fix some logging
2016-05-10 17:04:03 -07:00
Serene Han
6a8c88fe64
fix proxy createAnswer error handling for updated WebRTC syntax
2016-05-02 11:10:52 -07:00
Arlo Breault
d567e2312f
Feature detect with Modernizr
...
* A start on #34
2016-04-05 10:30:45 -07:00
Serene Han
0f952408d3
remove more dead code from broker
2016-04-05 10:29:17 -07:00
Serene Han
14fc6a13c2
timout for websocket connection failure
2016-04-05 10:29:17 -07:00
Serene Han
03b1a0d1f1
remove dead code
2016-04-05 10:29:17 -07:00
Serene Han
1d1882b59d
webRTCConn close as part of its reset, instead of depending on external deferred close after receiving reset channel, allows valid disconnections even before use
2016-04-05 10:29:17 -07:00
Serene Han
bc1a499bc8
use only one BrokerChannel
2016-04-05 10:29:17 -07:00
David Fifield
57c0724491
Use 192.81.135.242:9902 as the default relay.
...
This is the relay that reports using the transport name "snowflake".
https://bugs.torproject.org/18627
2016-03-27 12:49:20 -07:00
Serene Han
f024f6b832
create and removing from webrtcRemotes test
2016-03-27 09:08:54 -07:00
Serene Han
b2d7586cb4
use webrtcRemotes len for capacity instead of the chan
2016-03-27 09:08:54 -07:00
Serene Han
22ace32a71
replace webrtcRemote with webrtcRemotes map & indexing, client multiplexing remotes confirmed working ( #31 )
2016-03-27 09:08:54 -07:00
Serene Han
a8ea5e586e
client multiplexing using a webRTCConn channel ( #31 )
2016-03-27 09:08:54 -07:00
Serene Han
2515ddb1fa
begin client sub-readme
2016-03-27 09:08:54 -07:00
Serene Han
451edb6dec
begin multiplex snowflake connect loop for #31
2016-03-27 09:08:54 -07:00
David Fifield
346f316038
Use "ExtORPort auto" in documentation.
2016-03-26 15:34:27 -07:00
David Fifield
a269053ac2
Make Snowflake-specific changes to the websocket server.
...
Change the transport name to "snowflake" and don't report the remote
client address to the ExtORPort.
2016-03-26 15:25:06 -07:00
David Fifield
cfca47674e
Build the websocket-server.
...
Patch server.go to refer to out-of-tree websocket library.
2016-03-26 15:24:56 -07:00
David Fifield
e53705519e
Add a copy of websocket-server in the server directory.
...
From commit ea3ee6b5cf035a9465c02b4a2b38882c9c6a7050 in
https://git.torproject.org/pluggable-transports/websocket.git
2016-03-26 15:24:56 -07:00
David Fifield
c4cfc7f8ba
Move server to server-webrtc.
...
To make room for the WebSocket server we're actually going to use as a
primary server. Move server-webrtc docs to server-webrtc/README.md.
2016-03-26 15:24:44 -07:00
David Fifield
2d871a1a4f
We don't need to worry about the base64 WebSockets.
...
That's only for very very old Firefox. Even for flash proxy it was only
relevant for a short time.
2016-03-26 14:23:22 -07:00
David Fifield
7248cf92f3
Add a note that you need to pass "manual" for copy-paste.
2016-03-26 13:21:38 -07:00
David Fifield
0fc2c8b22e
Fix local web server URL (127.0.0.1 not 0.0.0.0).
2016-03-26 13:20:48 -07:00
David Fifield
6efb5cb8ef
Typo.
2016-03-26 10:41:38 -07:00
Arlo Breault
ed60c74686
Redundant close
2016-03-20 08:48:49 -07:00
Serene Han
b8815627bd
defer conn.Close for simplicity and remove unnecessary goroutines, improve error handling ( close #12 )
2016-03-19 22:36:17 -07:00
Arlo Breault
598e2a3bfb
Close SocksConn when WebRTC connection is reset
...
* This will induce the tor client to establish a new SocksConn,
which in turn will dial a new WebRTC connection.
To be improved upon.
* Part of #12
2016-03-18 21:29:31 -07:00
Arlo Breault
cf1b0a49f1
Close connections before unloading
...
Noticed a long delay after the window closed before the datachannel
timed out.
2016/03/18 13:53:16 Traffic Bytes (in|out): 202576 | 8087
2016/03/18 13:58:10 WebRTC: DataChannel.OnClose [remotely]
2016-03-18 14:22:34 -07:00
Arlo Breault
2ac12c5b8d
Fix receiving cp/paste offer
2016-03-18 13:11:45 -07:00
Arlo Breault
df2ea126c8
Fix input handler
2016-03-18 11:58:01 -07:00
Serene Han
afd814773a
snowflake proxy continues to poll broker until at capacity ( #11 )
2016-03-17 15:57:38 -07:00