Nick Mathewson
|
988b0afbd6
Merge branch 'ticket20826_v2'
|
7 years ago |
Nick Mathewson
|
e044b4f8ce
Support restrictive ENTRYNODES configurations correctly.
|
8 years ago |
Nick Mathewson
|
4ec9751c14
guard->nickname is never NULL.
|
7 years ago |
Nick Mathewson
|
2cee38f76a
Merge branch 'prop271_030_v1_squashed'
|
7 years ago |
Nick Mathewson
|
20292ec497
Per suggestion, increase the retry frequency for primary guards.
|
8 years ago |
Nick Mathewson
|
fc7751a989
Rewrite state transition logic in entry_guards_note_success()
|
8 years ago |
Nick Mathewson
|
2e2f3a4d99
Add a separate, non-fractional, limit to the sampled guard set size.
|
8 years ago |
Nick Mathewson
|
e50d85b90c
Clean check for live consensus when updating the guard sample.
|
8 years ago |
Nick Mathewson
|
b7088e5b5a
Move a TODO comment into doxygen comments.
|
8 years ago |
George Kadianakis
|
50783d0123
Easy code fixes.
|
8 years ago |
George Kadianakis
|
7ab2678074
Trivial documentation improvements.
|
8 years ago |
Nick Mathewson
|
6867950432
Wrap all of the legacy guard code, and its users, in #ifdefs
|
8 years ago |
Nick Mathewson
|
2b4bfe62ee
Fix a signed/unsigned warning on 32-bit
|
8 years ago |
Nick Mathewson
|
52e196bab5
Don't make $hexid nicknames persistent.
|
8 years ago |
Nick Mathewson
|
79d3e94f8b
prop271: Tests for the highlevel or_state_t encode/decode functions
|
8 years ago |
Nick Mathewson
|
217590ad05
Extract guard_selection_infer_type into its own function.
|
8 years ago |
Nick Mathewson
|
2c8c58ab2f
Another tweak for guard restrictions: don't let complete circs block
|
8 years ago |
Nick Mathewson
|
87f9b42179
Implement support for per-circuit guard restrictions.
|
8 years ago |
Nick Mathewson
|
17c3faa2e3
guards_choose_dirguard(): replace one XXXX with another.
|
8 years ago |
Nick Mathewson
|
9d065ecc3d
Fix a magic number in get_max_sample_size
|
8 years ago |
Nick Mathewson
|
1e9cd5d2bb
Note a couple of XXX-prop271s as spec deviations.
|
8 years ago |
Nick Mathewson
|
f4e64c04f4
Remove some resolved "XXXX prop271" comments.
|
8 years ago |
Nick Mathewson
|
80fa404625
Fix for small test networks: don't refuse to have any sampled guards.
|
8 years ago |
Nick Mathewson
|
eac8b3f758
Remove a few unused arguments.
|
8 years ago |
Nick Mathewson
|
84bfa895d7
Change return value of entry_guard_succeeded to an enum.
|
8 years ago |
Nick Mathewson
|
46619ec914
Note some large functions that could be split.
|
8 years ago |
Nick Mathewson
|
3bcbbea350
More progress on bridge implementation with prop271 guards
|
8 years ago |
Nick Mathewson
|
82fa71610d
Implement bridge backends for sampling, filtering guards.
|
8 years ago |
Nick Mathewson
|
53f248f6c9
Add some needed accessors/inspectors for bridge/guard convergence
|
8 years ago |
Nick Mathewson
|
1d52ac4d3f
Lay down some infrastructure for bridges in the New Guard Order.
|
8 years ago |