summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-260.2.2.8-alpha is coming out today sometimetor-0.2.2.8-alphaRoger Dingledine
2010-01-26Fix a memory corruption bug while collecting bridge statsKarsten Loesing
We accidentally freed the internal buffer for bridge stats when we were writing the bridge stats file or honoring a control port request for said data. Change the interfaces for geoip_get_bridge_stats* to prevent these problems, and remove the offending free/add a tor_strdup. Fixes bug 1208.
2010-01-25Merge commit 'sebastian/quiet'Nick Mathewson
2010-01-25Rearrange _thread_test_func to please Coverity ScanNick Mathewson
I believe that since we were allocating *cp while holding a mutex, coverity deduced that *cp must be protected by that mutex, and later flipped out when we didn't use it that way. If this is so, we can solve our problems by moving the *cp = tor_strdup(buf) part outside of the mutex-protected code.
2010-01-25Try to untangle the logic in server_port_flushNick Mathewson
It's a bit confusing to have a loop where another function, confusingly named "*_free", is responsible for advancing the loop variable (or rather, for altering a structure so that the next time the loop variable's initializer is evaluated it evaluates to something different.) Not only has this confused people: it's also confused coverity scan. Let's fix that.
2010-01-25Don't unlock a new log until done logging the tor version.Nick Mathewson
This might please coverity scan.
2010-01-25Be quieter about failing to decode authority digestsSebastian Hahn
This was freaking out some relay operators without good reason, as it is nothing the relay operator can do anything about anyways. Quieting this warning suggested by rieo.
2010-01-24Since dump_microdescriptor() can return -1; make its type ssize_tNick Mathewson
2010-01-24Handle errors reported by fwrite() in dump_microdescriptor()Peter Palfrader
Does not deal with error handling in dump_microdescriptor's callers.
2010-01-24Merge commit 'origin/maint-0.2.1'Nick Mathewson
Resolved conflicts in: configure.in src/or/Makefile.am src/tools/Makefile.am
2010-01-24Add --enable-static-(openssl|libevent) optionsNick Mathewson
These options only work when using --with-(openssl|libevent)-dir to explicitly pick a libevent or openssl location.
2010-01-24New configure option: --enable-gcc-warnings-advisoryPeter Palfrader
the new configure option --enable-gcc-warnings-advisory enables all the gcc flags that --enable-gcc-warnings does with the exception of -Werror.
2010-01-23Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
2010-01-23Fix two rare leaks spotted by rieo.Nick Mathewson
2010-01-22Avoid a possible crash in tls_log_errors.Nick Mathewson
We were checking for msg==NULL, but not lib or proc. This case can only occur if we have an error whose string we somehow haven't loaded, but it's worth coding defensively here. Spotted by rieo on IRC.
2010-01-20make the 0.2.2.7-alpha changelog actually complete.Roger Dingledine
weasel makes a good point.
2010-01-20Don't use OutboundBindAddress to connect to localhostNick Mathewson
The OutboundBindAddress option is useful for making sure that all of your outbond connections use a given interface. But when connecting to 127.0.0.1 (or ::1 even) it's important to actually have the connection come _from_ localhost, since lots of programs running on localhost use the source address to authenticate that the connection is really coming from the same host. Our old code always bound to OutboundBindAddress, whether connecting to localhost or not. This would potentially break DNS servers on localhost, and socks proxies on localhost. This patch changes the behavior so that we only look at OutboundBindAddress when connecting to a non-loopback address.
2010-01-19bump to 0.2.2.7-alphator-0.2.2.7-alphaRoger Dingledine
2010-01-19note the two new fixes are in 0.2.2.7-alpha tooRoger Dingledine
2010-01-19Merge branch 'maint-0.2.1'Roger Dingledine
Conflicts: ChangeLog
2010-01-19spread guard rotation out throughout the monthRoger Dingledine
2010-01-19weight guard choice by bandwidth; discard old guardsRoger Dingledine
2010-01-19add changelog entries for my commits from last weekRoger Dingledine
2010-01-19clean 0.2.2.7-alpha changelog; add 0.2.2.6 blurbRoger Dingledine
also reorder the stable changelog entries so they're in temporal order
2010-01-19Merge branch 'maint-0.2.1' into masterRoger Dingledine
Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h
2010-01-19bump to 0.2.1.22, and give it a changelogtor-0.2.1.22Roger Dingledine
2010-01-19downgrade a warningRoger Dingledine
this case can now legitimately happen, if you have a cached v2 status from moria1, and you run with the new list of dirservers that's missing the old moria1. it's nothing to worry about; the file will die off in a month or two.
2010-01-19rotate keys for moria1 and gabelmooRoger Dingledine
2010-01-19Fix build on Solaris by disabling support for DisableAllSwapSebastian Hahn
Fixes bug 1198. Solaris doesn't have RLIMIT_MEMLOCK for get/setrlimit, so disable support because we don't know if all memory can be locked.
2010-01-18Build Bug: -lm should come after passing ../common/libor.a to linkerMichael Witten
The following commit: commit e56747f9cf29ed788baf8805bfe391925d8a19da Author: Nick Mathewson <nickm@torproject.org> Date: Tue Dec 15 14:32:55 2009 -0500 Refactor a bit so that it is safe to include math.h, and mostly not needed. introduced this line: tor_resolve_LDADD = -lm ../common/libor.a @TOR_LIB_WS32@ which caused the build to fail, because only ../common/libor.a (via the embedded ../common/util.o via ../common/util.c) referenced libm's `lround' and `log' symbols, so that the linker (GNU ld) didn't bother to import those symbols before reading ../common/libor.a, thus leaving those symbols undefined. The solution was to swap the order, producing the line: tor_resolve_LDADD = ../common/libor.a -lm @TOR_LIB_WS32@ Signed-off-by: Michael Witten <mfwitten@gmail.com>
2010-01-18Log a notice when we get a new control connectionSebastian Hahn
2010-01-17stop bridge authorities from leaking their bridge listRoger Dingledine
2010-01-16Merge remote branch 'origin/maint-0.2.1'Nick Mathewson
Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h
2010-01-15whitespace fixesRoger Dingledine
2010-01-15fix an impossible-to-actually-trigger overflow in descriptor generationRoger Dingledine
2010-01-15resolve path weighting edge case; fixes bug 1203Roger Dingledine
2010-01-15trivial cleanupsRoger Dingledine
2010-01-15fix some typos in our spec filesRoger Dingledine
2010-01-15man page entries for PerConnBW{Rate,Burst}Roger Dingledine
2010-01-15remove redundant validate_addr_policies() checksRoger Dingledine
2010-01-15don't warn if stats/bridge-stats is missingRoger Dingledine
if we try to read it to publish stats and it's not there, that means there are no stats to publish. reported by swisstorexit.
2010-01-15don't list windows capabilities in windows unameRoger Dingledine
we never used them, and maybe it's a bad idea to publish them
2010-01-15ship the bridges spec file in the tarball tooRoger Dingledine
2010-01-02don't div by 0 during path selectionRoger Dingledine
2010-01-02when loading bridge stats, mkdir $datadir/stats firstRoger Dingledine
2009-12-29add config options to override.Roger Dingledine
somebody should add man page entries.
2009-12-29add separate per-conn write limitingRoger Dingledine
2009-12-25Authorities now support conditional consensusesSebastian Hahn
Mark them this way in add_trusted_dir_server
2009-12-25Remove some old, commented out codeSebastian Hahn
2009-12-25Remove online config descriptions.Sebastian Hahn
They weren't in sync with reality nor manpage, and only useful to a human who could simply have checked the manpage.