[tor-commits] [snowflake/master] Link to Snowflake wiki page rather than mailing list post.

2018-04-15 Thread dcf
commit 9f1c7b12c8a85179f059005c28810899234a06ae
Author: David Fifield 
Date:   Sun Apr 15 17:36:20 2018 -0700

Link to Snowflake wiki page rather than mailing list post.

The wiki page in turn links to the post.
---
 proxy/static/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/static/index.html b/proxy/static/index.html
index e454086..c78004f 100644
--- a/proxy/static/index.html
+++ b/proxy/static/index.html
@@ -43,7 +43,7 @@ and should not yet be relied upon!!
 
 
 See
-https://lists.torproject.org/pipermail/tor-dev/2016-January/010310.html";
+https://trac.torproject.org/projects/tor/wiki/doc/Snowflake";
 target="_blank">
 here for more information.
 

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


[tor-commits] [snowflake/master] Declare utf-8 in index.html.

2018-04-15 Thread dcf
commit 933c117a484ef0365cc9aff5626520b20b8b8f36
Author: David Fifield 
Date:   Sun Apr 15 17:31:47 2018 -0700

Declare utf-8 in index.html.
---
 proxy/static/index.html | 1 +
 1 file changed, 1 insertion(+)

diff --git a/proxy/static/index.html b/proxy/static/index.html
index 5767593..e454086 100644
--- a/proxy/static/index.html
+++ b/proxy/static/index.html
@@ -3,6 +3,7 @@
 
 
 Snowflake
+
 

[tor-commits] [snowflake/master] Update "last updated" date; remove "~Serene" signoff.

2018-04-15 Thread dcf
commit 5a1dffccebd42dd6dea11b793cccba3caa0bcb72
Author: David Fifield 
Date:   Sun Apr 15 17:24:49 2018 -0700

Update "last updated" date; remove "~Serene" signoff.
---
 proxy/static/index.html | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/proxy/static/index.html b/proxy/static/index.html
index ebd6a79..5767593 100644
--- a/proxy/static/index.html
+++ b/proxy/static/index.html
@@ -71,9 +71,7 @@ 
href="https://gitweb.torproject.org/pluggable-transports/snowflake.git/";>
 gitweb.torproject.org/pluggable-transports/snowflake.git
 
 
-Last update: 2016-02-10
-
-~Serene
+Last update: 2018-04-16
 
 
 

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


[tor-commits] [snowflake/master] Add to index.html and snowflake.html.

2018-04-15 Thread dcf
commit bcef2ee7fb9d155e4655eed3f8ef187f6be878ae
Author: David Fifield 
Date:   Sun Apr 15 17:22:25 2018 -0700

Add  to index.html and snowflake.html.
---
 proxy/static/index.html | 1 +
 proxy/static/snowflake.html | 1 +
 2 files changed, 2 insertions(+)

diff --git a/proxy/static/index.html b/proxy/static/index.html
index f0beced..ebd6a79 100644
--- a/proxy/static/index.html
+++ b/proxy/static/index.html
@@ -2,6 +2,7 @@
 
 
 
+Snowflake
 

[tor-commits] [snowflake/master] Add the `cake build` hint to proxy/README.md.

2018-04-15 Thread dcf
commit 01d1f951e59560e367f6da6a2ef56c75e79eb954
Author: David Fifield 
Date:   Sun Apr 15 17:12:55 2018 -0700

Add the `cake build` hint to proxy/README.md.

It was already in the root README.md, but proxy/README.md is where I
always look for it.
---
 proxy/README.md | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/proxy/README.md b/proxy/README.md
index ca08b21..5f63cce 100644
--- a/proxy/README.md
+++ b/proxy/README.md
@@ -7,6 +7,13 @@ See 
[keroserene.net/snowflake](https://keroserene.net/snowflake) for more info:
 https://keroserene.net/snowflake/embed.html"; width="88" 
height="16" frameborder="0" scrolling="no">
 ```
 
+### Building
+
+```
+cake build
+```
+(Type `cake` by itself to see possible commands)
+
 ### Testing
 
 Unit testing with Jasmine are available with:

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


[tor-commits] [snowflake/master] Documentation fix: current default relay.

2018-04-15 Thread dcf
commit 2e59838faf3acad9bd481b665896b32fe078d23c
Author: David Fifield 
Date:   Sun Apr 15 17:05:07 2018 -0700

Documentation fix: current default relay.

Was missed in 3fe10f3e7c39991193f4322fee55c7067d21831d.
---
 proxy/README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxy/README.md b/proxy/README.md
index 2a0f7ea..ca08b21 100644
--- a/proxy/README.md
+++ b/proxy/README.md
@@ -23,7 +23,7 @@ To run locally, either:
 ### Parameters
 
 With no parameters,
-snowflake uses the default relay `192.81.135.242:9902` and
+snowflake uses the default relay `snowflake.bamsoftware.com:443` and
 uses automatic signaling with the default broker at
 `https://snowflake-reg.appspot.com/`.
 



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


[tor-commits] [metrics-web/master] Update news.json to version 255 of doc/MetricsTimeline.

2018-04-15 Thread karsten
commit d425de8f8a22e256398977e812fa69550506eb57
Author: Karsten Loesing 
Date:   Sun Apr 15 22:41:42 2018 +0200

Update news.json to version 255 of doc/MetricsTimeline.
---
 src/main/resources/web/json/news.json | 89 +--
 1 file changed, 86 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/web/json/news.json 
b/src/main/resources/web/json/news.json
index c503aa1..8385b6e 100644
--- a/src/main/resources/web/json/news.json
+++ b/src/main/resources/web/json/news.json
@@ -429,7 +429,7 @@
   },
   {
 "start": "2012-02-08",
-"ongoing": true,
+"end": "2012-02-11",
 "places": [
   "ir"
 ],
@@ -442,6 +442,14 @@
   {
 "label": "blog post",
 "target": 
"https://blog.torproject.org/iran-partially-blocks-encrypted-network-traffic";
+  },
+  {
+"label": "relay graph",
+"target": 
"https://metrics.torproject.org/userstats-relay-country.html?start=2012-01-01&end=2012-04-01&country=ir";
+  },
+  {
+"label": "bridge graph",
+"target": 
"https://metrics.torproject.org/userstats-bridge-country.html?start=2012-01-01&end=2012-04-01&country=ir";
   }
 ]
   },
@@ -4489,6 +4497,10 @@
   {
 "label": "comment",
 "target": "https://bugs.torproject.org/21312#comment:63";
+  },
+  {
+"label": "comment",
+"target": "https://bugs.torproject.org/25688#comment:1";
   }
 ]
   },
@@ -4497,8 +4509,14 @@
 "protocols": [
   "snowflake"
 ],
-"shortDescription": "Provisonally increased memory limits of the fallback 
snowflake proxies to 400 MB, 800 MB, or unlimited.",
-"description": "Provisonally increased memory limits of the fallback 
snowflake proxies to 400 MB, 800 MB, or unlimited."
+"shortDescription": "Provisionally increased memory limits of the fallback 
snowflake proxies to 400 MB, 800 MB, or unlimited.",
+"description": "Provisionally increased memory limits of the fallback 
snowflake proxies to 400 MB, 800 MB, or unlimited.",
+"links": [
+  {
+"label": "comment",
+"target": "https://bugs.torproject.org/25688#comment:1";
+  }
+]
   },
   {
 "start": "2018-03-23",
@@ -4511,6 +4529,10 @@
   {
 "label": "comment",
 "target": "https://bugs.torproject.org/21312#comment:64";
+  },
+  {
+"label": "comment",
+"target": "https://bugs.torproject.org/25688#comment:1";
   }
 ]
   },
@@ -4533,6 +4555,48 @@
 ]
   },
   {
+"start": "2018-03-27",
+"protocols": [
+  "snowflake"
+],
+"shortDescription": "Restarted the fallback snowflake proxies with no 
limit on memory.",
+"description": "Restarted the fallback snowflake proxies with no limit on 
memory.",
+"links": [
+  {
+"label": "comment",
+"target": "https://bugs.torproject.org/25688#comment:1";
+  }
+]
+  },
+  {
+"start": "2018-04-02",
+"protocols": [
+  "snowflake"
+],
+"shortDescription": "Reinstated periodic restarts of the fallback 
snowflake proxies.",
+"description": "Reinstated periodic restarts of the fallback snowflake 
proxies.",
+"links": [
+  {
+"label": "comment",
+"target": "https://bugs.torproject.org/25688#comment:1";
+  }
+]
+  },
+  {
+"start": "2018-04-13",
+"protocols": [
+  "snowflake"
+],
+"shortDescription": "Snowflake client registrations",
+"description": "Snowflake client registrations (based on domain fronting) 
stop working, because of a Google infrastructure change that stops domain 
fronting from working. The time of the change is between 2018-04-13 14:00:00 
and 2018-04-13 18:00:00, based on when the bandwidth graph of the Snowflake 
bridge https://metrics.torproject.org/rs.html#details/5481936581E23D2D178105D44DB6915AB06BFB7F\";>5481936581E23D2D178105D44DB6915AB06BFB7F
 went to zero.",
+"links": [
+  {
+"label": "ticket",
+"target": "https://bugs.torproject.org/25804";
+  }
+]
+  },
+  {
 "start": "2016-02-24",
 "places": [
   "tm"
@@ -5452,6 +5516,25 @@
 "unknown": true
   },
   {
+"start": "2018-02-01",
+"end": "2018-02-05",
+"places": [
+  "ir"
+],
+"protocols": [
+  "meek"
+],
+"shortDescription": "Drop of meek users in Iran; other transports not 
affected.",
+"description": "Drop of meek users in Iran; other transports not 
affected.",
+"links": [
+  {
+"label": "graph",
+"target": 
"https://metrics.torproject.org/userstats-bridge-combined.html?start=2018-01-14&end=2018-03-15&country=ir";
+  }
+],
+"unknown": true
+  },
+  {
 "start": "2018-03-05",
 "end": "2018-03-08",
 "places": [

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


[tor-commits] [nyx/master] Exit stats dialog crashed if no data was available

2018-04-15 Thread atagar
commit 1d2683e08b181e1a929748faeaab7bbab13f128b
Author: Damian Johnson 
Date:   Sun Apr 15 13:28:08 2018 -0700

Exit stats dialog crashed if no data was available

Showing the exit stats dialog (pressing 'e' on the connection page) 
stacktraced
if no exit stats were available...

  https://trac.torproject.org/projects/tor/ticket/25801
---
 nyx/panel/connection.py  | 2 +-
 web/changelog/index.html | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/nyx/panel/connection.py b/nyx/panel/connection.py
index 98b0baf..ac4a234 100644
--- a/nyx/panel/connection.py
+++ b/nyx/panel/connection.py
@@ -391,7 +391,7 @@ class ConnectionPanel(nyx.panel.DaemonPanel):
 
 def _show_exiting_port_usage():
   counts = {}
-  key_width = max(map(len, self._exit_port_usage.keys()))
+  key_width = max(map(len, self._exit_port_usage.keys())) if 
self._exit_port_usage else 0
 
   for k, v in self._exit_port_usage.items():
 usage = connection.port_usage(k)
diff --git a/web/changelog/index.html b/web/changelog/index.html
index 196d82b..bf8e1a3 100644
--- a/web/changelog/index.html
+++ b/web/changelog/index.html
@@ -83,6 +83,7 @@
 Connections
   
 Geoip information unavailable for inbound connections
+Dialog showing exit statistics crashed when no data was 
available (:trac:`25801`)
   
 
 

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


[tor-commits] [stem/master] Fix exit policy tests

2018-04-15 Thread atagar
commit 6f7c54782d865eabbbce49223bf2b2619fbf5d47
Author: Damian Johnson 
Date:   Sun Apr 15 12:45:09 2018 -0700

Fix exit policy tests

Oops, earlier change broke one of our unit test mocks.
---
 test/integ/control/controller.py | 43 +---
 test/unit/control/controller.py  | 16 ++-
 2 files changed, 7 insertions(+), 52 deletions(-)

diff --git a/test/integ/control/controller.py b/test/integ/control/controller.py
index b59f5d63..cde8e140 100644
--- a/test/integ/control/controller.py
+++ b/test/integ/control/controller.py
@@ -270,45 +270,12 @@ class TestController(unittest.TestCase):
   @test.require.controller
   def test_get_exit_policy(self):
 """
-Sanity test for get_exit_policy(). We have the default policy (no
-ExitPolicy set) which is a little... long due to the boilerplate.
-"""
-
-expected = ExitPolicy(
-  'reject 0.0.0.0/8:*',
-  'reject 169.254.0.0/16:*',
-  'reject 127.0.0.0/8:*',
-  'reject 192.168.0.0/16:*',
-  'reject 10.0.0.0/8:*',
-  'reject 172.16.0.0/12:*',
-  # this is where 'reject [public_addr]:*' may or may not be
-  'reject *:25',
-  'reject *:119',
-  'reject *:135-139',
-  'reject *:445',
-  'reject *:563',
-  'reject *:1214',
-  'reject *:4661-4666',
-  'reject *:6346-6429',
-  'reject *:6699',
-  'reject *:6881-6999',
-  'accept *:*',
-)
-
-runner = test.runner.get_runner()
-
-with runner.get_tor_controller() as controller:
-  # We can't simply compare the policies because the tor policy may or may
-  # not have a reject entry for our public address. Hence, stripping it
-  # from the policy's string, then comparing those.
-
-  policy_str = str(controller.get_exit_policy())
-
-  public_addr_start = policy_str.find('reject 172.16.0.0/12:*') + 22
-  public_addr_end = policy_str.find(', reject *:25')
+Sanity test for get_exit_policy(). Our 'ExitRelay 0' torrc entry causes us
+to have a simple reject-all policy.
+"""
 
-  policy_str = policy_str[:public_addr_start] + 
policy_str[public_addr_end:]
-  self.assertEqual(str(expected), policy_str)
+with test.runner.get_runner().get_tor_controller() as controller:
+  self.assertEqual(ExitPolicy('reject *:*'), controller.get_exit_policy())
 
   @test.require.controller
   def test_authenticate(self):
diff --git a/test/unit/control/controller.py b/test/unit/control/controller.py
index 929adcfc..92abfb67 100644
--- a/test/unit/control/controller.py
+++ b/test/unit/control/controller.py
@@ -164,23 +164,11 @@ class TestControl(unittest.TestCase):
 }[param]
 
 get_info_mock.side_effect = lambda param, default = None: {
-  'address': '123.45.67.89',
-  'exit-policy/default': 'reject *:25,reject *:119,reject *:135-139,reject 
*:445,reject *:563,reject *:1214,reject *:4661-4666,reject *:6346-6429,reject 
*:6699,reject *:6881-6999,accept *:*',
+  'exit-policy/full': 'reject *:25,reject *:119,reject *:135-139,reject 
*:445,reject *:563,reject *:1214,reject *:4661-4666,reject *:6346-6429,reject 
*:6699,reject *:6881-6999,accept *:*',
 }[param]
 
 expected = ExitPolicy(
-  'reject 0.0.0.0/8:*',  # private entries
-  'reject 169.254.0.0/16:*',
-  'reject 127.0.0.0/8:*',
-  'reject 192.168.0.0/16:*',
-  'reject 10.0.0.0/8:*',
-  'reject 172.16.0.0/12:*',
-  'reject 123.45.67.89:*',  # relay's public address
-  'accept *:80',  # finally we get to our ExitPolicy
-  'accept *:443',
-  'accept 43.5.5.5:*',
-  'reject *:22',
-  'reject *:25',  # default policy
+  'reject *:25',
   'reject *:119',
   'reject *:135-139',
   'reject *:445',

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


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

2018-04-15 Thread nickm
commit d17ddb8393b206748d19e3717f41146dbdd245d9
Merge: 81d71f0d4 3ee4c9b1f
Author: Nick Mathewson 
Date:   Sun Apr 15 15:41:24 2018 -0400

Merge branch 'maint-0.3.3' into release-0.3.3

 configure.ac| 2 +-
 contrib/win32build/tor-mingw.nsi.in | 2 +-
 src/win32/orconfig.h| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

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


[tor-commits] [tor/maint-0.3.3] bump to 0.3.3.5-rc-dev

2018-04-15 Thread nickm
commit 3ee4c9b1fae9d53556b3e3be852f12e9abe51e14
Author: Nick Mathewson 
Date:   Sun Apr 15 15:41:03 2018 -0400

bump to 0.3.3.5-rc-dev
---
 configure.ac| 2 +-
 contrib/win32build/tor-mingw.nsi.in | 2 +-
 src/win32/orconfig.h| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 070054112..44235024c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl Copyright (c) 2007-2017, The Tor Project, Inc.
 dnl See LICENSE for licensing information
 
 AC_PREREQ([2.63])
-AC_INIT([tor],[0.3.3.5-rc])
+AC_INIT([tor],[0.3.3.5-rc-dev])
 AC_CONFIG_SRCDIR([src/or/main.c])
 AC_CONFIG_MACRO_DIR([m4])
 
diff --git a/contrib/win32build/tor-mingw.nsi.in 
b/contrib/win32build/tor-mingw.nsi.in
index 0cea26bde..c27e244b5 100644
--- a/contrib/win32build/tor-mingw.nsi.in
+++ b/contrib/win32build/tor-mingw.nsi.in
@@ -8,7 +8,7 @@
 !include "LogicLib.nsh"
 !include "FileFunc.nsh"
 !insertmacro GetParameters
-!define VERSION "0.3.3.5-rc"
+!define VERSION "0.3.3.5-rc-dev"
 !define INSTALLER "tor-${VERSION}-win32.exe"
 !define WEBSITE "https://www.torproject.org/";
 !define LICENSE "LICENSE"
diff --git a/src/win32/orconfig.h b/src/win32/orconfig.h
index 3fcf68524..de1bc8c85 100644
--- a/src/win32/orconfig.h
+++ b/src/win32/orconfig.h
@@ -218,7 +218,7 @@
 #define USING_TWOS_COMPLEMENT
 
 /* Version number of package */
-#define VERSION "0.3.3.5-rc"
+#define VERSION "0.3.3.5-rc-dev"
 
 
 

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


[tor-commits] [tor/release-0.3.3] bump to 0.3.3.5-rc-dev

2018-04-15 Thread nickm
commit 3ee4c9b1fae9d53556b3e3be852f12e9abe51e14
Author: Nick Mathewson 
Date:   Sun Apr 15 15:41:03 2018 -0400

bump to 0.3.3.5-rc-dev
---
 configure.ac| 2 +-
 contrib/win32build/tor-mingw.nsi.in | 2 +-
 src/win32/orconfig.h| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 070054112..44235024c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl Copyright (c) 2007-2017, The Tor Project, Inc.
 dnl See LICENSE for licensing information
 
 AC_PREREQ([2.63])
-AC_INIT([tor],[0.3.3.5-rc])
+AC_INIT([tor],[0.3.3.5-rc-dev])
 AC_CONFIG_SRCDIR([src/or/main.c])
 AC_CONFIG_MACRO_DIR([m4])
 
diff --git a/contrib/win32build/tor-mingw.nsi.in 
b/contrib/win32build/tor-mingw.nsi.in
index 0cea26bde..c27e244b5 100644
--- a/contrib/win32build/tor-mingw.nsi.in
+++ b/contrib/win32build/tor-mingw.nsi.in
@@ -8,7 +8,7 @@
 !include "LogicLib.nsh"
 !include "FileFunc.nsh"
 !insertmacro GetParameters
-!define VERSION "0.3.3.5-rc"
+!define VERSION "0.3.3.5-rc-dev"
 !define INSTALLER "tor-${VERSION}-win32.exe"
 !define WEBSITE "https://www.torproject.org/";
 !define LICENSE "LICENSE"
diff --git a/src/win32/orconfig.h b/src/win32/orconfig.h
index 3fcf68524..de1bc8c85 100644
--- a/src/win32/orconfig.h
+++ b/src/win32/orconfig.h
@@ -218,7 +218,7 @@
 #define USING_TWOS_COMPLEMENT
 
 /* Version number of package */
-#define VERSION "0.3.3.5-rc"
+#define VERSION "0.3.3.5-rc-dev"
 
 
 



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


[tor-commits] [tor/master] bump to 0.3.3.5-rc-dev

2018-04-15 Thread nickm
commit 3ee4c9b1fae9d53556b3e3be852f12e9abe51e14
Author: Nick Mathewson 
Date:   Sun Apr 15 15:41:03 2018 -0400

bump to 0.3.3.5-rc-dev
---
 configure.ac| 2 +-
 contrib/win32build/tor-mingw.nsi.in | 2 +-
 src/win32/orconfig.h| 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 070054112..44235024c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ dnl Copyright (c) 2007-2017, The Tor Project, Inc.
 dnl See LICENSE for licensing information
 
 AC_PREREQ([2.63])
-AC_INIT([tor],[0.3.3.5-rc])
+AC_INIT([tor],[0.3.3.5-rc-dev])
 AC_CONFIG_SRCDIR([src/or/main.c])
 AC_CONFIG_MACRO_DIR([m4])
 
diff --git a/contrib/win32build/tor-mingw.nsi.in 
b/contrib/win32build/tor-mingw.nsi.in
index 0cea26bde..c27e244b5 100644
--- a/contrib/win32build/tor-mingw.nsi.in
+++ b/contrib/win32build/tor-mingw.nsi.in
@@ -8,7 +8,7 @@
 !include "LogicLib.nsh"
 !include "FileFunc.nsh"
 !insertmacro GetParameters
-!define VERSION "0.3.3.5-rc"
+!define VERSION "0.3.3.5-rc-dev"
 !define INSTALLER "tor-${VERSION}-win32.exe"
 !define WEBSITE "https://www.torproject.org/";
 !define LICENSE "LICENSE"
diff --git a/src/win32/orconfig.h b/src/win32/orconfig.h
index 3fcf68524..de1bc8c85 100644
--- a/src/win32/orconfig.h
+++ b/src/win32/orconfig.h
@@ -218,7 +218,7 @@
 #define USING_TWOS_COMPLEMENT
 
 /* Version number of package */
-#define VERSION "0.3.3.5-rc"
+#define VERSION "0.3.3.5-rc-dev"
 
 
 



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


[tor-commits] [tor/master] copy 0.3.3.5-rc changelog to master.

2018-04-15 Thread nickm
commit a8482d127f2833798754d389cbc63e9055a8c9b5
Author: Nick Mathewson 
Date:   Sun Apr 15 15:40:01 2018 -0400

copy 0.3.3.5-rc changelog to master.
---
 ChangeLog | 89 +++
 1 file changed, 89 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 98da35a07..26707cc05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,92 @@
+Changes in version 0.3.3.5-rc - 2018-04-15
+  Tor 0.3.3.5-rc fixes various bugs in earlier versions of Tor,
+  including some that could affect reliability or correctness.
+
+  This is the first release candidate in the 0.3.3 series. If we find no
+  new bugs or regression here, then the first stable 0.3.3 release will
+  be nearly identical to this one.
+
+  o Major bugfixes (security, protover, voting):
+- Revise Rust implementation of protover to use a more memory-
+  efficient voting algorithm and corresponding data structures, thus
+  avoiding a potential memory-based DoS attack where specially
+  crafted protocol strings would expand to fill available memory.
+  Fixes bug 24031; bugfix on 0.3.3.1-alpha.
+
+  o Major bugfixes (performance, load balancing):
+- Directory authorities no longer vote in favor of the Guard flag
+  for relays without directory support. Starting in Tor
+  0.3.0.1-alpha, clients have been avoiding using such relays in the
+  Guard position, leading to increasingly broken load balancing for
+  the 5%-or-so of Guards that don't advertise directory support.
+  Fixes bug 22310; bugfix on 0.3.0.6.
+
+  o Minor feature (continuous integration):
+- Update the Travis CI configuration to use the stable Rust channel,
+  now that we have decided to require that. Closes ticket 25714.
+
+  o Minor features (config options):
+- Change the way the default value for MaxMemInQueues is calculated.
+  We now use 40% of the hardware RAM if the system has 8 GB RAM or
+  more. Otherwise we use the former value of 75%. Closes
+  ticket 24782.
+
+  o Minor features (geoip):
+- Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2
+  Country database. Closes ticket 25718.
+
+  o Minor bugfixes (client):
+- When using a listed relay as a bridge, and also using
+  microdescriptors, and considering that relay as a non-bridge in a
+  circuit, treat its microdescriptor as a valid source of
+  information about that relay. This change should prevent a non-
+  fatal assertion error. Fixes bug 25691; bugfix on 0.3.3.4-alpha.
+
+  o Minor bugfixes (controller):
+- Restore the correct operation of the RESOLVE command, which had
+  been broken since we added the ability to enable/disable DNS on
+  specific listener ports. Fixes bug 25617; bugfix on 0.2.9.3-alpha.
+
+  o Minor bugfixes (distribution, compilation, rust):
+- Build correctly when the rust dependencies submodule is loaded,
+  but the TOR_RUST_DEPENDENCIES environment variable is not set.
+  Fixes bug 25679; bugfix on 0.3.3.1-alpha.
+- Actually include all of our Rust source in our source
+  distributions. (Previously, a few of the files were accidentally
+  omitted.) Fixes bug 25732; bugfix on 0.3.3.2-alpha.
+
+  o Minor bugfixes (documentation):
+- Document that the PerConnBW{Rate,Burst} options will fall back to
+  their corresponding consensus parameters only if those parameters
+  are set. Previously we had claimed that these values would always
+  be set in the consensus. Fixes bug 25296; bugfix on 0.2.2.7-alpha.
+- Revert a misformatting issue in the ExitPolicy documentation.
+  Fixes bug 25582; bugfix on 0.3.3.1-alpha.
+
+  o Minor bugfixes (exit node DNS retries):
+- Re-attempt timed-out DNS queries 3 times before failure, since our
+  timeout is 5 seconds for them, but clients wait 10-15. Also allow
+  slightly more timeouts per resolver when an exit has multiple
+  resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
+
+  o Minor bugfixes (onion services):
+- Re-instate counting the client HSDir fetch circuits against the
+  MaxClientCircuitsPending rate limit. Fixes bug 24989; bugfix
+  on 0.3.3.1-alpha.
+- Remove underscores from the _HSLayer{2,3}Nodes options. This
+  expert-user configuration can now be enabled as HSLayer{2,3}Nodes.
+  Fixes bug 25581; bugfix on 0.3.3.1-alpha
+
+  o Code simplification and refactoring:
+- Move the list of default directory authorities to its own file.
+  Closes ticket 24854. Patch by "beastr0".
+
+  o Documentation (manpage, denial of service):
+- Provide more detail about the denial-of-service options, by
+  listing each mitigation and explaining how they relate. Closes
+  ticket 25248.
+
+
 Changes in version 0.3.3.4-alpha - 2018-03-29
   Tor 0.3.3.4-alpha includes various bugfixes for issues found during
   the alpha testing of earlier releases in its series. We are




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

2018-04-15 Thread nickm
commit 8da7fcccd67f5dc37acc904f628d94fb2827059d
Merge: a8482d127 3ee4c9b1f
Author: Nick Mathewson 
Date:   Sun Apr 15 15:41:10 2018 -0400

Merge branch 'maint-0.3.3'

"ours" to avoid version bump.

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


[tor-commits] [webwml/master] website: bump to 0.3.3.5-rc

2018-04-15 Thread nickm
commit 82bf1c1d2816ed5e0d2c92481a0db0c4817da71d
Author: Nick Mathewson 
Date:   Sun Apr 15 15:39:36 2018 -0400

website: bump to 0.3.3.5-rc
---
 Makefile | 2 +-
 include/versions.wmi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 09f7d37f..e212fc0e 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@
 # website component, and set it to needs_review.
 
 export STABLETAG=tor-0.3.2.10
-export DEVTAG=tor-0.3.3.4-alpha
+export DEVTAG=tor-0.3.3.5-rc
 
 WMLBASE=.
 SUBDIRS=docs eff projects press about download getinvolved donate 
docs/torbutton
diff --git a/include/versions.wmi b/include/versions.wmi
index ca422909..a4c56ebd 100644
--- a/include/versions.wmi
+++ b/include/versions.wmi
@@ -1,5 +1,5 @@
 0.3.2.10
-0.3.3.4-alpha
+0.3.3.5-rc
 
 maint-7.5
 

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


[tor-commits] [tor/release-0.3.3] Edit changelog for 0.3.3.5-rc

2018-04-15 Thread nickm
commit 420840434c33ca93a29596477eeda101f091
Author: Nick Mathewson 
Date:   Sun Apr 15 13:54:21 2018 -0400

Edit changelog for 0.3.3.5-rc
---
 ChangeLog | 101 +-
 1 file changed, 47 insertions(+), 54 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ed8f6ed8c..9a1b3610b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,29 +1,25 @@
-o Major bugfixes (performance, load balancing):
-
-Changes in version 0.3.3.5-rc - 2018-04-14
-  BLURB
+Changes in version 0.3.3.5-rc - 2018-04-15
+  Tor 0.3.3.5-rc fixes various bugs in earlier versions of Tor,
+  including some that could affect reliability or correctness.
 
-  - Directory authorities no longer vote in favor of the Guard flag for
-  relays that don't advertise directory support. Starting in Tor
-  0.3.0.1-alpha, Tor clients have been avoiding using such relays in the
-  Guard position, leading to increasingly broken load balancing for the
-  5%-or-so of Guards that don't advertise directory support. Fixes bug
-  22310; bugfix on 0.3.0.6.
+  This is the first release candidate in the 0.3.3 series. If we find no
+  new bugs or regression here, then the first stable 0.3.3 release will
+  be nearly identical to this one.
 
-  o Major bugfixes (protover, voting):
+  o Major bugfixes (security, protover, voting):
 - Revise Rust implementation of protover to use a more memory-
   efficient voting algorithm and corresponding data structures, thus
-  avoiding a potential (but small impact) DoS attack where specially
-  crafted protocol strings would expand to several potential
-  megabytes in memory. In the process, several portions of code were
-  revised to be methods on new, custom types, rather than functions
-  taking interchangeable types, thus increasing type safety of the
-  module. Custom error types and handling were added as well, in
-  order to facilitate better error dismissal/handling in outside
-  crates and avoid mistakenly passing an internal error string to C
-  over the FFI boundary. Many tests were added, and some previous
-  differences between the C and Rust implementations have been
-  remedied. Fixes bug 24031; bugfix on 0.3.3.1-alpha.
+  avoiding a potential memory-based DoS attack where specially
+  crafted protocol strings would expand to fill available memory.
+  Fixes bug 24031; bugfix on 0.3.3.1-alpha.
+
+  o Major bugfixes (performance, load balancing):
+- Directory authorities no longer vote in favor of the Guard flag
+  for relays without directory support. Starting in Tor
+  0.3.0.1-alpha, Tor clients have been avoiding using such relays in
+  the Guard position, leading to increasingly broken load balancing
+  for the 5%-or-so of Guards that don't advertise directory support.
+  Fixes bug 22310; bugfix on 0.3.0.6.
 
   o Minor feature (continuous integration):
 - Update the Travis CI configuration to use the stable Rust channel,
@@ -31,43 +27,30 @@ Changes in version 0.3.3.5-rc - 2018-04-14
 
   o Minor features (config options):
 - Change the way the default value for MaxMemInQueues is calculated.
-  We now use 0.4 * RAM if the system have 8 GB RAM or more, otherwise
-  we use the former value of 0.75 * RAM. Closes ticket 24782.
+  We now use 40% of the hardware RAM if the system has 8 GB RAM or
+  more. Otherwise we use the former value of 75%. Closes
+  ticket 24782.
 
   o Minor features (geoip):
 - Update geoip and geoip6 to the April 3 2018 Maxmind GeoLite2
   Country database. Closes ticket 25718.
 
-  o Minor bugfix (Exit node DNS retries):
-- Re-attempt timed-out DNS queries 3 times before failure, since our
-  timeout is 5 seconds for them, but clients wait 10-15. Also allow
-  slightly more timeouts per resolver before giving up on it in the
-  case where an exit has multiple resolvers configured. Fixes bug
-  21394; bugfix on 0.3.1.9.
-
   o Minor bugfixes (client):
 - When using a listed relay as a bridge, and also using
   microdescriptors, and considering that relay as a non-bridge in a
-  circuit, consider its microdescriptor as a valid source of
-  information about that relay. Fixes bug 25691; bugfix
-  on 0.3.3.4-alpha.
-
-  o Minor bugfixes (compilation, rust):
-- Build correctly when the rust dependencies submodule is loaded,
-  but the TOR_RUST_DEPENDENCIES environment variable is not set.
-  Fixes bug 25679; bugfix on 0.3.3.1-alpha.
-
-  o Minor bugfixes (configuration):
-- Remove undescores from the _HSLayer{2,3}Nodes options. This
-  expert-user configuration can now be enabled as HSLayer{2,3}Nodes.
-  Fixes bug 25581; bugfix on 0.3.3.1-alpha
+  circuit, treat its microdescriptor as a valid source of
+  information about that relay. This change should prevent a non-
+  fatal assertion error. Fixes bug 25691; bugfix on 0.3.3.4-alpha.
 
   o Minor b

[tor-commits] [tor/release-0.3.3] More small changelog edits

2018-04-15 Thread nickm
commit 81d71f0d41adf0d8beb0ef1f7f750f20636d5c50
Author: Nick Mathewson 
Date:   Sun Apr 15 15:10:57 2018 -0400

More small changelog edits
---
 ChangeLog | 13 ++---
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9a1b3610b..b4d58bd8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -16,9 +16,9 @@ Changes in version 0.3.3.5-rc - 2018-04-15
   o Major bugfixes (performance, load balancing):
 - Directory authorities no longer vote in favor of the Guard flag
   for relays without directory support. Starting in Tor
-  0.3.0.1-alpha, Tor clients have been avoiding using such relays in
-  the Guard position, leading to increasingly broken load balancing
-  for the 5%-or-so of Guards that don't advertise directory support.
+  0.3.0.1-alpha, clients have been avoiding using such relays in the
+  Guard position, leading to increasingly broken load balancing for
+  the 5%-or-so of Guards that don't advertise directory support.
   Fixes bug 22310; bugfix on 0.3.0.6.
 
   o Minor feature (continuous integration):
@@ -63,12 +63,11 @@ Changes in version 0.3.3.5-rc - 2018-04-15
 - Revert a misformatting issue in the ExitPolicy documentation.
   Fixes bug 25582; bugfix on 0.3.3.1-alpha.
 
-  o Minor bugfixes (Exit node DNS retries):
+  o Minor bugfixes (exit node DNS retries):
 - Re-attempt timed-out DNS queries 3 times before failure, since our
   timeout is 5 seconds for them, but clients wait 10-15. Also allow
-  slightly more timeouts per resolver before giving up on it in the
-  case where an exit has multiple resolvers configured. Fixes bug
-  21394; bugfix on 0.3.1.9.
+  slightly more timeouts per resolver when an exit has multiple
+  resolvers configured. Fixes bug 21394; bugfix on 0.3.1.9.
 
   o Minor bugfixes (onion services):
 - Re-instate counting the client HSDir fetch circuits against the

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


[tor-commits] [translation/tails-misc] Update translations for tails-misc

2018-04-15 Thread translation
commit 660a1c8fdf2a9baa83c1c2d831891d3efd3368ef
Author: Translation commit bot 
Date:   Sun Apr 15 16:46:40 2018 +

Update translations for tails-misc
---
 ta.po | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ta.po b/ta.po
index 3e89702ed..c5c0eed3f 100644
--- a/ta.po
+++ b/ta.po
@@ -10,8 +10,8 @@ msgstr ""
 "Project-Id-Version: The Tor Project\n"
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2018-03-12 19:03+0100\n"
-"PO-Revision-Date: 2018-04-12 19:07+\n"
-"Last-Translator: Sivarajah Bagerathan \n"
+"PO-Revision-Date: 2018-04-15 16:40+\n"
+"Last-Translator: Bala Subramaniyan \n"
 "Language-Team: Tamil (http://www.transifex.com/otf/torproject/language/ta/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"

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