Nick Mathewson
|
6867950432
Wrap all of the legacy guard code, and its users, in #ifdefs
|
8 gadi atpakaļ |
Nick Mathewson
|
2b4bfe62ee
Fix a signed/unsigned warning on 32-bit
|
8 gadi atpakaļ |
Nick Mathewson
|
52e196bab5
Don't make $hexid nicknames persistent.
|
8 gadi atpakaļ |
Nick Mathewson
|
79d3e94f8b
prop271: Tests for the highlevel or_state_t encode/decode functions
|
8 gadi atpakaļ |
Nick Mathewson
|
217590ad05
Extract guard_selection_infer_type into its own function.
|
8 gadi atpakaļ |
Nick Mathewson
|
2c8c58ab2f
Another tweak for guard restrictions: don't let complete circs block
|
8 gadi atpakaļ |
Nick Mathewson
|
87f9b42179
Implement support for per-circuit guard restrictions.
|
8 gadi atpakaļ |
Nick Mathewson
|
17c3faa2e3
guards_choose_dirguard(): replace one XXXX with another.
|
8 gadi atpakaļ |
Nick Mathewson
|
9d065ecc3d
Fix a magic number in get_max_sample_size
|
8 gadi atpakaļ |
Nick Mathewson
|
1e9cd5d2bb
Note a couple of XXX-prop271s as spec deviations.
|
8 gadi atpakaļ |
Nick Mathewson
|
f4e64c04f4
Remove some resolved "XXXX prop271" comments.
|
8 gadi atpakaļ |
Nick Mathewson
|
80fa404625
Fix for small test networks: don't refuse to have any sampled guards.
|
8 gadi atpakaļ |
Nick Mathewson
|
eac8b3f758
Remove a few unused arguments.
|
8 gadi atpakaļ |
Nick Mathewson
|
84bfa895d7
Change return value of entry_guard_succeeded to an enum.
|
8 gadi atpakaļ |
Nick Mathewson
|
46619ec914
Note some large functions that could be split.
|
8 gadi atpakaļ |
Nick Mathewson
|
3bcbbea350
More progress on bridge implementation with prop271 guards
|
8 gadi atpakaļ |
Nick Mathewson
|
82fa71610d
Implement bridge backends for sampling, filtering guards.
|
8 gadi atpakaļ |
Nick Mathewson
|
53f248f6c9
Add some needed accessors/inspectors for bridge/guard convergence
|
8 gadi atpakaļ |
Nick Mathewson
|
1d52ac4d3f
Lay down some infrastructure for bridges in the New Guard Order.
|
8 gadi atpakaļ |
Nick Mathewson
|
89f5f149df
Remove guard_selection argument from status-reporting functions
|
8 gadi atpakaļ |
Nick Mathewson
|
6dcbc24a4e
Add a backpointer from entry_guard_t to guard_selection_t
|
8 gadi atpakaļ |
Nick Mathewson
|
404e9e5611
Have multiple guard contexts we can switch between.
|
8 gadi atpakaļ |
Nick Mathewson
|
c6d218c44b
Unit tests for entry_guard_{pick_for_circuit,succeeded,failed}
|
8 gadi atpakaļ |
Nick Mathewson
|
9493711077
Mark confirmed guards primary as appropriate.
|
8 gadi atpakaļ |
Nick Mathewson
|
d2af9826fd
Turn #defines for prop271 into networkstatus params
|
8 gadi atpakaļ |
Nick Mathewson
|
2ea5aa7182
Expire circuits that have been WAITING_FOR_BETTER_GUARD too long
|
8 gadi atpakaļ |
Nick Mathewson
|
e56bc1e5de
Move the 'dirty' flag for the guards to a global again
|
8 gadi atpakaļ |
Nick Mathewson
|
bce0f79252
Mark some more BUG lines as unreachable.
|
8 gadi atpakaļ |
Nick Mathewson
|
a7bc73935b
Test get_guard_selection_by_name
|
8 gadi atpakaļ |
Nick Mathewson
|
526b0e2ce2
Avoid division-by-zero in pathbias_check_*_success_count
|
8 gadi atpakaļ |