aboutsummaryrefslogtreecommitdiff
path: root/changes
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'public/bug3022_v2' into maint-0.2.2Nick Mathewson2011-05-09
|\
| * Only authorities should automatically download v2 networkstatus documentsNick Mathewson2011-04-28
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix potential null pointer deref during dirvoteSebastian Hahn2011-05-09
| | | | | | | | Found by using clang's analyzer.
* | Fix a potential null deref when rebuilding md cacheSebastian Hahn2011-05-09
| | | | | | | | Issue discovered using clang's static analyzer
* | Merge remote-tracking branch 'rransom/bug3106' into maint-0.2.2Nick Mathewson2011-05-04
|\ \
| * | Handle crypto_pk_get_digest failures semi-sensiblyRobert Ransom2011-05-04
| | | | | | | | | | | | Fixes bug 3106.
* | | Add some missing torrc entries to tor.1.txtNick Mathewson2011-05-03
|/ / | | | | | | Fixes bug 2379
* | Change who calls microdesc_cache_rebuild().Nick Mathewson2011-05-03
| | | | | | | | | | | | | | | | 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.
* | Backport microdesc_cache_clean to 0.2.2Nick Mathewson2011-05-03
| | | | | | | | | | Otherwise we have no way to keep authorities' microdesc caches in 0.2.2 from growing without bound.
* | Fix a check for when to rebuild the microdesc cache. (Backport from 0.2.3.Nick Mathewson2011-05-03
| |
* | Add missing code to set cache->journal_len when reading microdesc journalNick Mathewson2011-05-03
| | | | | | | | | | | | 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".
* | Merge remote-tracking branch 'arma/bug3012' into maint-0.2.2Nick Mathewson2011-04-28
|\ \
| * | relays checkpoint their state file twice a dayRoger Dingledine2011-04-28
| | |
* | | Merge remote-tracking branch 'arma/bug3039' into maint-0.2.2Nick Mathewson2011-04-28
|\ \ \ | |/ / |/| |
| * | stop putting wacky values into state->lastwrittenRoger Dingledine2011-04-28
| | |
| | |
| \ \
*-. \ \ Merge remote-tracking branches 'rransom/bug2722' and 'rransom/bug2722b' into ↵Nick Mathewson2011-04-28
|\ \ \ \ | | | | | | | | | | | | | | | maint-0.2.2
| * | | | Add changes file for previous commitRobert Ransom2011-03-12
| | | | |
* | | | | Correctly check elapsed time in last hibernation periodSebastian Hahn2011-04-29
| |_|/ / |/| | | | | | | | | | | Fix bug 3020.
* | | | Fix bug 1930Robert Ransom2011-04-28
| | | |
* | | | Ignore SIGNAL NEWNYM on relay-only Tor instancesRobert Ransom2011-04-28
| | | |
* | | | Don't allow v0 HS auths to act as clientsRobert Ransom2011-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Detect and handle NULL returns from (gm/local)time_rNick Mathewson2011-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge remote-tracking branch 'sebastian/bug2497' into maint-0.2.2Nick Mathewson2011-04-28
|\ \ \ \
| * | | | Don't report empty bw-history lines in extrainfoSebastian Hahn2011-04-19
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tor relays would report lines like these in their extrainfo documents: dirreq-write-history 2011-03-14 16:46:44 (900 s) This was confusing to some people who look at the stats. It would happen whenever a relay first starts up, or when a relay has dirport disabled. Change this so that lines without actual bw entries are omitted. Implements ticket 2497.
* | | | Merge branch 'bug3k_021' into bug3k_022Sebastian Hahn2011-04-28
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | Conflicts: src/or/or.h src/or/rendclient.c
| * | | Allow rend_client_send_introduction to fail transientlyRobert Ransom2011-04-28
| | | | | | | | | | | | | | | | i.e. without closing the AP connection.
| * | | Forget all rendezvous client state on SIGNAL NEWNYMRobert Ransom2011-04-28
| | | |
* | | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-04-27
|\| | | | | | | | | | | | | | | | | | | Conflicts: src/common/torint.h
| * | | Make SIZE_T_CEILING unsigned; add a signed SSIZE_T_CEILINGNick Mathewson2011-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | None of the comparisons were _broken_ previously, but avoiding signed/unsigned comparisons makes everybody happier. Fixes bug2475.
* | | | I guess that had a bug number: add it to the changes file.Nick Mathewson2011-04-27
| | | |
* | | | Fix clear_trackhostexits_mapping() to actually work as advertisedNick Mathewson2011-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Fix double-free bug in microdesc parsercypherpunks2011-04-27
| | | |
* | | | Add a big changelog entry for bug 1090 fixesNick Mathewson2011-04-27
| | | |
* | | | warn if we launch too many circuits for a given streamRoger Dingledine2011-04-27
| | | |
* | | | Do not automatically ignore Fast/Stable for exits when ExitNodes is setNick Mathewson2011-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.)
* | | | Merge remote-tracking branch 'sebastian/bug2917' into maint-0.2.2Nick Mathewson2011-04-26
|\ \ \ \
| * | | | Make SIGNAL DUMP work on FreeBSDSebastian Hahn2011-04-15
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While doing so, get rid of the now unnecessary function control_signal_act(). Fixes bug 2917, reported by Robert Ransom. Bugfix on commit 9b4aa8d2abbce71398e58188209a1b1d04885b96. This patch is loosely based on a patch by Robert (Changelog entry).
* | | | Downgrade notice to info when downloading a cert.Nick Mathewson2011-04-26
| | | |
* | | | Merge remote-tracking branch 'sebastian/bug2704' into maint-0.2.2Nick Mathewson2011-04-26
|\ \ \ \
| * | | | Fix more of bug 2704Sebastian Hahn2011-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last entry of the *Maxima values in the state file was inflated by a factor of NUM_SECS_ROLLING_MEASURE (currently 10). This could lead to a wrong maximum value propagating through the state file history.
* | | | | Don't leak the local hostname in relay nicknamesSebastian Hahn2011-04-26
|/ / / / | | | | | | | | | | | | Fixes bug 2979, reported by tagnaq.
* | | | Merge commit '91aa6f08bcf0acbdfa038aaffe73e327ddd87c67' into maint-0.2.2Nick Mathewson2011-04-25
|\ \ \ \
| * | | | Make the Log configuration option expand ~Sebastian Hahn2011-04-22
| | | | |
* | | | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-04-21
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | Fix a bug in removing DNSPort requests from their circular listNick Mathewson2011-04-21
| | | | | | | | | | | | | | | | | | | | Under heavy load, this could result in an assertion failure. Fix for bug 2933; bugfix on 0.2.0.10-alpha.
* | | | Prevent hugely inflated observed bandwidth valuesSebastian Hahn2011-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When reading the bw history from the state file, we'd add the 900-second value as traffic that occured during one second. Fix that by adding the average value to each second. This bug was present since 0.2.0.5-alpha, but was hidden until 0.2.23-alpha when we started using the saved values.
* | | | Don't sometimes undercount bw averageSebastian Hahn2011-04-19
| | | | | | | | | | | | | | | | | | | | This fixes the first part of bug 2704. It should occur only rarely when no bw maxima are known. Bugfix on 0.2.2.23-alpha. Fixes bug 2704.
* | | | Correct HS descriptor length checkNick Mathewson2011-04-18
| | | | | | | | | | | | | | | | Fixes bug 2948.
* | | | Merge branch 'bug2750-v3' into bug2948Robert Ransom2011-04-18
|\| | | | |/ / |/| |
| * | Correct the warning emitted when rejecting an oversized HS descRobert Ransom2011-04-18
| | |