summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-07-01Merge branch 'maint-0.2.3'Roger Dingledine
2012-07-01Revert "Detect bug 6252 (unexpected sendme cell)"Roger Dingledine
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.
2012-07-01Merge branch 'maint-0.2.3'Roger Dingledine
2012-07-01Detect bug 6252 (unexpected sendme cell)Roger Dingledine
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.
2012-06-29Fix crash bug from 4a8eaad7 (Bug 6255)Nick Mathewson
We were doing a tor_strclear() on client_keys_str when it might not even be set. Fix for bug 6255; bug not in any release of Tor. Thanks to katmagic for finding this one!
2012-06-29Fix clang warning on d4285f03df475dc. Not in any released tor.Nick Mathewson
2012-06-28bump version to 0.2.3.18-rc-devNick Mathewson
2012-06-28Merge commit '81cd3d7ad641a8dbf'Nick Mathewson
2012-06-28Make check-spaces happy againNick Mathewson
2012-06-28Fix bug 3842: add a GETINFO signal/namesBrendan C
Also refactor SIGNAL so that it and signal/names use the same table. (commit message by nickm)
2012-06-28bump to 0.2.3.18-rctor-0.2.3.18-rcRoger Dingledine
2012-06-28add a blurb for 0.2.3.18-rc, other minor cleanupsRoger Dingledine
2012-06-28add new GETINFO config/defaultsmeejah
returns the default values for every configuration item, similar to GETINFO config/names; include a changes entry for it. Fix for bug 4971
2012-06-28fix grammar in commentRoger Dingledine
2012-06-28Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-28Merge remote-tracking branch 'public/bug6244_part2' into maint-0.2.3Nick Mathewson
2012-06-28Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-28Downgrade 'Got a certificate, but we already have it' log message from ↵Andrea Shepard
warning to info, except when we're a dirauth (fixes bug 5238)
2012-06-28Extend tor_sscanf so it can replace sscanf in rephist.cNick Mathewson
Fixes bug 4195 and Coverity CID 448
2012-06-27Fix GETINFO address-mappings/... with wildcarded addresses.Nick Mathewson
2012-06-27Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-27Allow wildcarded mapaddress targets in controller MAPADDRESS commandNick Mathewson
2012-06-26Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-26Merge remote-tracking branch 'public/bug6227' into maint-0.2.3Nick Mathewson
2012-06-26Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-26Fix a warning when using glibc's strcspn with clang.Nick Mathewson
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.
2012-06-26Add a unit test for environment_variable_names_equalNick Mathewson
I need this because I'm about to frob that function to stop using strcspn() in order to get rid of a clang warning.
2012-06-26Fix a compilation warning with clang 3.0Nick Mathewson
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.
2012-06-26Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-26Downgrade message about md cache cleaning from notice to infoNick Mathewson
Fix for #6238
2012-06-25Bump the test util/threads timeout up to 150 secNick Mathewson
This should make some debian build systems happier. Also, increase the select() timeout to a more reasonable 100 msec.
2012-06-25Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-25Don't do DNS lookups when parsing corrupted managed proxy messages.George Kadianakis
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.
2012-06-25Merge remote-tracking branch 'public/bug2385'Nick Mathewson
2012-06-25Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-25Merge remote-tracking branch 'public/bug6225' into maint-0.2.3Nick Mathewson
2012-06-23Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-23Catch a few more K&R violations with make check-spacesNick Mathewson
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.
2012-06-23Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-23Don't assert in get_string_from_pipe() on len==0Nick Mathewson
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.
2012-06-23Resolve crash caused by format_helper_exit_status changes in #5557Nick Mathewson
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.
2012-06-23Improve log message issued when a managed proxy fails to launch.George Kadianakis
2012-06-22Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-22Merge remote-tracking branch 'public/bug6211' into maint-0.2.3Nick Mathewson
2012-06-22Merge remote-tracking branch 'public/bug6203_v2' into maint-0.2.3Nick Mathewson
2012-06-22Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-06-22Style tweaks and add a warning about NUL-terminationNick Mathewson
2012-06-22Add unit test for format_hex_number_for_helper_exit_status()Andrea Shepard
2012-06-22Refactor unsigned int hex formatting out of format_helper_exit_status() in ↵Andrea Shepard
util.c
2012-06-22Make format_helper_exit_status() avoid unnecessary spacesAndrea Shepard