[tor-commits] [tor/master] Add changes file for ticket 40084

2021-02-08 Thread asn
commit 3057671a380773167f5e8efe7b3860b88015eeab
Author: Neel Chauhan 
Date:   Sun Nov 15 14:33:43 2020 -0800

Add changes file for ticket 40084
---
 changes/ticket40084 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket40084 b/changes/ticket40084
new file mode 100644
index 00..072af813f1
--- /dev/null
+++ b/changes/ticket40084
@@ -0,0 +1,4 @@
+  o Major features (control port, onion services):
+- Add support for creating version 3 onion services with authorization
+  from the control port. Previously, we could only create version 2
+  services here. Closes ticket 40084. Patch by Neel Chauhan.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for v3 metrics.

2020-11-17 Thread dgoulet
commit f2da7b05b0a8e6d353b94ea496f0ce99aa076ffa
Author: George Kadianakis 
Date:   Tue Oct 27 11:40:08 2020 +0200

Add changes file for v3 metrics.

Closes ticket #23126.
---
 changes/bug23126 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug23126 b/changes/bug23126
new file mode 100644
index 00..76ba393205
--- /dev/null
+++ b/changes/bug23126
@@ -0,0 +1,4 @@
+  o Major features (statistics):
+- Relays will now also publish statistics about the number of v3 onion
+  services and volume of v3 onion service traffic, in the same manner they
+  already do for v2 onions.  Closes ticket 23126.
\ No newline at end of file



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for 40139 (removing usecreatefast and useoptimisticdata

2020-10-14 Thread dgoulet
commit a251cff0c3c9cb04422c1d93ad6ea2e804b50a1e
Author: Nick Mathewson 
Date:   Tue Oct 13 14:42:59 2020 -0400

Add changes file for 40139 (removing usecreatefast and useoptimisticdata
---
 changes/ticket40139 | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/changes/ticket40139 b/changes/ticket40139
new file mode 100644
index 00..fce29233ef
--- /dev/null
+++ b/changes/ticket40139
@@ -0,0 +1,7 @@
+  o Removed features (network parameters):
+ - The "optimistic data" feature is now always on; there is no longer an
+   option to disable it from the torrc file or from the consensus
+   directory.
+   Closes part of 40139.
+ - The "usecreatefast" network parameter is now removed; there is no
+   longer an option for authorities to turn it off. Closes part of 40139.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] add changes file for ticket31699

2020-07-07 Thread dgoulet
commit 9cefc47231a4bb8024668fe7152a4fb811faaa1f
Author: Bartosz Duszel 
Date:   Wed Apr 8 21:08:15 2020 +0200

add changes file for ticket31699
---
 changes/ticket31699 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket31699 b/changes/ticket31699
new file mode 100644
index 0..1998248d5
--- /dev/null
+++ b/changes/ticket31699
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring (autoconf):
+- Remove autoconf checks for unused funcs and headers. Closes ticket
+  31699; Patch by @bduszel

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for Ticket #28279

2020-07-01 Thread dgoulet
commit b558971c070e481546f4f6b9d101db86e111f2d4
Author: Neel Chauhan 
Date:   Thu May 28 03:42:50 2020 -0700

Add changes file for Ticket #28279
---
 changes/ticket28279 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/ticket28279 b/changes/ticket28279
new file mode 100644
index 0..1c085c2a6
--- /dev/null
+++ b/changes/ticket28279
@@ -0,0 +1,5 @@
+  o Minor features (control port, rephist):
+- Introduce GETINFO "stats/ntor/{assigned/requested}" and
+  "stats/tap/{assigned/requested}" to get the NTorand TAP
+  circuit onion handshake rephist values respectively.
+  Closes ticket 28279. Patch by Neel Chauhan.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for ticket #34065

2020-06-24 Thread nickm
commit 6209939e864e5bfb951cb0406c24a85c27a7811a
Author: Neel Chauhan 
Date:   Thu Jun 11 13:13:13 2020 -0700

Add changes file for ticket #34065
---
 changes/bug34065 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug34065 b/changes/bug34065
new file mode 100644
index 0..f81cb77c2
--- /dev/null
+++ b/changes/bug34065
@@ -0,0 +1,5 @@
+  o Minor features (IPv6, ExcludeNodes):
+- Make routerset_contains_router() capable of handling IPv6
+  addresses. This makes ExcludeNodes capable of excluding an
+  IPv6 adddress. Previously, ExcludeNodes ignored IPv6
+  addresses. Closes ticket 34065. Patch by Neel Chauhan.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for ticket 33816

2020-06-22 Thread nickm
commit 5a89fd2a046a76bc21afbf6af01047c653f993a4
Author: Neel Chauhan 
Date:   Thu Jun 11 11:08:18 2020 -0700

Add changes file for ticket 33816
---
 changes/ticket33816 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket33816 b/changes/ticket33816
new file mode 100644
index 0..6412e7844
--- /dev/null
+++ b/changes/ticket33816
@@ -0,0 +1,4 @@
+  o Code simplification and refactoring:
+- When an extend cell is missing an IPv4 or IPv6 address, fill in the 
address
+  from the extend info. This is similar to what was done in ticket 33633 
for
+  ed25519 keys. Closes ticket 33816. Patch by Neel Chauhan.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2020-06-05 Thread nickm
commit 17c4e489e95e808a74696d6e46d50dc136d46f10
Author: rl1987 
Date:   Wed Apr 8 19:42:41 2020 +0300

Add changes file
---
 changes/ticket33788 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket33788 b/changes/ticket33788
new file mode 100644
index 0..236c05662
--- /dev/null
+++ b/changes/ticket33788
@@ -0,0 +1,4 @@
+  o Minor features (code safety):
+- Check for failures of tor_inet_ntop() and tor_inet_ntoa() functions in
+  DNS and IP address processing code and adjust codepaths to make them
+  less likely to crash entire Tor instance. Resolves issue 33788.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for ticket #24844

2020-05-27 Thread asn
commit f6943d702c6287f7c92d2a34bdcd666c10878517
Author: Neel Chauhan 
Date:   Sun May 17 16:30:45 2020 -0700

Add changes file for ticket #24844
---
 changes/ticket24844 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket24844 b/changes/ticket24844
new file mode 100644
index 0..da55b4cf6
--- /dev/null
+++ b/changes/ticket24844
@@ -0,0 +1,4 @@
+  o Minor features (v3 onion servies):
+- Add v3 onion service status to the dumpstats() call which is
+  triggered by a SIGUSR1 signal. Previously, we only did v2
+  onion services. Closes ticket 24844. Patch by Neel Chauhan.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] add changes file for 31634

2020-04-07 Thread teor
commit f9c57313d03abccbbbcffc808464365500baced8
Author: Nick Mathewson 
Date:   Thu Mar 26 12:40:56 2020 -0400

add changes file for 31634
---
 changes/ticket31634 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket31634 b/changes/ticket31634
new file mode 100644
index 0..277759503
--- /dev/null
+++ b/changes/ticket31634
@@ -0,0 +1,4 @@
+  o Minor features (testing, architeture):
+- Our test scripts now double-check that subsystem initialization order
+  is consistent with the inter-module dependencies established by our
+  .may_include files.  Implements ticket 31634.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2020-03-17 Thread teor
commit 159009ae476d8832eb7ec548efe012e804b0a202
Author: rl1987 
Date:   Fri Mar 6 18:32:49 2020 +0200

Add changes file
---
 changes/ticket32143 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket32143 b/changes/ticket32143
new file mode 100644
index 0..6100e4bf8
--- /dev/null
+++ b/changes/ticket32143
@@ -0,0 +1,4 @@
+  o Minor features (continuous integration):
+- Run unit-test and integration test (Stem, Chutney) jobs with
+  ALL_BUGS_ARE_FATAL macro being enabled on Travis. Allow failures for
+  time being. Closes ticket 32143.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2020-01-28 Thread nickm
commit a207fd7226c63c97fbf375a5e4c47773d00be393
Author: rl1987 
Date:   Wed Jan 22 20:25:30 2020 +0800

Add changes file
---
 changes/ticket32455 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/changes/ticket32455 b/changes/ticket32455
new file mode 100644
index 0..3fa3b3e98
--- /dev/null
+++ b/changes/ticket32455
@@ -0,0 +1,2 @@
+  o Minor features (continuous integration):
+- Run Doxygen Makefile target on Travis. Closes ticket 32455.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2020-01-14 Thread dgoulet
commit 52bbc7fb4955fa75358aa674a2b9c80c5620ba74
Author: rl1987 
Date:   Mon Dec 30 12:58:46 2019 +0700

Add changes file
---
 changes/ticket32772 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket32772 b/changes/ticket32772
new file mode 100644
index 0..217ae4843
--- /dev/null
+++ b/changes/ticket32772
@@ -0,0 +1,4 @@
+  o Minor features (developer tooling):
+- Remove 0.2.9 series branches from git scripts (git-merge-forward.sh,
+  git-pull-all.sh, git-push-all.sh, git-setup-dirs.sh). Closes ticket
+  32772.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for Bug #22029

2020-01-09 Thread nickm
commit 686c5e90a31c6a47a6b3ef6946fc2019b2015c78
Author: Neel Chauhan 
Date:   Sat Dec 14 13:27:26 2019 -0500

Add changes file for Bug #22029
---
 changes/bug22029 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug22029 b/changes/bug22029
new file mode 100644
index 0..6bfb7012f
--- /dev/null
+++ b/changes/bug22029
@@ -0,0 +1,5 @@
+  o Major features (directory authority, ed25519):
+  Add support for banning a relay's ed25519 keys in the approved-routers
+  file. This will allow us to migrate away from RSA keys in the future.
+  Previously, only RSA keys could be banned in approved-routers. Resolves
+  ticket 22029. Patch by Neel Chauhan.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-12-16 Thread asn
commit e01e199005f5d1157f9a91a9d7e4591ada0869e7
Author: Mike Perry 
Date:   Wed Dec 11 13:38:00 2019 -0800

Add changes file
---
 changes/ticket28804 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/ticket28804 b/changes/ticket28804
new file mode 100644
index 0..9c4eb4776
--- /dev/null
+++ b/changes/ticket28804
@@ -0,0 +1,5 @@
+  o Major features (documentation):
+- Provide a Circuit Padding Framework quickstart guide and developer
+  documentation for researchers to implement and study Circuit Padding
+  machines. Closes ticket 28804.
+



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #30381.

2019-11-19 Thread dgoulet
commit 53ac9a9a91a8f2ab45c75550456716074911e685
Author: George Kadianakis 
Date:   Mon Nov 18 19:21:10 2019 +0200

Add changes file for #30381.
---
 changes/bug30381 |  9 ++
 scripts/maint/practracker/exceptions.txt | 50 
 2 files changed, 34 insertions(+), 25 deletions(-)

diff --git a/changes/bug30381 b/changes/bug30381
new file mode 100644
index 0..2430b45af
--- /dev/null
+++ b/changes/bug30381
@@ -0,0 +1,9 @@
+  o Major features (controller):
+- New ONION_CLIENT_AUTH_ADD control port command to add client-side onion
+  service client authorization credentials. Closes part of ticket 30381.
+- New ONION_CLIENT_AUTH_REMOVE control port command to remove client-side
+  onion service client authorization credentials. Closes part of ticket
+  30381.
+- New ONION_CLIENT_AUTH_VIEW control port command to view stored
+  client-side onion service client authorization credentials. Closes part
+  of ticket 30381.
\ No newline at end of file
diff --git a/scripts/maint/practracker/exceptions.txt 
b/scripts/maint/practracker/exceptions.txt
index eb71d8cb4..a70119e8a 100644
--- a/scripts/maint/practracker/exceptions.txt
+++ b/scripts/maint/practracker/exceptions.txt
@@ -33,12 +33,12 @@
 #
 # Remember: It is better to fix the problem than to add a new exception!
 
-problem file-size /src/app/config/config.c 7200
+problem file-size /src/app/config/config.c 7212
 problem include-count /src/app/config/config.c 80
-problem function-size /src/app/config/config.c:options_act_reversible() 296
+problem function-size /src/app/config/config.c:options_act_reversible() 298
 problem function-size /src/app/config/config.c:options_act() 381
 problem function-size /src/app/config/config.c:resolve_my_address() 190
-problem function-size /src/app/config/config.c:options_validate_cb() 785
+problem function-size /src/app/config/config.c:options_validate_cb() 780
 problem function-size /src/app/config/config.c:options_init_from_torrc() 188
 problem function-size /src/app/config/config.c:options_init_from_string() 103
 problem function-size /src/app/config/config.c:options_init_logs() 125
@@ -46,12 +46,12 @@ problem function-size 
/src/app/config/config.c:parse_bridge_line() 104
 problem function-size /src/app/config/config.c:pt_parse_transport_line() 189
 problem function-size /src/app/config/config.c:parse_dir_authority_line() 150
 problem function-size /src/app/config/config.c:parse_dir_fallback_line() 101
-problem function-size /src/app/config/config.c:port_parse_config() 446
+problem function-size /src/app/config/config.c:port_parse_config() 450
 problem function-size /src/app/config/config.c:parse_ports() 132
-problem file-size /src/app/config/or_options_st.h 1117
-problem include-count /src/app/main/main.c 68
+problem file-size /src/app/config/or_options_st.h 1115
+problem include-count /src/app/main/main.c 69
 problem function-size /src/app/main/main.c:dumpstats() 102
-problem function-size /src/app/main/main.c:tor_init() 111
+problem function-size /src/app/main/main.c:tor_init() 101
 problem function-size /src/app/main/main.c:sandbox_init_filter() 291
 problem function-size /src/app/main/main.c:run_tor_main_loop() 105
 problem function-size /src/app/main/ntmain.c:nt_service_install() 126
@@ -61,7 +61,7 @@ problem dependency-violation /src/core/crypto/onion_crypto.c 5
 problem dependency-violation /src/core/crypto/onion_fast.c 1
 problem dependency-violation /src/core/crypto/onion_tap.c 3
 problem dependency-violation /src/core/crypto/relay_crypto.c 9
-problem file-size /src/core/mainloop/connection.c 5575
+problem file-size /src/core/mainloop/connection.c 5577
 problem include-count /src/core/mainloop/connection.c 62
 problem function-size 
/src/core/mainloop/connection.c:connection_free_minimal() 185
 problem function-size 
/src/core/mainloop/connection.c:connection_listener_new() 324
@@ -75,10 +75,10 @@ problem function-size 
/src/core/mainloop/connection.c:connection_handle_write_im
 problem function-size /src/core/mainloop/connection.c:assert_connection_ok() 
143
 problem dependency-violation /src/core/mainloop/connection.c 44
 problem dependency-violation /src/core/mainloop/cpuworker.c 12
-problem include-count /src/core/mainloop/mainloop.c 63
+problem include-count /src/core/mainloop/mainloop.c 64
 problem function-size /src/core/mainloop/mainloop.c:conn_close_if_marked() 108
 problem function-size 
/src/core/mainloop/mainloop.c:run_connection_housekeeping() 123
-problem dependency-violation /src/core/mainloop/mainloop.c 49
+problem dependency-violation /src/core/mainloop/mainloop.c 50
 problem dependency-violation /src/core/mainloop/mainloop_pubsub.c 1
 problem dependency-violation /src/core/mainloop/mainloop_sys.c 1
 problem dependency-violation /src/core/mainloop/netstatus.c 4
@@ -87,7 +87,7 @@ problem dependency-violation /src/core/or/address_set.c 1
 problem dependency-violation /src/core/or/cell_queue_st.h 1
 problem 

[tor-commits] [tor/master] Add changes file for #31147

2019-10-22 Thread nickm
commit 8162859ef727619493cfd9368214d3a769b338cb
Author: Alexander Færøy 
Date:   Wed Oct 16 18:07:28 2019 +0200

Add changes file for #31147

See: https://bugs.torproject.org/31147
---
 changes/31147 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/31147 b/changes/31147
new file mode 100644
index 0..d6f5cbdf4
--- /dev/null
+++ b/changes/31147
@@ -0,0 +1,3 @@
+  o Minor features (defense in depth):
+- Add additional sanity checks around tor_vasprintf() usage in case the
+  function returns an error. Patch by Tobias Stoeckmann. Fixes ticket 
31147.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for Bug #31088

2019-08-27 Thread asn
commit cc5af6dbd5d27cc80fba9df65eea1fff5833a08d
Author: Neel Chauhan 
Date:   Fri Jul 19 13:11:45 2019 -0400

Add changes file for Bug #31088
---
 changes/bug31088 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug31088 b/changes/bug31088
new file mode 100644
index 0..c258d1bad
--- /dev/null
+++ b/changes/bug31088
@@ -0,0 +1,5 @@
+  o Minor bugfixes (ipv6):
+- We check for private IPv6 address alongside their IPv4 equivalents when
+  authorities check descriptors. Previously, we only checked for private
+  IPv4 addresses. Fixes bug 31088; bugfix on 0.2.3.21-rc. Patch by Neel
+  Chauhan.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-08-08 Thread teor
commit 1218546296628fa1538ef98605591bc400415225
Author: rl1987 
Date:   Sun Apr 21 21:06:57 2019 +0300

Add changes file
---
 changes/ticket30213 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket30213 b/changes/ticket30213
new file mode 100644
index 0..acb761480
--- /dev/null
+++ b/changes/ticket30213
@@ -0,0 +1,3 @@
+  o Minor features (continuous integration):
+- Remove sudo configuration lines from .travis.yml as they are no longer
+  needed with current Travis build environment. Resolves issue 30213.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #31112 and #31098.

2019-07-23 Thread nickm
commit aed82bf4109126a3088752d7bec45bab4f5e1537
Author: George Kadianakis 
Date:   Tue Jul 23 11:46:07 2019 +0300

Add changes file for #31112 and #31098.
---
 changes/bug31112 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/bug31112 b/changes/bug31112
new file mode 100644
index 0..882efaad5
--- /dev/null
+++ b/changes/bug31112
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Various simplifications and minor improvements to the circuit padding
+  machines. Patch by Tobias Pulls. Closes tickets 31112 and 31098.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-06-26 Thread nickm
commit 1d504a408d129bf561138360a5d727b37c0e29a9
Author: rl1987 
Date:   Sun Jun 23 13:38:49 2019 +0300

Add changes file
---
 changes/ticket30102 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket30102 b/changes/ticket30102
new file mode 100644
index 0..c8b1148da
--- /dev/null
+++ b/changes/ticket30102
@@ -0,0 +1,4 @@
+  o Minor features (continuous integration):
+- When running CI builds on Travis, put some random data in ~/.torrc,
+  to make sure no tests are dependent on default Tor configuration.
+  Resolves issue 30102.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-06-17 Thread nickm
commit 86478be50f4364025310d2846d16d09c15962387
Author: rl1987 
Date:   Sun Jun 9 18:23:05 2019 +0300

Add changes file
---
 changes/ticket29533 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket29533 b/changes/ticket29533
new file mode 100644
index 0..27ef68121
--- /dev/null
+++ b/changes/ticket29533
@@ -0,0 +1,3 @@
+  o Testing:
+- Run shellcheck for all non-third-party shell scripts that are shipped
+  with Tor. Closes ticket 29533.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-06-11 Thread dgoulet
commit 5f5f6bb8fb68d171a39eb1e5c6e6649087ec551d
Author: Taylor Yu 
Date:   Wed May 22 16:33:04 2019 -0500

Add changes file for 29976
---
 changes/ticket29976 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket29976 b/changes/ticket29976
new file mode 100644
index 0..9991bfb1f
--- /dev/null
+++ b/changes/ticket29976
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Rework bootstrap tracking to use the new publish-subscribe
+  subsystem. Closes ticket 29976.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-06-10 Thread teor
commit 6b2d8b1a7c81cce0ee357ba74e494f1438ef3cbf
Author: rl1987 
Date:   Sun Apr 21 21:06:57 2019 +0300

Add changes file
---
 changes/ticket30213 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket30213 b/changes/ticket30213
new file mode 100644
index 0..acb761480
--- /dev/null
+++ b/changes/ticket30213
@@ -0,0 +1,3 @@
+  o Minor features (continuous integration):
+- Remove sudo configuration lines from .travis.yml as they are no longer
+  needed with current Travis build environment. Resolves issue 30213.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-06-05 Thread nickm
commit 0a4e68e4e24849a8d95dfa9ca0eb773b2cda6ebf
Author: rl1987 
Date:   Sat May 11 19:03:46 2019 +0300

Add changes file
---
 changes/bug30286 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug30286 b/changes/bug30286
new file mode 100644
index 0..f2fc67a48
--- /dev/null
+++ b/changes/bug30286
@@ -0,0 +1,4 @@
+  o Minor bugfixes (developer tooling):
+- Fix pre-push hook to refrain from rejecting fixup and squash commits
+  when pushing to non-upstream git remote. Fixes bug 30286; bugfix on
+  0.4.0.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[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
--- /dev/null
+++ b/changes/ticket29702
@@ -0,0 +1,4 @@
+  o Testing:
+- Specify torrc path (with empty file) when launching tor from
+  test_rebind.py; refrain from relying on default torrc path. Resolves
+  issue 29702.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-05-02 Thread nickm
commit b05b165a75a9d9e912da64788fc873fb215f5d75
Author: rl1987 
Date:   Sun Apr 21 21:06:57 2019 +0300

Add changes file
---
 changes/ticket30213 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket30213 b/changes/ticket30213
new file mode 100644
index 0..acb761480
--- /dev/null
+++ b/changes/ticket30213
@@ -0,0 +1,3 @@
+  o Minor features (continuous integration):
+- Remove sudo configuration lines from .travis.yml as they are no longer
+  needed with current Travis build environment. Resolves issue 30213.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-04-24 Thread nickm
commit db52180abe2bc9e82c7ce44d278af7e408974b12
Author: rl1987 
Date:   Fri Apr 12 22:43:49 2019 +0300

Add changes file
---
 changes/ticket30077 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/changes/ticket30077 b/changes/ticket30077
new file mode 100644
index 0..9be014730
--- /dev/null
+++ b/changes/ticket30077
@@ -0,0 +1,2 @@
+  o Code simplification and refactoring (shell scripts):
+- Fix shellcheck warnings in fuzz_multi.sh. Resolves issue 30077.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for Bug #29613

2019-04-23 Thread nickm
commit e728801b2a0fe74ec87a314d6d33c1a2920a
Author: Neel Chauhan 
Date:   Thu Apr 11 20:22:46 2019 -0400

Add changes file for Bug #29613
---
 changes/bug29613 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug29613 b/changes/bug29613
new file mode 100644
index 0..e96697325
--- /dev/null
+++ b/changes/bug29613
@@ -0,0 +1,5 @@
+  o Minor bugfixes (relay):
+- If we are are a relay and have IPv6Exit to 1 while ExitRelay is
+  auto, we act as if ExitRelay is 1. Previously, we ignored IPv6Exit
+  if ExitRelay was 0 or auto. Fixes bug 29613; bugfix on 0.3.5.1-alpha.
+  Patch by Neel Chauhan.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-04-23 Thread nickm
commit 0c78811ceabaece8bec92cc6a9a42a7b4631cfa7
Author: rl1987 
Date:   Fri Apr 19 09:51:04 2019 +0300

Add changes file
---
 changes/ticket30051 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/ticket30051 b/changes/ticket30051
new file mode 100644
index 0..87b6d7611
--- /dev/null
+++ b/changes/ticket30051
@@ -0,0 +1,5 @@
+  o Minor features (developer tooling):
+- Call practracker from pre-push and pre-commit git hooks to let a
+  developer know if they made any code style violations in their last
+  commit. This should help preventing code style violations appearing
+  upstream. Closes ticket 30051.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-04-16 Thread nickm
commit e8e6931638a14a2c996e55d7c8342654fb546b34
Author: rl1987 
Date:   Fri Apr 5 19:03:41 2019 +0300

Add changes file
---
 changes/ticket30033 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket30033 b/changes/ticket30033
new file mode 100644
index 0..3f66d049c
--- /dev/null
+++ b/changes/ticket30033
@@ -0,0 +1,4 @@
+  o Minor features (developer tooling):
+- Call pre-commit git hook from pre-push hook to make sure we're
+  running documentation and code style checks before pushing to remote
+  git repository. Implements feature 30033.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-04-11 Thread nickm
commit b2eced6c0747159ab7b3942a45c1a147a5ecfc96
Author: rl1987 
Date:   Wed Apr 3 18:05:23 2019 +0300

Add changes file
---
 changes/bug30002 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/changes/bug30002 b/changes/bug30002
new file mode 100644
index 0..da61c9e4b
--- /dev/null
+++ b/changes/bug30002
@@ -0,0 +1,2 @@
+  o Code simplification and refactoring (shell scripts):
+- Fix shellcheck warnings in test_key_expiration.sh. Resolves issue 30002.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #30040.

2019-04-10 Thread nickm
commit 2cdc6b2005d2ad09b44cf9a455a70f258e7f6fca
Author: George Kadianakis 
Date:   Tue Apr 9 17:30:14 2019 +0300

Add changes file for #30040.
---
 changes/bug30040 | 9 +
 1 file changed, 9 insertions(+)

diff --git a/changes/bug30040 b/changes/bug30040
new file mode 100644
index 0..7d80528a1
--- /dev/null
+++ b/changes/bug30040
@@ -0,0 +1,9 @@
+  o Minor bugfixes (security):
+- Fix a potential double free bug when reading huge bandwidth files. The
+  issue is not exploitable in the current Tor network because the
+  vulnerable code is only reached when directory authorities read bandwidth
+  files, but bandwidth files come from a trusted source (usually the
+  authorities themselves). Furthermore, the issue is only exploitable in
+  rare (non-POSIX) 32-bit architectures which are not used by any of the
+  current authorities. Fixes bug 30040; bugfix on 0.3.5.1-alpha. Bug found
+  and fixed by Tobias Stoeckmann.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-04-05 Thread asn
commit 124990aa01c8151fad98a6979e5996d5fbb3f51a
Author: rl1987 
Date:   Sun Mar 31 17:23:34 2019 +0300

Add changes file
---
 changes/ticket29962 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket29962 b/changes/ticket29962
new file mode 100644
index 0..e36cc0cf9
--- /dev/null
+++ b/changes/ticket29962
@@ -0,0 +1,3 @@
+  o Minor features (continuous integration):
+- On Travis Rust builds, cleanup Rust registry and refrain from caching
+  target/ directory to speed up builds. Resolves issue 29962.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-04-03 Thread asn
commit cba169a059e1a6ce04cb9014fe8870674d87
Author: rl1987 
Date:   Sat Feb 9 16:56:54 2019 +0200

Add changes file
---
 changes/ticket28816 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket28816 b/changes/ticket28816
new file mode 100644
index 0..02878ccfd
--- /dev/null
+++ b/changes/ticket28816
@@ -0,0 +1,4 @@
+  o Code simplification and refactoring:
+- Introduce a connection_dir_buf_add() helper function that checks for
+  compress_state of dir_connection_t and automatically writes a string to
+  directory connection with or without compression. Resolves issue 28816.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-03-29 Thread nickm
commit bf953fe602a973259723dacb4389d3c4bee7e0a4
Author: rl1987 
Date:   Tue Mar 5 18:02:24 2019 +0200

Add changes file
---
 changes/ticket29662 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/ticket29662 b/changes/ticket29662
new file mode 100644
index 0..872df9ad8
--- /dev/null
+++ b/changes/ticket29662
@@ -0,0 +1,5 @@
+  o Minor features (debugging):
+- Introduce tor_assertf() and tor_assertf_nonfatal() to enable logging of
+  additional information during assert failure. Now we can use format
+  strings to include pieces of information that are relevant for trouble
+  shooting. Resolves ticket 29662.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[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
--- /dev/null
+++ b/changes/ticket29588
@@ -0,0 +1,4 @@
+  o Minor features (developer tools):
+- Introduce a post-merge git hook script to check if we're pulling in any
+  changes to our git workspace management scripts from upstream. Resolves
+  issue 29588.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-03-05 Thread nickm
commit 583e20615cf0826a4b1774eead50c40d246f6962
Author: rl1987 
Date:   Sat Feb 2 16:54:50 2019 +0200

Add changes file
---
 changes/ticket29060 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/changes/ticket29060 b/changes/ticket29060
new file mode 100644
index 0..380cc8eb1
--- /dev/null
+++ b/changes/ticket29060
@@ -0,0 +1,2 @@
+  o Code simplification and refactoring (shell scripts):
+- Fix shellcheck warnings in test-network.sh. Resolves issue 29060.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-02-20 Thread dgoulet
commit 8d04dc416bd6aa3fefc0914add8708083dc99d52
Author: rl1987 
Date:   Sat Feb 9 16:56:54 2019 +0200

Add changes file
---
 changes/ticket28816 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket28816 b/changes/ticket28816
new file mode 100644
index 0..02878ccfd
--- /dev/null
+++ b/changes/ticket28816
@@ -0,0 +1,4 @@
+  o Code simplification and refactoring:
+- Introduce a connection_dir_buf_add() helper function that checks for
+  compress_state of dir_connection_t and automatically writes a string to
+  directory connection with or without compression. Resolves issue 28816.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-02-19 Thread nickm
commit 4e3880607ad2f09711e18429afda1514a2cb7e28
Author: rl1987 
Date:   Wed Feb 6 10:53:12 2019 +0200

Add changes file
---
 changes/ticket29071 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket29071 b/changes/ticket29071
new file mode 100644
index 0..0997a8d22
--- /dev/null
+++ b/changes/ticket29071
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring (shell scripts):
+- Fix shellcheck warnings in nagios-check-tor-authority-cert script.
+  Resolves issue 29071.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-02-19 Thread nickm
commit 0b245e418e91cbbc325dfdc399fc184b067e9471
Author: rl1987 
Date:   Fri Feb 1 21:43:45 2019 +0200

Add changes file
---
 changes/ticket29062 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket29062 b/changes/ticket29062
new file mode 100644
index 0..de05c621f
--- /dev/null
+++ b/changes/ticket29062
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring (shell scripts):
+- Cleanup test_keygen.sh to silence all shellcheck warnings. Closes
+  ticket 29062.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for bug 29040.

2019-02-08 Thread nickm
commit eca0f87801ea5062038544b6cfe2bdbba0998999
Author: Nick Mathewson 
Date:   Fri Feb 8 08:37:23 2019 -0500

Add changes file for bug 29040.
---
 changes/bug29040 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug29040 b/changes/bug29040
new file mode 100644
index 0..0662aaa8a
--- /dev/null
+++ b/changes/bug29040
@@ -0,0 +1,4 @@
+  o Minor bugfixes (onion services):
+- Avoid crashing if ClientOnionAuthDir (incorrectly) contains
+  more than one private key for a hidden service. Fixes bug 29040;
+  bugfix on 0.3.5.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for bug 28981

2019-01-17 Thread nickm
commit f0408b844ffe2545c33306cb04b03fff8148989f
Author: Kris Katterjohn 
Date:   Tue Jan 15 14:55:55 2019 -0600

Add changes file for bug 28981

The fix was in commit 61636ad989de674698601284957dacde53cc4984.

Signed-off-by: Kris Katterjohn 
---
 changes/bug28981 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug28981 b/changes/bug28981
new file mode 100644
index 0..c0ea92ab3
--- /dev/null
+++ b/changes/bug28981
@@ -0,0 +1,5 @@
+  o Minor bugfixes (misc):
+- The amount of total available physical memory is now determined
+  using the sysctl identifier HW_PHYSMEM (rather than HW_USERMEM)
+  when it is defined and a 64-bit variant is not available.  Fixes
+  bug 28981; bugfix on 0.2.5.4-alpha.  Patch from Kris Katterjohn.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2019-01-15 Thread nickm
commit 30a925fe96ed69284a915c8e80d0f7ef7b556786
Author: rl1987 
Date:   Sat Dec 15 13:53:37 2018 +0200

Add changes file
---
 changes/ticket28058 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/changes/ticket28058 b/changes/ticket28058
new file mode 100644
index 0..00ac59586
--- /dev/null
+++ b/changes/ticket28058
@@ -0,0 +1,2 @@
+  o Testing:
+- Run shellcheck for stuff in scripts/ directory. Closes ticket 28058.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for bug 28938

2019-01-09 Thread nickm
commit 09472791d0ccf5b527a5b59eceb218aff38c2880
Author: Kris Katterjohn 
Date:   Mon Jan 7 20:01:52 2019 -0600

Add changes file for bug 28938

The fix was in commit 30b84adb5f0b6e56d0fb82c374e3cb44089f64d0.

Signed-off-by: Kris Katterjohn 
---
 changes/bug28938 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug28938 b/changes/bug28938
new file mode 100644
index 0..de6c5f7b7
--- /dev/null
+++ b/changes/bug28938
@@ -0,0 +1,4 @@
+  o Minor bugfixes (compilation):
+- Fix missing headers required for proper detection of
+  OpenBSD.  Fixes bug 28938; bugfix on 0.3.5.1-alpha.
+  Patch from Kris Katterjohn.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-12-20 Thread nickm
commit b64e1e602bac5e108e40a284616e3fe7f7597b17
Author: rl1987 
Date:   Sat Sep 22 20:01:15 2018 +0300

Add changes file
---
 changes/ticket27325 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket27325 b/changes/ticket27325
new file mode 100644
index 0..2cf2bb7d6
--- /dev/null
+++ b/changes/ticket27325
@@ -0,0 +1,4 @@
+  o Code simplification and refactoring:
+- Reimplement NETINFO cell parsing and generation to rely on
+  trunnel-generated wire format handling code. Closes ticket
+  27325.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for <30min HeartbeatPeriod patch

2018-12-18 Thread nickm
commit 06046c726fb09ec745d2a565abfef28097856a19
Author: Matt Traudt 
Date:   Fri Dec 14 09:24:19 2018 -0500

Add changes file for <30min HeartbeatPeriod patch
---
 changes/ticket28840 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket28840 b/changes/ticket28840
new file mode 100644
index 0..05d3fbb94
--- /dev/null
+++ b/changes/ticket28840
@@ -0,0 +1,3 @@
+  o Minor features (testing):
+- Allow HeartbeatPeriod of less than 30 minutes in testing Tor networks.
+  Closes ticket 28840, patch by robgjansen



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-12-11 Thread nickm
commit d6eafd06a9797d2747b0bd5988893c292076ef1f
Author: rl1987 
Date:   Fri Oct 12 10:37:27 2018 +0300

Add changes file
---
 changes/ticket28007 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket28007 b/changes/ticket28007
new file mode 100644
index 0..1ac87862e
--- /dev/null
+++ b/changes/ticket28007
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Cleanup scan-build.sh to silence shellcheck warnings.
+  Closes ticket 28007.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-12-11 Thread nickm
commit ecaecaddd89ce0d89e5f90effbf066065d10
Author: rl1987 
Date:   Thu Dec 6 15:31:33 2018 +0200

Add changes file
---
 changes/ticket28551 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket28551 b/changes/ticket28551
new file mode 100644
index 0..46ba9d713
--- /dev/null
+++ b/changes/ticket28551
@@ -0,0 +1,3 @@
+  o Minor features (Continuous Integration):
+- Log Python version during each Travis CI job. Resolves issue
+  28551.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #28012

2018-12-05 Thread nickm
commit befcd6ab7f53e8d5d825949547e2530fdc91b177
Author: rl1987 
Date:   Tue Nov 20 17:00:32 2018 +0200

Add changes file for #28012
---
 changes/ticket28012 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket28012 b/changes/ticket28012
new file mode 100644
index 0..b2fe83e02
--- /dev/null
+++ b/changes/ticket28012
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Fix issues that shellcheck found in updateRustDependencies.sh.
+  Resolves ticket 28012.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-12-01 Thread nickm
commit 009205dabe4ba7aba43dffead4087ca94ef9a8e3
Author: rl1987 
Date:   Thu Sep 13 10:18:06 2018 +0300

Add changes file
---
 changes/ticket27620 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket27620 b/changes/ticket27620
new file mode 100644
index 0..6c491696d
--- /dev/null
+++ b/changes/ticket27620
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Rework SOCKS wire format handling to rely on trunnel-generated
+  parsing/generation code. Resolves ticket 27620.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #28518.

2018-12-01 Thread nickm
commit d020124138cc0d16e685bfd35dd388a4db7f68af
Author: Alexander Færøy 
Date:   Mon Nov 19 16:33:06 2018 +0100

Add changes file for #28518.

See: https://bugs.torproject.org/28518
---
 changes/bug28518 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug28518 b/changes/bug28518
new file mode 100644
index 0..d7ebab29b
--- /dev/null
+++ b/changes/bug28518
@@ -0,0 +1,4 @@
+  o Minor features (FreeBSD):
+- Warn relay operators if the "net.inet.ip.random_id" sysctl (IP ID
+  randomization) is disabled on their relay if it is running on FreeBSD
+  based operating systems. Closes ticket 28518.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-12-01 Thread nickm
commit 9bbf7ec3031a2597944e2df59b634ff77a36a3f8
Author: rl1987 
Date:   Sun Nov 4 19:10:40 2018 +0200

Add changes file
---
 changes/ticket28229_diag | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket28229_diag b/changes/ticket28229_diag
new file mode 100644
index 0..cd02b81fa
--- /dev/null
+++ b/changes/ticket28229_diag
@@ -0,0 +1,3 @@
+  o Testing:
+- Increase logging and tag all log entries with timestamps
+  in test_rebind.py. Provides diagnostics for issue 28229.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-11-19 Thread nickm
commit 8cb817cc5e0cc36cc0218da53bc4c1f277ccd8cc
Author: rl1987 
Date:   Sun Nov 11 18:56:20 2018 +0200

Add changes file
---
 changes/ticket28008 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket28008 b/changes/ticket28008
new file mode 100644
index 0..1f0de1a14
--- /dev/null
+++ b/changes/ticket28008
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Fix shellcheck warnings in scripts/test/coverage. Resolves issue
+  28008.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-11-02 Thread nickm
commit 5a3cb495ce5bf010440fc0288c1ca00fff6ec8e5
Author: rl1987 
Date:   Mon Oct 29 11:41:36 2018 +0200

Add changes file
---
 changes/ticket28011 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket28011 b/changes/ticket28011
new file mode 100644
index 0..5efc3c917
--- /dev/null
+++ b/changes/ticket28011
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Fix shellcheck warnings in run_calltool.sh. Resolves
+  ticket 28011.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-11-02 Thread nickm
commit 4af27e016814f4817174ed87e7b660d65c6eaf9c
Author: rl1987 
Date:   Mon Oct 29 11:05:55 2018 +0200

Add changes file
---
 changes/ticket28010 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket28010 b/changes/ticket28010
new file mode 100644
index 0..4fca17d02
--- /dev/null
+++ b/changes/ticket28010
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Fix shellcheck warnings in run_trunnel.sh. Resolves issue
+  28010.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #27707.

2018-11-01 Thread asn
commit a0402c6f33206468f57c381c0022e547520d14c2
Author: George Kadianakis 
Date:   Thu Nov 1 12:37:17 2018 +0200

Add changes file for #27707.
---
 changes/bug27707 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/bug27707 b/changes/bug27707
new file mode 100644
index 0..e11422274
--- /dev/null
+++ b/changes/bug27707
@@ -0,0 +1,3 @@
+  o Minor features (log messages):
+- Improve log message in HSv3 service that could print out negative
+  revision counters. Closes ticket 27707. Patch by "ffmancera".
\ No newline at end of file

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for Bug #28127

2018-10-30 Thread dgoulet
commit 9b72dca953d56636f0434bd67be2ca80422e7c1e
Author: Neel Chauhan 
Date:   Wed Oct 24 12:20:28 2018 -0400

Add changes file for Bug #28127
---
 changes/bug28127 | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/changes/bug28127 b/changes/bug28127
new file mode 100644
index 0..541128c88
--- /dev/null
+++ b/changes/bug28127
@@ -0,0 +1,7 @@
+  o Minor bugfixes (onion services):
+- Unless we have explicitly set HiddenServiceVersion, detect the onion
+  service version and then look for invalid options. Previously, we
+  did the reverse, but that broke existing configs which were pointed
+  to a v2 hidden service and had options like HiddenServiceAuthorizeClient
+  set Fixes bug 28127; bugfix on 0.3.5.1-alpha. Patch by Neel Chauhan.
+



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-10-30 Thread nickm
commit 1a1b088f8cab73ca258c35e83d21df900f8e2e32
Author: rl1987 
Date:   Mon Aug 13 19:05:40 2018 +0300

Add changes file
---
 changes/bug21900 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug21900 b/changes/bug21900
new file mode 100644
index 0..686cb6c58
--- /dev/null
+++ b/changes/bug21900
@@ -0,0 +1,4 @@
+  o Minor bugfixes (DNS):
+- Gracefully handle empty or absent resolve.conf file by falling
+  back to using localhost DNS service and hoping it works. Fixes
+  bug 21900; bugfix on 0.2.1.10-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-10-30 Thread nickm
commit 1baa2703c36cf964d5fc1f07433196e8ccc0e55a
Author: rl1987 
Date:   Fri Aug 31 20:05:54 2018 +0300

Add changes file
---
 changes/bug23082 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug23082 b/changes/bug23082
new file mode 100644
index 0..fc4b52c36
--- /dev/null
+++ b/changes/bug23082
@@ -0,0 +1,4 @@
+  o Minor bugfixes (networking):
+- Introduce additional checks into tor_addr_parse() to
+  reject certain incorrect inputs that previously were
+  not detected. Fixes bug 23082; bugfix on 0.2.0.10-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-10-29 Thread nickm
commit cf434b6c80fec69cc6ea7a12692847764ea55295
Author: rl1987 
Date:   Fri Oct 12 11:02:58 2018 +0300

Add changes file
---
 changes/ticket27913 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket27913 b/changes/ticket27913
new file mode 100644
index 0..81ce72593
--- /dev/null
+++ b/changes/ticket27913
@@ -0,0 +1,3 @@
+  o Testing:
+- Add new CI job to Travis configuration that runs stem-based
+  integration tests. Closes ticket 27913.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-10-24 Thread nickm
commit 65864be9bc59fb3743d2cebf497d0a4268596f95
Author: rl1987 
Date:   Tue Oct 16 17:53:17 2018 +0300

Add changes file
---
 changes/ticket27625 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket27625 b/changes/ticket27625
new file mode 100644
index 0..33d40adf3
--- /dev/null
+++ b/changes/ticket27625
@@ -0,0 +1,4 @@
+  o Testing:
+- Write some unit tests for tokenize_string() and
+  get_next_token() functions. Resolves ticket 27625.
+



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-10-10 Thread nickm
commit fb1d37f34f0f3fcd6c5124834e0f3abb8159311e
Author: rl1987 
Date:   Sun Oct 7 18:28:04 2018 +0300

Add changes file
---
 changes/bug27808 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug27808 b/changes/bug27808
new file mode 100644
index 0..90d3c9e0a
--- /dev/null
+++ b/changes/bug27808
@@ -0,0 +1,4 @@
+  o Minor bugfixes (networking):
+- In retry_listeners_ports() make sure that we're removing
+  a member of old_conns smartlist at most once.
+  Fixes bug 27808; bugfix on 0.3.5.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-09-21 Thread nickm
commit 53d8aa13682caccbad3fff094c78cc4229e8fe13
Author: rl1987 
Date:   Fri Sep 21 10:57:10 2018 +0300

Add changes file
---
 changes/bug27675 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/bug27675 b/changes/bug27675
new file mode 100644
index 0..e4c3eb5a0
--- /dev/null
+++ b/changes/bug27675
@@ -0,0 +1,3 @@
+  o Minor bugfixes (testing):
+- In test_rebind.py check if Python version is in supported
+  ranges. Fixes bug 27675; bugfix on 0.3.5.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-09-12 Thread nickm
commit c6a154e7b83377bffc130d757d3af3bcc124503e
Author: rl1987 
Date:   Sun Aug 19 21:05:17 2018 +0300

Add changes file
---
 changes/bug27165 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug27165 b/changes/bug27165
new file mode 100644
index 0..9e78d17e9
--- /dev/null
+++ b/changes/bug27165
@@ -0,0 +1,4 @@
+  o Minor bugfixes (C correctness):
+- Use time_t for all values in predicted_ports_prediction_time_remaining().
+  Rework the code that computes difference between durations/timestamps.
+  Fixes bug 27165; bugfix on 0.3.1.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-09-12 Thread nickm
commit c9c16ee8a463a2ba4bb79a9ef550bb62c65bada8
Author: rl1987 
Date:   Thu Apr 26 12:21:43 2018 +0200

Add changes file
---
 changes/bug17873 | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/changes/bug17873 b/changes/bug17873
new file mode 100644
index 0..4922fedaf
--- /dev/null
+++ b/changes/bug17873
@@ -0,0 +1,6 @@
+  o Minor bugfixes (OS compatibility):
+- On Linux and Windows properly handle configuration change that
+  moves a listener to/from wildcard IP address. In case first
+  attempt to bind a socket fails, close the old listener and
+  try binding a socket again. Fixes bug 17873; bugfix on
+  0.0.8pre-1.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-09-04 Thread nickm
commit 19f73f633628a093a6d9af4d0dfeeed402afa939
Author: rl1987 
Date:   Sun Sep 2 21:14:03 2018 +0300

Add changes file
---
 changes/doc26908 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/doc26908 b/changes/doc26908
new file mode 100644
index 0..888da8be5
--- /dev/null
+++ b/changes/doc26908
@@ -0,0 +1,4 @@
+  o Documentation:
+- Warn users that they should not include MyFamily
+  line(s) in their torrc when running Tor bridge.
+  Closes ticket 26908.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-09-04 Thread nickm
commit bbb82a52491de244fbdf5d7b6f22ae26f8b4ea19
Author: juga0 
Date:   Mon Jun 4 20:40:21 2018 +

Add changes file
---
 changes/bug24104 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug24104 b/changes/bug24104
new file mode 100644
index 0..ca2a3537f
--- /dev/null
+++ b/changes/bug24104
@@ -0,0 +1,4 @@
+  o Minor bugfix (relay statistics):
+- Update relay descriptor on bandwidth changes only when the uptime is
+  smaller than 24h in order to reduce the efficiency of guard discovery
+  attacks. Fixes bug 24104; bugfix on 0.1.1.6-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for Bug #20874

2018-08-28 Thread nickm
commit 7651518b6d725a6f7e654460f998ac2797925a9f
Author: Neel Chauhan 
Date:   Fri Jul 20 21:39:09 2018 -0400

Add changes file for Bug #20874
---
 changes/bug20874 | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/changes/bug20874 b/changes/bug20874
new file mode 100644
index 0..ebec99922
--- /dev/null
+++ b/changes/bug20874
@@ -0,0 +1,7 @@
+  o Minor bugfixes (client, reachableaddresses):
+- Instead of adding an "reject *:*" line to ReachableAddresses when
+  loading the configuration, add one to the policy after parsing it
+  in parse_reachable_addresses(). This prevents extra "reject *.*"
+  lines from accumulating on reloads. Fixes bug 20874; bugfix on
+  0.3.5.1-alpha. Patch by Neel Chauhan.
+



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for 26873. I missed this when merging earlier.

2018-08-21 Thread nickm
commit 4c0c4d4ade2f5e87202055d44a1226c4af8397dc
Author: Nick Mathewson 
Date:   Tue Aug 21 10:01:38 2018 -0400

Add changes file for 26873. I missed this when merging earlier.
---
 changes/bug26873 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug26873 b/changes/bug26873
new file mode 100644
index 0..565f8bf0b
--- /dev/null
+++ b/changes/bug26873
@@ -0,0 +1,4 @@
+  o Minor bugfixes (portability):
+- Fix compilation of the unit tests on GNU/Hurd, which does not
+  define PATH_MAX. Fixes bug 26873; bugfix on 0.3.3.1-alpha.
+  Patch from "paulusASol".



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-08-11 Thread nickm
commit dddc9a1715a2101690adb4026be81c2cc1aad671
Author: rl1987 
Date:   Fri Jul 20 21:42:45 2018 +0300

Add changes file
---
 changes/bug26882 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug26882 b/changes/bug26882
new file mode 100644
index 0..adfe0e2f3
--- /dev/null
+++ b/changes/bug26882
@@ -0,0 +1,5 @@
+  o Minor bugfixes (logging, documentation):
+- When SafeLogging is enabled, scrub IP address in
+  channel_tls_process_netinfo_cell(). Also, add a note
+  to manpage that scrubbing is not guaranteed on loglevels
+  below Notice. Fixes bug 26882; bugfix on 0.2.4.10-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-08-11 Thread nickm
commit 5f2e00241a35f7658bde4f9afb0a758588217e40
Author: rl1987 
Date:   Wed Aug 8 19:07:50 2018 +0300

Add changes file
---
 changes/bug27034 | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/changes/bug27034 b/changes/bug27034
new file mode 100644
index 0..bdb7d29c1
--- /dev/null
+++ b/changes/bug27034
@@ -0,0 +1,6 @@
+  o Minor bugfixes (controller):
+- Consider all routerinfo errors other than "not a server"
+  to be transient for the purpose of "GETINFO exit-policy/*"
+  controller request. Print stacktrace in the unlikely case
+  of failing to recompute routerinfo digest. Fixes bug 27034;
+  bugfix on 0.3.4.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for Bug #18642

2018-08-10 Thread nickm
commit 7c052d4ac38605092534e95daf69f208fadcafdc
Author: Neel Chauhan 
Date:   Mon Jul 16 17:37:24 2018 -0400

Add changes file for Bug #18642
---
 changes/bug18642 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug18642 b/changes/bug18642
new file mode 100644
index 0..6b71f3c6d
--- /dev/null
+++ b/changes/bug18642
@@ -0,0 +1,5 @@
+  o Minor features (denial-of-service avoidance):
+- Make our OOM handler aware of the DNS cache so that it doesn't fill up
+  the memory. This check is important for our DoS mitigation subsystem.
+  Closes ticket 18642. Patch by Neel Chauhan
+



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-07-30 Thread nickm
commit 0bd2f2edd9f7e01bfcf7d78c838884f5e4d17417
Author: rl1987 
Date:   Wed Jun 13 13:36:08 2018 +0300

Add changes file
---
 changes/feature19506 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/feature19506 b/changes/feature19506
new file mode 100644
index 0..83ba9e245
--- /dev/null
+++ b/changes/feature19506
@@ -0,0 +1,3 @@
+  o Minor features (admin tools):
+- Add new tool that prints expiration date of signing cert
+  in ed25519_signing_cert. Resolves issue 19506.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-07-30 Thread nickm
commit e9f6f742b2729ee62e97711f08fec8e8a97393d7
Author: rl1987 
Date:   Fri Jun 22 16:48:57 2018 +0300

Add changes file
---
 changes/ticket21349 | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/changes/ticket21349 b/changes/ticket21349
new file mode 100644
index 0..c07288406
--- /dev/null
+++ b/changes/ticket21349
@@ -0,0 +1,6 @@
+  o Code simplification and refactoring:
+- Split sampled_guards_update_from_consensus() and
+  select_entry_guard_for_circuit() into subfunctions.
+  In entry_guards_update_primary() unite
+  three smartlist enumerations into one and move smartlist
+  comparison code out of the function. Closes ticket 21349.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file regarding bandwidth file headers

2018-07-30 Thread nickm
commit 6d59ab16a0aebf74b793c174f8e724b2fbcbbb64
Author: juga0 
Date:   Sat Jul 21 21:59:50 2018 +

Add changes file regarding bandwidth file headers
---
 changes/ticket3723 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket3723 b/changes/ticket3723
new file mode 100644
index 0..3deefe27b
--- /dev/null
+++ b/changes/ticket3723
@@ -0,0 +1,3 @@
+  o Minor features (directory authority):
+- When a bandwidth file is used to obtain the bandwidth measurements,
+  include this bandwidth file headers in the votes. Closes ticket 3723.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-07-17 Thread nickm
commit f00b7a7faa443d224dcd46dd7511f42763e64584
Author: George Kadianakis 
Date:   Thu Jun 14 15:53:31 2018 +0300

Add changes file.
---
 changes/bug25552 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug25552 b/changes/bug25552
new file mode 100644
index 0..8d0488a46
--- /dev/null
+++ b/changes/bug25552
@@ -0,0 +1,5 @@
+  o Major feature (onion services):
+- Improve revision counter generation in next-gen onion services. Onion
+  services can now scale by hosting multiple instances on different hosts
+  without synchronization between them, which was previously impossible
+  because descriptors would get rejected by HSDirs. Addresses ticket 25552.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-07-15 Thread nickm
commit 2f284d3325f60ad4e4744504588ee62dd62779e9
Author: rl1987 
Date:   Wed May 23 14:53:07 2018 +0200

Add changes file
---
 changes/ticket3569_part1 | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/changes/ticket3569_part1 b/changes/ticket3569_part1
new file mode 100644
index 0..4032aff4d
--- /dev/null
+++ b/changes/ticket3569_part1
@@ -0,0 +1,6 @@
+  o Code simplification and refactoring:
+- Rework Tor SOCKS server code to use Trunnel and benefit from
+  autogenerated functions for parsing and generating SOCKS wire
+  format. New implementation is cleaner, more maintainable and
+  should be less prone to heartbleed-style vulnerabilities.
+  Implements a significant fraction of ticket 3569.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for ticket 26492

2018-07-13 Thread nickm
commit 7585523cfc245cd7d4a5ee394367a4f8850c662e
Author: Taylor Yu 
Date:   Fri Jul 13 12:34:23 2018 -0500

Add changes file for ticket 26492
---
 changes/ticket26492 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/ticket26492 b/changes/ticket26492
new file mode 100644
index 0..c6ab292d1
--- /dev/null
+++ b/changes/ticket26492
@@ -0,0 +1,4 @@
+  o Minor features (rust, code quality):
+- Improve rust code quality in the Rust protover implementation by
+  making it more idiomatic.  Includes changing an internal API to
+  take  instead of   Closes ticket 26492.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #24977.

2018-06-20 Thread nickm
commit 1f1a57b8d0038066be712c57b5ce8b7b1ea94e5a
Author: George Kadianakis 
Date:   Wed Jun 13 13:47:36 2018 +0300

Add changes file for #24977.
---
 changes/bug24977 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug24977 b/changes/bug24977
new file mode 100644
index 0..f8127a2a7
--- /dev/null
+++ b/changes/bug24977
@@ -0,0 +1,5 @@
+  o Minor bugfixes (onion services):
+- Recompute some consensus information after clock skews or when we
+  transition from a non-live consensus to a live consensus. We do this to
+  avoid having an outdated state which could impact next-generation onion
+  services. Fixes bug 24977; bugfix on 0.3.2.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-06-20 Thread nickm
commit ce9b9cc18d9cedd9144e86dcef48c6ae99abe7d5
Author: rl1987 
Date:   Sun Jun 3 14:56:28 2018 +0300

Add changes file
---
 changes/bug26196 | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/changes/bug26196 b/changes/bug26196
new file mode 100644
index 0..e63f09a2d
--- /dev/null
+++ b/changes/bug26196
@@ -0,0 +1,7 @@
+  o Minor bugfixes (testing, compilation):
+- Refrain from trying to get an item from empty smartlist in
+  test_bridges_clear_bridge_list. Set DEBUG_SMARTLIST in unit
+  tests to catch improper smartlist usage. Furthermore,
+  enable DEBUG_SMARTLIST globally when build is configured
+  with fragile hardening. Fixes bug 26196; bugfix on
+  0.3.4.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #25610

2018-05-01 Thread nickm
commit 895d20ab4b5e38f8730a4800136274443f713900
Author: David Goulet 
Date:   Tue May 1 11:38:56 2018 -0400

Add changes file for #25610

Signed-off-by: David Goulet 
---
 changes/ticket25610 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/ticket25610 b/changes/ticket25610
new file mode 100644
index 0..887770e6a
--- /dev/null
+++ b/changes/ticket25610
@@ -0,0 +1,5 @@
+  o Major feature (directory authority, modularization):
+- The directory authority subsystem has been modularized. The code is now
+  located in src/or/dirauth/ which is compiled in by default. To disable 
the
+  module, the configure option --disable-module-dirauth has been added.
+  Closes ticket 25610;

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for GETINFO current-time/{local, utc}

2018-04-23 Thread nickm
commit dca36eff8fbe9307aa2f74d26841399537e11406
Author: Neel Chauhan 
Date:   Mon Apr 16 20:36:28 2018 -0400

Add changes file for GETINFO current-time/{local,utc}
---
 changes/ticket25511 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/ticket25511 b/changes/ticket25511
new file mode 100644
index 0..0a24e265c
--- /dev/null
+++ b/changes/ticket25511
@@ -0,0 +1,5 @@
+  o Minor features (control port):
+- Introduce GETINFO "current-time/{local,utc}" to return the local
+  and UTC times respectively in ISO format. This helps a controller
+  like Tor Browser detect a time-related error. Closes ticket 25511.
+  Patch by Neel Chauhan.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] add changes file and update check-typos in makefile

2018-04-22 Thread nickm
commit 72bfcb37f13a22780a0a771f17d3b5953703c815
Author: Deepesh Pathak 
Date:   Sun Apr 15 01:05:49 2018 +0530

add changes file and update check-typos in makefile
---
 ChangeLog   | 2 +-
 Makefile.am | 6 +++---
 changes/ticket25024 | 3 +++
 src/common/crypto_rsa.h | 2 +-
 src/or/protover.c   | 2 +-
 5 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 98da35a07..e0468e4e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -875,7 +875,7 @@ Changes in version 0.3.3.2-alpha - 2018-02-10
   would call the Rust implementation of
   protover_get_supported_protocols(). This was due to the C version
   returning a static string, whereas the Rust version newly allocated
-  a CString to pass accross the FFI boundary. Consequently, the C
+  a CString to pass across the FFI boundary. Consequently, the C
   code was not expecting to need to free() what it was given. Fixes
   bug 25127; bugfix on 0.3.2.1-alpha.
 
diff --git a/Makefile.am b/Makefile.am
index b892c69f7..cccad6c5e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -97,7 +97,7 @@ doxygen:
 test: all
$(top_builddir)/src/test/test
 
-check-local: check-spaces check-changes check-typos
+check-local: check-spaces check-changes
 
 need-chutney-path:
@if test ! -d "$$CHUTNEY_PATH"; then \
@@ -221,8 +221,8 @@ check-logs:
 check-typos:
@if test -x "`which misspell 2>&1;true`"; then \
echo "Checking for Typos ..."; \
-   (`which misspell` \
-   $(top_srcdir)/src/**/*.[ch] \
+   (misspell \
+   $(top_srcdir)/src/[^e]*/*.[ch] \
$(top_srcdir)/doc \
$(top_srcdir)/contrib \
$(top_srcdir)/scripts \
diff --git a/changes/ticket25024 b/changes/ticket25024
new file mode 100644
index 0..0ff22d092
--- /dev/null
+++ b/changes/ticket25024
@@ -0,0 +1,3 @@
+  o Minor features (code quality):
+- Add spell checking using misspell in Makefile.
+  Closes ticket 25024.
diff --git a/src/common/crypto_rsa.h b/src/common/crypto_rsa.h
index 2f5442a5d..e95208931 100644
--- a/src/common/crypto_rsa.h
+++ b/src/common/crypto_rsa.h
@@ -35,7 +35,7 @@
 /** A public key, or a public/private key-pair. */
 typedef struct crypto_pk_t crypto_pk_t;
 
-/* RSA enviroment setup */
+/* RSA environment setup */
 MOCK_DECL(crypto_pk_t *,crypto_pk_new,(void));
 void crypto_pk_free_(crypto_pk_t *env);
 #define crypto_pk_free(pk) FREE_AND_NULL(crypto_pk_t, crypto_pk_free_, (pk))
diff --git a/src/or/protover.c b/src/or/protover.c
index 6532f09c2..18382ba7c 100644
--- a/src/or/protover.c
+++ b/src/or/protover.c
@@ -715,7 +715,7 @@ protover_all_supported(const char *s, char **missing_out)
 versions->high = i;
   }
   /* If the last one to be unsupported is one less than the current
-   * one, we're in a continous range, so set the high field. */
+   * one, we're in a continuous range, so set the high field. */
   if ((versions->high && versions->high == i - 1) ||
   /* Similarly, if the last high wasn't set and we're currently
* one higher than the low, add current index as the highest



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for new fallback directory list.

2018-01-08 Thread nickm
commit 9464da210d3214fc094f5fc3b2c229470dbea59c
Author: Nick Mathewson 
Date:   Mon Jan 8 11:09:08 2018 -0500

Add changes file for new fallback directory list.
---
 changes/ticket_24801 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/ticket_24801 b/changes/ticket_24801
new file mode 100644
index 0..f5f6c831a
--- /dev/null
+++ b/changes/ticket_24801
@@ -0,0 +1,5 @@
+  o Minor features (new fallback directories):
+- The fallback directory list has been re-generated based on the
+  current status of the network. Tor uses fallback directories to
+  bootstrap it doesn't yet have up-to-date directory
+  information. Closes ticket 24801.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2018-01-03 Thread nickm
commit d4c7bd98accb6999a95997c8a4df678d79a05f8f
Author: Matt Traudt 
Date:   Mon Dec 11 10:30:37 2017 -0500

Add changes file for 24531
---
 changes/ticket24531 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket24531 b/changes/ticket24531
new file mode 100644
index 0..96a8eea5c
--- /dev/null
+++ b/changes/ticket24531
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+Add a function to log channels' scheduler state changes to aide debugging 
+efforts. Closes ticket 24531.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #23862.

2017-12-11 Thread nickm
commit 7ae9e92ffbe5f95d10d8822bfc33eb6a1094be1d
Author: George Kadianakis 
Date:   Wed Oct 25 19:54:48 2017 +0300

Add changes file for #23862.
---
 changes/bug23682 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug23682 b/changes/bug23682
new file mode 100644
index 0..301ce7367
--- /dev/null
+++ b/changes/bug23682
@@ -0,0 +1,5 @@
+  o Minor bugfixes (entry guards):
+- Tor now updates its guard state when it reads a consensus regardless of
+  whether it's missing descriptors. That makes tor use its primary guards
+  to fetch descriptors in some edge cases where it would have used fallback
+  directories in the past. Fixes bug 23862; bugfix on 0.3.0.1-alpha.
\ No newline at end of file



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #23862.

2017-12-11 Thread nickm
commit 43c34dfca04f4e10c85ed567f383ee5442be1a80
Author: George Kadianakis 
Date:   Wed Oct 25 19:54:48 2017 +0300

Add changes file for #23862.
---
 changes/bug23682 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug23682 b/changes/bug23682
new file mode 100644
index 0..301ce7367
--- /dev/null
+++ b/changes/bug23682
@@ -0,0 +1,5 @@
+  o Minor bugfixes (entry guards):
+- Tor now updates its guard state when it reads a consensus regardless of
+  whether it's missing descriptors. That makes tor use its primary guards
+  to fetch descriptors in some edge cases where it would have used fallback
+  directories in the past. Fixes bug 23862; bugfix on 0.3.0.1-alpha.
\ No newline at end of file



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #23623.

2017-11-07 Thread nickm
commit 023f62bda474cb52a8a31ba2ae6de95f3e506b18
Author: George Kadianakis 
Date:   Tue Nov 7 00:28:14 2017 +0200

Add changes file for #23623.
---
 changes/bug23623 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug23623 b/changes/bug23623
new file mode 100644
index 0..1e2e5c2ac
--- /dev/null
+++ b/changes/bug23623
@@ -0,0 +1,4 @@
+  o Minor bugfixes (onion services):
+- Cache some needed onion service client information instead of
+  continuously computing it over and over again. Fixes bug 23623; bugfix
+  on 0.3.2.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #23862.

2017-10-26 Thread nickm
commit e0276dc1c64d4c2c9439e080d006dfb249fc7c53
Author: George Kadianakis 
Date:   Wed Oct 25 19:54:48 2017 +0300

Add changes file for #23862.
---
 changes/bug23682 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug23682 b/changes/bug23682
new file mode 100644
index 0..301ce7367
--- /dev/null
+++ b/changes/bug23682
@@ -0,0 +1,5 @@
+  o Minor bugfixes (entry guards):
+- Tor now updates its guard state when it reads a consensus regardless of
+  whether it's missing descriptors. That makes tor use its primary guards
+  to fetch descriptors in some edge cases where it would have used fallback
+  directories in the past. Fixes bug 23862; bugfix on 0.3.0.1-alpha.
\ No newline at end of file



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] add changes file for 23645

2017-09-26 Thread nickm
commit ce4ac7aace4229888f5a1e174cca4b7c901ad5c0
Author: Nick Mathewson 
Date:   Tue Sep 26 08:47:02 2017 -0400

add changes file for 23645
---
 changes/bug23645 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/bug23645 b/changes/bug23645
new file mode 100644
index 0..56198265b
--- /dev/null
+++ b/changes/bug23645
@@ -0,0 +1,3 @@
+  o Minor features (logging):
+- Improve info-level log identification of particular circuits,
+  to help with debugging. Closes ticket 23645.

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] add changes file for STRUCT_OFFSET removeal (22521)

2017-08-03 Thread nickm
commit 2624cd63eeeb72323db1d8ab39d6e1829d77d3c5
Author: Nick Mathewson 
Date:   Thu Aug 3 08:57:52 2017 -0400

add changes file for STRUCT_OFFSET removeal (22521)
---
 changes/ticket22521 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket22521 b/changes/ticket22521
new file mode 100644
index 0..15a6218fa
--- /dev/null
+++ b/changes/ticket22521
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Replace our STRUCT_OFFSET() macro with offsetof(). Closes
+  ticket 22521. Patch from Neel Chauhan.

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #19476.

2017-07-13 Thread nickm
commit 175451d032026f1e1cbf45dfa55a408d5d4abeed
Author: Isis Lovecruft 
Date:   Wed Jul 12 02:47:43 2017 +

Add changes file for #19476.
---
 changes/bug19476 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/bug19476 b/changes/bug19476
new file mode 100644
index 000..25a0578
--- /dev/null
+++ b/changes/bug19476
@@ -0,0 +1,3 @@
+ o Minor changes:
+   - If we fail to write a heartbeat message, schedule a retry for the minimum
+ heartbeat interval number of seconds in the future. Fixes bug 19476.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for bug #22702.

2017-06-27 Thread nickm
commit 09ae4fc583daa8f1a4783a983ae0f5e3d743c2b2
Author: Alexander Færøy 
Date:   Tue Jun 27 22:21:43 2017 +

Add changes file for bug #22702.

See: https://bugs.torproject.org/22702
---
 changes/bug22702 | 5 +
 1 file changed, 5 insertions(+)

diff --git a/changes/bug22702 b/changes/bug22702
new file mode 100644
index 000..a2044c7
--- /dev/null
+++ b/changes/bug22702
@@ -0,0 +1,5 @@
+  o Major bugfixes (directory protocol):
+- Ensure that we sent "304 Not modified" as HTTP status code when a
+  client is attempting to fetch a consensus or consensus diff that
+  matches the latest consensus we have available. Fixes bug 22702;
+  bugfix on 0.3.1.1-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for bug4019.

2017-06-23 Thread nickm
commit 424c4586df8edf33d249f3bc1614f07e293b6fe0
Author: Isis Lovecruft 
Date:   Fri Jun 23 18:31:16 2017 +

Add changes file for bug4019.
---
 changes/bug4019 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug4019 b/changes/bug4019
new file mode 100644
index 000..fef736f
--- /dev/null
+++ b/changes/bug4019
@@ -0,0 +1,4 @@
+  o Minor bugfixes (logging):
+- Remove duplicate log messages regarding opening non-local SocksPorts
+  upon parsing config and opening listeners at startup. Fixes bug 4019;
+  bugfix on tor-0.2.3.3-alpha.



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for libevent version requirement

2016-07-08 Thread nickm
commit 00e13c6d4d80986771ab453850c76201d48d0dfe
Author: Sebastian Hahn 
Date:   Mon Jul 4 17:35:11 2016 +0200

Add changes file for libevent version requirement
---
 changes/bug19554 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/bug19554 b/changes/bug19554
new file mode 100644
index 000..5855586
--- /dev/null
+++ b/changes/bug19554
@@ -0,0 +1,4 @@
+  o Dependency changes (Libevent)
+- Tor requires Libevent version 2.0.10-stable or later now.
+  Implements ticket 19554.
+



___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


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

2016-06-29 Thread nickm
commit 8938250c1003c042b66cd0ff554e8ec49c250d43
Author: teor (Tim Wilson-Brown) 
Date:   Wed Jun 29 17:19:27 2016 +1000

Add changes file for bug19483
---
 changes/bug19483 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/bug19483 b/changes/bug19483
new file mode 100644
index 000..034ff30
--- /dev/null
+++ b/changes/bug19483
@@ -0,0 +1,3 @@
+  o Minor fixes (time):
+- Improve overflow checks in tv_udiff and tv_mdiff.
+  Fixes bug 19483, present in all tor versions.

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for ticket 16698

2016-05-11 Thread nickm
commit 48b7db35590afee77fb608b46328959e8a9b2d31
Author: Nick Mathewson 
Date:   Wed May 11 13:43:19 2016 -0400

Add changes file for ticket 16698
---
 changes/ticket16698 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/changes/ticket16698 b/changes/ticket16698
new file mode 100644
index 000..5057050
--- /dev/null
+++ b/changes/ticket16698
@@ -0,0 +1,3 @@
+  o Code simplification and refactoring:
+- Split the 600-line directory_handle_command_get function into
+  separate functions for different URL types. Closes ticket 16698.

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for #15588

2016-05-09 Thread nickm
commit 6678dff38611bbbc35560ac47ce6b54a108fb6d0
Author: John Brooks 
Date:   Mon May 9 18:57:21 2016 -0400

Add changes file for #15588
---
 changes/feature15588 | 4 
 1 file changed, 4 insertions(+)

diff --git a/changes/feature15588 b/changes/feature15588
new file mode 100644
index 000..b556307
--- /dev/null
+++ b/changes/feature15588
@@ -0,0 +1,4 @@
+  o Minor features (controller):
+- Add support for configuring basic client authorization on hidden
+  services created with the ADD_ONION control command.
+  Implements ticket 15588. Patch by "special".

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


[tor-commits] [tor/master] Add changes file for 18448; refactor

2016-03-11 Thread nickm
commit ef31c8862f4ed86cfa4987b2ec58468269457f87
Author: Nick Mathewson 
Date:   Fri Mar 11 10:05:28 2016 -0500

Add changes file for 18448; refactor

(I've made it so FreeBSD || FreeBSD_kernel is enough to ensure that
we think you might have ipfw, and so that the logic is all in one
place.)
---
 changes/bug18448| 6 ++
 src/or/config.c | 2 +-
 src/or/config.h | 4 
 src/test/test_options.c | 2 +-
 4 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/changes/bug18448 b/changes/bug18448
new file mode 100644
index 000..e328ce3
--- /dev/null
+++ b/changes/bug18448
@@ -0,0 +1,6 @@
+  o Minor features (build):
+- Detect systems with FreeBSD-derived kernels (such as GNU/kFreeBSD) as
+  having possible IPfW support. Closes ticket 18448. Patch from
+  Steven Chamberlain.
+
+
diff --git a/src/or/config.c b/src/or/config.c
index ad4138a..4f4b9df 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -2861,7 +2861,7 @@ options_validate(or_options_t *old_options, or_options_t 
*options,
   options->TransProxyType_parsed = TPT_TPROXY;
 #endif
 } else if (!strcasecmp(options->TransProxyType, "ipfw")) {
-#if !defined(__FreeBSD_kernel__) && !defined( DARWIN )
+#ifndef KERNEL_MAY_SUPPORT_IPFW
   /* Earlier versions of OS X have ipfw */
   REJECT("ipfw is a FreeBSD-specific"
  "and OS X/Darwin-specific feature.");
diff --git a/src/or/config.h b/src/or/config.h
index c301645..02121cf 100644
--- a/src/or/config.h
+++ b/src/or/config.h
@@ -14,6 +14,10 @@
 
 #include "testsupport.h"
 
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(DARWIN)
+#define KERNEL_MAY_SUPPORT_IPFW
+#endif
+
 MOCK_DECL(const char*, get_dirportfrontpage, (void));
 MOCK_DECL(const or_options_t *, get_options, (void));
 MOCK_DECL(or_options_t *, get_options_mutable, (void));
diff --git a/src/test/test_options.c b/src/test/test_options.c
index 9458ade..d294e60 100644
--- a/src/test/test_options.c
+++ b/src/test/test_options.c
@@ -1058,7 +1058,7 @@ test_options_validate__transproxy(void *ignored)
   ret = options_validate(tdata->old_opt, tdata->opt, tdata->def_opt, 0, );
   tt_int_op(ret, OP_EQ, -1);
 
-#if !defined(__FreeBSD_kernel__) && !defined( DARWIN )
+#ifndef KERNEL_MAY_SUPPORT_IPFW
   tt_str_op(msg, OP_EQ, "ipfw is a FreeBSD-specificand OS X/Darwin-specific "
 "feature.");
 #else

___
tor-commits mailing list
tor-commits@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits


  1   2   >