Commit Graph

3020 Commits

Author SHA1 Message Date
teor
8cc8bff106
Proposals: Run reindex.py 2020-02-11 11:58:01 +10:00
teor
a0492dd33c
Prop 311 & 312: Update monitoring based on 313
Keep the monitoring summaries in proposals 311 and 312 in sync with
proposal 313.

Part of 33159.
2020-02-11 09:17:19 +10:00
teor
e31ded5bd7
Prop 313: Update IPv6 Connection Stats
We currently have enough relays reporting connection stats,
but these reports might be a bug.

Make the ConnDirectionStatistics consensus paramter into an
optional change, depending on the outcome of the bug.

Part of 33159.
2020-02-11 09:17:14 +10:00
teor
e9a888f01a
Prop 313: Add IPv6 bandwidth statistics safety
Also make BandwidthStatistics an optional change.

Part of 33159.
2020-02-11 09:12:12 +10:00
teor
91356f5db0
Prop 313: Only Script, No Tor Logs
Remove the tor logs from the proposal, only write a script.
(Some of these calculations are medium-term, and are most relevent
during Sponsor 55.)

Part of 33159.
2020-02-11 08:39:28 +10:00
teor
64c2ef85c5
Prop 313: Fix title
Part of 33159.
2020-02-10 16:58:29 +10:00
teor
27de9d175b
Prop 313: Relay IPv6 Statistics - Initial Draft
Related to tickets: 33159 (proposal), 33051 and 33052 (implementation).
2020-02-10 16:11:14 +10:00
teor
638a9276d8
Prop 311 & 312: Remove TODOs on Prop 313 link
Part of 33159.
2020-02-10 12:50:25 +10:00
teor
aa53246772
Prop 312: Clarify IPv6 Directory Failures
Part of 33073.
2020-02-10 12:49:43 +10:00
teor
58000de4fa
Prop 311: Add Optional IPv6 Bandwidth Self-Tests
Add an optional change that makes relays do bandwidth self-tests over
IPv6.

This change increases the connection and bandwidth IPv6 statistics.
Related to proposal 313, which covers IPv6 statistics.

Related to 33159.
2020-02-10 12:46:12 +10:00
teor
01105c2543
Prop 311 & 312: Some changes affect IPv6 stats
When a change increases an IPv6 statistic, mention the impact in
proposals 311 and 312.

Related to proposal 313, which covers IPv6 statistics.

Part of 33159.
2020-02-10 12:45:49 +10:00
juga0
7d8b4bcffb bandwidth-file: Add tor_version header
Part of #30196.
2020-02-09 18:52:43 +00:00
teor
ec92bbba5d
proposals: Update reindex.py for Python 3
Add the standard future statements, so Python 2 will use some
Python 3 features.

Open files as UTF-8. As a consequence of this change, proposals
must be encoded in UTF-8.

Closes ticket 33164.
2020-02-06 11:01:27 +10:00
teor
d897e4de4a
proposals: Make reindex use path for python
Some people don't have their best python in /usr/bin.

Other people only have python in /usr/local/bin, or other places.
2020-02-06 10:50:18 +10:00
teor
7ba6ab4915
proposals: Reindex 2020-02-06 10:50:15 +10:00
teor
359f68b7e7
Prop 311: Fix section numbers
Part of 24404.
2020-02-06 10:50:11 +10:00
Nick Mathewson
e515a69c00 Merge remote-tracking branch 'tor-github/pr/104' 2020-02-05 08:53:09 -05:00
teor
fd2ac75e66
Prop 312: Improve Title
Part of 33073.
2020-02-05 22:24:32 +10:00
teor
ad1b25cb54
Merge branch 'prop312-squashed' 2020-02-05 22:07:06 +10:00
teor
c09bbe9917
Prop 312: Update IPv6 Privacy Extensions
As suggested by s7r.

Part of 33073.
2020-02-05 22:06:40 +10:00
teor
34fb76cd5f
Prop 312: Add s7r as an author
Part of 33073.
2020-02-05 22:06:33 +10:00
teor
da1b248e2e
Prop 312: Add State Management
Document tor's current address detection state management, and our
new state management for IPv4 and IPv6 address detection.

As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:06:30 +10:00
teor
492549864e
Prop 312: Add libevent DNS API
As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:06:00 +10:00
teor
1f9f3986d1
Prop 312: Add Ignore Addresses on Inbound Conns
Add an optional change.

Part of 33073.
2020-02-05 22:05:53 +10:00
teor
13e8c8c231
Prop 312: Define an IPv6 sybil block
As suggested by Nick Mathewson and s7r.

Part of 33073.
2020-02-05 22:05:31 +10:00
teor
89e7222f65
Prop 312: Require explicit authority addresses
Only use explicit IPv4 and IPv6 address literals, configured in Address
or ORPort lines, for directory authority addresses.

As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:05:07 +10:00
teor
55d3beb6c2
Prop 312: Make bridge changes clearer
Part of 33073.
2020-02-05 22:05:00 +10:00
teor
e1815226f1
Prop 312: Avoid some address detection state
As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:04:47 +10:00
teor
043ac7d7aa
Prop 312: Rewrite authenticated address detection
All these changes are optional in the proposal:
* Add the NETINFO cell address detection method
  (as suggested by Nick Mathewson)
* Defer decisions about ignoring some addresses, or using those
  addresses as the lowest priority method
* Simplify the load-balancing design

Part of 33073.
2020-02-05 22:04:10 +10:00
teor
7269d17c6f
Prop 312: Improve AddressDisableIPv6
Explain why we might need to turn IPv6 address detection off.

Part of 33073.
2020-02-05 22:04:04 +10:00
teor
6e7d4abd1f
Prop 312: Use Authority IPs for the Socket Method
Add an optional section, where we propose using a directory authority
IPv4 and IPv6 address for socket-based local interface address
detection.

As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:03:50 +10:00
teor
f090a2233c
Prop 312: Explain address resolution using sockets
As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:03:33 +10:00
teor
fd4716f1ce
Prop 312: Improve interface address method
Explain why some relays may not have any publicly routable interface
addresses.

Part of 33073.
2020-02-05 22:03:26 +10:00
teor
0159850437
Prop 312: Remove the DirPort method
It's unlikely to be useful for most configurations.

As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:03:12 +10:00
teor
f12ddad6bf
Prop 312: Explain how to choose addresses
Explain how we choose between multiple addresses, in a list, and over
time.

Part of 33073.
2020-02-05 22:03:05 +10:00
teor
7a55bf1662
Prop 312: Explain why untrusted addresses are bad
And describe a potential attack that gives a relay the wrong address,
then monitors its traffic.

As suggested by Nick Mathewson.

Part of 33073.
2020-02-05 22:02:52 +10:00
teor
8a9ea6f224
Prop 312: Explain public IPv6 addresses
Since relays put the discovered IPv6 address in their descriptor,
it needs to be publicly routable. (If the relay is on the public
network.)

As suggested by Nick Mathewson.

Also fix inconsistent use of directory authority, directory server,
and directory mirror.

Part of 33073.
2020-02-05 22:02:33 +10:00
teor
66d08ba358
Prop 312: Add an early extends section
Add an optional change to support clients extending as soon as
possible, after a relay restarts.

Part of 33073.
2020-02-05 22:02:26 +10:00
teor
534114e2c3
Prop 312: Improve auto IPv6 ORPort section
Add information about binding to IPv4 and IPv6.

Also do a slight reformat.

Part of 33073.
2020-02-05 22:02:22 +10:00
teor
77da452bd6
Prop 312: Fix a heading
Part of 33073.
2020-02-05 22:02:18 +10:00
teor
8902ece4fe
Prop 312: Add info on IPv6 address privacy
And why it shouldn't affect tor relays, at least with the default
settings.

As suggested by s7r.

Part of 33073.
2020-02-05 22:02:03 +10:00
teor
615ebe5fd4
Prop 312: Explain default outbound address better
Part of 33073.
2020-02-05 22:01:57 +10:00
teor
0e20e5a067
Prop 312: Add an alternative IPv6 disable design
And explain why we didn't use the existing ORPort IPv4Only flag to
disable IPv6 address resolution.

Part of 33073.
2020-02-05 22:01:54 +10:00
teor
f1af76a78a
Prop 312: Explain private address handling better
Part of 33073
2020-02-05 22:01:48 +10:00
teor
0cafa9dfba
Prop 312: Reformat references
Part of 33073.
2020-02-05 22:01:45 +10:00
teor
ef7838eab2
Prop 312: Relay Auto IPv6 Addreess - Initial Draft
Related tickets: 33073 (proposal), 5940 (implementation).
2020-02-05 22:01:25 +10:00
teor
5e79a7dd21
Prop 311: Allow for auto-configured IPv6 ORPorts
Part of 24404.
2020-02-05 21:52:58 +10:00
teor
f7fb789de4
Prop 311: Rewrite and re-order tor-spec changes
We want to allow relays to upgrade to trying both addresses in an
EXTEND2 cell, without requiring a new protocol version.

The spec documents the planned "choose at random" behaviour, but
allows relays to try both IPv4 and IPv6 in future.

Part of 24404.
2020-02-05 21:52:55 +10:00
teor
cdc5a152aa
Prop 311: Reformat references
Part of 24404.
2020-02-05 21:52:52 +10:00
teor
6eee2ca426
Prop 311: Avoid depending on exact extend details
We don't want to depend on extends preferring IPv4 or IPv6,
or the exact extend implementation, if we don't have to.

Part of 24404.
2020-02-05 21:52:49 +10:00