Skip to content
Snippets Groups Projects
  1. Jun 10, 2013
    • Nick Mathewson's avatar
      Merge branch 'bug9017' into maint-0.2.3 · 4835faeb
      Nick Mathewson authored
      4835faeb
    • Nick Mathewson's avatar
      Fix (Open?)BSD fast-connect bug with optimistic data. · 77a19353
      Nick Mathewson authored
      There's an assertion failure that can occur if a connection has
      optimistic data waiting, and then the connect() call returns 0 on the
      first attempt (rather than -1 and EINPROGRESS).  That latter behavior
      from connect() appears to be an (Open?)BSDism when dealing with remote
      addresses in some cases. (At least, I've only seen it reported with
      the BSDs under libevent, even when the address was 127.0.0.1.  And
      we've only seen this problem in Tor with OpenBSD.)
      
      Fixes bug 9017; bugfix on 0.2.3.1-alpha, which first introduced
      optimistic data. (Although you could also argue that the commented-out
      connection_start_writing in 155c9b80 back in 2002 is the real source
      of the issue.)
      77a19353
  2. Jun 05, 2013
  3. May 20, 2013
  4. May 13, 2013
  5. May 09, 2013
    • Nick Mathewson's avatar
      96d32191
    • Nick Mathewson's avatar
      Don't run off the end of the array-of-freelists · 00e2310f
      Nick Mathewson authored
      This is a fix for bug 8844, where eugenis correctly notes that there's
      a sentinel value at the end of the list-of-freelists that's never
      actually checked.  It's a bug since the first version of the chunked
      buffer code back in 0.2.0.16-alpha.
      
      This would probably be a crash bug if it ever happens, but nobody's
      ever reported something like this, so I'm unsure whether it can occur.
      It would require write_to_buf, write_to_buf_zlib, read_to_buf, or
      read_to_buf_tls to get an input size of more than 32K.  Still, it's a
      good idea to fix this kind of thing!
      00e2310f
  6. Apr 12, 2013
  7. Apr 08, 2013
  8. Mar 18, 2013
  9. Mar 11, 2013
  10. Mar 07, 2013
  11. Mar 01, 2013
  12. Feb 12, 2013
  13. Feb 11, 2013
  14. Feb 08, 2013
  15. Jan 15, 2013
  16. Jan 14, 2013
  17. Jan 05, 2013
  18. Dec 13, 2012
  19. Nov 13, 2012
    • Roger Dingledine's avatar
      use a more logical operator · 88bb48e7
      Roger Dingledine authored
      Fix a harmless bug when opting against publishing a relay descriptor
      because DisableNetwork is set.
      
      Fixes bug 7464; bugfix on 0.2.3.9-alpha.
      88bb48e7
  20. Nov 09, 2012
  21. Nov 08, 2012
  22. Oct 24, 2012
  23. Oct 23, 2012
    • Roger Dingledine's avatar
      Let 0.2.3 clients exit to internal addresses if they want · 2ecee3fc
      Roger Dingledine authored
      Clients now consider the ClientRejectInternalAddresses config option
      when using a microdescriptor consensus stanza to decide whether
      an exit relay would allow exiting to an internal address. Fixes
      bug 7190; bugfix on 0.2.3.1-alpha.
      2ecee3fc
    • Nick Mathewson's avatar
      Fix parse_short_policy (bug 7192.) · 85659d39
      Nick Mathewson authored
      Our implementation of parse_short_policy was screwed up: it would
      ignore the last character of every short policy.  Obviously, that's
      broken.
      
      This patch fixes the busted behavior, and adds a bunch of unit tests
      to make sure the rest of that function is okay.
      
      Fixes bug 7192; fix on 0.2.3.1-alpha.
      85659d39
Loading