Commit graph

88 commits

Author SHA1 Message Date
Cecylia Bocovich
3eb9064438 Removed unecessary output from logs
Removed raw bytes of ICE answers from broker logs and the SDP stanzas
from the client logs
2019-03-25 15:15:22 -04:00
Arlo Breault
10ad59fc9d Appease go fmt after fcc274a 2018-03-05 19:35:54 -05:00
David Fifield
fcc274ac68 Use Manager.HTTPHandler for automatic TLS support.
This is needed since the recent removal of the TLS-SNI challenge types.
https://community.letsencrypt.org/t/tls-sni-challenges-disabled-for-most-new-issuance/50316
The HTTP-01 challenge type requires an additional listener on port 80.
2018-02-24 11:40:02 -08:00
David Fifield
8dcd337ce4 Re-remove ipHandler function.
Had been removed in 2a46db2c01 and was
erroneously restored in the merge
36debdfdd2.
2017-08-11 13:08:36 -07:00
David Fifield
36debdfdd2 Merge branch 'standalone-broker' 2017-08-02 19:34:00 -07:00
David Fifield
2a46db2c01 Remove broker /ip endpoint.
Doesn't seem to be used anywhere; may have been inherited from flash
proxy.
2017-07-15 14:34:18 -07:00
David Fifield
afe7716903 Replace --webPort and --tlsPort with a single --addr option. 2017-07-14 20:33:42 -07:00
David Fifield
2d89aa0b7b autocert (Let's Encrypt) for broker.
Replaces --cert and --key with --acme-hostnames and --acme-email.
2017-07-14 20:33:30 -07:00
David Fifield
2242be7a55 Have the broker log in UTC. 2017-07-14 20:07:50 -07:00
David Fifield
1966612113 go fmt 2017-07-14 20:06:00 -07:00
David Fifield
eaa82b8f9a Move flag code out of init into main. 2017-07-14 20:00:25 -07:00
Hooman
3f4f5d2292 Server ports as parameters 2017-07-12 12:07:28 -07:00
Hooman
edbe18d411 Fixed README.md and added cert and key options 2017-07-11 13:33:00 -07:00
Hooman
b7df69fa55 Make Broker run standalone 2017-06-29 13:51:55 -07:00
Arlo Breault
5cd2a226aa Enable tls websockets on the server
* Code lifted from meek-server
2016-12-19 16:07:02 -08:00
Serene H
7e9066a29d fix broker offer answer test 2016-09-20 08:52:45 -07:00
Serene H
47e1338290 initial client roundtrip estimate on broker 2016-09-20 06:28:11 -07:00
Arlo Breault
bdbabe5e0c Return after bad request 2016-05-11 07:27:42 -07:00
Serene Han
0f952408d3 remove more dead code from broker 2016-04-05 10:29:17 -07:00
Serene Han
661286894a another goconvey test for RequestOffer, fix data race in the Broker test 2016-02-17 12:52:51 -08:00
Serene Han
2ae6559001 move CORS early return into the ServeHTTP wrapper, rename handlers 2016-02-16 21:44:49 -08:00
Serene Han
791f6925ec Simplify proxy poll handler, and broker match test 2016-02-16 21:11:32 -08:00
Serene Han
254223be0f End-to-end Goconvey test for Broker passing SDP messages between concurrent client and proxy
request handlers
2016-02-15 12:23:40 -08:00
Serene Han
ee5f4558af Second async test for Broker's proxy answer handler 2016-02-15 11:31:57 -08:00
Serene Han
032ab6bcb8 Async test for Broker's proxy handler 2016-02-14 16:19:20 -08:00
Serene Han
0e1c5a1756 Convert Broker SnowflakeHeap test to goconvey, and async test for client handler 2016-02-13 11:51:37 -08:00
Serene Han
b04d1f67fb Add context to HTTP handlers, attempt to support localhost Broker.
Seems unlikely to work due to dev_appserver single inflight request limitation
2016-02-12 18:00:36 -08:00
Serene Han
4acff9983c Begin the Broker sub-README page 2016-02-11 21:39:24 -08:00
Serene Han
1cdf6a435c CORS preflight func, and consts 2016-01-29 09:09:37 -08:00
Serene Han
a6f6284229 Separate broker HTTP and snowflake heap go files 2016-01-29 08:56:36 -08:00
Serene Han
77fbfe0e66 Snowflake proxy successfully reset and bootstrap a new client (#15) 2016-01-22 12:22:09 -08:00
Arlo Breault
2680343790 Fix broker test 2016-01-21 14:59:02 -08:00
Serene Han
c9013b2f80 answer successfully roundtripped back from snowflake proxy through broker to client (#1) 2016-01-21 13:02:46 -08:00
Serene Han
7081e6328c broker successfully passing client offers to snowflake proxy (#1) 2016-01-21 11:40:46 -08:00
Serene Han
0cd6852ad0 broker tracking a heap of snowflakes 2016-01-21 10:44:14 -08:00
Serene Han
28e557fb43 Initial broker registration of browser proxies
- broker.coffee contains the xhr stuff
- COR enabled on the go broker
- POST body reflection works
2016-01-20 17:23:47 -08:00
Arlo Breault
5c166f5015 s/facilitator/broker/ 2016-01-19 21:52:03 -08:00
Serene Han
62e6704d1f rename rendezvous to broker 2016-01-19 18:09:06 -08:00