Nick Mathewson
|
89f5f149df
Remove guard_selection argument from status-reporting functions
|
7 роки тому |
Nick Mathewson
|
6dcbc24a4e
Add a backpointer from entry_guard_t to guard_selection_t
|
7 роки тому |
Nick Mathewson
|
404e9e5611
Have multiple guard contexts we can switch between.
|
7 роки тому |
Nick Mathewson
|
c6d218c44b
Unit tests for entry_guard_{pick_for_circuit,succeeded,failed}
|
7 роки тому |
Nick Mathewson
|
d2af9826fd
Turn #defines for prop271 into networkstatus params
|
7 роки тому |
Nick Mathewson
|
2ea5aa7182
Expire circuits that have been WAITING_FOR_BETTER_GUARD too long
|
7 роки тому |
Nick Mathewson
|
e56bc1e5de
Move the 'dirty' flag for the guards to a global again
|
7 роки тому |
Nick Mathewson
|
a7bc73935b
Test get_guard_selection_by_name
|
7 роки тому |
Nick Mathewson
|
ac67819396
Make sure primary-guards are up-to-date when we inspect them.
|
7 роки тому |
Nick Mathewson
|
897626953b
Rebuild the guard lists as appropriate on torrc change.
|
7 роки тому |
Nick Mathewson
|
858c8f5593
Make new prop271 entry guards persistent
|
7 роки тому |
Nick Mathewson
|
dbbaa51518
Use the new guard notification/selection APIs throughout Tor
|
7 роки тому |
Nick Mathewson
|
8e43398986
Function to cancel a guard state.
|
7 роки тому |
Nick Mathewson
|
1fd0a547bb
New function to tell the guard module "We're on the net!"
|
7 роки тому |
Nick Mathewson
|
dd6bdab3f6
Write the easy parts of the public entryguard interface.
|
7 роки тому |
Nick Mathewson
|
7bf946965b
Implement most of the prop271 data structure backends.
|
7 роки тому |
Nick Mathewson
|
c74542c51a
Add accessors as needed to repair compilation
|
7 роки тому |
Nick Mathewson
|
8da24c99bd
Split bridge functions into a new module.
|
7 роки тому |
Nick Mathewson
|
dd6def5daf
Initial code to parse/encode/sample prop271 guards
|
7 роки тому |
Nick Mathewson
|
df8256a931
Add the prop271 fields to entry_guard_t. Not used yet.
|
7 роки тому |
Nick Mathewson
|
f66f9c82e9
Make entry_guard_t opaque to circpathbias.c
|
7 роки тому |
Nick Mathewson
|
62477906e9
Fix remaining case of circpathbias inspecting entryguard internals
|
7 роки тому |
Nick Mathewson
|
823357dbe4
Add an entry_guard_describe() function
|
7 роки тому |
Nick Mathewson
|
be447bc770
Move path-bias fields into a separate structure
|
7 роки тому |
Nick Mathewson
|
22f2f13f81
prop271: make entry_guard_t mostly-private
|
7 роки тому |
Nick Mathewson
|
9c8dbcd0d6
More module documentation (circpathbias, circuitlist)
|
8 роки тому |
Nick Mathewson
|
12cf73c451
Merge remote-tracking branch 'andrea/ticket19858_v2'
|
8 роки тому |
Roger Dingledine
|
bfaded9143
Bridge-using clients now use their cached microdesc consensus
|
8 роки тому |
Andrea Shepard
|
006c26f54f
Abolish globals in entrynodes.c; relativize guard context to new guard_selection_t structure
|
8 роки тому |
Andrea Shepard
|
657eaee6ae
Expose GETINFO download status statics for test suite and make things mockable
|
8 роки тому |