summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-02-24Bump master to 0.2.7tor-0.2.7.0-rootNick Mathewson
2015-02-24Update test_status.c to accommodate changes in heartbeat messagesNick Mathewson
Fixes #15012; bug not in any released Tor
2015-02-23Merge branch 'bug14950_logs_squashed'Nick Mathewson
2015-02-23Avoid logging natural-language reports that are redundant with bootstrappingNick Mathewson
2015-02-23Usually downgrade middle heartbeat messages when stuff is in-rangeNick Mathewson
2015-02-23Merge branch 'bug14989'Nick Mathewson
2015-02-23Let AF_UNIX connections through the sandboxNick Mathewson
Fixes bug 15003; bugfix on 0.2.6.3-alpha.
2015-02-23Fix running with the seccomp2 sandboxNick Mathewson
We had a regression in 0.2.6.3-alpha when we stopped saying IPPROTO_TCP to socket(). Fixes bug 14989, bugfix on 0.2.6.3-alpha.
2015-02-23Merge remote-tracking branch 'public/bug14988_025'Nick Mathewson
2015-02-23add another unused-var marker in backtrace.c for 14988Nick Mathewson
2015-02-23Remove lingering mempool codecypherpunks
2015-02-23Fix endianness issues in test_config_resolve_my_address().rl1987
Since resolve_my_address() yields IP address in host order there is no need to use byteorder functions for conversion.
2015-02-20Merge remote-tracking branch 'public/bug11454_11457'Nick Mathewson
2015-02-20Merge remote-tracking branch 'origin/maint-0.2.5'Nick Mathewson
2015-02-20Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5Nick Mathewson
2015-02-19bump version to 0.2.6.3-alpha-devNick Mathewson
2015-02-19Quiet "caching debian-tor for debian-tor" noticeNick Mathewson
2015-02-19Try to fix authdir_newdesc eventsNick Mathewson
We were sending values that were truncated by the length of the annotations.
2015-02-19Increment version to 0.2.6.3-alphaNick Mathewson
2015-02-19Merge branch 'bug12844_macros'Nick Mathewson
2015-02-19Do not try to download an EI for which we don't have a matching SD.Nick Mathewson
This quiets some log messages for #13762, and adds a better INFO message for the underlying confusion.
2015-02-19Check ENABLE_TOR2WEB_MODE before any tor2webmode codeNick Mathewson
2015-02-19stop warning each time we check minimum-dir-infoRoger Dingledine
We already log whenever our state changes, e.g. whenever new directory information arrives. This additional log_warn() will at best just add more log messages, or worse, make the user wonder what she needs to fix. (Changed after consultation with Yawning.)
2015-02-19don't update dir_info_status when we have minimum dir infoRoger Dingledine
Nothing ever uses the string when we're in "have minimum dir info" state. The flow of the function is "check for problems, if you see a problem write an explanation to dir_info_status and set res to 0". If you get to the end of the function without any problems, then res = 1 and we're all ready to start making circuits. (Changed after consultation with Yawning.)
2015-02-18clean up comments and whitespace a bitRoger Dingledine
2015-02-18Downgrade new extrainfo_insert warnings on startupNick Mathewson
2015-02-18Merge branch 'bug13762_diagnostic_redux'Nick Mathewson
2015-02-18Patch from cypherpunks to try to diagnose 8387.Nick Mathewson
2015-02-18Improve log messages for diagnosing 13762Nick Mathewson
2015-02-18Merge remote-tracking branch 'yawning/cid1270894'Nick Mathewson
2015-02-18Actually free measured_guardfraction.Yawning Angel
CID 1270894
2015-02-18whitespace fixesNick Mathewson
2015-02-18Fix an implicit-narrowing warningNick Mathewson
2015-02-18Merge remote-tracking branch 'yawning/bug14918'Nick Mathewson
2015-02-18Combine test_helpers.[ch] and testhelper.[ch]Nick Mathewson
2015-02-18Merge branch 'bug9321_rerebase'Nick Mathewson
Conflicts: src/or/dirvote.h src/test/include.am src/test/test_entrynodes.c
2015-02-18Don't exit if we can't find the GuardfractionFile when booting.George Kadianakis
...just disable the feature in that case.
2015-02-18Final guardfraction preparations for upstream merge.George Kadianakis
- Write a changes file. - Change some logs to lesser severities.
2015-02-18Add unittests for the guardfraction feature.George Kadianakis
2015-02-18Unittest prep: Move get_yesterday_date_str() to helper file.George Kadianakis
We want to use this function in our guardfraction unittests, so make a test_helpers module and move it there.
2015-02-18Calculate relay weighted bandwidth using guardfraction bandwidths.George Kadianakis
Now use the guardfraction function to calculate individual relay bandwidth weights.
2015-02-18Calculate total bandwidth weights using the guardfraction bandwidths.George Kadianakis
Now use the function introduced in the previous commit, to calculate the total bandwidth weights when making the consensus.
2015-02-18Calculate the guardfraction bandwidth of a guard.George Kadianakis
2015-02-18Parse GuardFraction info from consensuses and votes.George Kadianakis
Also introduce the UseGuardFraction torrc option which decides whether clients should use guardfraction information found in the consensus.
2015-02-18Write GuardFraction information to consensus.George Kadianakis
If we've seen enough votes with guardfraction information, write down the GuardFraction string in the consensus.
2015-02-18Write guardfraction information to votes.George Kadianakis
If a dirauth has guardfraction information about a guard, write it down when serializing the routerstatus.
2015-02-18Parse Guardfraction file and apply results to routerstatuses.George Kadianakis
Parse the file just before voting and apply its information to the provided vote_routerstatus_t. This follows the same logic as when dirauths parse bwauth files.
2015-02-18Fix bootstrap directory information logging.Yawning Angel
`dir_info_status` is used from main.c:directory_info_has_arrived() to provide useful (INFO/NOTICE) level logging to users, and should always be updated regardless of the rate limiting.
2015-02-18Fix compute_frac_paths_available, when ExitNodes is not set.Yawning Angel
2015-02-17Merge branch 'bug14918'Nick Mathewson