summaryrefslogtreecommitdiff
path: root/src/or
AgeCommit message (Collapse)Author
2012-09-13Split the generic config_fmt_t code into a new confparse.c fileNick Mathewson
This helps us split up one of our larger files, and sets the stage for refactoring the configuration backend a little
2012-09-13Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-09-13Avoid undefined behaviour when parsing HS protocol versionsRobert Ransom
Fixes bug 6827; bugfix on c58675ca728f12b42f65e5b8964ae695c2e0ec2d (when the v2 HS desc parser was implemented). Found by asn.
2012-09-12Merge branch 'bug6815'Nick Mathewson
2012-09-12Fix a wide lineNick Mathewson
2012-09-12Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-09-12Merge remote-tracking branch 'public/bug6341_a_v2' into maint-0.2.3Nick Mathewson
2012-09-12Fix directory self-testing logicNick Mathewson
When I removed version_supports_begindir, I accidentally removed the mechanism we had been using to make a directory cache self-test its directory port. This caused bug 6815, which caused 6814 (both in 0.2.4.2-alpha). To fix this bug, I'm replacing the "anonymized_connection" argument to directory_initiate_command_* with an enumeration to say how indirectly to connect to a directory server. (I don't want to reinstate the "version_supports_begindir" argument as "begindir_ok" or anything -- these functions already take too many arguments.) For safety, I made sure that passing 0 and 1 for 'indirection' gives the same result as you would have gotten before -- just in case I missed any 0s or 1s.
2012-09-11Merge remote-tracking branch 'public/bug6538'Nick Mathewson
Conflicts: configure.ac
2012-09-11Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-09-11Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3Nick Mathewson
Conflicts: src/test/test_util.c
2012-09-11Fix assertion failure in tor_timegm.Nick Mathewson
Fixes bug 6811.
2012-09-10Merge branch 'maint-0.2.3'Roger Dingledine
2012-09-10Merge branch 'remove_old_ver_checks'Nick Mathewson
2012-09-10Merge remote-tracking branch 'public/ticket6789'Nick Mathewson
2012-09-10Avoid segfault when reading state file from ancient torNick Mathewson
If s_values is null in rep_hist_load_bwhist_state_section, we would call smartlist_len() on it, and die. Fixes bug 6801.
2012-09-10Fix tab introduced in f43946829ce037Nick Mathewson
2012-09-10Merge remote-tracking branch 'linus/bug6797'Nick Mathewson
2012-09-10Rename _UseFilteringSSLBufferevents to lose its _. Bug 3155Nick Mathewson
2012-09-10Hide options beginning with "___" from GETINFO config/namesmeejah
2012-09-10rename _UsingTestNetworkDefaults to start with triple-underscoremeejah
2012-09-10raise bandwidthrate/bandwidthburst to a new "infinite"Roger Dingledine
addresses bug 6605.
2012-09-10Don't follow the NULL pointer.Linus Nordberg
If dirvote_create_microdescriptor() returns NULL, don't use md. Found by "f. tp.". Fixes bug 6797.
2012-09-09finish backing out 5492de76Roger Dingledine
2012-09-09minor logging improvementRoger Dingledine
2012-09-07Remove one more check for an insanely old versionNick Mathewson
2012-09-07Remove version_supports checks for versions before 0.2.2.Nick Mathewson
2012-09-07Dirservers no longer accept tors released before December 2011.Nick Mathewson
Implements ticket 6789.
2012-09-07Merge remote-tracking branch 'asn/bug6788'Nick Mathewson
2012-09-07Remove redundant declaration of find_transport_name_by_bridge_addrport().George Kadianakis
2012-09-07a debugging log line that just helped meRoger Dingledine
2012-09-06Rename extend_info_alloc() --> _new()Nick Mathewson
Based on a patch from Linus, regenerated so as to not conflict with Linus's 5535/6363 patches.
2012-09-06Rename packed_cell_alloc() --> _new().Linus Nordberg
2012-09-06Rename config_alloc() --> _new().Linus Nordberg
2012-09-06Merge branch 'quiet_lib_versions_squashed'Nick Mathewson
2012-09-06Don't log about Libevent/OpenSSL initialization when all's wellNick Mathewson
OTOH, log the Libevent and OpenSSL versions on the first line when we're starting Tor.
2012-09-06Merge branch 'bug6778'Nick Mathewson
2012-09-06Fix a dependency: micro-revision.i influences tor_main.o, not tor_main.cNick Mathewson
2012-09-06Merge remote-tracking branch 'asn/bug4567_rebased'Nick Mathewson
2012-09-06Merge remote-tracking branch 'asn/bug6765'Nick Mathewson
2012-09-06Fix a build-warning when building out-of-treeNick Mathewson
We were trying to incorporate all headers in common_sha1.i, not just the src/common ones. This is part of bug 6778; fix on 0.2.4.1-alpha
2012-09-06fix punctuation in logsRoger Dingledine
2012-09-05Fix warning when implicitly casting strlen(microdesc) to intNick Mathewson
Harmless unless we somehow generate a microdesc of more than INT_MAX bytes.
2012-09-06Use tor_malloc_zero() in var_cell_new().George Kadianakis
This is just a precaution; we seem to be using var_cell_t.payload and var_cell_t.payload_len correctly at the moment.
2012-09-05make AuthDirHasIPv6Connectivity match the man pageRoger Dingledine
we can turn it into an autobool later if we have some way for it to make a decision. (patch possibly got lost when nickm merged #6770; or maybe nickm meant for it to be this way. i'm not sure.)
2012-09-05Merge remote-tracking branch 'origin/maint-0.2.3'Nick Mathewson
2012-09-05Whitespace fixes.Linus Nordberg
2012-09-05Avoid segfault if EntryGuardPathBias precedes EntryGuardNick Mathewson
Fix for bug 6774; bugfix on 0.2.3.17-beta.
2012-09-05Figure out ORPort and DirPort even when 'auto' is used.George Kadianakis
Use router_get_advertised_{dir,or}_port() functions instead of get_primary_{dir,or}_port().
2012-09-05Merge remote-tracking branch 'linus/bug6770_3'Nick Mathewson
Conflicts: doc/tor.1.txt src/or/config.c