Browse Source

Reject multicast rendezvous point addresses

Unless ExtendAllowPrivateAddresses is 1.
teor (Tim Wilson-Brown) 8 years ago
parent
commit
b0ca80c23f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/circuitbuild.c

+ 1 - 1
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;
   }