mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
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.
This commit is contained in:
parent
2d871a1a4f
commit
c4cfc7f8ba
7 changed files with 33 additions and 34 deletions
26
server-webrtc/README.md
Normal file
26
server-webrtc/README.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
Ordinarily, the WebRTC client plugin speaks with a Broker which helps
|
||||
match and signal with a browser proxy, which ultimately speaks with a default
|
||||
websocket server.
|
||||
|
||||
|
||||
However, this directory contains a WebRTC server plugin which uses an
|
||||
HTTP server that simulates the interaction that a client would have with
|
||||
the broker, for direct testing.
|
||||
|
||||
Edit server-webrtc/torrc and add "-http 127.0.0.1:8080" to the end of the
|
||||
ServerTransportPlugin line:
|
||||
```
|
||||
ServerTransportPlugin snowflake exec ./server-webrtc -http 127.0.0.1:8080
|
||||
```
|
||||
|
||||
```
|
||||
cd server-webrtc/
|
||||
go build
|
||||
tor -f torrc
|
||||
```
|
||||
|
||||
Edit client/torrc and add "-url http://127.0.0.1:8080" to the end of the
|
||||
ClientTransportPlugin line:
|
||||
```
|
||||
ClientTransportPlugin snowflake exec ./client -url http://127.0.0.1:8080/
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue