summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-17add changes file for bug 10929Nick Mathewson
2014-02-17Enveigle configure to look for a2x.py as well as a2x.dana koch
It's not guaranteed that every package symlinks a2x to a2x.py; OpenBSD does not do this, so let's just look for a2x.py as well.
2014-02-15Merge remote-tracking branch 'karsten/geoip6-feb2014' into maint-0.2.4Nick Mathewson
2014-02-15Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
2014-02-15Merge remote-tracking branch 'karsten/geoip-feb2014' into maint-0.2.3Nick Mathewson
2014-02-14changes file for bug 10904Nick Mathewson
2014-02-14gcc/clang: Mark macro-generated functions as possible unusedSebastian Hahn
clang 3.4 introduced a new by-default warning about unused static functions, which we triggered heavily for the hashtable and map function generating macros. We can use __attribute__ ((unused)) (thanks nickm for the suggestion :-) ) to silence these warnings.
2014-02-13Update geoip6 to the February 2014 GeoIP database.Karsten Loesing
2014-02-12Fix windows compilation of e0c8031516852Nick Mathewson
There is no WSAEPERM; we were implying that there was.This fixes a bug in e0c8031516852143fb82d8fee91a0f4c576c7418, which hadn't yet appeared in any released Tor.
2014-02-11Merge branch 'bug10777_netunreach_024' into maint-0.2.4Nick Mathewson
2014-02-11update changes fileNick Mathewson
2014-02-11Merge remote-tracking branch 'public/bug10777_nointernal_024' into maint-0.2.4Nick Mathewson
2014-02-10make EACCES survivable too.Nick Mathewson
2014-02-09Merge remote-tracking branch 'andrea/bug9602' into maint-0.2.4Nick Mathewson
2014-02-09Don't treat END_STREAM_REASON_INTERNAL as total circuit failureNick Mathewson
It can happen because we sent something that got an ENETUNREACH response. Bugfix on 0.2.4.8-alpha; fixes a part of bug 10777.
2014-02-09Call ENETUNREACH a case of NOROUTE, not a case of INTERNAL.Nick Mathewson
Found by cypherpunks; fix for a part of bug 10777; bugfix on 0.1.0.1-rc.
2014-02-08Make sure orconn->chan gets nulled out when channels exit from ↵Andrea Shepard
channel_free_all() too
2014-02-08Update to the February 2014 GeoIP database.Karsten Loesing
2014-02-07Survive fedora's openssl in our benchmarksNick Mathewson
Apparently fedora currently has ECDH but not P224. This isn't a huge deal, since we no longer use OpenSSL's P224 ever (see #9780 and 72c1e5acfe1c6). But we shouldn't have segfaulting benchmarks really. Fixes bug 10835; bugfix on 0.2.4.8-alpha.
2014-02-07Attribute bug 9602 to a version.Nick Mathewson
2014-02-06NULL out conns on tlschans when freeing in case channel_run_cleanup() is ↵Andrea Shepard
late; fixes bug 9602
2014-02-06Merge remote-tracking branch 'public/bug9716_024' into maint-0.2.4Nick Mathewson
2014-02-06changelog for 10793Nick Mathewson
2014-02-06Some anti-forensics paranoia...Florent Daigniere
sed -i 's/BN_free/BN_clear_free/g'
2014-02-06Add a missing includeNick Mathewson
2014-02-06Merge branch 'bug10485_024' into maint-0.2.4Nick Mathewson
2014-02-06Deliver circuit handshake counts as part of the heartbeatNick Mathewson
Previously, they went out once an hour, unconditionally. Fixes 10485; bugfix on 0.2.4.17-rc.
2013-12-23Clarify DirPort multiplicityNick Mathewson
Fix for #10470 as suggested by arma
2013-12-22Merge branch 'bug10465' into maint-0.2.4Nick Mathewson
2013-12-22Fix automapping to ipv6Nick Mathewson
Bugfix on 0.2.4.7-alpha; fixes bug 10465.
2013-12-21Merge branch 'bug10456' into maint-0.2.4Nick Mathewson
2013-12-21Fix a logic error in circuit_stream_is_being_handled.Nick Mathewson
When I introduced the unusable_for_new_circuits flag in 62fb209d837f3f551, I had a spurious ! in the circuit_stream_is_being_handled loop. This made us decide that non-unusable circuits (that is, usable ones) were the ones to avoid, and caused it to launch a bunch of extra circuits. Fixes bug 10456; bugfix on 0.2.4.12-alpha.
2013-12-18Merge branch 'bug10402_redux_024' into maint-0.2.4Nick Mathewson
2013-12-18Never allow OpenSSL engines to replace the RAND_SSLeay methodNick Mathewson
This fixes bug 10402, where the rdrand engine would use the rdrand instruction, not as an additional entropy source, but as a replacement for the entire userspace PRNG. That's obviously stupid: even if you don't think that RDRAND is a likely security risk, the right response to an alleged new alleged entropy source is never to throw away all previously used entropy sources. Thanks to coderman and rl1987 for diagnosing and tracking this down.
2013-12-17Merge branch 'bug10423' into maint-0.2.4Nick Mathewson
2013-12-17Merge remote-tracking branch 'public/bug10409_023' into maint-0.2.4Nick Mathewson
2013-12-17Avoid double-free on failure to dump_descriptor() a cached mdNick Mathewson
This is a fix for 10423, which was introducd in caa0d15c in 0.2.4.13-alpha. Spotted by bobnomnom.
2013-12-16Avoid free()ing from an mmap on corrupted microdesc cacheNick Mathewson
The 'body' field of a microdesc_t holds a strdup()'d value if the microdesc's saved_location field is SAVED_IN_JOURNAL or SAVED_NOWHERE, and holds a pointer to the middle of an mmap if the microdesc is SAVED_IN_CACHE. But we weren't setting that field until a while after we parsed the microdescriptor, which left an interval where microdesc_free() would try to free() the middle of the mmap(). This patch also includes a regression test. This is a fix for #10409; bugfix on 0.2.2.6-alpha.
2013-11-15Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
Conflicts: src/or/or.h src/or/relay.c Conflicts were simple to resolve. More fixes were needed for compilation, including: reinstating the tv_to_msec function, and renaming *_conn_cells to *_chan_cells.
2013-11-15Merge branch 'bug9093_023' into maint-0.2.3Nick Mathewson
2013-11-11missing changes file for #10124Nick Mathewson
2013-11-10Fix two more DirServer mentions in logNick Mathewson
2013-11-10Fix a wide lineNick Mathewson
2013-11-10Change documentation DirServer->DirAuthorityNick Mathewson
We renamed the option, but we didn't actually fix it in the log messages or the docs. This patch does that. For #10124. Patch by sqrt2.
2013-11-07Improved circuit queue out-of-memory handlerNick Mathewson
Previously, when we ran low on memory, we'd close whichever circuits had the most queued cells. Now, we close those that have the *oldest* queued cells, on the theory that those are most responsible for us running low on memory, and that those are the least likely to actually drain on their own if we wait a little longer. Based on analysis from a forthcoming paper by Jansen, Tschorsch, Johnson, and Scheuermann. Fixes bug 9093.
2013-10-31Merge remote-tracking branch 'public/bug9645' into maint-0.2.4Nick Mathewson
2013-10-31Merge remote-tracking branch 'public/bug9731b' into maint-0.2.4Nick Mathewson
2013-10-31Merge remote-tracking branch 'public/bug9780_024_v2' into maint-0.2.4Nick Mathewson
2013-10-31Merge remote-tracking branch 'public/bug6055_v2_024' into maint-0.2.4Nick Mathewson
2013-10-12be willing to bootstrap from all three of our directory guardsRoger Dingledine
Also fix a bug where if the guard we choose first doesn't answer, we would try the second guard, but once we connected to the second guard we would abandon it and retry the first one, slowing down bootstrapping. The fix in both cases is to treat all our initially chosen guards as acceptable to use. Fixes bug 9946.