aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* bump to 0.2.2.12-alphaRoger Dingledine2010-04-20
|
* fetch descriptors from the authority that told us about themRoger Dingledine2010-04-20
|
* fetch unknown descriptors if we see them in a voteRoger Dingledine2010-04-20
|
* minor cleanupsRoger Dingledine2010-04-20
|
* Switch geoip_get_request_history to asprintf; fix bug 1365Nick Mathewson2010-04-20
|
* fix "Got a certificate for ?? that we already have"Roger Dingledine2010-04-19
| | | | | | what's happening here is that we're fetching certs for obsolete authorities -- probably legacy signers in this case. but try to remain general in the log message.
* Fix a compilation warning on compat_libevent.c on some versions of windows ↵Nick Mathewson2010-04-19
| | | | libevent
* Move the declaration of bandwidth_rate_rule_to_stringNick Mathewson2010-04-19
| | | | | | | | It's natural for the definition of bandwidth_rule_t to be with the functions that actually care about its values. Unfortunately, this means declaring bandwidth_rate_rule_to_string() out of sequence. Someday we'll just rename reasons.c to strings.c, and put it at the end of or.h, and this will all be better.
* Fix two compile-blockers in tor_vasprintf().Nick Mathewson2010-04-19
| | | | | | | 1) mingw doesn't have _vscprintf(); mingw instead has a working snprintf. 2) windows compilers that _do_ have a working _vscprintf spell it so; they do not spell it _vcsprintf().
* bump to 0.2.2.11-alpha-devRoger Dingledine2010-04-19
|
* parameterize update_consensus_router_descriptor_downloadsRoger Dingledine2010-04-19
|
* bump to 0.2.2.11-alphaRoger Dingledine2010-04-15
|
* Merge commit 'origin/maint-0.2.1'Nick Mathewson2010-04-15
|\
| * Fix renegotiation on OpenSSL versions that backport RFC5746.Nick Mathewson2010-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our code assumed that any version of OpenSSL before 0.9.8l could not possibly require SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION. This is so... except that many vendors have backported the flag from later versions of openssl when they backported the RFC5476 renegotiation feature. The new behavior is particularly annoying to detect. Previously, leaving SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION unset meant that clients would fail to renegotiate. People noticed that one fast! Now, OpenSSL's RFC5476 support means that clients will happily talk to any servers there are, but servers won't accept renegotiation requests from unpatched clients unless SSL_OP_ALLOW_etc is set. More fun: servers send back a "no renegotiation for you!" error, which unpatched clients respond to by stalling, and generally producing no useful error message. This might not be _the_ cause of bug 1346, but it is quite likely _a_ cause for bug 1346.
* | simplify a path in networkstatusRoger Dingledine2010-04-15
| |
* | Add --enable-static-zlib optionSebastian Hahn2010-04-14
| | | | | | | | | | | | | | Works like the --enable-static-openssl/libevent options. Requires --with-zlib-dir to be set. Note that other dependencies might still pull in a dynamicly linked zlib, if you don't link them in statically too.
* | Merge branch 'correct_halflife'Nick Mathewson2010-04-13
|\ \
| * | Rename CircPriorityHalflifeMsec to CircuitPriorityHalflifeMsecNick Mathewson2010-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Everything that accepted the 'Circ' name handled it wrong, so even now that we fixed the handling of the parameter, we wouldn't be able to set it without making all the 0.2.2.7..0.2.2.10 relays act wonky. This patch makes Tors accept the 'Circuit' name instead, so we can turn on circuit priorities without confusing the versions that treated the 'Circ' name as occasion to act weird.
| * | Fix a bug in reading CircPriorityHalflife from consensusNick Mathewson2010-04-12
| | | | | | | | | | | | | | | | | | | | | When you mean (a=b(c,d)) >= 0, you had better not say (a=b(c,d)>=0). We did the latter, and so whenever CircPriorityHalflife was in the consensus, it was treated as having a value of 1 msec (that is, boolean true).
* | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2010-04-12
|\ \ \ | | |/ | |/| | | | | | | Conflicts: src/or/test.c
| * | testsuite: Prevent the main thread from starving the worker threadsPeter Palfrader2010-04-12
| | |
| * | testsuite: Only free the main mutex when and if all the worker threads are donePeter Palfrader2010-04-12
| | |
* | | Log bandwidth_weight_rule_t as a string, not an integer.Nick Mathewson2010-04-12
| |/ |/| | | | | | | | | I'm adding this because I can never remember what stuff like 'rule 3' means. That's the one where if somebody goes limp or taps out, the fight is over, right?
* | Merge branch 'maint-0.2.1'Roger Dingledine2010-04-03
|\| | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h
| * fetch relay descriptors from v3 authoritiesRoger Dingledine2010-04-03
| |
| * bump to 0.2.1.25Roger Dingledine2010-03-15
| | | | | | | | it's perfect, let's ship it
| * clean up the 0.2.1.25 changelogRoger Dingledine2010-03-06
| |
* | Fix a segfault when a client is hup'd.Sebastian Hahn2010-04-03
| | | | | | | | | | | | We need to make sure we have an event_base in dns.c before we call anything that wants one. Make sure we always have one in dns_reset() when we're a client. Fixes bug 1341.
* | Merge branch 'asprintf'Nick Mathewson2010-04-02
|\ \
| * | Tweak users of snprintf to use asprintf where appropriateNick Mathewson2010-02-28
| | |
| * | better handle the case where *strp is in asprintf argsNick Mathewson2010-02-28
| | |
| * | Add a tor_asprintf() function, and use it in a couple of places.Nick Mathewson2010-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | asprintf() is a GNU extension that some BSDs have picked up: it does a printf into a newly allocated chunk of RAM. Our tor_asprintf() differs from standard asprintf() in that: - Like our other malloc functions, it asserts on OOM. - It works on windows. - It always sets its return-field.
* | | Segfault less during consensus generation without paramsSebastian Hahn2010-03-29
| | | | | | | | | | | | | | | If no authority votes on any params, Tor authorities segfault when trying to make a new consensus from the votes. Let's change that.
* | | In the glorious future, all relays cache dir info.Roger Dingledine2010-03-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now if you're a published relay and you set RefuseUnknownExits, even if your dirport is off, you'll fetch dir info from the authorities, fetch it early, and cache it. In the future, RefuseUnknownExits (or something like it) will be on by default.
* | | let people test the RefuseUnknownExits ideaRoger Dingledine2010-03-10
| | |
* | | bump to 0.2.2.10-alpha-devRoger Dingledine2010-03-08
| | | | | | | | | | | | now's your chance to destabilize it
* | | prepare 0.2.2.10-alpha for releaseRoger Dingledine2010-03-07
| | |
* | | commit my annotations while i was hunting down the host order bugRoger Dingledine2010-03-05
| | |
* | | Merge commit 'origin/maint-0.2.1'Nick Mathewson2010-03-04
|\ \ \ | | |/ | |/| | | | | | | | | | Conflicts: src/or/config.c src/or/test.c
| * | Apply Roger's bug 1269 fix.Nick Mathewson2010-03-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From http://archives.seul.org/tor/relays/Mar-2010/msg00006.html : As I understand it, the bug should show up on relays that don't set Address to an IP address (so they need to resolve their Address line or their hostname to guess their IP address), and their hostname or Address line fails to resolve -- at that point they'll pick a random 4 bytes out of memory and call that their address. At the same time, relays that *do* successfully resolve their address will ignore the result, and only come up with a useful address if their interface address happens to be a public IP address.
| * | Backport fix for time-goes-forward test. Fix bug 1267Nick Mathewson2010-03-02
| | |
* | | Merge remote branch 'mikeperry/bwweight-smartlistfix'Nick Mathewson2010-03-04
|\ \ \
| * | | Woops, forgot the second warn.Mike Perry2010-03-03
| | | | | | | | | | | | | | | | Also, differentiate the two log messages.
| * | | Demote warn to info, since it can happen.Mike Perry2010-03-03
| | | | | | | | | | | | | | | | I still feel like we should investigate this case. It seems odd.
| * | | Check for empty smartlists and no bandwidth during node selection.Mike Perry2010-02-26
| | | |
* | | | Merge branch 'fix_routerparse_bug'Nick Mathewson2010-02-28
|\ \ \ \
| * | | | Fix a consensus-extension bug found by outofwordsNick Mathewson2010-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the bandwidth-weights branch added the "directory-footer" token, and began parsing the directory footer at the first occurrence of "directory-footer", it made it possible to fool the parsing algorithm into accepting unsigned data at the end of a consensus or vote. This patch fixes that bug by treating the footer as starting with the first "directory-footer" or the first "directory-signature", whichever comes first.
* | | | | Update copyright dates for files not in maint-0.2.1Nick Mathewson2010-02-27
| | | | |
* | | | | Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | | | | Conflicts: src/common/test.h src/or/test.c
| * | | Update Tor Project copyright yearsNick Mathewson2010-02-27
| | | |