|
@@ -1369,6 +1369,12 @@ router_parse_entry_from_string(const char *s, const char *end,
|
|
|
router->has_old_dnsworkers = 1;
|
|
|
}
|
|
|
|
|
|
+ if (find_opt_by_keyword(tokens, K_REJECT6) ||
|
|
|
+ find_opt_by_keyword(tokens, K_ACCEPT6)) {
|
|
|
+ log_warn(LD_DIR, "Rejecting router with reject6/accept6 line: they crash "
|
|
|
+ "older Tors.");
|
|
|
+ goto err;
|
|
|
+ }
|
|
|
exit_policy_tokens = find_all_exitpolicy(tokens);
|
|
|
if (!smartlist_len(exit_policy_tokens)) {
|
|
|
log_warn(LD_DIR, "No exit policy tokens in descriptor.");
|