summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | | 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
| | | | | | |
* | | | | | | Note an exception to when we use OutboundBindAddressPeter Palfrader2010-03-02
| |_|/ / / / |/| | | | |
* | | | | | 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
| | | | |
* | | | | fix some wide lines in routerparse.cNick Mathewson2010-02-27
| | | | |
* | | | | Merge remote branch 'origin/maint-0.2.1'Nick Mathewson2010-02-27
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | | | | | Conflicts: ChangeLog src/or/routerparse.c
| * | | Properly handle non-terminated stringsSebastian Hahn2010-02-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Proper NULL checking in circuit_list_path_impl()Sebastian Hahn2010-02-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Proper NULL checking for hsdesc publicationSebastian Hahn2010-02-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Zero a cipher completely before freeing itSebastian Hahn2010-02-26
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Don't segfault when checking the consensusSebastian Hahn2010-02-26
| | | |
* | | | Don't believe unauthenticated info in a consensus.Nick Mathewson2010-02-26
| | | | | | | | | | | | | | | | | | | | | | | | 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."
* | | | add .exe files to gitignoreNick Mathewson2010-02-25
| | | |
* | | | For integers, if !(E<G), then we can infer that E>=G.Nick Mathewson2010-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Add the MIN and MAX macros for platforms that lack themNick Mathewson2010-02-25
| | | |
* | | | Fix 64-bit printf issues in consensus-bw-weights5-merge.Nick Mathewson2010-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge remote branch 'mikeperry/consensus-bw-weights5-merge'Nick Mathewson2010-02-25
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Conflicts: ChangeLog
| * | | Check snprintf return values in format_networkstatus_vote.Mike Perry2010-02-25
| | | | | | | | | | | | | | | | | | | | Maybe this is what parakeep was complaining about? Really wish he would stick around more. Playing these guessing games is not fun :(
| * | | Cast our weights down to ints from int64.Mike Perry2010-02-25
| | | | | | | | | | | | | | | | | | | | They are capped to be between 0 and weight_scale (10000) by the code just before the snprintf.
| * | | Update dir-spec.txt with begin_dir weights.Mike Perry2010-02-25
| | | |
| * | | Make unit tests work.Mike Perry2010-02-24
| | | | | | | | | | | | | | | | | | | | Still not sure why they generate an empty consensus document.. Too much frobbing going on there.
| * | | Update consensus methods in spec.Mike Perry2010-02-22
| | | |
| * | | Add consensus method #defines.Mike Perry2010-02-22
| | | |
| * | | Add a changelog entry for the bandwidth weightings.Mike Perry2010-02-22
| | | |
| * | | Remove misc unnecessary newlines found by new check.Mike Perry2010-02-22
| | | |
| * | | Patch from karsten to detect unnecessary \n's.Mike Perry2010-02-22
| | | | | | | | | | | | | | | | Also fix a spacing issue.
| * | | Always weight routers by bandwidth.Mike Perry2010-02-22
| | | | | | | | | | | | | | | | | | | | Also always predict that we need a high capacity circuit or internal circuit.
| * | | Update specs for weight computation and use.Mike Perry2010-02-22
| | | |
| * | | Clearly mark directory footer so we parse the new weight line.Mike Perry2010-02-22
| | | |
| * | | Implement bw weighting selection algorithm.Mike Perry2010-02-22
| | | |
| * | | Add parsing+verification for bw weight values.Mike Perry2010-02-22
| | | |
| * | | Perform calculation of consensus bandwidth weights.Mike Perry2010-02-22
| | | | | | | | | | | | | | | | | | | | Also add bwweightscale consensus param. Use it as our fixed-point calculation width.
| * | | Add %lld compat defines.Mike Perry2010-02-22
| | |/ | |/|
* | | Merge remote branch 'sebastian/manpage'Nick Mathewson2010-02-25
|\ \ \
| * | | Restrict PerConnBWRate|Burst to INT32_MAX, update manpageSebastian Hahn2010-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All other bandwidthrate settings are restricted to INT32_MAX, but this check was forgotten for PerConnBWRate and PerConnBWBurst. Also update the manpage to reflect the fact that specifying a bandwidth in terabytes does not make sense, because that value will be too large.
* | | | Merge remote branch 'sebastian/polipo'Nick Mathewson2010-02-25
|\ \ \ \
| * | | | Update polipo build instructions for OS X 10.6Sebastian Hahn2010-02-23
| |/ / /
* | | | Update a section of the exit notice file, give it a changelog.Sebastian Hahn2010-02-23
| | | |
* | | | Fix some urls in the exit noticeSebastian Hahn2010-02-23
|/ / / | | | | | | | | | | | | | | | Patch by Christian Kujau to fix some links in the exit notice file (the file you'd use for your DirPortFrontPage), as well as making the file xhtml compatible. Thanks!
* | | Proper NULL checking for hsdesc publicationSebastian Hahn2010-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix another coverity-spotted memleakSebastian Hahn2010-02-23
| | |
* | | bump to 0.2.2.9-alpha-devRoger Dingledine2010-02-22
| | |
* | | Mark 160 and 161 as Finished.tor-0.2.2.9-alphaNick Mathewson2010-02-22
|/ /
* | elevate a changelog entry, and get my mailto out of the man pageRoger Dingledine2010-02-22
| |
* | Merge remote branch 'sebastian/coverity'Nick Mathewson2010-02-22
|\ \
| * | Break early on unknown extendcircuit purposeSebastian Hahn2010-02-22
| | | | | | | | | | | | | | | Don't continue handling EXTENDCIRCUIT messages when we get an unknown purpose.