- 20 Nov, 2020 3 commits
-
-
Philipp Winter authored
-
Philipp Winter authored
-
Philipp Winter authored
So far, our cache timeout was hard-coded to be one week. Now that bridgestrap is more efficient, we can afford to test resources more often, so this patch changes the default timeout to 24 hours. The patch also makes this timeout configurable through the new -cache-timeout switch. While at it, the patch also refactored our cache mechanism a bit and renamed -timeout to -test-timeout. This patch fixes #8
-
- 19 Nov, 2020 5 commits
-
-
Philipp Winter authored
-
Philipp Winter authored
This patch adds the -log command line switch, which instructs bridgestrap to log to the given file.
-
Philipp Winter authored
-
Philipp Winter authored
-
Philipp Winter authored
This patch bumps our code coverage to 48.6%.
-
- 18 Nov, 2020 3 commits
-
-
Philipp Winter authored
-
Philipp Winter authored
For reasons outlined in #2, we want to be able to use a custom tor for now. This patch introduces a new command line switch, -tor, which makes this possible.
-
Philipp Winter authored
Issue/6 Closes #6 See merge request !2
-
- 16 Nov, 2020 5 commits
-
-
Philipp Winter authored
This patch fixes #6
-
Philipp Winter authored
-
Philipp Winter authored
...and start with version 0.0.1.
-
Philipp Winter authored
-
Philipp Winter authored
If our event channel is closed, our last read results in nil. This patch makes bridgestrap check for this condition before accessing the result's struct members.
-
- 13 Nov, 2020 1 commit
-
-
Philipp Winter authored
We can safely ignore http.ErrServerClosed but we really ought to check for other errors.
-
- 12 Nov, 2020 1 commit
-
-
Philipp Winter authored
Issue/3 Closes #3 See merge request !1
-
- 20 Oct, 2020 1 commit
-
-
Philipp Winter authored
-
- 15 Oct, 2020 4 commits
-
-
Philipp Winter authored
-
Philipp Winter authored
-
Philipp Winter authored
So far, bridgestrap would bootstrap a new tor instance for each request. That's both expensive and slow. Roger suggested to use a single, long-lived tor instance instead, and use the SETCONF controller command to test a batch of bridges at once. This patch makes that happen. This fixes #3.
-
Philipp Winter authored
Simply run: ./scripts/test-bridge-lines /path/to/bridge/file The provided file must contain bridge lines, one per line.
-
- 06 Oct, 2020 2 commits
-
-
Philipp Winter authored
-
Philipp Winter authored
-
- 02 Oct, 2020 1 commit
-
-
Philipp Winter authored
-
- 30 Sep, 2020 1 commit
-
-
Philipp Winter authored
Thanks to Cecylia for questioning whether the cache lookup mechanism is fast enough: ecc6e048 (comment 2709958)
-
- 20 Aug, 2020 2 commits
-
-
Philipp Winter authored
We currently have ~1,700 bridges, so a buffer size of 1,000 isn't going to cut it if we ask bridgestrap to test our entire pool of bridges at once.
-
Philipp Winter authored
-
- 19 Aug, 2020 1 commit
-
-
Philipp Winter authored
This command line option instructs bridgestrap to only pretty-print its cache and then exit.
-
- 18 Aug, 2020 3 commits
-
-
Philipp Winter authored
Unlike the Web API, we don't reject connections. Instead, we try hard to serve them all, even though some may be delayed.
-
Philipp Winter authored
That allows us to cache bridge lines of connections that were still open while we received the signal to shut down.
-
Philipp Winter authored
-
- 03 Aug, 2020 1 commit
-
-
Philipp Winter authored
-
- 14 Jul, 2020 2 commits
-
-
Philipp Winter authored
-
Philipp Winter authored
-
- 03 Jul, 2020 3 commits
-
-
Philipp Winter authored
We are GETting rather than POSTing something, and "bridge-state" is a more descriptive resource name. This patch also merges our Web interface and our API handlers, making the code simpler.
-
Philipp Winter authored
-
Philipp Winter authored
-
- 19 May, 2020 1 commit
-
-
Philipp Winter authored
-