summaryrefslogtreecommitdiff
path: root/changes
AgeCommit message (Collapse)Author
2012-07-17Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/ENDNick Mathewson
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.
2012-07-17Allow TestingTorNetwork when alternate dir and bridge authorities are set.Linus Nordberg
Allow TestingTorNetwork when AlternateDirAuthority and AlternateBridgeAuthority is set even if DirServer is not.
2012-07-16Refer to the correct variable in a loop when parsing entry guard stateNick Mathewson
Fixes bug 6397 and coverity issue 709599. Bugfix on 0.2.3.17-beta.
2012-07-16Coverity 709056: Check return value on fputs in tor-gencertNick Mathewson
2012-07-16Improve Alternate*Authority docs. Bug 6387.Nick Mathewson
2012-07-06Merge branch 'maint-0.2.2' into maint-0.2.3Roger Dingledine
2012-07-06Revert to the May 2012 geoip dbRoger Dingledine
The June 2012 db marks too many relays as country "A1". Addresses bug 6334.
2012-07-06Merge remote-tracking branch 'nickm/bug6271_part_a' into maint-0.2.3Roger Dingledine
2012-07-06Fix port range in parse_port_range().George Kadianakis
2012-07-06Fix a bug handling SENDME cells on nonexistent streams.Nick Mathewson
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.)
2012-07-05On windows, ENOBUFS starts with WSA. #6296. Fix on 0.2.18-rcNick Mathewson
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-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-28fold in more changes entriesRoger Dingledine
2012-06-28Merge remote-tracking branch 'public/bug6244_part2' into maint-0.2.3Nick Mathewson
2012-06-28Add version and bug number to 5238 changes fileNick 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-27Fix GETINFO address-mappings/... with wildcarded addresses.Nick Mathewson
2012-06-27Allow wildcarded mapaddress targets in controller MAPADDRESS commandNick Mathewson
2012-06-27merge changes files into upcoming changelogRoger Dingledine
2012-06-26Merge remote-tracking branch 'public/bug6227' into maint-0.2.3Nick 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-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-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-23Tweak bug5099 changes fileNick Mathewson
2012-06-23Improve log message issued when a managed proxy fails to launch.George Kadianakis
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-22Make format_helper_exit_status() avoid unnecessary spacesAndrea Shepard
2012-06-19Fix a regression bug in AllowDotExitNick Mathewson
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
2012-06-19Disable warning for marked-but-reading in main.cNick Mathewson
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.
2012-06-18Merge remote-tracking branch 'public/bug3311'Nick Mathewson
2012-06-18Merge branch 'bug4748_squashed'Nick Mathewson
2012-06-18Document 0.2.3.x torrc/default-torrc/command line semantics changesNick Mathewson
Bug 4748 squash! Document 0.2.3.x torrc/default-torrc/command line semantics changes Incorporates fixes suggested by rransom.
2012-06-18Merge branch 'bug6173_rebased'Nick Mathewson
2012-06-18Merge remote-tracking branch 'andrea/bug6028'Nick Mathewson
2012-06-18More sophisticated attempt at detecting working linker optionsNick Mathewson
On some platforms, the linker is perfectly happy to produce binaries that won't run if you give it the wrong set of flags. So when not cross-compiling, try to link-and-run a little test program, rather than just linking it. Possible fix for 6173.
2012-06-15Always set *socket_error to something appropriate when returning -1 from ↵Andrea Shepard
connection_connect()
2012-06-15Merge remote-tracking branch 'public/xxx023'Nick Mathewson
2012-06-15Clarify some messages about publishing hidden service descriptorsNick Mathewson
Fix for bug 3311.
2012-06-15Check the correct consensus before giving it to the clientNick Mathewson
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.
2012-06-15Change a silent ignore-the-bug in microdesc.c to a LOG_INFONick Mathewson
I don't believe this bug occurs, but there was an XXX023 to make sure it doesn't.
2012-06-15Move tor_gettimeofday_cached() into compat_libeventNick Mathewson
2012-06-15Refactor GETINFO process/descriptor-limitNick Mathewson
Previously it duplicated some getrlimit code and content from compat.c; now it doesn't.
2012-06-15Merge remote-tracking branch 'public/bug5932'Nick Mathewson
2012-06-15Downgrade log messages about cbt enabled/disabled. Bug 6169.Nick Mathewson
2012-06-15fold in next changes itemsRoger Dingledine
2012-06-15Expand on bug5458 changes fileNick Mathewson