summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-12Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-05-12Unmap microdesc cache before replacing it.Nick Mathewson
If we do a replace-then-munmap, windows will never actually rewrite the microdesc cache. Found by wanoskarnet; bugfix on 0.2.2.6-alpha.
2011-05-12Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-05-12Merge branch 'bug1352' into maint-0.2.2Nick Mathewson
2011-05-11Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-05-11Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
2011-05-11Merge branch 'bug3135' into maint-0.2.1Nick Mathewson
2011-05-11Fix crash when read_file_to_string() fails in SAVECONFNick Mathewson
The new behavior is to try to rename the old file if there is one there that we can't read. In all likelihood, that will fail too, but at least we tried, and at least it won't crash.
2011-05-10Merge branch 'maint-0.2.2'Roger Dingledine
2011-05-10Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine
2011-05-10Update to the May 1 2011 Maxmind GeoLite Country databaseRoger Dingledine
2011-05-10another changelog heuristic based on 0.2.3.1-alphaRoger Dingledine
2011-05-09Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/directory.c
2011-05-09Merge remote-tracking branch 'public/bug3022_v2' into maint-0.2.2Nick Mathewson
2011-05-09Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
Conflicts: src/or/connection.c
2011-05-09Merge branch 'clang_fixes' into maint-0.2.2Nick Mathewson
2011-05-09Remove some dead code, found by clangSebastian Hahn
2011-05-09Remove a duplicated line, found by clangSebastian Hahn
2011-05-09Fix potential null pointer deref during dirvoteSebastian Hahn
Found by using clang's analyzer.
2011-05-09Fix a potential null deref when rebuilding md cacheSebastian Hahn
Issue discovered using clang's static analyzer
2011-05-09CONN_LOG_PROTECT()'s first argument may not be 0Sebastian Hahn
Make that explicit by adding an assert and removing a null-check. All of its callers currently depend on the argument being non-null anyway. Silences a few clang complaints.
2011-05-09Appease clang - and my tortured mindSebastian Hahn
This possible div by 0 warning from clang's analyzer was quite fun to track down. Turns out the current behaviour is safe.
2011-05-09Add an assert to un-confuse clang's analyzerSebastian Hahn
The analyzer assumed that bootstrap_percent could be less than 0 when we call control_event_bootstrap_problem(), which would mean we're calling log_fn() with undefined values. The assert makes it clear this can't happen.
2011-05-09Fix a docstringSebastian Hahn
2011-05-06Link to libevent_openssl statically when requestedSebastian Hahn
When configure tor with --enable-bufferevents and --enable-static-libevent, libevent_openssl would still be linked dynamically. Fix this and refactor src/or/Makefile.am along the way.
2011-05-05Fix check-spaces issues in masterNick Mathewson
2011-05-05Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-05-05Fix up some check-spaces issuesNick Mathewson
2011-05-05Merge branch 'microdesc-use-v2-squashed'Nick Mathewson
2011-05-05Make microdesc use off-by-default for now, since there are not enough cachesNick Mathewson
2011-05-05Now that 0.2.3.1-alpha is out, require it for microdesc fetchesNick Mathewson
2011-05-05Move dummy authority.z fetch out of update_router_descriptor_downloadsNick Mathewson
To make sure that a server learns if its IP has changed, the server sometimes launches authority.z descriptor fetches from update_router_descriptor_downloads. That's nice, but we're moving towards a situation where update_router_descriptor_downloads doesn't always get called. So this patch breaks the authority.z check-and-fetch into a new function. This function also renames last_routerdesc_download to a more appropriate last_descriptor_download, and adds a new update_all_descriptor_downloads() function. (For now, this is unnecessary, since servers don't actually use microdescriptors. But that could change, or bridges could start using microdescriptors, and then we'll be glad this is refactored nicely.)
2011-05-05Code to make clients fetch and use microdescriptors for circuit buildingNick Mathewson
To turn this on, set UseMicrodescriptors to "1" (or "auto" if you want it on-if-you're-a-client). It should go auto-by-default once 0.2.3.1-alpha is released. Because of our node logic, directory caches will never use microdescriptors when they have the right routerinfo available.
2011-05-05Replace _AUTHORITY enum values with _DIRINFO values (automted)Nick Mathewson
2011-05-05Automated rename from authority_type_t to dirinfo_type_tNick Mathewson
We were already overloading this type to mean "a directory that can serve us X" in addition to "a directory that is an authority for X."
2011-05-05Add a new configuration type, "AUTOBOOL", to handle 1/0/auto typesNick Mathewson
We only have one of these now, but I'm about to add a few more. Yes, I have already thought of the "Filenotfoundian logic" joke.
2011-05-05fix the website directions.Andrew Lewman
2011-05-05Increment version to 0.2.3.1-alpha-devNick Mathewson
2011-05-05more changelog tweaks, mostly from sebastiantor-0.2.3.1-alphaNick Mathewson
2011-05-05Increment version to 0.2.3.1-alphaNick Mathewson
2011-05-05Tweak 0.2.3.1-alpha changelog, add more entries.Nick Mathewson
2011-05-04Use read_all() to read messages from spawn_backgroundNick Mathewson
Using read() is an invitation to get some of the data you want, not all. Possible fix for bug 2462
2011-05-04Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-05-04Merge remote-tracking branch 'rransom/bug3106' into maint-0.2.2Nick Mathewson
2011-05-04Handle crypto_pk_get_digest failures semi-sensiblyRobert Ransom
Fixes bug 3106.
2011-05-04Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-05-04Merge remote-tracking branch 'sebastian/win_warning' into maint-0.2.2Nick Mathewson
2011-05-05Fix compile warning on windowsSebastian Hahn
2011-05-04Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson
2011-05-04Merge branch 'bug2379' into maint-0.2.2Nick Mathewson