aboutsummaryrefslogtreecommitdiff
path: root/src/or
Commit message (Collapse)AuthorAge
* Group in torrc is obsolete, so stop checking itRoger Dingledine2010-06-27
|
* Use Libevent 2.0's periodic timers where available.Nick Mathewson2010-06-25
| | | | | | | | These timers behave better with non-monotonic clocks than our old ones, and also try harder to make once-per-second events get called one second apart, rather than one-plus-epsilon seconds apart. This fixes bug 943 for everybody using Libevent 2.0 or later.
* Remove the extra space that is sent in certain STREAM messages from the ↵Kat Magic2010-06-22
| | | | controller. (closes #1583)
* Answer question from Roger.Nick Mathewson2010-06-14
|
* a line that's been sitting in my sandbox for monthsRoger Dingledine2010-06-14
|
* Merge commit 'sebastian/hostnamewarn'Nick Mathewson2010-06-11
|\
| * Add option to not warn when getting an IP instead of hostnameSebastian Hahn2010-06-07
| |
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2010-06-11
|\ \
| * | Add maatuska as eighth v3 directory authority.Karsten Loesing2010-06-11
| | |
* | | Don't crash when reading cached*consensus files on startupSebastian Hahn2010-06-10
| |/ |/| | | | | Fixes bug 1352
* | Don't cannibalize one-hop circuitsSebastian Hahn2010-06-04
| | | | | | | | | | | | | | | | In rare cases, we could cannibalize a one-hop circuit, ending up with a two-hop circuit. This circuit would not be actually used, but we should prevent its creation in the first place. Thanks to outofwords and swissknife for helping to analyse this.
* | Let bridge users use the non-primary address of a multi-homed bridgeRoger Dingledine2010-06-03
| |
* | moved wince related includes and defs to compat.h where possible, removed ↵valerino2010-05-24
| | | | | | | | unused/redundant wince includes
* | Port Tor to work on Windows CEvalerino2010-05-24
| | | | | | | | | | | | | | | | | | | | | | | | Most of the changes here are switches to use APIs available on Windows CE. The most pervasive change is that Windows CE only provides the wide-character ("FooW") variants of most of the windows function, and doesn't support the older ASCII verions at all. This patch will require use of the wcecompat library to get working versions of the posix-style fd-based file IO functions. [commit message by nickm]
* | Log the correct address when purging a mismatchd DNS cache addressvalerino2010-05-20
| |
* | Don't use "try" as an identifiervalerino2010-05-20
| | | | | | | | | | C allows try, but some windows CE headers like to redefine 'try' to be a reserved word.
* | Make rotate_request_period use BEGIN/END versions of FOREACHNick Mathewson2010-05-17
| | | | | | | | | | This appeases some versions of MSVC, which don't like it when you have preprocessor commands inside a set of macro arguments.
* | Clarify 'marking connection as too old' messagesNick Mathewson2010-05-12
| | | | | | | | | | | | | | | | | | | | Back when we changed the idea of a connection being "too old" for new circuits into the connection being "bad" for new circuits, we didn't actually change the info messages. This led to telling the user that we were labelling connections as "too old" for being worse than connections that were actually older than them. Found by Scott on or-talk.
* | Merge branch 'maint-0.2.1'Roger Dingledine2010-04-23
|\|
| * close idle tls conns earlyRoger Dingledine2010-04-23
| |
* | Merge branch 'maint-0.2.1'Roger Dingledine2010-04-23
|\|
| * finally get rid of "clique mode"Roger Dingledine2010-04-23
| |
| * close idle dir-fetch circs earlyRoger Dingledine2010-04-23
| |
| * 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
| |
* | finally get rid of "clique mode"Roger Dingledine2010-04-21
| |
* | stop authority reachability check on startupRoger Dingledine2010-04-21
| |
* | immediate reachability check for new relaysRoger Dingledine2010-04-21
| |
* | more logging when tracking missing descriptorsRoger 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.
* | 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.
* | parameterize update_consensus_router_descriptor_downloadsRoger Dingledine2010-04-19
| |
* | 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).
* | | 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
| |
* | 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
| | |
| * | 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.