aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
* | | Merge remote-tracking branch 'public/bug6203_v2' into maint-0.2.3Nick Mathewson2012-06-22
|\ \ \
| * | | Disable warning for marked-but-reading in main.cNick Mathewson2012-06-19
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out this can happen. Even though there is no reason for connections to be marked but reading, we leave them reading anyway, so warning here is unwarranted. Let's turn that back on once we do something sensible and disable reading when we mark. Bugfix for 6203 on Tor 0.2.3.17-beta. Thanks to cypherpunks for pointing out the general stupidity of the original code here.
* | | Style tweaks and add a warning about NUL-terminationNick Mathewson2012-06-22
| | |
* | | Add unit test for format_hex_number_for_helper_exit_status()Andrea Shepard2012-06-22
| | |
* | | Refactor unsigned int hex formatting out of format_helper_exit_status() in ↵Andrea Shepard2012-06-22
| | | | | | | | | | | | util.c
* | | Make format_helper_exit_status() avoid unnecessary spacesAndrea Shepard2012-06-22
|/ /
* | Merge remote-tracking branch 'public/bug3311'Nick Mathewson2012-06-18
|\ \
| * | Clarify some messages about publishing hidden service descriptorsNick Mathewson2012-06-15
| | | | | | | | | | | | Fix for bug 3311.
* | | Merge remote-tracking branch 'andrea/bug6028'Nick Mathewson2012-06-18
|\ \ \
| * | | Always set *socket_error to something appropriate when returning -1 from ↵Andrea Shepard2012-06-15
| | | | | | | | | | | | | | | | connection_connect()
* | | | conn_type_to_string() on a listener already says it's a listenerRoger Dingledine2012-06-16
| | | |
* | | | fix the typo on the typo fixRoger Dingledine2012-06-15
| | | |
* | | | fix typos from 783f705dRoger Dingledine2012-06-15
| | | |
* | | | fix a compiler warning added in one of my XXX023 fixes.Nick Mathewson2012-06-15
| | | |
* | | | Whitespace fixNick Mathewson2012-06-15
| | | |
* | | | Fix a typo found by Mike.Nick Mathewson2012-06-15
| | | |
* | | | Merge remote-tracking branch 'public/xxx023'Nick Mathewson2012-06-15
|\ \ \ \ | |_|/ / |/| | |
| * | | Check the correct consensus before giving it to the clientNick Mathewson2012-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, a directory would check the latest NS consensus for having the signatures the client wanted, and use that consensus's valid_until time to set the HTTP lifetime. With this patch, the directory looks at NS consensus or the microdesc consensus, depending on what the client asked for.
| * | | Change a silent ignore-the-bug in microdesc.c to a LOG_INFONick Mathewson2012-06-15
| | | | | | | | | | | | | | | | | | | | I don't believe this bug occurs, but there was an XXX023 to make sure it doesn't.
| * | | Move tor_gettimeofday_cached() into compat_libeventNick Mathewson2012-06-15
| | | |
| * | | Refactor GETINFO process/descriptor-limitNick Mathewson2012-06-15
| | | | | | | | | | | | | | | | | | | | Previously it duplicated some getrlimit code and content from compat.c; now it doesn't.
| * | | Document that we are unlikely to underflow session group IDs.Nick Mathewson2012-06-15
| | | |