Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-13 | Don't queue more cells as a middle relay than the spec allows to be in flight | Andrea Shepard | |
2013-06-13 | If we write the annotation but not the microdescriptor, rewind. | Nick Mathewson | |
This fixes bug 9047 (and some parts of 9031, 8922, 8883 that weren't fixed in 8822). Bugfix on 0.2.2.6-alpha. | |||
2013-06-13 | Merge remote-tracking branch 'public/bug8822' into maint-0.2.4 | Nick Mathewson | |
2013-06-12 | Merge remote-tracking branch 'andrea/bug8639_v3' into maint-0.2.4 | Nick Mathewson | |
2013-06-12 | Make all consumers of microdesc_t.body tolerate NULL | Nick Mathewson | |
This is another fix to try to mitigate recurrences of 8031/8822. | |||
2013-06-12 | Unmap the microdescriptor cache before replacing it. | Nick Mathewson | |
This is a reprise of the fix in bdff7e3299d78; 6905c1f6 reintroduced that bug. Briefly: windows doesn't seem to like deleting a mapped file. I tried adding the PROT_SHARED_DELETE flag to the createfile all, but that didn't actually fix this issue. Fortunately, the unit test I added in 4f4fc63fea0589a4fa03f3859dc27860cdde75af should prevent us from making this particular screw-up again. This patch also tries to limit the crash potential of a failure to write by a little bit, although it could do a better job of retaining microdescriptor bodies. Fix for bug 8822, bugfix on 0.2.4.12-alpha. | |||
2013-06-10 | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4 | Nick Mathewson | |
2013-06-10 | Fix (Open?)BSD fast-connect bug with optimistic data. | Nick Mathewson | |
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.) | |||
2013-05-31 | When launching a resolve request on behalf of an AF_UNIX control, omit the ↵ | Andrea Shepard | |
address field of the new entry connection. Fixes bug 8639. | |||
2013-05-21 | Downgrade the unexpected sendme cell warnings for 0.2.4 | Nick Mathewson | |
See discussion on #8093 | |||
2013-05-20 | Copy-paste description of PathBias params from man page to or.h comment | Andrea Shepard | |
2013-05-17 | Fix bug 8846: better log message on IP version confusion | Nick Mathewson | |
2013-05-15 | Fix socks5 handshake for username/password auth | Roger Dingledine | |
The fix for bug 8117 exposed this bug, and it turns out real-world applications like Pidgin do care. Bugfix on 0.2.3.2-alpha; fixes bug 8879. | |||
2013-05-10 | Merge bug5595-v2-squashed into maint-0.2.4 | Andrea Shepard | |
2013-05-09 | Rephrase comment in trusted_dirs_load_certs_from_string() to reflect 5595 fix | Andrea Shepard | |
2013-05-09 | Make warning in authority_cert_dl_failed() LD_BUG per NickM code review | Andrea Shepard | |
2013-05-09 | Use tor_asprintf() and clean up string handling in ↵ | Andrea Shepard | |
authority_certs_fetch_missing() | |||
2013-05-09 | Clean up ugly constants in connection_dir_download_cert_failed(), and fix a ↵ | Andrea Shepard | |
broken one | |||
2013-05-09 | Avoid duplicate downloads by (fp,sk) and by fp for authority certs when ↵ | Andrea Shepard | |
bootstrapping | |||
2013-05-09 | When downloading certificates, distinguish requesting by identity digest ↵ | Andrea Shepard | |
from requesting by ID digest, signing key pair; fixes bug 5595 | |||
2013-05-09 | Implement fp_pair_map_t | Andrea Shepard | |
2013-05-09 | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4 | Nick Mathewson | |
2013-05-09 | Don't run off the end of the array-of-freelists | Nick Mathewson | |
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! | |||
2013-05-05 | Use a clearer idiom for node identity in router_counts_toward_thresholds | Nick Mathewson | |
2013-05-05 | Fix 8833: crash bug from using NULL node->ri in dirserv.c | Nick Mathewson | |
It appears that moria1 crashed because of one instance of this (the one in router_counts_toward_thresholds). The other instance I fixed won't actually have broken anything, but I think it's more clear this way. Fixes bug 8833; bugfix on 0.2.4.12-alpha. | |||
2013-04-24 | Merge remote-tracking branch 'public/bug6026' into maint-0.2.4 | Nick Mathewson | |
2013-04-24 | Increase the pathbias state file miscounting version check. | Mike Perry | |
We now know the bug is present in 0.2.4.12-alpha too. It should be fixed in 0.2.4.13-alpha, though. | |||
2013-04-24 | Bug 8235: Fix scaling adjustments. | Mike Perry | |
We need to subtract both the current built circuits *and* the attempted circuits from the attempt count during scaling, since *both* have already been counted there. | |||
2013-04-18 | Add a boolean to flag-thresholds for "we have enough measured bandwidth" | Nick Mathewson | |
Implements #8711. | |||
2013-04-18 | Merge remote-tracking branch 'public/bug8716_023' into maint-0.2.4 | Nick Mathewson | |
2013-04-18 | Merge remote-tracking branch 'public/bug8719' into maint-0.2.4 | Nick Mathewson | |
2013-04-18 | Merge branch 'less_charbuf_rebased' into maint-0.2.4 | Nick Mathewson | |
Conflicts: src/or/dirserv.c src/or/dirserv.h src/test/test_dir.c | |||
2013-04-18 | Re-enable test for parsing and generating descriptor with exit policy | Nick Mathewson | |
Looks like I turned this off in 6ac42f5e back in 2003 and never got around to making it work again. There has been no small amount of code drift. | |||
2013-04-18 | Add a quick-and-dirty-test for generate_v2_networkstatus. | Nick Mathewson | |
It sure is a good thing we can run each test in its own process, or else the amount of setup I needed to do to make this thing work would have broken all the other tests. Test mocking would have made this easier to write too. | |||
2013-04-18 | Remove the now-unused router_get_networkstatus_v3_hash | Nick Mathewson | |
2013-04-18 | Test improvement: include microdesc lines in our synthetic microdesc ↵ | Nick Mathewson | |
consensuses. | |||
2013-04-18 | Fix a couple of documentation issues. | Nick Mathewson | |
2013-04-18 | Remove some now-needless length defines | Nick Mathewson | |
2013-04-18 | Remove RS_ENTRY_LEN | Nick Mathewson | |
Nothing uses it any longer now that we use smartlists of strings for stuff that manipulates iles of formatted routerstatuses. | |||
2013-04-18 | Refactor dirobj signature generation | Nick Mathewson | |
Now we can compute the hash and signature of a dirobj before concatenating the smartlist, and we don't need to play silly games with sigbuf and realloc any more. | |||
2013-04-18 | Use chunks, not buffers, for router descriptors | Nick Mathewson | |
2013-04-18 | Refactor v2 networkstatus generation to avoid buffer-style | Nick Mathewson | |
2013-04-18 | Refactor routerstatus_format_entry to avoid character-buffers | Nick Mathewson | |
2013-04-18 | Fix some wide lines | Nick Mathewson | |
2013-04-17 | Don't leak a waiting-for-certs consensus when accepting it. | Nick Mathewson | |
I believe this was introduced in 6bc071f765d2829249db52, which makes this a fix on 0.2.0.10-alpha. But my code archeology has not extended to actually testing that theory. | |||
2013-04-17 | Fix memory leak when sending configuration-changed event | Nick Mathewson | |
Fix for bug #8718; bugfix on 0.2.3.3-alpha. | |||
2013-04-17 | Merge remote-tracking branch 'public/bug7143_v2' into maint-0.2.4 | Nick Mathewson | |
2013-04-17 | Merge branch 'bug8037_squashed' into maint-0.2.4 | Nick Mathewson | |
2013-04-17 | Reject most directory documents with an internal NUL. | Nick Mathewson | |
(Specifically, we reject all the ones that aren't NUL-terminated, since a NUL-terminated thing can't have a NUL in the middle.) Another fix for #8037. | |||
2013-04-14 | Merge branch 'bug8683_rebased' into maint-0.2.4 | Nick Mathewson | |