aboutsummaryrefslogtreecommitdiff
path: root/changes
Commit message (Expand)AuthorAge
* Clean up the 2972 implementation a littleSebastian Hahn2011-05-15
* Preserve bridge download status across SETCONF, HUP•••This code changes it so that we don't remove bridges immediately when we start re-parsing our configuration. Instead, we mark them all, and remove all the marked ones after re-parsing our bridge lines. As we add a bridge, we see if it's already in the list. If so, we just unmark it. This new behavior will lose the property we used to have that bridges were in bridge_list in the same order in which they appeared in the torrc. I took a quick look through the code, and I'm pretty sure we didn't actually depend on that anywhere. This is for bug 3019; it's a fix on 0.2.0.3-alpha. Nick Mathewson2011-05-15
* Merge branch 'bug3026' into maint-0.2.2Nick Mathewson2011-05-15
|\
| * bug 3026: do not upload our vote to ourselfNick Mathewson2011-05-12
* | Merge branch 'bug1345' into maint-0.2.2Nick Mathewson2011-05-15
|\ \
| * | Handle transitions in Automap*, VirtualAddrNetwork correctly•••Previously, if they changed in torrc during a SIGHUP, all was well, since we would just clear all transient entries from the addrmap thanks to bug 1345. But if you changed them from the controller, Tor would leave old mappings in place. The VirtualAddrNetwork bug has been here since 0.1.1.19-rc; the AutomapHosts* bug has been here since 0.2.0.1-alpha. Nick Mathewson2011-05-13
| * | When TrackExitHosts changes, remove all no-longer-valid mappings•••This bug couldn't happen when TrackExitHosts changed in torrc, since the SIGHUP to reload the torrc would clear out all the transient addressmap entries before. But if you used SETCONF to change TrackExitHosts, old entries would be left alone: that's a bug, and so this is a bugfix on Tor 0.1.0.1-rc. Nick Mathewson2011-05-13
| * | Don't clear out transient addressmap entries on HUP•••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. Nick Mathewson2011-05-13
* | | Merge branch 'bug2732-simpler' into maint-0.2.2Nick Mathewson2011-05-15
|\ \ \ | |/ / |/| |
| * | Accept hs descriptors even if we don't see an HSDir for us•••The old behavior contributed to unreliability when hidden services and hsdirs had different consensus versions, and so had different opinions about who should be cacheing hsdir info. Bugfix on 0.2.0.10-alpha; based on discussions surrounding bug 2732. Nick Mathewson2011-05-12
| |/
* | Add a ControlPortFileGroupWritable optionNick Mathewson2011-05-13
* | Write automatically-chosen control ports to a file.Nick Mathewson2011-05-13
* | new GETINFO command to return list of listeners of a given typeNick Mathewson2011-05-13
* | "(Socks|Control|etc)Port auto" now tells Tor to open an arbitrary port•••This is the major part of the implementation for trac issue 3076. Nick Mathewson2011-05-13
* | Merge remote-tracking branch 'public/bug3122_memcmp_022' into maint-0.2.2Nick Mathewson2011-05-12
|\ \
| * \ Merge remote-tracking branch 'public/3122_memcmp_squashed' into bug3122_memcm...•••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 Nick Mathewson2011-05-11
| |\ \
| | * | Add a data-independent variant of memcmp and a d-i memeq function.•••The tor_memcmp code is by Robert Ransom, and the tor_memeq code is by me. Both incorporate some ideas from DJB's stuff. Nick Mathewson2011-05-11
* | | | Add changes file for bug2503Nick Mathewson2011-05-12
* | | | Unmap microdesc cache before replacing it.•••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. Nick Mathewson2011-05-12
| |_|/ |/| |
* | | Merge branch 'bug1352' into maint-0.2.2Nick Mathewson2011-05-12
|\ \ \
| * | | Rate-limit v2 networkstatus download fail warnings•••This fixes part of 1352. We don't care deeply about these warnings, since v2 networkstatuses aren't a big deal. Nick Mathewson2011-04-28
* | | | Merge remote-tracking branch 'origin/maint-0.2.1' into maint-0.2.2Nick Mathewson2011-05-11
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix crash when read_file_to_string() fails in SAVECONF•••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. Nick Mathewson2011-05-11
* | | | Merge branch 'maint-0.2.1' into maint-0.2.2Roger Dingledine2011-05-10
|\| | |
| * | | Update to the May 1 2011 Maxmind GeoLite Country databaseRoger Dingledine2011-05-10
| | |/ | |/|
* | | Merge remote-tracking branch 'public/bug3022_v2' into maint-0.2.2Nick Mathewson2011-05-09
|\ \ \
| * | | Only authorities should automatically download v2 networkstatus documents•••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. Nick Mathewson2011-04-28
* | | | Fix potential null pointer deref during dirvote•••Found by using clang's analyzer. Sebastian Hahn2011-05-09
* | | | Fix a potential null deref when rebuilding md cache•••Issue discovered using clang's static analyzer Sebastian Hahn2011-05-09
* | | | Merge remote-tracking branch 'rransom/bug3106' into maint-0.2.2Nick Mathewson2011-05-04
|\ \ \ \
| * | | | Handle crypto_pk_get_digest failures semi-sensibly•••Fixes bug 3106. Robert Ransom2011-05-04
* | | | | Add some missing torrc entries to tor.1.txt•••Fixes bug 2379 Nick Mathewson2011-05-03
|/ / / /
* | | | Change who calls microdesc_cache_rebuild().•••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. Nick Mathewson2011-05-03
* | | | Backport microdesc_cache_clean to 0.2.2•••Otherwise we have no way to keep authorities' microdesc caches in 0.2.2 from growing without bound. Nick Mathewson2011-05-03
* | | | 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 journal•••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". Nick Mathewson2011-05-03
| |_|/ |/| |
* | | 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
|\ \ \ \ \
| * | | | | Add changes file for previous commitRobert Ransom2011-03-12
* | | | | | Correctly check elapsed time in last hibernation period•••Fix bug 3020. Sebastian Hahn2011-04-29
| |_|/ / / |/| | | |
* | | | | 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 clients•••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. Robert Ransom2011-04-28
* | | | | Detect and handle NULL returns from (gm/local)time_r•••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. Nick Mathewson2011-04-28
* | | | | Merge remote-tracking branch 'sebastian/bug2497' into maint-0.2.2Nick Mathewson2011-04-28
|\ \ \ \ \
| * | | | | Don't report empty bw-history lines in extrainfo•••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. Sebastian Hahn2011-04-19
| | |/ / / | |/| | |
* | | | | Merge branch 'bug3k_021' into bug3k_022•••Conflicts: src/or/or.h src/or/rendclient.c Sebastian Hahn2011-04-28
|\ \ \ \ \ | |_|_|/ / |/| | | / | | |_|/ | |/| |