summaryrefslogtreecommitdiff
path: root/changes
AgeCommit message (Collapse)Author
2011-05-13Don't clear out transient addressmap entries on HUPNick Mathewson
If you really want to purge the client DNS cache, the TrackHostExits mappings, and the virtual address mappings, you should be using NEWNYM instead. Fixes bug 1345; bugfix on Tor 0.1.0.1-rc. Note that this needs more work: now that we aren't nuking the transient addressmap entries on HUP, we need to make sure that configuration changes to VirtualAddressMap and TrackHostExits actually have a reasonable effect.
2011-05-13Add a ControlPortFileGroupWritable optionNick Mathewson
2011-05-13Write automatically-chosen control ports to a file.Nick Mathewson
2011-05-13new GETINFO command to return list of listeners of a given typeNick Mathewson
2011-05-13"(Socks|Control|etc)Port auto" now tells Tor to open an arbitrary portNick Mathewson
This is the major part of the implementation for trac issue 3076.
2011-05-12Merge remote-tracking branch 'public/bug3122_memcmp_022' into maint-0.2.2Nick Mathewson
2011-05-12Add changes file for bug2503Nick 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 branch 'bug1352' into maint-0.2.2Nick Mathewson
2011-05-11Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick 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-11Merge remote-tracking branch 'public/3122_memcmp_squashed' into ↵Nick Mathewson
bug3122_memcmp_022 Conflicts throughout. All resolved in favor of taking HEAD and adding tor_mem* or fast_mem* ops as appropriate. src/common/Makefile.am src/or/circuitbuild.c src/or/directory.c src/or/dirserv.c src/or/dirvote.c src/or/networkstatus.c src/or/rendclient.c src/or/rendservice.c src/or/router.c src/or/routerlist.c src/or/routerparse.c src/or/test.c
2011-05-11Add a data-independent variant of memcmp and a d-i memeq function.Nick Mathewson
The tor_memcmp code is by Robert Ransom, and the tor_memeq code is by me. Both incorporate some ideas from DJB's stuff.
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-09Merge remote-tracking branch 'public/bug3022_v2' into maint-0.2.2Nick Mathewson
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-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-03Add some missing torrc entries to tor.1.txtNick Mathewson
Fixes bug 2379
2011-05-03Change who calls microdesc_cache_rebuild().Nick Mathewson
Previously we ensured that it would get called periodically by doing it from inside the code that added microdescriptors. That won't work though: it would interfere with our code that tried to read microdescs from disk initially. Instead, we should consider rebuilding the cache periodically, and on startup.
2011-05-03Backport microdesc_cache_clean to 0.2.2Nick Mathewson
Otherwise we have no way to keep authorities' microdesc caches in 0.2.2 from growing without bound.
2011-05-03Fix a check for when to rebuild the microdesc cache. (Backport from 0.2.3.Nick Mathewson
2011-05-03Add missing code to set cache->journal_len when reading microdesc journalNick Mathewson
This could be one reason that authorities' journals would grow without bound; related to bug 2230. Bugfix on 0.2.2.6-alpha. Fix by "cypherpunks".
2011-04-28Rate-limit v2 networkstatus download fail warningsNick Mathewson
This fixes part of 1352. We don't care deeply about these warnings, since v2 networkstatuses aren't a big deal.
2011-04-28Merge remote-tracking branch 'arma/bug3012' into maint-0.2.2Nick Mathewson
2011-04-28relays checkpoint their state file twice a dayRoger Dingledine
2011-04-28Only authorities should automatically download v2 networkstatus documentsNick Mathewson
Clients and relays haven't used them since early 0.2.0.x. The only remaining use by authorities learning about new relays ahead of scedule; see proposal 147 for what we intend to do about that. We're leaving in an option (FetchV2Networkstatus) to manually fetch v2 networkstatuses, because apparently dnsel and maybe bwauth want them. This fixes bug 3022.
2011-04-28Merge remote-tracking branch 'arma/bug3039' into maint-0.2.2Nick Mathewson
2011-04-28stop putting wacky values into state->lastwrittenRoger Dingledine
2011-04-28Merge remote-tracking branches 'rransom/bug2722' and 'rransom/bug2722b' into ↵Nick Mathewson
maint-0.2.2
2011-04-29Correctly check elapsed time in last hibernation periodSebastian Hahn
Fix bug 3020.
2011-04-28Fix bug 1930Robert Ransom
2011-04-28Ignore SIGNAL NEWNYM on relay-only Tor instancesRobert Ransom
2011-04-28Don't allow v0 HS auths to act as clientsRobert Ransom
A v0 HS authority stores v0 HS descriptors in the same descriptor cache that its HS client functionality uses. Thus, if the HS authority operator clears its client HS descriptor cache, ALL v0 HS descriptors will be lost. That would be bad.
2011-04-28Detect and handle NULL returns from (gm/local)time_rNick Mathewson
These functions can return NULL for otherwise-valid values of time_t. Notably, the glibc gmtime manpage says it can return NULL if the year if greater than INT_MAX, and the windows MSDN gmtime page says it can return NULL for negative time_t values. Also, our formatting code is not guaranteed to correctly handle years after 9999 CE. This patch tries to correct this by detecting NULL values from gmtime/localtime_r, and trying to clip them to a reasonable end of the scale. If they are in the middle of the scale, we call it a downright error. Arguably, it's a bug to get out-of-bounds dates like this to begin with. But we've had bugs of this kind in the past, and warning when we see a bug is much kinder than doing a NULL-pointer dereference. Boboper found this one too.
2011-04-28Merge remote-tracking branch 'sebastian/bug2497' into maint-0.2.2Nick Mathewson
2011-04-28Merge branch 'bug3k_021' into bug3k_022Sebastian Hahn
Conflicts: src/or/or.h src/or/rendclient.c
2011-04-28Allow rend_client_send_introduction to fail transientlyRobert Ransom
i.e. without closing the AP connection.
2011-04-28Forget all rendezvous client state on SIGNAL NEWNYMRobert Ransom
2011-04-27Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson
Conflicts: src/common/torint.h
2011-04-27I guess that had a bug number: add it to the changes file.Nick Mathewson
2011-04-27Fix clear_trackhostexits_mapping() to actually work as advertisedNick Mathewson
Previously, it would remove every trackhostexits-derived mapping *from* xyz.<exitname>.exit; it was supposed to remove every trackhostexits-derived mapping *to* xyz.<exitname>.exit. Bugfix on 0.2.0.20-rc: fixes an XXX020 added while staring at bug-1090 issues.
2011-04-27Fix double-free bug in microdesc parsercypherpunks
2011-04-27Add a big changelog entry for bug 1090 fixesNick Mathewson
2011-04-27warn if we launch too many circuits for a given streamRoger Dingledine
2011-04-26Do not automatically ignore Fast/Stable for exits when ExitNodes is setNick Mathewson
This once maybe made sense when ExitNodes meant "Here are 3 exits; use them all", but now it more typically means "Here are 3 countries; exit from there." Using non-Fast/Stable exits created a potential partitioning opportunity and an annoying stability problem. (Don't worry about the case where all of our ExitNodes are non-Fast or non-Stable: we handle that later in the function by retrying with need_capacity and need_uptime set to 0.)
2011-04-26Merge remote-tracking branch 'sebastian/bug2917' into maint-0.2.2Nick Mathewson
2011-04-26Make SIZE_T_CEILING unsigned; add a signed SSIZE_T_CEILINGNick Mathewson
None of the comparisons were _broken_ previously, but avoiding signed/unsigned comparisons makes everybody happier. Fixes bug2475.