Nick Mathewson
|
0895808023
Merge remote-tracking branch 'origin/maint-0.3.0'
|
7 years ago |
Nick Mathewson
|
a5130de432
Tweak test_entrynodes comment
|
7 years ago |
Nick Mathewson
|
4f6025498d
Use update_approx_time() to run a test 100 days in the past.
|
7 years ago |
Nick Mathewson
|
7505f452c8
Run the copyright update script.
|
7 years ago |
Nick Mathewson
|
ed4a3dfef2
Remove XXXXprop271 comments from test_entrynodes.c
|
7 years ago |
Nick Mathewson
|
12efa1f1cc
Add a unit test for dropguards
|
7 years ago |
Nick Mathewson
|
6d03e36fd0
Remove GS_TYPE_LEGACY
|
7 years ago |
Nick Mathewson
|
a31a5581ee
Remove UseDeprecatedGuardAlgorithm.
|
7 years ago |
Nick Mathewson
|
472b277207
Remove the (no longer compiled) code for legacy guard selection.
|
7 years ago |
Nick Mathewson
|
ff08be56ac
Fix another pointless stack-protector warning.
|
8 years ago |
Nick Mathewson
|
698ed75e1a
Resolve some coverity complaints in test_entrynodes.c
|
8 years ago |
Nick Mathewson
|
79a24750ba
Fix broken entrynodes/retry_unreachable test
|
8 years ago |
Nick Mathewson
|
506bd6d47c
Make NumDirectoryGuards work with the new guard algorithm.
|
8 years ago |
Nick Mathewson
|
6867950432
Wrap all of the legacy guard code, and its users, in #ifdefs
|
8 years ago |
Nick Mathewson
|
72dc2ae319
Tests for choosing which guard_selection to use
|
8 years ago |
Nick Mathewson
|
d9f010db84
Update node-selection tests to consider restrictions
|
8 years ago |
Nick Mathewson
|
7361e1b499
Tests for restricted-circuit cases of upgrade_waiting_circuits()
|
8 years ago |
Nick Mathewson
|
79d3e94f8b
prop271: Tests for the highlevel or_state_t encode/decode functions
|
8 years ago |
Nick Mathewson
|
171981f8a0
Add a test for entry_guard_state_should_expire()
|
8 years ago |
Nick Mathewson
|
13315812e8
Repair unit test for tiny-network case.
|
8 years ago |
Nick Mathewson
|
87f9b42179
Implement support for per-circuit guard restrictions.
|
8 years ago |
Nick Mathewson
|
6c3f555a8c
Re-enable some disabled tests about switching guard_selections
|
8 years ago |
Nick Mathewson
|
84bfa895d7
Change return value of entry_guard_succeeded to an enum.
|
8 years ago |
Nick Mathewson
|
1d52ac4d3f
Lay down some infrastructure for bridges in the New Guard Order.
|
8 years ago |
Nick Mathewson
|
89f5f149df
Remove guard_selection argument from status-reporting functions
|
8 years ago |
Nick Mathewson
|
404e9e5611
Have multiple guard contexts we can switch between.
|
8 years ago |
Nick Mathewson
|
08d3ca2e56
More entry guard tests: for cancel, and for upgrade.
|
8 years ago |
Nick Mathewson
|
fcb50f1839
Test for entry_guard_has_higher_priority().
|
8 years ago |
Nick Mathewson
|
c6d218c44b
Unit tests for entry_guard_{pick_for_circuit,succeeded,failed}
|
8 years ago |
Nick Mathewson
|
d2af9826fd
Turn #defines for prop271 into networkstatus params
|
8 years ago |