aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | | | Detect bug 6252 (unexpected sendme cell)Roger Dingledine2012-07-18
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I only check on circuits, not streams, since bloating your stream window past the initial circuit window can't help you much. Also, I compare to CIRCWINDOW_START_MAX so we don't have surprising races if we lower CIRCWINDOW_START for an experiment.
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson2012-08-03
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: src/or/routerlist.c
| * | | | Mitigate a side-channel leak of which relays Tor chooses for a circuitRobert Ransom2012-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | Tor's and OpenSSL's current design guarantee that there are other leaks, but this one is likely to be more easily exploitable, and is easy to fix.
* | | | | Remove bogus comment claiming that an assertion is triggerable by consensusRobert Ransom2012-08-03
| | | | |
* | | | | Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson2012-08-03
|\| | | | | |_|/ / |/| | |
| * | | Avoid possible segfault when handling networkstatus vote with bad flavorNick Mathewson2012-08-03
| | | | | | | | | | | | | | | | Fix for 6530; fix on 0.2.2.6-alpha.
* | | | Avoid hard (impossible?)-to-trigger double-free in dns_resolve()Nick Mathewson2012-07-31
| |_|/ |/| | | | | | | | Fixes 6480; fix on 0.2.0.1-alpha; based on pseudonymous patch.
* | | Merge branch 'bug6490_v2' into maint-0.2.3Nick Mathewson2012-07-31
|\ \ \
| * | | Warn when accounting is used in a way likely to link hidden servicesNick Mathewson2012-07-31
| | | | | | | | | | | | | | | | Fix for 6490.
* | | | trivial grammar fixRoger Dingledine2012-07-31
|/ / /
* | | Merge remote-tracking branch 'asn/bug6274_take3' into maint-0.2.3Nick Mathewson2012-07-23
|\ \ \ | |_|/ |/| |
| * | Better handling of server managed proxies when Tor is not a relay.George Kadianakis2012-07-18
| | |
* | | Merge branch 'smartlist_shorten' into maint-0.2.3Nick Mathewson2012-07-18
|\ \ \
| * | | Tweaks to 6400 changes file and docs as suggested by armaNick Mathewson2012-07-18
| | | |
| * | | Fix the remaining instances of nexted SMARTLIST_FOREACHNick Mathewson2012-07-17
| | | |
| * | | Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/ENDNick Mathewson2012-07-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SMARTLIST_FOREACH macro is more convenient than BEGIN/END when you have a nice short loop body, but using it for long bodies makes your preprocessor tell the compiler that all the code is on the same line. That causes grief, since compiler warnings and debugger lines will all refer to that one line. So, here's a new style rule: SMARTLIST_FOREACH blocks need to be short.
* | | | Improve message on spurious SOCKSListenAddressNick Mathewson2012-07-17
|/ / /
* | | Allow TestingTorNetwork when alternate dir and bridge authorities are set.Linus Nordberg2012-07-17
| | | | | | | | | | | | | | | Allow TestingTorNetwork when AlternateDirAuthority and AlternateBridgeAuthority is set even if DirServer is not.
* | | Refer to the correct variable in a loop when parsing entry guard stateNick Mathewson2012-07-16
| | | | | | | | | | | | Fixes bug 6397 and coverity issue 709599. Bugfix on 0.2.3.17-beta.
* | | Coverity 709056: Check return value on fputs in tor-gencertNick Mathewson2012-07-16
|/ /
* | Merge branch 'maint-0.2.2' into maint-0.2.3Roger Dingledine2012-07-06
|\|
| * Revert to the May 2012 geoip dbRoger Dingledine2012-07-06
| | | | | | | | | | The June 2012 db marks too many relays as country "A1". Addresses bug 6334.
* | Merge remote-tracking branch 'nickm/bug6271_part_a' into maint-0.2.3Roger Dingledine2012-07-06
|\ \
| * | Fix a bug handling SENDME cells on nonexistent streams.Nick Mathewson2012-07-06
| |/ | | | | | | | | | | | | | | This could result in bizarre window values. Report and patch contributed pseudymously. Fixes part of bug 6271. This bug was introduced before the first Tor release, in svn commit r152. (bug 6271, part a.)
* | Fix port range in parse_port_range().George Kadianakis2012-07-06
| |
* | On windows, ENOBUFS starts with WSA. #6296. Fix on 0.2.18-rcNick Mathewson2012-07-05
| |
* | Revert "Detect bug 6252 (unexpected sendme cell)"Roger Dingledine2012-07-01
| | | | | | | | | | | | | | | | This reverts commit c32ec9c425e9539bcc8ede95612e2d331c2cc2dd. It turns out the two sides of the circuit don't actually stay in sync, so it is perfectly normal for the circuit window on the exit relay to grow to 2000+. We should fix that bug and then reconsider this patch.
* | Detect bug 6252 (unexpected sendme cell)Roger Dingledine2012-07-01
| | | | | | | | | | | | | | | | I only check on circuits, not streams, since bloating your stream window past the initial circuit window can't help you much. Also, I compare to CIRCWINDOW_START_MAX so we don't have surprising races if we lower CIRCWINDOW_START for an experiment.
* | bump version to 0.2.3.18-rc-devNick Mathewson2012-06-28
| |
* | bump to 0.2.3.18-rcRoger Dingledine2012-06-28
| |
* | add a blurb for 0.2.3.18-rc, other minor cleanupsRoger Dingledine2012-06-28
| |
* | fix grammar in commentRoger Dingledine2012-06-28
| |
* | Merge remote-tracking branch 'public/bug6244_part2' into maint-0.2.3Nick Mathewson2012-06-28
|\ \
| * | Fix GETINFO address-mappings/... with wildcarded addresses.Nick Mathewson2012-06-27
| | |
* | | Downgrade 'Got a certificate, but we already have it' log message from ↵Andrea Shepard2012-06-28
|/ / | | | | | | warning to info, except when we're a dirauth (fixes bug 5238)
* | Allow wildcarded mapaddress targets in controller MAPADDRESS commandNick Mathewson2012-06-27
| |
* | Merge remote-tracking branch 'public/bug6227' into maint-0.2.3Nick Mathewson2012-06-26
|\ \
| * | Bump the test util/threads timeout up to 150 secNick Mathewson2012-06-25
| | | | | | | | | | | | | | | | | | This should make some debian build systems happier. Also, increase the select() timeout to a more reasonable 100 msec.
* | | Fix a warning when using glibc's strcspn with clang.Nick Mathewson2012-06-26
| | | | | | | | | | | | | | | | | | | | | | | | With glibc 2.15 and clang 3.0, I get warnings from where we use the strcpsn implementation in the header as strcspn(string, "="). This is apparently because clang sees that part of the strcspn macro expands to "="[2], and doesn't realize that that part of the macro is only evaluated when "="[1] != 0.
* | | Add a unit test for environment_variable_names_equalNick Mathewson2012-06-26
| | | | | | | | | | | | | | | I need this because I'm about to frob that function to stop using strcspn() in order to get rid of a clang warning.
* | | Fix a compilation warning with clang 3.0Nick Mathewson2012-06-26
| | | | | | | | | | | | | | | | | | | | | In b1ad1a1d0266a20bb we introduced an implicit (but safe) long-to-int shortening that clang didn't like. Warning not in any released version of Tor.
* | | Downgrade message about md cache cleaning from notice to infoNick Mathewson2012-06-26
|/ / | | | | | | Fix for #6238
* | Don't do DNS lookups when parsing corrupted managed proxy messages.George Kadianakis2012-06-25
| | | | | | | | | | | | The functions parse_{s,c}method_line() were using tor_addr_port_lookup() which is capable of doing DNS lookups. DNS lookups should not be necessary when parsing {C,S}METHOD lines.
* | Merge remote-tracking branch 'public/bug6225' into maint-0.2.3Nick Mathewson2012-06-25
|\ \
| * | Don't assert in get_string_from_pipe() on len==0Nick Mathewson2012-06-23
| | | | | | | | | | | | | | | | | | | | | We can treat this case as an EAGAIN (probably because of an unexpected internal NUL) rather than a crash-worthy problem. Fixes bug 6225, again. Bug not in any released version of Tor.
| * | Resolve crash caused by format_helper_exit_status changes in #5557Nick Mathewson2012-06-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Because the string output was no longer equal in length to HEX_ERRNO_SIZE, the write() call would add some extra spaces and maybe a NUL, and the NUL would trigger an assert in get_string_from_pipe. Fixes bug 6225; bug not in any released version of Tor.
* | | Catch a few more K&R violations with make check-spacesNick Mathewson2012-06-23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now catch bare {s that should be on the previous line with a do, while, if, or for, and elses that should share a line with their preceding }. That is, if (foo) { and if (foo) { ... } else are now detected. We should think about maybe making Tor uncrustify-clean some day, but configuring uncrustify is an exercise in bizarreness, and reformatting huge gobs of Tor is always painful.
* | Improve log message issued when a managed proxy fails to launch.George Kadianakis2012-06-23
| |
* | Merge remote-tracking branch 'public/bug6211' into maint-0.2.3Nick Mathewson2012-06-22
|\ \
| * | Fix a regression bug in AllowDotExitNick Mathewson2012-06-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code that detected the source of a remapped address checked that an address mapping's source was a given rewrite rule if addr_orig had no .exit, and addr did have a .exit after processing that rule. But addr_orig was formatted for logging: it was not the original address at all, but rather was the address escaped for logging and possibly replaced with "[scrubbed]". This new logic will correctly set ADDRMAPSRC_NONE in the case when the address starts life as a .exit address, so that AllowDotExit can work again. Fixes bug 6211; bugfix on 0.2.3.17-beta