diff options
author | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-02-02 13:32:54 +1100 |
---|---|---|
committer | teor (Tim Wilson-Brown) <teor2345@gmail.com> | 2016-03-04 18:21:13 +0100 |
commit | b0ca80c23fede62feefb7ad5e5c8bdf7a732c4c4 (patch) | |
tree | 1ace6dc2222022b1577f21d74f8e291f31166624 | |
parent | 4a7964b3bcfa5439ba10e227c2ca8a4564123538 (diff) | |
download | tor-b0ca80c23fede62feefb7ad5e5c8bdf7a732c4c4.tar.gz tor-b0ca80c23fede62feefb7ad5e5c8bdf7a732c4c4.zip |
Reject multicast rendezvous point addresses
Unless ExtendAllowPrivateAddresses is 1.
-rw-r--r-- | src/or/circuitbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 6a3c16497e..2e91f9440d 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2409,7 +2409,7 @@ int extend_info_addr_is_allowed(const tor_addr_t *addr) tor_assert(addr); /* Check if we have a private address and if we can extend to it. */ - if (tor_addr_is_internal(addr, 0) && + if ((tor_addr_is_internal(addr, 0) || tor_addr_is_multicast(addr)) && !get_options()->ExtendAllowPrivateAddresses) { goto disallow; } |