[tor-commits] [tor/master] token-bucket: Implement a single counter object

2019-06-11 Thread asn
commit 7cf9d54e6d7a08f169a27f7d76731e61ebe63fb0 Author: David Goulet Date: Wed May 29 11:34:07 2019 -0400 token-bucket: Implement a single counter object Closes #30687. Signed-off-by: David Goulet --- changes/ticket30687 | 3 + src/lib/evloop/token_bucket.c |

[tor-commits] [tor/master] Merge branch 'ticket30687_042_01'

2019-06-11 Thread asn
commit 646f7a9a94db1837f0c4a1c2ab7bc0b10736a82d Merge: b83dba7cb 7cf9d54e6 Author: George Kadianakis Date: Tue Jun 11 14:02:33 2019 +0300 Merge branch 'ticket30687_042_01' changes/ticket30687 | 3 + src/lib/evloop/token_bucket.c | 52 +++ src/lib/evloop/token_buck

[tor-commits] [tor/maint-0.4.1] Merge branch 'tor-github/pr/1065' into maint-0.4.1

2019-06-11 Thread asn
commit eab9dc06af32ceb3826d068cf5bc55db68ad6c61 Merge: 2779ce1f6 3c3158f18 Author: George Kadianakis Date: Tue Jun 11 13:48:10 2019 +0300 Merge branch 'tor-github/pr/1065' into maint-0.4.1 changes/bug22619| 3 +++ src/app/config/config.c | 2 +- src/test/test_config.c | 12

[tor-commits] [tor/maint-0.4.1] Fix some tests for CL_PORT_NO_STREAM_OPTIONS

2019-06-11 Thread asn
commit 3c3158f1826826d9b4e8841bc67855cca0fc883b Author: Nick Mathewson Date: Fri May 31 09:03:16 2019 -0400 Fix some tests for CL_PORT_NO_STREAM_OPTIONS The comment in the tests was correct: this option _was_ inverted wrt SessionGroup=. --- src/test/test_config.c | 12 +---

[tor-commits] [tor/master] Fix some tests for CL_PORT_NO_STREAM_OPTIONS

2019-06-11 Thread asn
commit 3c3158f1826826d9b4e8841bc67855cca0fc883b Author: Nick Mathewson Date: Fri May 31 09:03:16 2019 -0400 Fix some tests for CL_PORT_NO_STREAM_OPTIONS The comment in the tests was correct: this option _was_ inverted wrt SessionGroup=. --- src/test/test_config.c | 12 +---

[tor-commits] [tor/master] Merge branch 'tor-github/pr/1065' into maint-0.4.1

2019-06-11 Thread asn
commit eab9dc06af32ceb3826d068cf5bc55db68ad6c61 Merge: 2779ce1f6 3c3158f18 Author: George Kadianakis Date: Tue Jun 11 13:48:10 2019 +0300 Merge branch 'tor-github/pr/1065' into maint-0.4.1 changes/bug22619| 3 +++ src/app/config/config.c | 2 +- src/test/test_config.c | 12

[tor-commits] [tor/release-0.4.1] Fix some tests for CL_PORT_NO_STREAM_OPTIONS

2019-06-11 Thread asn
commit 3c3158f1826826d9b4e8841bc67855cca0fc883b Author: Nick Mathewson Date: Fri May 31 09:03:16 2019 -0400 Fix some tests for CL_PORT_NO_STREAM_OPTIONS The comment in the tests was correct: this option _was_ inverted wrt SessionGroup=. --- src/test/test_config.c | 12 +---

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

2019-06-11 Thread asn
commit b83dba7cb0dbd96c2be09edab47e6c16491c0a14 Merge: ece5133e0 eab9dc06a Author: George Kadianakis Date: Tue Jun 11 13:48:16 2019 +0300 Merge branch 'maint-0.4.1' changes/bug22619| 3 +++ src/app/config/config.c | 2 +- src/test/test_config.c | 12 +--- 3 files change

[tor-commits] [tor/release-0.4.1] Merge branch 'tor-github/pr/1065' into maint-0.4.1

2019-06-11 Thread asn
commit eab9dc06af32ceb3826d068cf5bc55db68ad6c61 Merge: 2779ce1f6 3c3158f18 Author: George Kadianakis Date: Tue Jun 11 13:48:10 2019 +0300 Merge branch 'tor-github/pr/1065' into maint-0.4.1 changes/bug22619| 3 +++ src/app/config/config.c | 2 +- src/test/test_config.c | 12

[tor-commits] [tor/maint-0.4.1] Fix a logic error in deciding whether to accept SessionGroup=

2019-06-11 Thread asn
commit 70b85358afd0a8d4291489f9e9f5654ab2d53371 Author: Nick Mathewson Date: Fri May 31 08:26:10 2019 -0400 Fix a logic error in deciding whether to accept SessionGroup= Fixes bug 22619; bugfix on 0.2.7.2-alpha --- changes/bug22619| 3 +++ src/app/config/config.c | 2 +- 2

[tor-commits] [tor/release-0.4.1] Fix a logic error in deciding whether to accept SessionGroup=

2019-06-11 Thread asn
commit 70b85358afd0a8d4291489f9e9f5654ab2d53371 Author: Nick Mathewson Date: Fri May 31 08:26:10 2019 -0400 Fix a logic error in deciding whether to accept SessionGroup= Fixes bug 22619; bugfix on 0.2.7.2-alpha --- changes/bug22619| 3 +++ src/app/config/config.c | 2 +- 2

[tor-commits] [tor/master] Fix a logic error in deciding whether to accept SessionGroup=

2019-06-11 Thread asn
commit 70b85358afd0a8d4291489f9e9f5654ab2d53371 Author: Nick Mathewson Date: Fri May 31 08:26:10 2019 -0400 Fix a logic error in deciding whether to accept SessionGroup= Fixes bug 22619; bugfix on 0.2.7.2-alpha --- changes/bug22619| 3 +++ src/app/config/config.c | 2 +- 2

[tor-commits] [tor/master] Add an environment variable to set GIT_PATH in git scripts

2019-06-11 Thread asn
commit 0635170cf14c3b622ee9fdf67ea81f4e564dd39d Author: Nick Mathewson Date: Mon Jun 10 09:05:26 2019 -0400 Add an environment variable to set GIT_PATH in git scripts --- scripts/git/git-merge-forward.sh | 2 +- scripts/git/git-pull-all.sh | 2 +- 2 files changed, 2 insertions(+), 2 d

[tor-commits] [tor/master] Update git scripts for new versions

2019-06-11 Thread asn
commit 46da530431d340cde22192d9df475d85b5d9fab7 Author: Nick Mathewson Date: Mon Jun 10 08:54:22 2019 -0400 Update git scripts for new versions {maint,release}-0.4.1 are now real {maint,release}-0.3.4 are now EOL Closes ticket 30822 --- scripts/git/git-merge-forw

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

2019-06-11 Thread asn
commit ece5133e0dbc9049e09d7104cc5cf21630902fa7 Merge: e9f1e975d 0635170cf Author: George Kadianakis Date: Tue Jun 11 13:19:43 2019 +0300 Merge branch 'tor-github/pr/1098' scripts/git/git-merge-forward.sh | 20 ++-- scripts/git/git-pull-all.sh | 16 s

[tor-commits] [tor/master] push-all: Use TOR_UPSTREAM_REMOTE_NAME to override UPSTREAM_BRANCH

2019-06-11 Thread asn
commit bbddda3a185f507314f4f4d5e1a1060f3d9bc5e5 Author: Nick Mathewson Date: Mon Jun 10 08:56:26 2019 -0400 push-all: Use TOR_UPSTREAM_REMOTE_NAME to override UPSTREAM_BRANCH We already allow this override in our pre-push hook, so let's allow it here too. (I call my up

[tor-commits] [torspec/master] Change status of proposal 304 to Accepted.

2019-06-06 Thread asn
commit 3ecd4eb46d2032a95ee6268444563953b5ecd893 Author: George Kadianakis Date: Thu Jun 6 14:28:21 2019 +0300 Change status of proposal 304 to Accepted. --- proposals/304-socks5-extending-hs-error-codes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/304-s

[tor-commits] [torspec/master] prop304: Initial import for new SOCKS5 error code

2019-06-06 Thread asn
commit 767df0b55af888f135174883d9bda29c05c2d7eb Author: David Goulet Date: Wed May 22 14:47:59 2019 -0400 prop304: Initial import for new SOCKS5 error code Part of #30382 Signed-off-by: David Goulet --- proposals/000-index.txt | 2 + proposals

[tor-commits] [tor/master] Merge branch 'bug29670_035' into bug29670_041

2019-06-05 Thread asn
commit 4022b6d6b7a2b5e1260c4bccbad119e8461c0b84 Merge: 180048e01 5cbd71b97 Author: Nick Mathewson Date: Tue Jun 4 08:29:05 2019 -0400 Merge branch 'bug29670_035' into bug29670_041 changes/bug29670 | 4 src/core/mainloop/connection.c | 33 +--

[tor-commits] [tor/master] update practracker

2019-06-05 Thread asn
commit dc5cdde60c5efb1a37d919134e28b6445e235765 Author: Nick Mathewson Date: Tue Jun 4 08:29:43 2019 -0400 update practracker --- scripts/maint/practracker/exceptions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/maint/practracker/exceptions.txt b/scripts

[tor-commits] [tor/master] Fix typo in #29670 changes file.

2019-06-05 Thread asn
commit 8cb6b2b9ab74d187e4839d298fbce06dafeb33f0 Author: George Kadianakis Date: Wed Jun 5 14:56:28 2019 +0300 Fix typo in #29670 changes file. --- changes/bug29670 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/changes/bug29670 b/changes/bug29670 index 00b0c3332..288bb

[tor-commits] [tor/master] Make get_proxy_type() connection-specific

2019-06-05 Thread asn
commit 5cbd71b977f1c3ae0b9dc0f9e63094941ece015c Author: Nick Mathewson Date: Wed May 29 11:00:09 2019 -0400 Make get_proxy_type() connection-specific Previously, we were looking at our global settings to see what kind of proxy we had. But doing this would sometimes give us the

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

2019-06-05 Thread asn
commit 99bf3d8e145b1e68ababa06bd233c2aaba10da95 Merge: a63c5f844 dc5cdde60 Author: George Kadianakis Date: Wed Jun 5 14:40:38 2019 +0300 Merge branch 'tor-github/pr/1072' changes/bug29670 | 4 scripts/maint/practracker/exceptions.txt | 2 +- src/core/mainloo

[tor-commits] [tor/master] sendme: Do not decrement window in a log_debug()

2019-06-04 Thread asn
commit 33382184b67d43b859de2f50d24cc7955b9f0db7 Author: David Goulet Date: Mon Jun 3 14:31:51 2019 -0400 sendme: Do not decrement window in a log_debug() If "Log debug ..." is not set, the decrement never happens. This lead to the package/deliver window to be out of sync at the

[tor-commits] [tor/master] changes file for coverity fixes in tests (30150)

2019-05-30 Thread asn
commit 6246f4539ed317e05b773b0e373f1aa369d3759d Author: Nick Mathewson Date: Thu May 16 15:38:08 2019 -0400 changes file for coverity fixes in tests (30150) --- changes/ticket30150 | 4 1 file changed, 4 insertions(+) diff --git a/changes/ticket30150 b/changes/ticket30150 new file mo

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

2019-05-30 Thread asn
commit d8bd98b2fde088d7e277854ceeb69e0a2ba080de Merge: 70553a913 6246f4539 Author: George Kadianakis Date: Wed May 29 21:28:04 2019 +0300 Merge branch 'tor-github/pr/1032' changes/ticket30150 | 4 src/test/rng_test_helpers.c | 1 + src/test/test_channel.c | 5 - sr

[tor-commits] [tor/master] rng_test_helpers: add a needless lock/unlock pair to please coverity

2019-05-30 Thread asn
commit 1bf451cffba5da84166dda48ec957e0b9cf45bee Author: Nick Mathewson Date: Thu May 16 15:03:54 2019 -0400 rng_test_helpers: add a needless lock/unlock pair to please coverity Fix for CID 1444908 --- src/test/rng_test_helpers.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[tor-commits] [tor/master] hs tests: explicitly free 'service' variable.

2019-05-30 Thread asn
commit 0a9685b3a7437e8851f8cb65fea3d0a16b7833a7 Author: Nick Mathewson Date: Thu May 16 15:21:18 2019 -0400 hs tests: explicitly free 'service' variable. This should fix about 15 CID issues, where coverity can't tell that hs_free_all() frees the service we allocated. --- src/t

[tor-commits] [tor/master] test_channel_listener: free 'chan' explicitly

2019-05-30 Thread asn
commit d5db40a0145457f6a1ee24ac1310511eaf62b959 Author: Nick Mathewson Date: Thu May 16 15:34:28 2019 -0400 test_channel_listener: free 'chan' explicitly This should fix CID 1437442, where coverity can't tell that channel_free_all() frees the fake channel we allocated. --- src

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

2019-05-30 Thread asn
commit dd62cb788ea0e526cbed835c6c8b5eb15ed8685b Merge: 8dfc8d706 d8bd98b2f Author: George Kadianakis Date: Thu May 30 21:01:59 2019 +0300 Merge branch 'tor-github/pr/1059' changes/ticket30150 | 4 src/test/rng_test_helpers.c | 1 + src/test/test_channel.c | 5 - sr

[tor-commits] [tor/master] Add a new "autostyle" make target to run all of our reformatting

2019-05-29 Thread asn
commit e2d3d444969abe2a2b802f4f42512b71a5a45468 Author: Nick Mathewson Date: Mon May 20 12:08:30 2019 -0400 Add a new "autostyle" make target to run all of our reformatting Closes ticket 30539. --- Makefile.am | 31 ++- changes/ticket30539 | 4

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

2019-05-29 Thread asn
commit 70553a91343e242e05e569d59584674a21d09679 Merge: 650bdca97 e2d3d4449 Author: George Kadianakis Date: Wed May 29 21:25:32 2019 +0300 Merge branch 'tor-github/pr/1037' Makefile.am| 31 +++- changes/ticket30539| 4 + scripts/maint/add_

[tor-commits] [tor/master] rectify_include_paths: warn instead of aborting on duplicate headers

2019-05-29 Thread asn
commit 2f31c8146ff12aa96a33cce47bf4b5f5eeac8a06 Author: Nick Mathewson Date: Mon May 20 11:52:45 2019 -0400 rectify_include_paths: warn instead of aborting on duplicate headers We have two sendme.h files at the moment; we should fix that, but not in this branch. --- scripts/ma

[tor-commits] [tor/master] updateCopyright: look at the current year.

2019-05-29 Thread asn
commit 66eb0a5a32e78e541f2b350fc814c35f17150859 Author: Nick Mathewson Date: Mon May 20 12:02:20 2019 -0400 updateCopyright: look at the current year. --- scripts/maint/updateCopyright.pl | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/maint/updateCopyrigh

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

[tor-commits] [tor/master] 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 '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/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/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/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] 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/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] 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] 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] 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] 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] 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] 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] 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] 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] 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 29085: Avoid monotime usage for rtt estimates if it is not in use.

2019-05-15 Thread asn
commit 14ec8b89f83ea9cc4fbc7b8bd24194f5408cfea4 Author: Mike Perry Date: Wed May 8 00:40:49 2019 + Bug 29085: Avoid monotime usage for rtt estimates if it is not in use. --- src/core/or/circuitpadding.c | 25 + src/test/test_circuitpadding.c | 1 + 2 files ch

[tor-commits] [tor/master] Bug 29085: Minor unit test updates for refactoring.

2019-05-15 Thread asn
commit 57e5e940d39754ec5b3ca1c7055ff7ca9a47c238 Author: Mike Perry Date: Tue May 7 23:37:33 2019 + Bug 29085: Minor unit test updates for refactoring. Deliver nonpadding events instead of calling token removal functions. --- src/test/test_circuitpadding.c | 34

[tor-commits] [tor/master] Merge branch 'bug29085_rebase'

2019-05-15 Thread asn
commit a7779df84c97acf3f245786566bd72dd9968b99f Merge: f664c0c31 5f47d582d Author: George Kadianakis Date: Wed May 15 15:13:08 2019 +0300 Merge branch 'bug29085_rebase' changes/bug29085 | 4 + scripts/maint/practracker/exceptions.txt | 1 + src/core/or/circuitp

[tor-commits] [tor/master] Check the token supply when we received a padding event, too.

2019-05-15 Thread asn
commit 5638d65f792393a85703342bfb14cc1a60550c18 Author: Mike Perry Date: Wed May 15 03:43:57 2019 + Check the token supply when we received a padding event, too. We need to check here because otherwise we can try to schedule padding with no tokens left upon the receipt of

[tor-commits] [tor/master] Practracker beatings are even more fun when they get caused mid-PR due to a github auto-rebase of a PR

2019-05-15 Thread asn
commit 5f47d582d50134d9504ec8e7a912887829904c8a Author: Mike Perry Date: Wed May 15 04:58:21 2019 + Practracker beatings are even more fun when they get caused mid-PR due to a github auto-rebase of a PR Because github PRs choose the most recent origin/master at the time of the

[tor-commits] [tor/master] Add test to explicitly check state lengths and token counts.

2019-05-15 Thread asn
commit e8a1f241783878a242ebb153119af06631fe7cdb Author: Mike Perry Date: Wed May 15 03:45:03 2019 + Add test to explicitly check state lengths and token counts. Our other tests tested state lengths against padding packets, and token counts against non-padding packets. This

[tor-commits] [tor/master] Make the relationship between mutable histograms and token removal explicit.

2019-05-15 Thread asn
commit 5c2d2b5d11b72fac01c5958f18c83df252f5313d Author: Mike Perry Date: Sat May 11 03:12:33 2019 + Make the relationship between mutable histograms and token removal explicit. --- src/core/or/circuitpadding.c | 65 +--- 1 file changed, 49 insert

[tor-commits] [tor/master] Bug 29085: Changes file.

2019-05-15 Thread asn
commit 5ef0d89d912c2b4cbf42510df5f609b3704ede73 Author: Mike Perry Date: Wed May 8 00:50:52 2019 + Bug 29085: Changes file. --- changes/bug29085 | 4 1 file changed, 4 insertions(+) diff --git a/changes/bug29085 b/changes/bug29085 new file mode 100644 index 0..b17c06378 -

[tor-commits] [tor/master] Bug 29085: Refactor non-padding accounting out of token removal.

2019-05-15 Thread asn
commit 010779176bb959c8106a95806ede2c80b4397f60 Author: Mike Perry Date: Sat May 11 02:51:14 2019 + Bug 29085: Refactor non-padding accounting out of token removal. This commit moves the padding state limit checks and the padding rate limit checks out of the token removal c

[tor-commits] [tor/master] Fix two typo bugs found by new state length test.

2019-05-15 Thread asn
commit 148c2d5bab051eb60e802fc6569c84a875c5f663 Author: Mike Perry Date: Wed May 15 03:33:53 2019 + Fix two typo bugs found by new state length test. --- src/core/or/circuitpadding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/or/circuitpadding.c b/

[tor-commits] [tor/master] Bug 29085: Refactor padding sent accounting out of callback.

2019-05-15 Thread asn
commit 1c46790e0d3d6c722a0f3e74f24d60d03650e7d8 Author: Mike Perry Date: Sat May 11 03:26:53 2019 + Bug 29085: Refactor padding sent accounting out of callback. This commit moves code that updates the state length and padding limit counts out from the callback to its own f

[tor-commits] [tor/master] Eliminate unneeded casts to circuit_t in circpad tests.

2019-05-15 Thread asn
commit aef9be6ace841e89c47c53a6c419fa9c1a223cd2 Author: Mike Perry Date: Tue May 14 22:25:15 2019 + Eliminate unneeded casts to circuit_t in circpad tests. --- src/test/test_circuitpadding.c | 114 - 1 file changed, 57 insertions(+), 57 deletions

[tor-commits] [tor/release-0.4.0] Don't pass a NULL into a %s when logging client auth file load failure

2019-05-15 Thread asn
commit ff5584034361154de381874e1a24d0a421aa0631 Author: Nick Mathewson Date: Fri May 10 17:47:43 2019 -0400 Don't pass a NULL into a %s when logging client auth file load failure Fortunately, in 0.3.5.1-alpha we improved logging for various failure cases involved with onion ser

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

2019-05-15 Thread asn
commit cd264e145b0b3518f46e471ecd9228921ee46ab6 Merge: 2b54733dc ff5584034 Author: George Kadianakis Date: Wed May 15 13:45:39 2019 +0300 Merge branch 'tor-github/pr/1013' into maint-0.4.0 changes/bug30475| 4 src/feature/hs/hs_service.c | 4 ++-- 2 files changed, 6 inser

[tor-commits] [tor/master] Don't pass a NULL into a %s when logging client auth file load failure

2019-05-15 Thread asn
commit ff5584034361154de381874e1a24d0a421aa0631 Author: Nick Mathewson Date: Fri May 10 17:47:43 2019 -0400 Don't pass a NULL into a %s when logging client auth file load failure Fortunately, in 0.3.5.1-alpha we improved logging for various failure cases involved with onion ser

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

2019-05-15 Thread asn
commit 72e799d28e9a035805ad03b12ccf275418f56df5 Merge: de01c0629 cd264e145 Author: George Kadianakis Date: Wed May 15 13:46:19 2019 +0300 Merge branch 'maint-0.4.0' into release-0.4.0 changes/bug30475| 4 src/feature/hs/hs_service.c | 4 ++-- 2 files changed, 6 insertions

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

2019-05-15 Thread asn
commit cd264e145b0b3518f46e471ecd9228921ee46ab6 Merge: 2b54733dc ff5584034 Author: George Kadianakis Date: Wed May 15 13:45:39 2019 +0300 Merge branch 'tor-github/pr/1013' into maint-0.4.0 changes/bug30475| 4 src/feature/hs/hs_service.c | 4 ++-- 2 files changed, 6 inser

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

2019-05-15 Thread asn
commit cd264e145b0b3518f46e471ecd9228921ee46ab6 Merge: 2b54733dc ff5584034 Author: George Kadianakis Date: Wed May 15 13:45:39 2019 +0300 Merge branch 'tor-github/pr/1013' into maint-0.4.0 changes/bug30475| 4 src/feature/hs/hs_service.c | 4 ++-- 2 files changed, 6 inser

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

2019-05-15 Thread asn
commit 1de11dc47a81913cf32e7c40834869631c18ba3d Merge: 43d411945 cd264e145 Author: George Kadianakis Date: Wed May 15 13:46:20 2019 +0300 Merge branch 'maint-0.4.0' changes/bug30475| 4 src/feature/hs/hs_service.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-)

[tor-commits] [tor/maint-0.4.0] Don't pass a NULL into a %s when logging client auth file load failure

2019-05-15 Thread asn
commit ff5584034361154de381874e1a24d0a421aa0631 Author: Nick Mathewson Date: Fri May 10 17:47:43 2019 -0400 Don't pass a NULL into a %s when logging client auth file load failure Fortunately, in 0.3.5.1-alpha we improved logging for various failure cases involved with onion ser

[tor-commits] [tor/master] sendme: Add FlowCtrl protover value

2019-05-14 Thread asn
commit 07e4b09b5f27326a1aa58b5b2ed3c25ceb5a6db6 Author: David Goulet Date: Fri May 3 13:24:06 2019 -0400 sendme: Add FlowCtrl protover value See proposal 289 section 4.3 for more details. It describes the flow control protocol at the circuit and stream level. If there

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

2019-05-14 Thread asn
commit 0f4f4fdcf56b88cd36bc94e8a45ccd9c5dce3a60 Merge: 5d950f3ed 07e4b09b5 Author: George Kadianakis Date: Tue May 14 15:15:09 2019 +0300 Merge branch 'tor-github/pr/1006' src/core/or/protover.c| 6 -- src/core/or/protover.h| 1 + src/rust/protover/ffi.rs | 1 + s

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

2019-05-10 Thread asn
commit 501d1ae0bd4638730c1ba050c9ddb47d7c438280 Merge: 3885e7b44 de91b8384 Author: George Kadianakis Date: Fri May 10 12:49:01 2019 +0300 Merge branch 'tor-github/pr/973' changes/bug23588 | 5 + scripts/maint/practracker/exceptions.txt | 2 +- src/core/or/polic

[tor-commits] [tor/master] Add firewall_choose_address_ls() and hs_get_extend_info_from_lspecs() tests

2019-05-10 Thread asn
commit b65f8c419a4eb2608beecbf31af0b5bdc6cc38ec Author: Neel Chauhan Date: Sun Nov 4 20:08:57 2018 -0500 Add firewall_choose_address_ls() and hs_get_extend_info_from_lspecs() tests --- src/core/or/policies.c | 19 src/feature/hs/hs_common.c | 20 +++- src/test/test_policy.c

[tor-commits] [tor/master] Add function fascist_firewall_choose_address_ls()

2019-05-10 Thread asn
commit da268e3b508fb5f9ab3b930deded331c387f7243 Author: Neel Chauhan Date: Tue Jul 31 08:17:59 2018 -0400 Add function fascist_firewall_choose_address_ls() --- src/core/or/policies.c | 55 ++ src/core/or/policies.h | 3 +++ 2 files changed,

[tor-commits] [tor/master] hs_config: Allow Tor to be configured as an IPv6-only v3 single onion service

2019-05-10 Thread asn
commit 3d89f0374a20571ca04068f10291ffefc9d76b40 Author: teor Date: Wed Apr 24 17:23:53 2019 +1000 hs_config: Allow Tor to be configured as an IPv6-only v3 single onion service Part of #23588. --- src/feature/hs/hs_config.c | 9 - 1 file changed, 9 deletions(-) diff --git

[tor-commits] [tor/master] test/hs: Correctly convert an IPv6 intro point to an extend_info

2019-05-10 Thread asn
commit f05e3f3c9af2cd05404a0646d4f7acc670c421da Author: teor Date: Wed Apr 24 17:23:00 2019 +1000 test/hs: Correctly convert an IPv6 intro point to an extend_info Part of #23588. --- src/test/test_hs_client.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/tes

[tor-commits] [tor/master] Update 23588 changes file to say what the patch actually does

2019-05-10 Thread asn
commit b19dd1bb11a59ab38dc1b45f2108a4a6f5ce2813 Author: teor Date: Wed Dec 12 12:43:48 2018 +1000 Update 23588 changes file to say what the patch actually does Stop ignoring IPv6 link specifiers sent to v3 onion services. v3 onion service IPv6 support is still incomplete,

[tor-commits] [tor/master] Use fascist_firewall_choose_address_ls() in hs_get_extend_info_from_lspecs()

2019-05-10 Thread asn
commit 26183476575abf0f8daccc2f4ca8be4ba0e2a5de Author: Neel Chauhan Date: Tue Jul 31 08:41:21 2018 -0400 Use fascist_firewall_choose_address_ls() in hs_get_extend_info_from_lspecs() --- changes/bug23588 | 7 + src/core/or/policies.c | 22 -- src/core/or/poli

[tor-commits] [tor/master] practracker: Accept ~80 extra lines in src/core/or/policies.c

2019-05-10 Thread asn
commit de91b838496a3646721608bdb7740696601f57c4 Author: teor Date: Tue Apr 23 12:36:06 2019 +1000 practracker: Accept ~80 extra lines in src/core/or/policies.c Part of 23588. --- scripts/maint/practracker/exceptions.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[tor-commits] [tor/master] test/hs: Re-enable the IPv6 intro point in the HS tests

2019-05-10 Thread asn
commit abe086dd976174ea52707f0ab27aae31228dfc2b Author: teor Date: Wed Apr 24 16:57:49 2019 +1000 test/hs: Re-enable the IPv6 intro point in the HS tests Tests 23588, partially reverts 23576. Implements 29237. --- src/test/hs_test_helpers.c | 3 --- 1 file changed, 3 dele

[tor-commits] [torspec/master] fixup! prop289: Spec out the new SENDME cell payload

2019-05-02 Thread asn
commit b4dbcf0011c80cba37a6ef969a36b0c48960ab0b Author: David Goulet Date: Thu Mar 7 11:03:29 2019 -0500 fixup! prop289: Spec out the new SENDME cell payload --- proposals/289-authenticated-sendmes.txt | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/propo

[tor-commits] [torspec/master] prop289: Rewrite the Deployment Plan section

2019-05-02 Thread asn
commit 81ec28177b01c91c6b1a6ac691ef33c7a9fe2754 Author: David Goulet Date: Thu Jan 10 14:18:35 2019 -0500 prop289: Rewrite the Deployment Plan section Split it into subsection for clarity. Add a new subsection describing the addition of a new protover value. This patch

[tor-commits] [torspec/master] prop289: Add the new consensus params

2019-05-02 Thread asn
commit 5ac8a2bbd1f7a55542dd97358d123f7290b62dcb Author: David Goulet Date: Thu Jan 10 13:57:00 2019 -0500 prop289: Add the new consensus params Spec out the new consensus parameters in the proposal. Signed-off-by: David Goulet --- proposals/289-authenticated-sendmes.txt

<    5   6   7   8   9   10   11   12   13   14   >