Nick Mathewson
|
404e9e5611
Have multiple guard contexts we can switch between.
|
8 jaren geleden |
Nick Mathewson
|
c6d218c44b
Unit tests for entry_guard_{pick_for_circuit,succeeded,failed}
|
8 jaren geleden |
Nick Mathewson
|
9493711077
Mark confirmed guards primary as appropriate.
|
8 jaren geleden |
Nick Mathewson
|
d2af9826fd
Turn #defines for prop271 into networkstatus params
|
8 jaren geleden |
Nick Mathewson
|
2ea5aa7182
Expire circuits that have been WAITING_FOR_BETTER_GUARD too long
|
8 jaren geleden |
Nick Mathewson
|
e56bc1e5de
Move the 'dirty' flag for the guards to a global again
|
8 jaren geleden |
Nick Mathewson
|
bce0f79252
Mark some more BUG lines as unreachable.
|
8 jaren geleden |
Nick Mathewson
|
a7bc73935b
Test get_guard_selection_by_name
|
8 jaren geleden |
Nick Mathewson
|
526b0e2ce2
Avoid division-by-zero in pathbias_check_*_success_count
|
8 jaren geleden |
Nick Mathewson
|
ac67819396
Make sure primary-guards are up-to-date when we inspect them.
|
8 jaren geleden |
Nick Mathewson
|
897626953b
Rebuild the guard lists as appropriate on torrc change.
|
8 jaren geleden |
Nick Mathewson
|
d98b9b6d65
Fix pathbias interactions with entry guards
|
8 jaren geleden |
Nick Mathewson
|
783fa2f586
Make pathbias fields persistent for new guards
|
8 jaren geleden |
Nick Mathewson
|
858c8f5593
Make new prop271 entry guards persistent
|
8 jaren geleden |
Nick Mathewson
|
dbbaa51518
Use the new guard notification/selection APIs throughout Tor
|
8 jaren geleden |
Nick Mathewson
|
8e43398986
Function to cancel a guard state.
|
8 jaren geleden |
Nick Mathewson
|
4689096ed1
No need to say success/failure when recording failure; remove returnval
|
8 jaren geleden |
Nick Mathewson
|
af1918d289
New entry_guard_chan_failed function
|
8 jaren geleden |
Nick Mathewson
|
1fd0a547bb
New function to tell the guard module "We're on the net!"
|
8 jaren geleden |
Nick Mathewson
|
8dc6048c02
Add an (as yet) unused UseDeprecatedGuardAlgorithm_ option.
|
8 jaren geleden |
Nick Mathewson
|
36e9fbd752
Backend for upgrading 'waiting' circuits to 'complete'
|
8 jaren geleden |
Nick Mathewson
|
dd6bdab3f6
Write the easy parts of the public entryguard interface.
|
8 jaren geleden |
Nick Mathewson
|
7bf946965b
Implement most of the prop271 data structure backends.
|
8 jaren geleden |
Nick Mathewson
|
6a02f9f35a
Add parameters for new (prop271) guard algorithm.
|
8 jaren geleden |
Nick Mathewson
|
3c12133038
Collect old guard algorithm parameters into one place
|
8 jaren geleden |
Nick Mathewson
|
c74542c51a
Add accessors as needed to repair compilation
|
8 jaren geleden |
Nick Mathewson
|
8da24c99bd
Split bridge functions into a new module.
|
8 jaren geleden |
Nick Mathewson
|
dd6def5daf
Initial code to parse/encode/sample prop271 guards
|
8 jaren geleden |
Nick Mathewson
|
539eba0a4b
Teach parse_iso_time about the spaceless variant.
|
8 jaren geleden |
Nick Mathewson
|
df8256a931
Add the prop271 fields to entry_guard_t. Not used yet.
|
8 jaren geleden |