aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAge
...
* | | Merge commit 'origin/maint-0.2.1'•••Conflicts: src/or/test.c Nick Mathewson2010-04-12
|\ \ \ | | |/ | |/|
| * | 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.•••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? Nick Mathewson2010-04-12
| |/ |/|
* | Merge branch 'maint-0.2.1'•••Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h Roger Dingledine2010-04-03
|\|
| * fetch relay descriptors from v3 authoritiesRoger Dingledine2010-04-03
| * bump to 0.2.1.25•••it's perfect, let's ship it Roger Dingledine2010-03-15
| * clean up the 0.2.1.25 changelogRoger Dingledine2010-03-06
* | Fix a segfault when a client is hup'd.•••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. Sebastian Hahn2010-04-03
* | 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.•••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. Nick Mathewson2010-02-25
* | | Segfault less during consensus generation without params•••If no authority votes on any params, Tor authorities segfault when trying to make a new consensus from the votes. Let's change that. Sebastian Hahn2010-03-29
* | | In the glorious future, all relays cache dir info.•••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. Roger Dingledine2010-03-16
* | | let people test the RefuseUnknownExits ideaRoger Dingledine2010-03-10
* | | bump to 0.2.2.10-alpha-dev•••now's your chance to destabilize it Roger Dingledine2010-03-08
* | | 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'•••Conflicts: src/or/config.c src/or/test.c Nick Mathewson2010-03-04
|\ \ \ | | |/ | |/|
| * | Apply Roger's bug 1269 fix.•••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. Nick Mathewson2010-03-04
| * | 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.•••Also, differentiate the two log messages. Mike Perry2010-03-03
| * | | Demote warn to info, since it can happen.•••I still feel like we should investigate this case. It seems odd. Mike Perry2010-03-03
| * | | 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 outofwords•••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. Nick Mathewson2010-02-27
* | | | | Update copyright dates for files not in maint-0.2.1Nick Mathewson2010-02-27
* | | | | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: src/common/test.h src/or/test.c Nick Mathewson2010-02-27
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | Update Tor Project copyright yearsNick Mathewson2010-02-27
* | | | fix some wide lines in routerparse.cNick Mathewson2010-02-27
* | | | Merge remote branch 'origin/maint-0.2.1'•••Conflicts: ChangeLog src/or/routerparse.c Nick Mathewson2010-02-27
|\| | | | |/ / |/| |
| * | Properly handle non-terminated strings•••Treat strings returned from signed_descriptor_get_body_impl() as not NUL-terminated. Since the length of the strings is available, this is not a big problem. Discovered by rieo. Sebastian Hahn2010-02-27
| * | Proper NULL checking in circuit_list_path_impl()•••Another dereference-then-NULL-check sequence. No reports of this bug triggered in the wild. Fixes bugreport 1256. Thanks to ekir for discovering and reporting this bug. Sebastian Hahn2010-02-26
| * | Proper NULL checking for hsdesc publication•••Fix a dereference-then-NULL-check sequence. This bug wasn't triggered in the wild, but we should fix it anyways in case it ever happens. Also make sure users get a note about this being a bug when they see it in their log. Thanks to ekir for discovering and reporting this bug. Sebastian Hahn2010-02-26
| * | Zero a cipher completely before freeing it•••We used to only zero the first ptrsize bytes of the cipher. Since cipher is large enough, we didn't zero too many bytes. Discovered and fixed by ekir. Fixes bug 1254. Sebastian Hahn2010-02-26
| * | bump to 0.2.1.24Roger Dingledine2010-02-21
* | | Don't segfault when checking the consensusSebastian Hahn2010-02-26
* | | Don't believe unauthenticated info in a consensus.•••Don't allow anything but directory-signature tokens in a consensus after the first directory-signature token. Fixes bug in bandwidth-weights branch. Found by "outofwords." Nick Mathewson2010-02-26
* | | For integers, if !(E<G), then we can infer that E>=G.•••This means that "if (E<G) {abc} else if (E>=G) {def}" can be replaced with "if (E<G) {abc} else {def}" Doing the second test explicitly made my mingw gcc nervous that we might never be initializing casename. Nick Mathewson2010-02-25
* | | Add the MIN and MAX macros for platforms that lack themNick Mathewson2010-02-25
* | | Fix 64-bit printf issues in consensus-bw-weights5-merge.•••For my 64-bit Linux system running with GCC 4.4.3-fc12-whatever, you can't do 'printf("%lld", (int64_t)x);' Instead you need to tell the compiler 'printf("%lld", (long long int)x);' or else it doesn't believe the types match. This is why we added U64_PRINTF_ARG; it looks like we needed an I64_PRINTF_ARG too. Nick Mathewson2010-02-25
* | | Merge remote branch 'mikeperry/consensus-bw-weights5-merge'•••Conflicts: ChangeLog Nick Mathewson2010-02-25
|\ \ \ | |_|/ |/| |
| * | Check snprintf return values in format_networkstatus_vote.•••Maybe this is what parakeep was complaining about? Really wish he would stick around more. Playing these guessing games is not fun :( Mike Perry2010-02-25
| * | Cast our weights down to ints from int64.•••They are capped to be between 0 and weight_scale (10000) by the code just before the snprintf. Mike Perry2010-02-25
| * | Make unit tests work.•••Still not sure why they generate an empty consensus document.. Too much frobbing going on there. Mike Perry2010-02-24
| * | Add consensus method #defines.Mike Perry2010-02-22
| * | Remove misc unnecessary newlines found by new check.Mike Perry2010-02-22
| * | Always weight routers by bandwidth.•••Also always predict that we need a high capacity circuit or internal circuit. Mike Perry2010-02-22