aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-20Merge remote-tracking branch 'tor-github/pr/1757/head' into maint-0.4.3Nick Mathewson
2020-02-20Merge remote-tracking branch 'tor-github/pr/1719/head' into maint-0.4.3Nick Mathewson
2020-02-19practracker: Read unicode files when using Python 2teor
Allow the "practracker" coding best practices checking script to read unicode files, when using Python 2. We made the script use unicode literals in 0.4.3.1-alpha, but didn't change the codec for opening files. Fixes bug 33374; bugfix on 0.4.3.1-alpha.
2020-02-14Merge branch 'ticket33290_v2_042' into maint-0.4.3Nick Mathewson
2020-02-14Merge branch 'ticket33290_v2_041' into ticket33290_v2_042Nick Mathewson
2020-02-14Wipe the entire hashent structure, not just the first sizeof(void*)Nick Mathewson
2020-02-13Merge branch 'ticket33290_v2_043' into maint-0.4.3Nick Mathewson
2020-02-13Merge branch 'ticket33290_v2_042' into ticket33290_v2_043Nick Mathewson
Conflicts: src/core/or/circuitmux_ewma.c
2020-02-13Merge branch 'ticket33290_v2_041' into ticket33290_v2_042Nick Mathewson
2020-02-13Before freeing ewma objects, use memwipe instead of resetting magic.Nick Mathewson
2020-02-12Run "make autostyle".Nick Mathewson
2020-02-12Use more memory poisoning and better asserts around ewma codeNick Mathewson
Attempt to diagnose 32464; fixes 33290.
2020-02-12Merge remote-tracking branch 'tor-github/pr/1728/head' into maint-0.4.3Nick Mathewson
2020-02-12changes file for ticket 33188Taylor Yu
2020-02-12Moved [[RephistTrackTime]] to General Options.swati
2020-02-12Addressed minor changes suggested in the ticketswati
2020-02-12Merge remote-tracking branch 'tor-github/pr/1725' into maint-0.4.3teor
2020-02-12Merge branch 'maint-0.4.2' into maint-0.4.3teor
"ours" merge, because simiar BridgeDistribution fixes have already been merged to maint-0.4.3. (See 32753.) The stem changes in 33075 have already been merged to maint-0.4.3, so this "ours" merge does not affect them.
2020-02-12hs-v3: Remove BUG() that can occur normallyDavid Goulet
Fixes #28992 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-12Merge branch 'maint-0.4.1' into maint-0.4.2teor
2020-02-12Merge branch 'maint-0.3.5' into maint-0.4.1teor
2020-02-12Lowercase the BridgeDistribution value from torrc in descriptors.Alexander Færøy
This patch ensures that we always lowercase the BridgeDistribution from torrc in descriptors before submitting it. See: https://bugs.torproject.org/32753
2020-02-12Merge remote-tracking branch 'tor-github/pr/1689' into maint-0.3.5teor
2020-02-11Merge branch 'ticket33029_042_01' into ticket33029_043_03David Goulet
Conflicts: doc/tor.1.txt src/app/config/config.c src/app/config/or_options_st.h src/core/mainloop/connection.h Between 042 and 043, the dirauth options were modularized so this merge commit address this by moving the AuthDirRejectUncompressedRequests to the module along with a series of accessors. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11dirauth: Rename function for better clarityDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11test: Add unit test for connection_dir_is_global_write_low()David Goulet
Part of #33029 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11dirauth: Resume sending 503 directory error codeDavid Goulet
Authorities were never sending back 503 error code because by design they should be able to always answer directory requests regardless of bandwidth capacity. However, that recently backfired because of a large number of requests from unknown source using the DirPort that are _not_ getting their 503 code which overloaded the DirPort leading to the authority to be unable to answer to its fellow authorities. This is not a complete solution to the problem but it will help ease off the load on the authority side by sending back 503 codes *unless* the connection is from a known relay or an authority. Fixes #33029 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11dirauth: Add option AuthDirRejectRequestsUnderLoadDavid Goulet
This controls the previous feature added that makes dirauth send back a 503 error code on non relay connections if under bandwidth pressure. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11dirlist: Add configured trusted dir to the nodelist address setDavid Goulet
The configured, within the torrc or hardcoded, directory authorities addresses are now added to the nodelist address set. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11nodelist: Helper to add an address to the nodelist address setDavid Goulet
We separate v4 and v6 because we often use an IPv4 address represented with a uint32_t instead of a tor_addr_t. This will be used to also add the trusted directory addresses taken from the configuration. The trusted directories from the consensus are already added to the address set from their descriptor. Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11mainloop: Modernize a bit connection_dir_is_global_write_low()David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11mainloop: Remove unused parameter from connection_dir_is_global_write_low()David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11mainloop: Rename global_write_bucket_low()David Goulet
That function is only used to test the global bucket write limit for a directory connection. It should _not_ be used for anything else since that function looks to see if we are a directory authority. Rename it to something more meaningful. No change in behavior at this commit, only renaming. Part of #33029 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-02-11Merge branch 'maint-0.4.2' into maint-0.4.3Nick Mathewson
2020-02-11Merge branch 'maint-0.4.1' into maint-0.4.2Nick Mathewson
"ours" merge, since the exceptions.txt file is already fixed in this branch.
2020-02-11Remove a redundant practracker exception line in maint-0.4.1Nick Mathewson
This will our "git push" hook not complain about pushing from maint-0.4.1.
2020-02-11Merge remote-tracking branch 'tor-github/pr/1716/head' into maint-0.4.3Nick Mathewson
2020-02-11Undefined name: make_key() -> make_rsa_key()Christian Clauss
2020-02-10Update to 0.4.3.2-alpha-devNick Mathewson
2020-02-10changes file for ticket 33213Taylor Yu
2020-02-11Alphabetized Server Options and Directory Server Optionsswati
2020-02-10Correction to changelog from dgoulettor-0.4.3.2-alphaNick Mathewson
2020-02-10One more light changelog edit.Nick Mathewson
2020-02-10Light edits on the 0.4.3.2-alpha changelogNick Mathewson
2020-02-10start on 0.4.3.2-alpha changelogNick Mathewson
2020-02-10Merge branch 'bug33104_041'Nick Mathewson
2020-02-10Merge branch 'maint-0.4.1' into maint-0.4.2Nick Mathewson
2020-02-10Merge branch 'maint-0.4.0' into maint-0.4.1Nick Mathewson
2020-02-10Merge branch 'maint-0.4.2'Nick Mathewson
2020-02-10Merge branch 'maint-0.3.5' into maint-0.4.0maint-0.4.0Nick Mathewson