Skip to content
Snippets Groups Projects
  1. Aug 24, 2012
  2. Aug 23, 2012
    • Linus Nordberg's avatar
      Move ipv6_preferred from routerinfo_t to node_t. · 3410a46e
      Linus Nordberg authored
      Move extend_info_from_router() from circuitbuild.c to router.c and
      make it static.
      
      Add get_configured_bridge_by_orports_digest() and have
      get_configured_bridge_by_routerinfo() and
      node_is_a_configured_bridge() use it. We now consider all OR ports of
      a bridge when looking for it.
      
      Move node_get_*_orport to nodelist.c.
      
      Fix a cut'n'paste error in header of nodelist.h.
      
      Add node_assert_ok().
      
      Add router_get_all_orports(). It's duplicating code from
      node_get_all_orports(). Worth fixing at the cost of complicating the
      API slightly?
      3410a46e
  3. Aug 22, 2012
  4. Aug 21, 2012
  5. Aug 17, 2012
  6. Aug 16, 2012
  7. Aug 15, 2012
    • Nick Mathewson's avatar
      Fix warnings and 64-bit problems in openbsd-malloc code · 6a33c33a
      Nick Mathewson authored
      The warning fixes are:
        - Only define issetugid if it's missing.
        - Explicitly ignore the return value of writev.
        - Explicitly cast the retval of readlink() to int.
      
      The 64-bit problems are related to just storing a size_t in an int. Not cool!  Use a size_t instead.
      
      Fix for bug 6379. Bugfix on 0.2.0.20-rc, which introduced openbsd-malloc.
      6a33c33a
    • Nick Mathewson's avatar
      Fix wildcarded address mappings from the control port · 2ba52f40
      Nick Mathewson authored
      Apparently, we weren't actually detecting wildcardedness when parsing
      them: whoops!
      
      bug 6244.  Bugfix on 0.2.3.9-alpha
      2ba52f40
    • Nick Mathewson's avatar
      Raise the part of torrc mapaddress handling that knows wildcards · 959f8500
      Nick Mathewson authored
      This patch extracts the inner part of config_register_addressmaps --
      the part that knows about detecting wildcard addresses addresses --
      and makes it into a new function.  The new function is deliberately
      not moved or reindented, so that the diff is smaller.
      
      I need this to fix bug 6244.
      959f8500
    • Nick Mathewson's avatar
      Check for stream_id, not conn, on extend cells. · cdd882ee
      Nick Mathewson authored
      Extend cells aren't allowed to have a stream_id, but we were only
      blocking them when they had a stream_id that corresponded to a
      connection.  As far as I can tell, this change is harmless: it will
      make some kinds of broken clients not work any more, but afaik nobody
      actually make a client that was broken in that way.
      
      Found while hunting for other places where we made the same mistake
      as in 6271.
      
      Bugfix on d7f50337 back from May 2003, which introduced
      telescoping circuit construction into 0.0.2pre8.
      cdd882ee
  8. Aug 14, 2012
  9. Aug 13, 2012
Loading