From 27fa4a98d23972213122fa99499efa4baebe49e3 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 7 Sep 2017 10:03:31 -0400 Subject: Make ClientDNSRejectInternalAddresses testing-only. Undeprecate it; rename it to TestingClientDNSRejectInternalAddresses; add the old name as an alias; reject configurations where it is set but TestingTorNetwork is not; change the documentation accordingly. Closes tickets 21031 and 21522. --- src/or/connection_edge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/connection_edge.c') diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index a9fdeee0ee..f1fd90a589 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1343,7 +1343,7 @@ connection_ap_handshake_rewrite(entry_connection_t *conn, /* Hang on, did we find an answer saying that this is a reverse lookup for * an internal address? If so, we should reject it if we're configured to * do so. */ - if (options->ClientDNSRejectInternalAddresses) { + if (options->TestingClientDNSRejectInternalAddresses) { /* Don't let clients try to do a reverse lookup on 10.0.0.1. */ tor_addr_t addr; int ok; -- cgit v1.2.3-54-g00ecf