[tor-commits] [tor/master] pubsub_check.c: Stop accepting NULL prefix, which we never send.

2019-03-27 Thread asn
commit 2e7f80d5f4e8b56f060516f71f13590593b1d876 Author: Nick Mathewson Date: Wed Mar 13 15:54:26 2019 -0400 pubsub_check.c: Stop accepting NULL prefix, which we never send. (Our code to handle it was broken, too) --- src/lib/pubsub/pubsub_check.c | 3 +-- 1 file changed, 1

[tor-commits] [tor/master] Add a naming system for IDs in dispatch.

2019-03-27 Thread asn
commit f5683d90be693ecf0561fe90803f5a54c7ed264d Author: Nick Mathewson Date: Sun Jan 13 14:43:13 2019 -0500 Add a naming system for IDs in dispatch. --- src/lib/dispatch/.may_include | 1 + src/lib/dispatch/dispatch_naming.c | 63 ++

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

2019-03-27 Thread asn
commit 8d70f217175b69a7b8e5d35b564f50712c882d7e Author: Nick Mathewson Date: Thu Mar 14 13:23:58 2019 -0400 Add a test for pubsub_items_clear_bindings() --- src/test/test_pubsub_build.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/test/test_pubsub_build.c

[tor-commits] [tor/master] practracker compliance: split lint_message into more logical parts

2019-03-27 Thread asn
commit 4bdff5e3e9d4ea11c7e8043e75d63c4f366558e8 Author: Nick Mathewson Date: Thu Mar 14 08:54:20 2019 -0400 practracker compliance: split lint_message into more logical parts --- src/lib/pubsub/pubsub_check.c | 237 ++ 1 file changed, 149

[tor-commits] [tor/master] Add msgtypes.h include to pubsub_build.h

2019-03-27 Thread asn
commit 02e0a39d396ad4f86d27770a5cf6f46553a01b0c Author: Nick Mathewson Date: Mon Mar 11 15:56:13 2019 -0400 Add msgtypes.h include to pubsub_build.h (The header won't compile without it.) --- src/lib/pubsub/pubsub_build.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[tor-commits] [tor/master] practracker: split shutdown code out of main.c

2019-03-27 Thread asn
commit ab6ddc7a33f7ae6611ebaa00b6bc526d9c286b41 Author: Nick Mathewson Date: Thu Mar 14 09:37:44 2019 -0400 practracker: split shutdown code out of main.c This is necessary to get the number of includes in main.c back under control. (In the future, we could just use the

[tor-commits] [tor/master] dispatch: Test behavior of formatting type with no set fmt function.

2019-03-27 Thread asn
commit c40bcab85df19feb4ad6503f160c07b23501dc85 Author: Nick Mathewson Date: Wed Mar 13 15:52:48 2019 -0400 dispatch: Test behavior of formatting type with no set fmt function. --- src/test/test_dispatch.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git

[tor-commits] [tor/master] Add function to clear publish bindings.

2019-03-27 Thread asn
commit a7681525ab670c2b7a783f9e1285bf9a8e97d1ea Author: Nick Mathewson Date: Tue Jan 15 10:46:01 2019 -0500 Add function to clear publish bindings. When we clean up, we'd like to clear all the bindings that refer to a dispatch_t, so that they don't have dangling pointers to

[tor-commits] [tor/master] Correct doxygen @file directives

2019-03-27 Thread asn
commit 22ad8658cd3bc0c0a261975f1eb67cf408fc47d5 Author: Nick Mathewson Date: Tue Mar 12 18:57:28 2019 -0400 Correct doxygen @file directives --- src/lib/pubsub/pubsub_macros.h | 2 +- src/lib/pubsub/pubsub_publish.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[tor-commits] [tor/master] Low-level dispatch module for publish-subscribe mechanism

2019-03-27 Thread asn
commit e4d3098d4d23686320013b80b6305fbd52863f76 Author: Nick Mathewson Date: Fri Jan 11 20:17:04 2019 -0500 Low-level dispatch module for publish-subscribe mechanism This module implements a way to send messages from one module to another, with associated data types. It does

[tor-commits] [tor/master] Connect the mainloop pubsub dispatcher on startup; free it on shutdown.

2019-03-27 Thread asn
commit 6d1abd37e27761bc3c92c398dbc03711fcf9e5c8 Author: Nick Mathewson Date: Mon Mar 11 16:02:38 2019 -0400 Connect the mainloop pubsub dispatcher on startup; free it on shutdown. --- src/app/main/main.c | 12 1 file changed, 12 insertions(+) diff --git a/src/app/main/main.c

[tor-commits] [tor/master] move pubsub_connector_t typedef to pubsub_connect.h

2019-03-27 Thread asn
commit 94feec59cf2f4c28578ba9c75c7ece781ed6f19b Author: Nick Mathewson Date: Tue Mar 12 19:11:52 2019 -0400 move pubsub_connector_t typedef to pubsub_connect.h --- src/lib/pubsub/pubsub_build.h | 17 + src/lib/pubsub/pubsub_connect.h | 8 +++- 2 files changed, 12

[tor-commits] [tor/master] Pubsub: macros for ease-of-use and typesafety.

2019-03-27 Thread asn
commit 24df14eb096e73438d6045ff3b2840499a9af9b5 Author: Nick Mathewson Date: Mon Jan 14 11:29:21 2019 -0500 Pubsub: macros for ease-of-use and typesafety. --- src/lib/pubsub/include.am | 1 + src/lib/pubsub/pubsub.h| 1 + src/lib/pubsub/pubsub_macros.h | 350

[tor-commits] [tor/master] Code to manage publish/subscribe setup via subsystem interface.

2019-03-27 Thread asn
commit bdeaf7d4b2929609c4d3f2ce9adfd973361ef578 Author: Nick Mathewson Date: Tue Jan 15 10:27:39 2019 -0500 Code to manage publish/subscribe setup via subsystem interface. This commit has the necessary logic to run the publish/subscribe system from the mainloop, and to

[tor-commits] [tor/master] Debug logs to record all messages sent and delivered.

2019-03-27 Thread asn
commit 24b945f713a713bba0ec4f0d8297b49cbc45c5a1 Author: Nick Mathewson Date: Sun Jan 13 16:01:44 2019 -0500 Debug logs to record all messages sent and delivered. --- src/lib/dispatch/dispatch_core.c | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff

[tor-commits] [tor/master] Pubsub: an OO layer on top of lib/dispatch

2019-03-27 Thread asn
commit 9e60482b8073f2d43187c36c9159fd4367d7140a Author: Nick Mathewson Date: Tue Jan 15 09:01:20 2019 -0500 Pubsub: an OO layer on top of lib/dispatch This "publish/subscribe" layer sits on top of lib/dispatch, and tries to provide more type-safety and cross-checking for the

[tor-commits] [tor/master] Add a macro for the fairly common "eat next semicolon" syntax trick

2019-03-27 Thread asn
commit 56bda7464f372d65d5564784266320994f605e1c Author: Nick Mathewson Date: Thu Jan 10 10:30:52 2019 -0500 Add a macro for the fairly common "eat next semicolon" syntax trick You use this when you're defining a macro to be used at file scope, and you want to require a

[tor-commits] [tor/master] Add MESG as a new log domain.

2019-03-27 Thread asn
commit 0944500a8e2651854c948e91c178ac2a57c8ae41 Author: Nick Mathewson Date: Fri Oct 26 16:22:34 2018 -0400 Add MESG as a new log domain. --- doc/tor.1.txt | 2 +- src/lib/log/log.c | 6 +- src/lib/log/log.h | 5 +++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git

[tor-commits] [tor/master] Add a new inline function to check whether debug logging is on

2019-03-27 Thread asn
commit a62ac1719887f0756ceb516ce3b12cd2aee18191 Author: Nick Mathewson Date: Sun Jan 13 15:45:06 2019 -0500 Add a new inline function to check whether debug logging is on We already do this in our log_debug() macro, but there are times when we'd like to avoid allocating or

[tor-commits] [tor/master] Add a smartlist_grow() function to expand a smartlist

2019-03-27 Thread asn
commit 253fea84cf9504a733db6979e2fc140a8c702615 Author: Nick Mathewson Date: Thu Jan 10 13:56:22 2019 -0500 Add a smartlist_grow() function to expand a smartlist Tests included. --- src/lib/smartlist_core/smartlist_core.c | 24 +

[tor-commits] [tor/master] Add a type to map names to short identifiers

2019-03-27 Thread asn
commit dfd7a7f5b63eb968caebf6823395689e6b77b654 Author: Nick Mathewson Date: Thu Oct 25 12:04:19 2018 -0400 Add a type to map names to short identifiers We'll be using this for four kinds of identifier in dispatch.c --- src/lib/container/include.am | 3 +

[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

[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 +-

[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 +---

[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

[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

[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

[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

[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] 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. ---

[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] 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

[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] 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

[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

[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

[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

[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/release-0.4.0] Merge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_merged

2019-03-26 Thread asn
commit 3adb689fbc28434efa6a3b599163b1d5b6cae3e9 Merge: 41cd05562 4ab2e9a59 Author: teor Date: Thu Mar 21 12:04:30 2019 +1000 Merge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_merged Copy and paste the vote=0 code from the old src/or/dirserv.c to the new

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

2019-03-26 Thread asn
commit b76ae3898d5d6e34c291f8e0506147a5bd4cbc07 Merge: 8bc3ac6a8 091f8688b Author: teor Date: Tue Mar 26 11:48:52 2019 +1000 Merge branch 'ticket29806_035_squashed_merged' into ticket29806_040_squashed_merged changes/ticket29806 | 7 ++ src/feature/dirauth/bwauth.c | 8

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

2019-03-26 Thread asn
commit 06951cb3fcb9fc098c0122a728c400eb6b68daf4 Merge: 4258728d5 3af9a5111 Author: George Kadianakis Date: Tue Mar 26 15:16:21 2019 +0200 Merge branch 'tor-github/pr/847' into maint-0.4.0 changes/ticket29806 | 7 ++ src/feature/dirauth/bwauth.c | 8 +-

[tor-commits] [tor/release-0.4.0] test/dir: add a 4th argument to dirserv_read_measured_bandwidths()

2019-03-26 Thread asn
commit 3af9a51118aadde538580f6d4f8043a0a9bba512 Author: teor Date: Thu Mar 21 23:35:56 2019 +1000 test/dir: add a 4th argument to dirserv_read_measured_bandwidths() Part of 29806. --- src/test/test_dir.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[tor-commits] [tor/master] bwauth: Ignore bandwidth file lines with "vote=0"

2019-03-26 Thread asn
commit 4ab2e9a5990bd6f1fd65f2600dc7487686c801ff Author: juga0 Date: Tue Mar 19 11:48:42 2019 + bwauth: Ignore bandwidth file lines with "vote=0" so that the relays that would be "excluded" from the bandwidth file because of something failed can be included to diagnose what

[tor-commits] [tor/maint-0.4.0] bwauth: Ignore bandwidth file lines with "vote=0"

2019-03-26 Thread asn
commit 4ab2e9a5990bd6f1fd65f2600dc7487686c801ff Author: juga0 Date: Tue Mar 19 11:48:42 2019 + bwauth: Ignore bandwidth file lines with "vote=0" so that the relays that would be "excluded" from the bandwidth file because of something failed can be included to diagnose what

[tor-commits] [tor/release-0.3.4] bwauth: Ignore bandwidth file lines with "vote=0"

2019-03-26 Thread asn
commit 4ab2e9a5990bd6f1fd65f2600dc7487686c801ff Author: juga0 Date: Tue Mar 19 11:48:42 2019 + bwauth: Ignore bandwidth file lines with "vote=0" so that the relays that would be "excluded" from the bandwidth file because of something failed can be included to diagnose what

[tor-commits] [tor/release-0.4.0] test/dir: add an extra argument to dirserv_read_measured_bandwidths()

2019-03-26 Thread asn
commit 091f8688b8ee15b57ed5bc24bac12a7a0b7f5725 Author: teor Date: Thu Mar 21 12:56:28 2019 +1000 test/dir: add an extra argument to dirserv_read_measured_bandwidths() Part of 29806. --- src/test/test_dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[tor-commits] [tor/maint-0.4.0] test/dir: add a 4th argument to dirserv_read_measured_bandwidths()

2019-03-26 Thread asn
commit 3af9a51118aadde538580f6d4f8043a0a9bba512 Author: teor Date: Thu Mar 21 23:35:56 2019 +1000 test/dir: add a 4th argument to dirserv_read_measured_bandwidths() Part of 29806. --- src/test/test_dir.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

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

2019-03-26 Thread asn
commit f8304cc6fb82d3a6bf4029f0352497c5b80eb609 Merge: 1e154d7a1 ee43bc706 Author: George Kadianakis Date: Tue Mar 26 01:25:11 2019 +0200 Merge branch 'maint-0.3.4' into release-0.3.4 changes/ticket29806 | 7 +++ src/or/dirserv.c| 8 +++- src/test/test_dir.c | 57

[tor-commits] [tor/release-0.3.4] Merge branch 'tor-github/pr/820' into maint-0.3.4

2019-03-26 Thread asn
commit ee43bc706cd27c23f64833526190c640f1be8c87 Merge: d7a5fdcb7 4ab2e9a59 Author: George Kadianakis Date: Tue Mar 26 01:24:26 2019 +0200 Merge branch 'tor-github/pr/820' into maint-0.3.4 changes/ticket29806 | 7 +++ src/or/dirserv.c| 8 +++- src/test/test_dir.c | 57

[tor-commits] [tor/master] Merge branch 'ticket29806_035_squashed_merged' into ticket29806_040_squashed_merged

2019-03-26 Thread asn
commit b76ae3898d5d6e34c291f8e0506147a5bd4cbc07 Merge: 8bc3ac6a8 091f8688b Author: teor Date: Tue Mar 26 11:48:52 2019 +1000 Merge branch 'ticket29806_035_squashed_merged' into ticket29806_040_squashed_merged changes/ticket29806 | 7 ++ src/feature/dirauth/bwauth.c | 8

[tor-commits] [tor/release-0.4.0] bwauth: Ignore bandwidth file lines with "vote=0"

2019-03-26 Thread asn
commit 4ab2e9a5990bd6f1fd65f2600dc7487686c801ff Author: juga0 Date: Tue Mar 19 11:48:42 2019 + bwauth: Ignore bandwidth file lines with "vote=0" so that the relays that would be "excluded" from the bandwidth file because of something failed can be included to diagnose what

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

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

[tor-commits] [tor/master] test/dir: add a 4th argument to dirserv_read_measured_bandwidths()

2019-03-26 Thread asn
commit 3af9a51118aadde538580f6d4f8043a0a9bba512 Author: teor Date: Thu Mar 21 23:35:56 2019 +1000 test/dir: add a 4th argument to dirserv_read_measured_bandwidths() Part of 29806. --- src/test/test_dir.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

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

2019-03-26 Thread asn
commit 06951cb3fcb9fc098c0122a728c400eb6b68daf4 Merge: 4258728d5 3af9a5111 Author: George Kadianakis Date: Tue Mar 26 15:16:21 2019 +0200 Merge branch 'tor-github/pr/847' into maint-0.4.0 changes/ticket29806 | 7 ++ src/feature/dirauth/bwauth.c | 8 +-

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

2019-03-26 Thread asn
commit 06951cb3fcb9fc098c0122a728c400eb6b68daf4 Merge: 4258728d5 3af9a5111 Author: George Kadianakis Date: Tue Mar 26 15:16:21 2019 +0200 Merge branch 'tor-github/pr/847' into maint-0.4.0 changes/ticket29806 | 7 ++ src/feature/dirauth/bwauth.c | 8 +-

[tor-commits] [tor/master] Merge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_merged

2019-03-26 Thread asn
commit 3adb689fbc28434efa6a3b599163b1d5b6cae3e9 Merge: 41cd05562 4ab2e9a59 Author: teor Date: Thu Mar 21 12:04:30 2019 +1000 Merge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_merged Copy and paste the vote=0 code from the old src/or/dirserv.c to the new

[tor-commits] [tor/master] test/dir: add an extra argument to dirserv_read_measured_bandwidths()

2019-03-26 Thread asn
commit 091f8688b8ee15b57ed5bc24bac12a7a0b7f5725 Author: teor Date: Thu Mar 21 12:56:28 2019 +1000 test/dir: add an extra argument to dirserv_read_measured_bandwidths() Part of 29806. --- src/test/test_dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

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

2019-03-26 Thread asn
commit b76ae3898d5d6e34c291f8e0506147a5bd4cbc07 Merge: 8bc3ac6a8 091f8688b Author: teor Date: Tue Mar 26 11:48:52 2019 +1000 Merge branch 'ticket29806_035_squashed_merged' into ticket29806_040_squashed_merged changes/ticket29806 | 7 ++ src/feature/dirauth/bwauth.c | 8

[tor-commits] [tor/maint-0.4.0] test/dir: add an extra argument to dirserv_read_measured_bandwidths()

2019-03-26 Thread asn
commit 091f8688b8ee15b57ed5bc24bac12a7a0b7f5725 Author: teor Date: Thu Mar 21 12:56:28 2019 +1000 test/dir: add an extra argument to dirserv_read_measured_bandwidths() Part of 29806. --- src/test/test_dir.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

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

2019-03-26 Thread asn
commit 3adb689fbc28434efa6a3b599163b1d5b6cae3e9 Merge: 41cd05562 4ab2e9a59 Author: teor Date: Thu Mar 21 12:04:30 2019 +1000 Merge branch 'ticket29806_034_squashed' into ticket29806_035_squashed_merged Copy and paste the vote=0 code from the old src/or/dirserv.c to the new

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

2019-03-25 Thread asn
commit 473decb24661411a3ebf9a34e89f6715e052f876 Merge: c81b2b09e a20a2025a Author: George Kadianakis Date: Tue Mar 26 01:17:58 2019 +0200 Merge branch 'tor-github/pr/839' scripts/maint/practracker/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[tor-commits] [tor/master] practracker: sort filenames and directories.

2019-03-25 Thread asn
commit a20a2025a5738cf5bcff52d36d88d3279af133e1 Author: Nick Mathewson Date: Mon Mar 25 09:08:04 2019 -0400 practracker: sort filenames and directories. This helps ensure that we'll get output in a stable order. Closes ticket 29882. --- scripts/maint/practracker/util.py

[tor-commits] [tor/master] Disable git diff pagination

2019-03-13 Thread asn
commit 0befdb8a35f26a1423107d181ecf08c48fb05229 Author: rl1987 Date: Fri Mar 8 18:50:49 2019 +0200 Disable git diff pagination --- scripts/git/post-merge.git-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/git/post-merge.git-hook

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

2019-03-13 Thread asn
commit 73fed3ee1c93b9a49ce474fdaac74fd10ec4bd55 Author: rl1987 Date: Fri Mar 1 18:01:24 2019 +0200 Add changes file --- changes/ticket29588 | 4 1 file changed, 4 insertions(+) diff --git a/changes/ticket29588 b/changes/ticket29588 new file mode 100644 index 0..c81bccb00 ---

[tor-commits] [tor/master] Move all git maintenance scripts to separate directory

2019-03-13 Thread asn
commit 888bb9508b7a89550d3b2d33236073fc14868a98 Author: rl1987 Date: Wed Mar 6 19:45:58 2019 +0200 Move all git maintenance scripts to separate directory --- scripts/{maint => git}/git-merge-forward.sh | 0 scripts/{maint => git}/git-pull-all.sh | 0 scripts/{maint =>

[tor-commits] [tor/master] Using diff -u in check_for_diffs

2019-03-13 Thread asn
commit 537692c1e37cf40decbe4a93e6a47b69fae9885d Author: rl1987 Date: Wed Mar 6 19:55:38 2019 +0200 Using diff -u in check_for_diffs --- scripts/git/post-merge.git-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/git/post-merge.git-hook

[tor-commits] [tor/master] Mention what file has changed

2019-03-13 Thread asn
commit 7b5f31f2d6bea00d6e67d0f387dbc79398192c66 Author: rl1987 Date: Wed Mar 6 19:42:29 2019 +0200 Mention what file has changed --- scripts/maint/post-merge.git-hook | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/maint/post-merge.git-hook

[tor-commits] [tor/master] Iterate over contents of scripts/git with check_for_script_update function

2019-03-13 Thread asn
commit 5f253f6a4727b31242cd5998f1b3326cc9e7ed33 Author: rl1987 Date: Wed Mar 6 19:53:50 2019 +0200 Iterate over contents of scripts/git with check_for_script_update function --- scripts/git/post-merge.git-hook | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git

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

2019-03-13 Thread asn
commit 26b0d95397987a4458cc8afc4142b70f9f797870 Merge: 58fd864a8 0befdb8a3 Author: George Kadianakis Date: Wed Mar 13 16:07:19 2019 +0200 Merge branch 'tor-github/pr/780' changes/ticket29588 | 4 +++ scripts/{maint => git}/git-merge-forward.sh | 0

[tor-commits] [tor/master] Add post-merge git hook to warn about git hooks being updated in the repo

2019-03-13 Thread asn
commit 2d3ef34dcebf360a98d875639484c8e92274b19b Author: rl1987 Date: Fri Mar 1 17:38:37 2019 +0200 Add post-merge git hook to warn about git hooks being updated in the repo --- scripts/maint/post-merge.git-hook | 24 1 file changed, 24 insertions(+) diff --git

[tor-commits] [tor/master] Write a comment for post-merge.git-hook

2019-03-13 Thread asn
commit 88633fad5b1805e6d4e1ed1f41eb591bcd0add13 Author: rl1987 Date: Fri Mar 1 17:58:10 2019 +0200 Write a comment for post-merge.git-hook --- scripts/maint/post-merge.git-hook | 8 1 file changed, 8 insertions(+) diff --git a/scripts/maint/post-merge.git-hook

[tor-commits] [tor/master] Also print changes in git helper scripts, if any

2019-03-13 Thread asn
commit bb8b2f47d0f63b761bdffeceaec9b5eac1b375f5 Author: rl1987 Date: Fri Mar 1 17:54:54 2019 +0200 Also print changes in git helper scripts, if any --- scripts/maint/post-merge.git-hook | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

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

2019-03-12 Thread asn
commit ab34f49be949db051a64e70cc68e24cf6de576ec Merge: feda2231a 0ce32affc Author: George Kadianakis Date: Tue Mar 12 18:11:53 2019 +0200 Merge branch 'maint-0.4.0' into release-0.4.0 changes/bug28525 | 8 src/lib/net/address.c | 19 +++

[tor-commits] [tor/release-0.4.0] Make tor_addr_is_internal_() RFC6598 (Carrier Grade NAT) aware

2019-03-12 Thread asn
commit 63b404911441a7691949c475a374569d668a1b32 Author: Neel Chauhan Date: Sat Mar 2 21:25:35 2019 -0500 Make tor_addr_is_internal_() RFC6598 (Carrier Grade NAT) aware Fixes 28525. --- changes/bug28525 | 8 src/common/address.c | 19 +++

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

2019-03-12 Thread asn
commit 0ce32affc2d617e487fbedaac1582358fa6fb85c Merge: 9c9214f2c 08ddf1f62 Author: George Kadianakis Date: Tue Mar 12 18:11:35 2019 +0200 Merge branch 'tor-github/pr/763' into maint-0.4.0 changes/bug28525 | 8 src/lib/net/address.c | 19 +++

[tor-commits] [tor/release-0.4.0] Merge remote-tracking branch 'bug28525_029' into maint-0.3.5

2019-03-12 Thread asn
commit 08ddf1f62bf62aa3dc044e0570fb368477223688 Merge: d6f77b99d 63b404911 Author: teor Date: Fri Mar 8 12:32:04 2019 +1000 Merge remote-tracking branch 'bug28525_029' into maint-0.3.5 changes/bug28525 | 8 src/lib/net/address.c | 19 +++

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

2019-03-12 Thread asn
commit 0ce32affc2d617e487fbedaac1582358fa6fb85c Merge: 9c9214f2c 08ddf1f62 Author: George Kadianakis Date: Tue Mar 12 18:11:35 2019 +0200 Merge branch 'tor-github/pr/763' into maint-0.4.0 changes/bug28525 | 8 src/lib/net/address.c | 19 +++

[tor-commits] [tor/maint-0.4.0] Merge remote-tracking branch 'bug28525_029' into maint-0.3.5

2019-03-12 Thread asn
commit 08ddf1f62bf62aa3dc044e0570fb368477223688 Merge: d6f77b99d 63b404911 Author: teor Date: Fri Mar 8 12:32:04 2019 +1000 Merge remote-tracking branch 'bug28525_029' into maint-0.3.5 changes/bug28525 | 8 src/lib/net/address.c | 19 +++

[tor-commits] [tor/master] Make tor_addr_is_internal_() RFC6598 (Carrier Grade NAT) aware

2019-03-12 Thread asn
commit 63b404911441a7691949c475a374569d668a1b32 Author: Neel Chauhan Date: Sat Mar 2 21:25:35 2019 -0500 Make tor_addr_is_internal_() RFC6598 (Carrier Grade NAT) aware Fixes 28525. --- changes/bug28525 | 8 src/common/address.c | 19 +++

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

2019-03-12 Thread asn
commit 0ce32affc2d617e487fbedaac1582358fa6fb85c Merge: 9c9214f2c 08ddf1f62 Author: George Kadianakis Date: Tue Mar 12 18:11:35 2019 +0200 Merge branch 'tor-github/pr/763' into maint-0.4.0 changes/bug28525 | 8 src/lib/net/address.c | 19 +++

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

2019-03-12 Thread asn
commit 18a4f535d3ecf56d70fe585bbdb031bd67a96374 Merge: 61adcb22c 0ce32affc Author: George Kadianakis Date: Tue Mar 12 18:11:53 2019 +0200 Merge branch 'maint-0.4.0' changes/bug28525 | 8 src/lib/net/address.c | 19 +++ src/test/test_addr.c | 18

[tor-commits] [tor/master] Merge remote-tracking branch 'bug28525_029' into maint-0.3.5

2019-03-12 Thread asn
commit 08ddf1f62bf62aa3dc044e0570fb368477223688 Merge: d6f77b99d 63b404911 Author: teor Date: Fri Mar 8 12:32:04 2019 +1000 Merge remote-tracking branch 'bug28525_029' into maint-0.3.5 changes/bug28525 | 8 src/lib/net/address.c | 19 +++

[tor-commits] [tor/maint-0.4.0] Make tor_addr_is_internal_() RFC6598 (Carrier Grade NAT) aware

2019-03-12 Thread asn
commit 63b404911441a7691949c475a374569d668a1b32 Author: Neel Chauhan Date: Sat Mar 2 21:25:35 2019 -0500 Make tor_addr_is_internal_() RFC6598 (Carrier Grade NAT) aware Fixes 28525. --- changes/bug28525 | 8 src/common/address.c | 19 +++

[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

[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] 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 +++

[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

[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 '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

[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 +

[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,

[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/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

<    9   10   11   12   13   14   15   16   17   >