aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2022-02-14 13:40:45 -0500
committerDavid Goulet <dgoulet@torproject.org>2022-02-16 13:59:30 -0500
commit7eb543787873230e4fd51da42b74a9a771840cd9 (patch)
tree5c6e239d20f29798b081c703e37a9dd169b995e4 /src/test
parent52d1c1fd311c9d552b32108a7e92ea2be76e090c (diff)
downloadtor-7eb543787873230e4fd51da42b74a9a771840cd9.tar.gz
tor-7eb543787873230e4fd51da42b74a9a771840cd9.zip
dirauth: Reject EOL 0.3.5.x relays
Closes #40559 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_process_descs.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/test_process_descs.c b/src/test/test_process_descs.c
index 5503fc69ee..1471bec18e 100644
--- a/src/test/test_process_descs.c
+++ b/src/test/test_process_descs.c
@@ -21,9 +21,9 @@ test_process_descs_versions(void *arg)
// a non-tor program: don't reject.
{ "Wombat 0.1.2.3-alpha", false },
// some unsupported versions: reject.
+ { "Tor 0.2.9.100", true },
{ "Tor 0.2.9.4-alpha", true },
{ "Tor 0.2.9.5-alpha", true },
- { "Tor 0.2.9.100", true },
{ "Tor 0.3.0.0-alpha-dev", true },
{ "Tor 0.3.0.2-alpha", true },
{ "Tor 0.3.0.5", true },
@@ -34,6 +34,8 @@ test_process_descs_versions(void *arg)
{ "Tor 0.3.4.100", true },
{ "Tor 0.3.5.1-alpha", true },
{ "Tor 0.3.5.6-rc", true},
+ { "Tor 0.3.5.7", true },
+ { "Tor 0.3.5.8", true },
{ "Tor 0.4.0.1-alpha", true },
{ "Tor 0.4.0.5", true },
{ "Tor 0.4.1.1-alpha", true },
@@ -47,12 +49,11 @@ test_process_descs_versions(void *arg)
{ "Tor 0.4.4.9", true },
{ "Tor 0.4.5.5-rc", true },
// new enough to be supported
- { "Tor 0.3.5.7", false },
- { "Tor 0.3.5.8", false },
{ "Tor 0.4.5.6", false },
{ "Tor 0.4.6.0-alpha-dev", false },
{ "Tor 0.4.6.5", false },
{ "Tor 0.4.7.0-alpha-dev", false },
+ { "Tor 0.4.7.3-alpha", false },
// Very far in the future
{ "Tor 100.100.1.5", false },
};