- 18 Nov, 2020 1 commit
-
-
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 2 commits
-
-
Philipp Winter authored
-
Philipp Winter authored
This makes our API naming convention consistent with wolpertinger.
-
- 04 Feb, 2020 3 commits
-
-
Philipp Winter authored
Again, we cannot use an error type here (which would be significantly more convenient) because of the following issue: <https://github.com/golang/go/issues/23340>
-
Philipp Winter authored
-
Philipp Winter authored
When bridgestrap tests several bridges in parallel, it spawns several go routines. When all these go routines access our cache simultaneously, we're running into sync issues because more than one go routine is reading from or writing to the cache. This commit adds a locking mechanism to fix this issue, and a unit test to demonstrate that the fix works.
-
- 13 Jan, 2020 1 commit
-
-
Philipp Winter authored
This is way overdue. Thanks to Simone Basso for the suggestion.
-
- 02 Jan, 2020 1 commit
-
-
Philipp Winter authored
-
- 27 Nov, 2019 4 commits
-
-
Philipp Winter authored
-
Philipp Winter authored
Our cache will contain hundreds of bridges. Testing all these bridges again after bridgestrap quits for whatever reason is expensive. This patch makes bridgestrap write its cache to disk when it exists, and read it from disk when it starts, so we don't have to re-build our cache after a restart. The new flag '-cache' specifies the path to our cache.
-
Philipp Winter authored
-
Philipp Winter authored
-