[tor-commits] [tor/release-0.4.0] Merge branch 'maint-0.4.0' into release-0.4.0

2019-03-26 Thread asn
commit fa9e0963cff97dc0ccf60c7ab68e21be4641983f Merge: 1cd59525c 06951cb3f Author: George Kadianakis Date: Tue Mar 26 15:16:37 2019 +0200 Merge branch 'maint-0.4.0' into release-0.4.0 changes/ticket29806 | 7 ++ src/feature/dirauth/bwauth.c | 8 +- src/test/test_dir.c

[tor-commits] [tor/master] stats: Stop reporting statistics when ExtraInfoStatistics is 0

2019-03-26 Thread asn
commit a798bd40fb108f83bcd3dea5c8fa8a60dbbb9fe2 Author: teor Date: Tue Jan 8 18:40:03 2019 +1000 stats: Stop reporting statistics when ExtraInfoStatistics is 0 When ExtraInfoStatistics is 0, stop including bandwidth usage statistics, GeoIPFile hashes, ServerTransportPlugin line

[tor-commits] [tor/master] test_dir: Split test_dir_formats into separate rsa and rsa_ed25519 tests

2019-03-26 Thread asn
commit 7a2c8dadedcb3b17195111fee7aa91695d6bf6bb Author: teor Date: Mon Feb 18 17:03:33 2019 +1000 test_dir: Split test_dir_formats into separate rsa and rsa_ed25519 tests --- src/test/test_dir.c | 186 ++-- 1 file changed, 123 insertions(+),

[tor-commits] [tor/master] router: split router_build_fresh_descriptor() into static functions

2019-03-26 Thread asn
commit 6c5a506cdb887a655d8a4654fba5f6ea466aaeae Author: teor Date: Thu Jan 10 17:11:26 2019 +1000 router: split router_build_fresh_descriptor() into static functions Split the body of router_build_fresh_descriptor() into static functions, by inserting function prologues and epi

[tor-commits] [tor/master] router: eliminate tiny router_build_fresh_descriptor() static functions

2019-03-26 Thread asn
commit af0a43be2cf3e96ee9ac8e1f92c11aa5d5f6290f Author: teor Date: Thu Jan 10 20:01:28 2019 +1000 router: eliminate tiny router_build_fresh_descriptor() static functions Remove some tiny static functions called by router_build_fresh_descriptor(), and move their code into more r

[tor-commits] [tor/master] router: eliminate router_update_info_send_unencrypted()

2019-03-26 Thread asn
commit 9cab988696b6f86f9b3b744c5694bee7d2a6cf70 Author: teor Date: Thu Jan 10 20:19:02 2019 +1000 router: eliminate router_update_info_send_unencrypted() Remove router_update_info_send_unencrypted(), and move its code into the relevant functions. Then, re-use an option

[tor-commits] [tor/master] router: refactor router_build_fresh_descriptor() static function interfaces

2019-03-26 Thread asn
commit f19b64dce90c082b0e19f059b94c2d42b015a956 Author: teor Date: Thu Jan 10 19:47:24 2019 +1000 router: refactor router_build_fresh_descriptor() static function interfaces Tidy the arguments and return values of these functions, and clean up their memory management.

[tor-commits] [tor/master] router: check for NULL in router_build_fresh_descriptor() static functions

2019-03-26 Thread asn
commit a65c101973f0b0dc7380470edff4f590b58c39d3 Author: teor Date: Thu Jan 10 19:49:46 2019 +1000 router: check for NULL in router_build_fresh_descriptor() static functions Make sure that these static functions aren't passed NULL. If they are, log a BUG() warning, and return an

[tor-commits] [tor/master] test_dir: Unit tests for RSA-only router and extrainfo descriptor creation

2019-03-26 Thread asn
commit 53b49d1a35d2e7abf1cc7aff15553c23dde0f352 Author: teor Date: Mon Feb 18 15:24:26 2019 +1000 test_dir: Unit tests for RSA-only router and extrainfo descriptor creation Tests 29017 and 29018. --- src/feature/nodelist/torcert.c | 4 +- src/feature/nodelist/torcert.h | 2 +-

[tor-commits] [tor/master] test_router: Add comment to explain mocking

2019-03-26 Thread asn
commit 7c9450fb073c8b5fb38dab826de7f0356c4828e2 Author: teor Date: Thu Jan 10 17:12:15 2019 +1000 test_router: Add comment to explain mocking Add comment in test_router_dump_router_to_string_no_bridge_distribution_method to explain the effect of a mocked function. --- src/

[tor-commits] [tor/master] test_dir: Test rsa + ed25519 extrainfo creation and parsing

2019-03-26 Thread asn
commit 8e5df40018acd0bd80626073b16b6cc070129109 Author: teor Date: Mon Feb 18 17:37:47 2019 +1000 test_dir: Test rsa + ed25519 extrainfo creation and parsing Also fix a missing mock in rsa-only parsing. --- src/feature/relay/router.c | 5 +- src/feature/relay/router.h |

[tor-commits] [tor/master] test_dir: Refactor common code out of the dir_format unit tests

2019-03-26 Thread asn
commit 38fc52a50e12fbcf1b1451e5a3a3016d1ced9759 Author: teor Date: Tue Feb 19 11:19:44 2019 +1000 test_dir: Refactor common code out of the dir_format unit tests Also: * delete some obsolete code that was #if 0 * improve cleanup on failure * make the dir_format tests mo

[tor-commits] [tor/master] router: Document the additional config and state used to dump descriptors

2019-03-26 Thread asn
commit a9f852a0f65a24fc8c0e33caf82d1e3c845c23cf Author: teor Date: Thu Jan 10 20:47:37 2019 +1000 router: Document the additional config and state used to dump descriptors Also, explicitly state when routerinfos and extra-infos are signed. And tidy up some other comments.

[tor-commits] [tor/master] router: Move extrainfo signing into its own function

2019-03-26 Thread asn
commit a1f8558628881216917814989d293a028f9e48d7 Author: teor Date: Thu Jan 10 20:39:10 2019 +1000 router: Move extrainfo signing into its own function This refactoring improves the structure of router_build_fresh_descriptor(). Preparation for testing 29017 and 20918. ---

[tor-commits] [tor/master] test_dir: Test descriptor variants

2019-03-26 Thread asn
commit 39ab6c9f7360b77901efefae7dd4b18d5df47b90 Author: teor Date: Tue Feb 19 15:56:09 2019 +1000 test_dir: Test descriptor variants Including: * relays and bridges, * no stats, basic stats, and all stats Part of 29017 and 29018. --- src/test/test_dir.c | 81 +

[tor-commits] [tor/master] fixup! test_dir: Refactor common code out of the dir_format unit tests

2019-03-26 Thread asn
commit 6c652eae0a95cae095f5adad9cc51e1f1a183245 Author: teor Date: Wed Feb 20 00:40:18 2019 +1000 fixup! test_dir: Refactor common code out of the dir_format unit tests --- src/test/test_dir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/test_dir.c b/src/t

[tor-commits] [tor/master] Merge branch 'tor-github/pr/709'

2019-03-26 Thread asn
commit d11976b8bd4bded2939ff973d7b2beb36c201bf0 Merge: 2790ee368 6c652eae0 Author: George Kadianakis Date: Tue Mar 26 15:34:54 2019 +0200 Merge branch 'tor-github/pr/709' changes/bug29018 |5 + doc/tor.1.txt |5 +- src/feature/nodelist/torcert.c |

[tor-commits] [tor/master] router: Add some missing #endif comments

2019-03-26 Thread asn
commit 51f59f213e3850d1d77f0e60355d914c6583aeb4 Author: teor Date: Tue Feb 19 21:23:27 2019 +1000 router: Add some missing #endif comments --- src/feature/relay/router.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/feature/relay/router.h b/src/feature/relay/r

[tor-commits] [tor/master] routerkeys: Log failures at info-level in make_tap_onion_key_crosscert()

2019-03-26 Thread asn
commit 0c0f21582285bec0fe68f71e293158eeedaeeaa3 Author: teor Date: Tue Feb 19 18:52:54 2019 +1000 routerkeys: Log failures at info-level in make_tap_onion_key_crosscert() --- src/feature/relay/routerkeys.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/featu

[tor-commits] [tor/master] Minimize the includes in control.c

2019-03-26 Thread asn
commit 61cebb2035b8cfb2f84ab5e198742d0b29b41192 Author: Nick Mathewson Date: Mon Mar 25 14:14:56 2019 -0400 Minimize the includes in control.c --- scripts/maint/practracker/exceptions.txt | 2 - src/feature/control/control.c| 94 +--- src/feature/co

[tor-commits] [tor/master] changes file for control.c splitup

2019-03-26 Thread asn
commit b71febcea809f154f65e6e00825724b3fbeccb10 Author: Nick Mathewson Date: Mon Mar 25 15:08:36 2019 -0400 changes file for control.c splitup --- changes/ticket29894 | 4 1 file changed, 4 insertions(+) diff --git a/changes/ticket29894 b/changes/ticket29894 new file mode 100644 inde

[tor-commits] [tor/master] Merge branch 'tor-github/pr/842'

2019-03-26 Thread asn
commit 989b6325d671744aacec191b181e8b0b0fee35be Merge: e028ec6bb b71febcea Author: George Kadianakis Date: Tue Mar 26 16:41:07 2019 +0200 Merge branch 'tor-github/pr/842' changes/ticket29894|4 + scripts/maint/practracker/exceptions.txt | 40 +- src/app/con

[tor-commits] [tor/maint-0.3.5] Entry Nodes: Use a reasonably live consensus to select guards

2019-02-14 Thread asn
commit d1ac5613fc832f4b298fbc243a35660dbd0976e3 Author: teor Date: Mon Nov 5 15:27:38 2018 +1000 Entry Nodes: Use a reasonably live consensus to select guards Fixes bug 24661; bugfix on 0.3.0.1-alpha. --- changes/bug24661| 3 +++ src/feature/client/entrynodes.c |

[tor-commits] [tor/maint-0.3.5] Entry Nodes: refactor tests to use macros

2019-02-14 Thread asn
commit 390112d07e7daad1ce1e79b37c3357ca936fd9ae Author: teor Date: Thu Nov 22 17:10:28 2018 +1000 Entry Nodes: refactor tests to use macros Part of 24661. --- src/test/test_entrynodes.c | 67 +++--- 1 file changed, 34 insertions(+), 33 delet

[tor-commits] [tor/maint-0.3.5] Entry Nodes: Test on reasonably live consensuses

2019-02-14 Thread asn
commit 805f75182a87286a727df323be7c37add595bdff Author: teor Date: Thu Nov 22 17:47:12 2018 +1000 Entry Nodes: Test on reasonably live consensuses As well as live consensuses. Tests for 24661. --- src/test/test_entrynodes.c | 26 ++ 1 file changed,

[tor-commits] [tor/release-0.3.5] Merge branch 'maint-0.3.5' into release-0.3.5

2019-02-14 Thread asn
commit 4041ff5543084978ab3a1f765280489ddc8ef02c Merge: ffbc8a7c2 9bfe4ed6d Author: George Kadianakis Date: Thu Feb 14 17:40:58 2019 +0200 Merge branch 'maint-0.3.5' into release-0.3.5 changes/bug24661 | 3 ++ changes/bug28569 | 3 ++ src/feature/c

[tor-commits] [tor/master] Merge branch 'maint-0.3.5'

2019-02-14 Thread asn
commit b804d5bc49fe6f73e96f8b584c499249bbe8d2a5 Merge: 5f42bc0f4 9bfe4ed6d Author: George Kadianakis Date: Thu Feb 14 17:40:59 2019 +0200 Merge branch 'maint-0.3.5' ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torpr

[tor-commits] [tor/release-0.3.5] Entry Nodes: refactor tests to use macros

2019-02-14 Thread asn
commit 390112d07e7daad1ce1e79b37c3357ca936fd9ae Author: teor Date: Thu Nov 22 17:10:28 2018 +1000 Entry Nodes: refactor tests to use macros Part of 24661. --- src/test/test_entrynodes.c | 67 +++--- 1 file changed, 34 insertions(+), 33 delet

[tor-commits] [tor/release-0.3.5] Merge branch 'tor-github/pr/536' into maint-0.3.5

2019-02-14 Thread asn
commit 9bfe4ed6dd666bb276e35b6e5c8c3de0c218bce0 Merge: 6efc2a0e1 805f75182 Author: George Kadianakis Date: Thu Feb 14 17:39:34 2019 +0200 Merge branch 'tor-github/pr/536' into maint-0.3.5 changes/bug24661 | 3 ++ changes/bug28569 | 3 ++ src/featu

[tor-commits] [tor/release-0.3.5] Entry Nodes: Test on reasonably live consensuses

2019-02-14 Thread asn
commit 805f75182a87286a727df323be7c37add595bdff Author: teor Date: Thu Nov 22 17:47:12 2018 +1000 Entry Nodes: Test on reasonably live consensuses As well as live consensuses. Tests for 24661. --- src/test/test_entrynodes.c | 26 ++ 1 file changed,

[tor-commits] [tor/release-0.3.5] Entry Nodes: Mark outdated dirservers in reasonably live consensuses

2019-02-14 Thread asn
commit 657618ba9bd96830b0a283c28db203bf9fffb15d Author: teor Date: Wed Nov 21 19:51:34 2018 +1000 Entry Nodes: Mark outdated dirservers in reasonably live consensuses Fixes bug 28569; bugfix on Tor 0.3.2.5-alpha. --- changes/bug28569 | 3 +++ src/feature/nodelist/

[tor-commits] [tor/maint-0.3.5] Merge branch 'tor-github/pr/536' into maint-0.3.5

2019-02-14 Thread asn
commit 9bfe4ed6dd666bb276e35b6e5c8c3de0c218bce0 Merge: 6efc2a0e1 805f75182 Author: George Kadianakis Date: Thu Feb 14 17:39:34 2019 +0200 Merge branch 'tor-github/pr/536' into maint-0.3.5 changes/bug24661 | 3 ++ changes/bug28569 | 3 ++ src/featu

[tor-commits] [tor/master] Merge branch 'tor-github/pr/536' into maint-0.3.5

2019-02-14 Thread asn
commit 9bfe4ed6dd666bb276e35b6e5c8c3de0c218bce0 Merge: 6efc2a0e1 805f75182 Author: George Kadianakis Date: Thu Feb 14 17:39:34 2019 +0200 Merge branch 'tor-github/pr/536' into maint-0.3.5 changes/bug24661 | 3 ++ changes/bug28569 | 3 ++ src/featu

[tor-commits] [tor/maint-0.3.5] Entry Nodes: Mark outdated dirservers in reasonably live consensuses

2019-02-14 Thread asn
commit 657618ba9bd96830b0a283c28db203bf9fffb15d Author: teor Date: Wed Nov 21 19:51:34 2018 +1000 Entry Nodes: Mark outdated dirservers in reasonably live consensuses Fixes bug 28569; bugfix on Tor 0.3.2.5-alpha. --- changes/bug28569 | 3 +++ src/feature/nodelist/

[tor-commits] [tor/release-0.3.5] Entry Nodes: Use a reasonably live consensus to select guards

2019-02-14 Thread asn
commit d1ac5613fc832f4b298fbc243a35660dbd0976e3 Author: teor Date: Mon Nov 5 15:27:38 2018 +1000 Entry Nodes: Use a reasonably live consensus to select guards Fixes bug 24661; bugfix on 0.3.0.1-alpha. --- changes/bug24661| 3 +++ src/feature/client/entrynodes.c |

[tor-commits] [tor/release-0.3.5] Test: make unit tests use a reasonably live consensus

2019-02-14 Thread asn
commit cebc39bcd56dde8f9824055fcd54707de56ab9b1 Author: teor Date: Wed Nov 21 15:55:43 2018 +1000 Test: make unit tests use a reasonably live consensus Cleanup after 24661. --- src/feature/nodelist/networkstatus.c | 7 ++- src/feature/nodelist/networkstatus.h | 5 +++-- src/te

[tor-commits] [tor/maint-0.3.5] Test: make unit tests use a reasonably live consensus

2019-02-14 Thread asn
commit cebc39bcd56dde8f9824055fcd54707de56ab9b1 Author: teor Date: Wed Nov 21 15:55:43 2018 +1000 Test: make unit tests use a reasonably live consensus Cleanup after 24661. --- src/feature/nodelist/networkstatus.c | 7 ++- src/feature/nodelist/networkstatus.h | 5 +++-- src/te

[tor-commits] [tor/maint-0.3.5] Add more openssl includes to fix no-deprecated compilation

2019-02-14 Thread asn
commit 49ec29044d12ff1d609ebe491f08f84e958be748 Author: Nick Mathewson Date: Fri Feb 8 08:51:04 2019 -0500 Add more openssl includes to fix no-deprecated compilation Closes ticket 29026; patch from Mangix. --- src/lib/crypt_ops/crypto_hkdf.c | 1 + src/lib/crypt_ops/crypto_rand.c

[tor-commits] [tor/maint-0.3.5] Changes file for ticket29026.

2019-02-14 Thread asn
commit b63404ebba747337aece30555d94150b4d1bdd30 Author: Nick Mathewson Date: Fri Feb 8 08:52:46 2019 -0500 Changes file for ticket29026. --- changes/ticket29026 | 4 1 file changed, 4 insertions(+) diff --git a/changes/ticket29026 b/changes/ticket29026 new file mode 100644 index

[tor-commits] [tor/master] Add more openssl includes to fix no-deprecated compilation

2019-02-14 Thread asn
commit 49ec29044d12ff1d609ebe491f08f84e958be748 Author: Nick Mathewson Date: Fri Feb 8 08:51:04 2019 -0500 Add more openssl includes to fix no-deprecated compilation Closes ticket 29026; patch from Mangix. --- src/lib/crypt_ops/crypto_hkdf.c | 1 + src/lib/crypt_ops/crypto_rand.c

[tor-commits] [tor/master] Changes file for ticket29026.

2019-02-14 Thread asn
commit b63404ebba747337aece30555d94150b4d1bdd30 Author: Nick Mathewson Date: Fri Feb 8 08:52:46 2019 -0500 Changes file for ticket29026. --- changes/ticket29026 | 4 1 file changed, 4 insertions(+) diff --git a/changes/ticket29026 b/changes/ticket29026 new file mode 100644 index

[tor-commits] [tor/master] Merge branch 'maint-0.3.5'

2019-02-14 Thread asn
commit 00b073b1bc909d2d2a30a3c1ddd5abd5e670da80 Merge: b804d5bc4 d83c299eb Author: George Kadianakis Date: Thu Feb 14 18:01:07 2019 +0200 Merge branch 'maint-0.3.5' changes/ticket29026| 4 src/lib/crypt_ops/aes_openssl.c| 2 +- src/lib/crypt_ops/crypto_hkd

[tor-commits] [tor/release-0.3.5] Add more openssl includes to fix no-deprecated compilation

2019-02-14 Thread asn
commit 49ec29044d12ff1d609ebe491f08f84e958be748 Author: Nick Mathewson Date: Fri Feb 8 08:51:04 2019 -0500 Add more openssl includes to fix no-deprecated compilation Closes ticket 29026; patch from Mangix. --- src/lib/crypt_ops/crypto_hkdf.c | 1 + src/lib/crypt_ops/crypto_rand.c

[tor-commits] [tor/release-0.3.5] Merge branch 'tor-github/pr/689' into maint-0.3.5

2019-02-14 Thread asn
commit d83c299eba8010204b3fe0760b1372c7564889fe Merge: 9bfe4ed6d b63404ebb Author: George Kadianakis Date: Thu Feb 14 18:00:05 2019 +0200 Merge branch 'tor-github/pr/689' into maint-0.3.5 changes/ticket29026| 4 src/lib/crypt_ops/aes_openssl.c| 2 +- src/l

[tor-commits] [tor/release-0.3.5] Merge branch 'maint-0.3.5' into release-0.3.5

2019-02-14 Thread asn
commit 8dcecfb00028aa57ee8fb7bd6c9b817da365bdf2 Merge: 4041ff554 d83c299eb Author: George Kadianakis Date: Thu Feb 14 18:01:04 2019 +0200 Merge branch 'maint-0.3.5' into release-0.3.5 changes/ticket29026| 4 src/lib/crypt_ops/aes_openssl.c| 2 +- src/lib/c

[tor-commits] [tor/maint-0.3.5] Merge branch 'tor-github/pr/689' into maint-0.3.5

2019-02-14 Thread asn
commit d83c299eba8010204b3fe0760b1372c7564889fe Merge: 9bfe4ed6d b63404ebb Author: George Kadianakis Date: Thu Feb 14 18:00:05 2019 +0200 Merge branch 'tor-github/pr/689' into maint-0.3.5 changes/ticket29026| 4 src/lib/crypt_ops/aes_openssl.c| 2 +- src/l

[tor-commits] [tor/release-0.3.5] Fix compilation when openssl is compiled without engine support.

2019-02-14 Thread asn
commit b9abdcd6bce961baea17274ff6d213322d2b46d7 Author: Nick Mathewson Date: Fri Feb 8 08:50:04 2019 -0500 Fix compilation when openssl is compiled without engine support. Patch from Mangix. Closes part of ticket 29026. --- src/lib/crypt_ops/aes_openssl.c| 2 +- src/lib/cr

[tor-commits] [tor/master] Merge branch 'tor-github/pr/689' into maint-0.3.5

2019-02-14 Thread asn
commit d83c299eba8010204b3fe0760b1372c7564889fe Merge: 9bfe4ed6d b63404ebb Author: George Kadianakis Date: Thu Feb 14 18:00:05 2019 +0200 Merge branch 'tor-github/pr/689' into maint-0.3.5 changes/ticket29026| 4 src/lib/crypt_ops/aes_openssl.c| 2 +- src/l

[tor-commits] [tor/master] Fix compilation when openssl is compiled without engine support.

2019-02-14 Thread asn
commit b9abdcd6bce961baea17274ff6d213322d2b46d7 Author: Nick Mathewson Date: Fri Feb 8 08:50:04 2019 -0500 Fix compilation when openssl is compiled without engine support. Patch from Mangix. Closes part of ticket 29026. --- src/lib/crypt_ops/aes_openssl.c| 2 +- src/lib/cr

[tor-commits] [tor/release-0.3.5] Changes file for ticket29026.

2019-02-14 Thread asn
commit b63404ebba747337aece30555d94150b4d1bdd30 Author: Nick Mathewson Date: Fri Feb 8 08:52:46 2019 -0500 Changes file for ticket29026. --- changes/ticket29026 | 4 1 file changed, 4 insertions(+) diff --git a/changes/ticket29026 b/changes/ticket29026 new file mode 100644 index

[tor-commits] [tor/maint-0.3.5] Fix compilation when openssl is compiled without engine support.

2019-02-14 Thread asn
commit b9abdcd6bce961baea17274ff6d213322d2b46d7 Author: Nick Mathewson Date: Fri Feb 8 08:50:04 2019 -0500 Fix compilation when openssl is compiled without engine support. Patch from Mangix. Closes part of ticket 29026. --- src/lib/crypt_ops/aes_openssl.c| 2 +- src/lib/cr

[tor-commits] [tor/master] Merge remote-tracking branch 'nickm/thread_rng'

2019-02-22 Thread asn
commit f229a336859be89fbf093355b50692b209b5dd30 Merge: 9ac8c8543 208f04e9b Author: George Kadianakis Date: Fri Feb 22 16:07:57 2019 +0200 Merge remote-tracking branch 'nickm/thread_rng' changes/ticket29536 | 9 + src/lib/crypt_ops/crypto_init.c | 7 src/li

[tor-commits] [tor/master] Implement code to manage a per-thread instance of crypto_fast_rng()

2019-02-22 Thread asn
commit b25cd5cfe168b85500c160ca538a44d9adba52c1 Author: Nick Mathewson Date: Tue Feb 19 15:23:31 2019 -0500 Implement code to manage a per-thread instance of crypto_fast_rng() The subsystems API makes this really simple, fortunately. Closes ticket 29536 --- changes/ticket

[tor-commits] [tor/master] Add a quick test for get_thread_fast_rng()

2019-02-22 Thread asn
commit 208f04e9b8241569fe314f6d5cb65521c9b55d8b Author: Nick Mathewson Date: Tue Feb 19 15:36:11 2019 -0500 Add a quick test for get_thread_fast_rng() --- src/test/test_crypto_rng.c | 8 1 file changed, 8 insertions(+) diff --git a/src/test/test_crypto_rng.c b/src/test/test_crypt

[tor-commits] [tor/master] Fix users of base32_decode to check for expected length in return.

2019-02-26 Thread asn
commit f632335feb27b45a3ee5eb64690826bda52467bd Author: Nick Mathewson Date: Thu Jan 17 13:32:19 2019 -0500 Fix users of base32_decode to check for expected length in return. Also, when we log about a failure from base32_decode(), we now say that the length is wrong or that the

[tor-commits] [tor/master] base32_decode(): Return number of bytes written on success.

2019-02-26 Thread asn
commit a517daa56f5848d25ba79617a1a7b82ed2b0a7c0 Author: Nick Mathewson Date: Thu Dec 20 08:36:25 2018 -0500 base32_decode(): Return number of bytes written on success. This makes it consistent with base64_decode(). Closes ticket 28913. --- changes/ticket28913 |

[tor-commits] [tor/master] Merge branch 'tor-github/pr/611'

2019-02-26 Thread asn
commit 7fbfdf2af731f500e3df3ca8207e6822f87f1bc9 Merge: 626e6d2c3 f632335fe Author: George Kadianakis Date: Tue Feb 26 12:33:23 2019 +0200 Merge branch 'tor-github/pr/611' changes/ticket28913 | 4 src/feature/control/control.c | 3 ++- src/feature/hs/hs_client.c| 5 ++

[tor-commits] [tor/master] Add base32 to the round-trip fuzzer

2019-02-26 Thread asn
commit 22c5ad682cdd2e6a9a2124585302b2335361ab80 Author: Nick Mathewson Date: Thu Dec 20 08:37:04 2018 -0500 Add base32 to the round-trip fuzzer --- src/test/fuzz/fuzz_strops.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/test/fuzz/fuzz_strops.c b/src/test/

[tor-commits] [tor/master] When a DirAuth checks reachability on itself and has IPv6, mark it as reachable

2019-02-26 Thread asn
commit df8ad6473575e217fe69de7d0d12341a1162b95e Author: Neel Chauhan Date: Fri Feb 22 13:36:02 2019 -0500 When a DirAuth checks reachability on itself and has IPv6, mark it as reachable --- changes/bug24338| 4 src/feature/dirauth/voteflags.c | 18 +++---

[tor-commits] [tor/master] Merge branch 'tor-github/pr/698'

2019-02-26 Thread asn
commit 57d33b5786019b3320a7b2d5c747ce31ea3e1a77 Merge: 7fbfdf2af df8ad6473 Author: George Kadianakis Date: Tue Feb 26 12:35:14 2019 +0200 Merge branch 'tor-github/pr/698' changes/bug24338| 4 src/feature/dirauth/voteflags.c | 18 +++--- 2 files changed, 1

[tor-commits] [tor/master] Merge branch 'tor-github/pr/729'

2019-02-26 Thread asn
commit 39a10499326fc020a1ad05e9dd3341d7e21e8873 Merge: b402a0887 e1ad22643 Author: George Kadianakis Date: Tue Feb 26 20:15:40 2019 +0200 Merge branch 'tor-github/pr/729' changes/ticket29391| 3 + scripts/maint/git-merge-forward.sh | 194 +

[tor-commits] [tor/master] maint: Helpful scripts for tor maintenance

2019-02-26 Thread asn
commit e1ad22643e414da9802f4f5c2522fde35933fd47 Author: David Goulet Date: Thu Feb 14 14:27:40 2019 -0500 maint: Helpful scripts for tor maintenance Closes #29391 Signed-off-by: David Goulet --- changes/ticket29391| 3 + scripts/maint/git-merge-forward.

[tor-commits] [tor/master] Merge branch 'maint-0.3.5'

2019-02-26 Thread asn
commit ec695755e730ad73b60542c21971353fedce16b1 Merge: 732855c2e 1216f9953 Author: David Goulet Date: Tue Feb 26 10:48:14 2019 -0500 Merge branch 'maint-0.3.5' ___ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproj

[tor-commits] [tor/master] Merge branch 'tor-github/pr/720'

2019-02-28 Thread asn
commit cec555f44c6aac473258689ce7362e44e265c06e Merge: 600f5f0db b3b737b87 Author: George Kadianakis Date: Thu Feb 28 12:32:16 2019 +0200 Merge branch 'tor-github/pr/720' changes/ticket29553 | 5 + scripts/maint/pre-commit.git-hook | 33 -

[tor-commits] [tor/master] Update pre-commit.git-hook for ticket 29553

2019-02-28 Thread asn
commit b3b737b8750b2063c5be260287088defbfadd1b9 Author: Nick Mathewson Date: Thu Feb 21 13:35:33 2019 -0500 Update pre-commit.git-hook for ticket 29553 - handle older source layout - handle empty changes directories - "set -e" so that we exit if there's a problem. ---

[tor-commits] [tor/master] Merge branch 'tor-github/pr/739'

2019-03-04 Thread asn
commit fe2552ad652e07cd2e654b3e91f7b24a1ce8200b Merge: 13e93bdfd c142e3d1e Author: George Kadianakis Date: Mon Mar 4 18:52:19 2019 +0200 Merge branch 'tor-github/pr/739' changes/bug17357 | 7 +++ src/feature/rend/rendservice.c | 26 -- 2 files ch

[tor-commits] [tor/master] Set CIRCLAUNCH_NEED_UPTIME in rend_service_relaunch_rendezvous() on a hs_service_requires_uptime_circ()

2019-03-04 Thread asn
commit c142e3d1e65c22891c19d71541c8084532099183 Author: Neel Chauhan Date: Wed Feb 27 13:54:23 2019 -0500 Set CIRCLAUNCH_NEED_UPTIME in rend_service_relaunch_rendezvous() on a hs_service_requires_uptime_circ() --- changes/bug17357 | 7 +++ src/feature/rend/rendservice.c

[tor-commits] [tor/master] Re-enable and fix unit test for nofork mappings

2019-03-04 Thread asn
commit 065e7da8e6fdbd9331de8c13344275a8e0fbf32d Author: Nick Mathewson Date: Mon Feb 25 08:55:25 2019 -0500 Re-enable and fix unit test for nofork mappings This test was previously written to use the contents of the system headers to decide whether INHERIT_NONE or INHERIT_ZERO

[tor-commits] [tor/master] Merge branch 'tor-github/pr/723'

2019-03-04 Thread asn
commit c5da1f1cd52dfbf6dc68fba70df42ec4976a589c Merge: fe2552ad6 065e7da8e Author: George Kadianakis Date: Mon Mar 4 18:55:28 2019 +0200 Merge branch 'tor-github/pr/723' src/lib/malloc/map_anon.c | 34 -- src/lib/malloc/map_anon.h | 4 src/test/test_u

[tor-commits] [tor/master] Bug 28780: Make use of purpose to keep padding circuits open.

2019-05-15 Thread asn
commit 662825474cb7d5fb0e713844aef5e912edd6ed8a Author: Mike Perry Date: Thu Apr 18 20:40:55 2019 + Bug 28780: Make use of purpose to keep padding circuits open. When a circuit is marked for close, check to see if any of our padding machines want to take ownership of it and

[tor-commits] [tor/master] Bug 28780: Add purpose for keeping padding circuits open

2019-05-15 Thread asn
commit d44e3e57b0904259041fa19a2fe14639ce476135 Author: Mike Perry Date: Wed May 15 04:42:28 2019 + Bug 28780: Add purpose for keeping padding circuits open --- src/core/or/circuitlist.c | 6 ++ src/core/or/circuitlist.h | 28 +++- src/core/or/circuituse.c

[tor-commits] [tor/master] Bug 28780: Changes file

2019-05-15 Thread asn
commit 5cc988a947e8ba10e2682274465a82ff22e7c93d Author: Mike Perry Date: Thu Apr 18 20:35:22 2019 + Bug 28780: Changes file --- changes/ticket28780 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/changes/ticket28780 b/changes/ticket28780 new file mode 100644 index 0..d7c

[tor-commits] [tor/master] Bug 28780: Add tests

2019-05-15 Thread asn
commit e253a117c0a2db9315ac44f09cfba5e854f4e172 Author: Mike Perry Date: Wed May 15 04:46:05 2019 + Bug 28780: Add tests Also test circpad expiry safeguard. --- src/core/or/circuituse.c | 4 +- src/test/test_circuitpadding.c | 188 ++

[tor-commits] [tor/master] Pathbias should continue to ignore previously ignored circs.

2019-05-15 Thread asn
commit b98bcd789e45fb6a09ef92ab15052a6c19e24887 Author: Mike Perry Date: Wed May 8 21:21:03 2019 + Pathbias should continue to ignore previously ignored circs. If circuit padding wants to keep a circuit open and pathbias used to ignore it, pathbias should continue to ignore

[tor-commits] [tor/master] Add control port circuit ID to all pathbias bug messages.

2019-05-15 Thread asn
commit 56738ff8c626b21d6e3d146c9a2c0c4d18f3884a Author: Mike Perry Date: Wed May 8 21:28:00 2019 + Add control port circuit ID to all pathbias bug messages. To ease debugging of miscount issues, attach vanguards with --loglevel DEBUG and obtain control port logs (or use any

[tor-commits] [tor/master] The practracker beatings will continue until the files get smaller.

2019-05-15 Thread asn
commit ff2a9809353c1166cb494dac3a14502b8ee24013 Author: Mike Perry Date: Wed May 15 04:47:50 2019 + The practracker beatings will continue until the files get smaller. --- scripts/maint/practracker/exceptions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrip

[tor-commits] [tor/master] Merge branch 'bug28780-squashed3-rebased' into bug28780_rebase

2019-05-15 Thread asn
commit d71fa707dd01bdaa2ed301e82ace6fd23f63e638 Merge: a7779df84 ff2a98093 Author: George Kadianakis Date: Wed May 15 16:46:51 2019 +0300 Merge branch 'bug28780-squashed3-rebased' into bug28780_rebase changes/ticket28780 | 3 + scripts/maint/practracker/exceptions.t

[tor-commits] [tor/master] Move "relay" and "router" periodic callbacks out of mainloop.c

2019-05-15 Thread asn
commit 3c2648bbda53f74a4e960ad149600c3a2b12305c Author: Nick Mathewson Date: Thu May 2 09:52:03 2019 -0400 Move "relay" and "router" periodic callbacks out of mainloop.c (Some of these callbacks are specific to the OR module, so now it's time to have an or_sys and or_periodic.)

[tor-commits] [tor/master] Merge branch 'tor-github/pr/1002'

2019-05-15 Thread asn
commit 338cfb31798267dc8260415ef55ddceb042367bd Merge: 39a14421b 3c2648bbd Author: George Kadianakis Date: Wed May 15 23:23:18 2019 +0300 Merge branch 'tor-github/pr/1002' changes/ticket30414| 3 + src/app/main/shutdown.c| 15 -- src/app/main/subsystem_list.

[tor-commits] [tor/master] Create a relay subsystem and move the shutdown functions there

2019-05-15 Thread asn
commit b394b5b2af7f38a5e66c9875d3a55be5af840933 Author: Nick Mathewson Date: Wed May 1 15:36:18 2019 -0400 Create a relay subsystem and move the shutdown functions there --- src/app/main/shutdown.c | 9 - src/core/include.am | 2 ++ src/feature/relay/relay_sys.c |

[tor-commits] [tor/master] Tests for deciding how full our relay cells should be

2019-05-27 Thread asn
commit fcd51fd49f8c30ab8d5d1d099d43e510187150c6 Author: Nick Mathewson Date: Thu May 23 09:29:24 2019 -0400 Tests for deciding how full our relay cells should be --- src/core/or/relay.c| 2 +- src/core/or/relay.h| 3 ++ src/test/test_sendme.c | 79

[tor-commits] [tor/master] Merge branch 'tor-github/pr/1043'

2019-05-27 Thread asn
commit 130eb227acd8a8717dcc5258c4dd5b2adc79930b Merge: 94914e2a4 fcd51fd49 Author: George Kadianakis Date: Mon May 27 14:20:51 2019 +0300 Merge branch 'tor-github/pr/1043' changes/ticket26846 | 6 ++ scripts/maint/practracker/exceptions.txt | 2 +- src/core/or/circu

[tor-commits] [tor/master] Make sure that we send at least some random data in RELAY_DATA cells

2019-05-27 Thread asn
commit 0bc1241494a118d5319207a9f4683b993d389e77 Author: Nick Mathewson Date: Fri May 17 11:03:16 2019 -0400 Make sure that we send at least some random data in RELAY_DATA cells Proposal 289 prevents SENDME-flooding by requiring the other side to authenticate the data it has rec

[tor-commits] [tor/master] refactor logic to decide how much to package from inbuf

2019-05-27 Thread asn
commit e4d1187584038593a75140d9a8e47024c9eba04c Author: Roger Dingledine Date: Wed Jul 18 21:00:27 2018 -0400 refactor logic to decide how much to package from inbuf no actual changes in behavior --- src/core/or/relay.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deleti

[tor-commits] [tor/master] Extract length-deciding function from package_raw_inbuf.

2019-05-27 Thread asn
commit 530d1179ffe54ad0db2678142154fdd20f71cf53 Author: Nick Mathewson Date: Fri May 17 10:29:35 2019 -0400 Extract length-deciding function from package_raw_inbuf. --- src/core/or/relay.c | 36 ++-- 1 file changed, 26 insertions(+), 10 deletions(-) diff --

[tor-commits] [tor/master] Merge branch 'tor-github/pr/1042'

2019-05-27 Thread asn
commit 0a86f14addd031ac69647f4ab6fc66c1835cd31e Merge: 130eb227a 57ee0e3af Author: George Kadianakis Date: Mon May 27 14:22:01 2019 +0300 Merge branch 'tor-github/pr/1042' changes/ticket30580 | 4 src/feature/control/control_cmd.c | 8 +--- 2 files changed, 9 insert

[tor-commits] [tor/master] Only reject POSTDESCRIPTOR purpose= when the purpose is unrecognized

2019-05-27 Thread asn
commit 57ee0e3af98e5dce398e8bc7f6f2b77e53208288 Author: Nick Mathewson Date: Thu May 23 08:24:29 2019 -0400 Only reject POSTDESCRIPTOR purpose= when the purpose is unrecognized Fixes bug 30580; bugfix on 0.4.1.1-alpha. --- changes/ticket30580 | 4 src/feature/co

[tor-commits] [tor/master] test: Also avoid reading the system default torrc in integration tests

2019-05-29 Thread asn
commit 12b9bfc05f3a163b44f0f8b6638f027de16e622b Author: teor Date: Wed Apr 10 19:03:43 2019 +1000 test: Also avoid reading the system default torrc in integration tests Part of 29702. --- changes/ticket29702 | 6 +++--- src/test/test_key_expiration.sh | 3 ++- src/test

[tor-commits] [tor/maint-0.4.0] Merge branch 'tor-github/pr/924' into maint-0.4.0

2019-05-29 Thread asn
commit 00108b75d4c0f02a7fa5aba240e4b60f79bf4d1d Merge: c7f9f7e54 12b9bfc05 Author: George Kadianakis Date: Wed May 29 21:19:56 2019 +0300 Merge branch 'tor-github/pr/924' into maint-0.4.0 changes/ticket29702 | 4 src/test/test_key_expiration.sh | 3 ++- src/test/test_ke

[tor-commits] [tor/maint-0.4.0] test: Also avoid reading the system default torrc in integration tests

2019-05-29 Thread asn
commit 12b9bfc05f3a163b44f0f8b6638f027de16e622b Author: teor Date: Wed Apr 10 19:03:43 2019 +1000 test: Also avoid reading the system default torrc in integration tests Part of 29702. --- changes/ticket29702 | 6 +++--- src/test/test_key_expiration.sh | 3 ++- src/test

[tor-commits] [tor/maint-0.4.0] Use empty torrc file when launching tor in test_rebind.py

2019-05-29 Thread asn
commit 93dcfc659300f9ad5277ec531612013e4b8a13d3 Author: rl1987 Date: Wed Mar 13 17:53:51 2019 +0200 Use empty torrc file when launching tor in test_rebind.py --- src/test/test_rebind.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/test_rebind.py b/src/t

[tor-commits] [tor/maint-0.4.0] Add changes file

2019-05-29 Thread asn
commit acec0192c3d6400316037cdc3e4c9093c1919252 Author: rl1987 Date: Wed Mar 13 18:51:41 2019 +0200 Add changes file --- changes/ticket29702 | 4 1 file changed, 4 insertions(+) diff --git a/changes/ticket29702 b/changes/ticket29702 new file mode 100644 index 0..d2cacd55d ---

[tor-commits] [tor/master] Merge branch 'tor-github/pr/924' into maint-0.4.0

2019-05-29 Thread asn
commit 00108b75d4c0f02a7fa5aba240e4b60f79bf4d1d Merge: c7f9f7e54 12b9bfc05 Author: George Kadianakis Date: Wed May 29 21:19:56 2019 +0300 Merge branch 'tor-github/pr/924' into maint-0.4.0 changes/ticket29702 | 4 src/test/test_key_expiration.sh | 3 ++- src/test/test_ke

[tor-commits] [tor/release-0.4.0] Merge branch 'tor-github/pr/924' into maint-0.4.0

2019-05-29 Thread asn
commit 00108b75d4c0f02a7fa5aba240e4b60f79bf4d1d Merge: c7f9f7e54 12b9bfc05 Author: George Kadianakis Date: Wed May 29 21:19:56 2019 +0300 Merge branch 'tor-github/pr/924' into maint-0.4.0 changes/ticket29702 | 4 src/test/test_key_expiration.sh | 3 ++- src/test/test_ke

[tor-commits] [tor/master] Merge branch 'maint-0.4.0'

2019-05-29 Thread asn
commit 650bdca97f2bf45b27fe8ae0f9a2da5cbf36f959 Merge: 24a2352d5 00108b75d Author: George Kadianakis Date: Wed May 29 21:20:02 2019 +0300 Merge branch 'maint-0.4.0' changes/ticket29702 | 4 src/test/test_key_expiration.sh | 3 ++- src/test/test_keygen.sh | 3 ++

[tor-commits] [tor/release-0.4.0] Add changes file

2019-05-29 Thread asn
commit acec0192c3d6400316037cdc3e4c9093c1919252 Author: rl1987 Date: Wed Mar 13 18:51:41 2019 +0200 Add changes file --- changes/ticket29702 | 4 1 file changed, 4 insertions(+) diff --git a/changes/ticket29702 b/changes/ticket29702 new file mode 100644 index 0..d2cacd55d ---

[tor-commits] [tor/release-0.4.0] test: Also avoid reading the system default torrc in integration tests

2019-05-29 Thread asn
commit 12b9bfc05f3a163b44f0f8b6638f027de16e622b Author: teor Date: Wed Apr 10 19:03:43 2019 +1000 test: Also avoid reading the system default torrc in integration tests Part of 29702. --- changes/ticket29702 | 6 +++--- src/test/test_key_expiration.sh | 3 ++- src/test

[tor-commits] [tor/release-0.4.0] Use empty torrc file when launching tor in test_rebind.py

2019-05-29 Thread asn
commit 93dcfc659300f9ad5277ec531612013e4b8a13d3 Author: rl1987 Date: Wed Mar 13 17:53:51 2019 +0200 Use empty torrc file when launching tor in test_rebind.py --- src/test/test_rebind.py | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/test_rebind.py b/src/t

[tor-commits] [tor/release-0.4.0] Merge branch 'maint-0.4.0' into release-0.4.0

2019-05-29 Thread asn
commit 121d271dc6db82b0c49125b7160ed320e6398682 Merge: 63e0599c5 00108b75d Author: George Kadianakis Date: Wed May 29 21:20:02 2019 +0300 Merge branch 'maint-0.4.0' into release-0.4.0 changes/ticket29702 | 4 src/test/test_key_expiration.sh | 3 ++- src/test/test_keygen

[tor-commits] [tor/master] Add changes file

2019-05-29 Thread asn
commit acec0192c3d6400316037cdc3e4c9093c1919252 Author: rl1987 Date: Wed Mar 13 18:51:41 2019 +0200 Add changes file --- changes/ticket29702 | 4 1 file changed, 4 insertions(+) diff --git a/changes/ticket29702 b/changes/ticket29702 new file mode 100644 index 0..d2cacd55d ---

<    2   3   4   5   6   7   8   9   10   11   >