Commit Graph

3456 Commits

Author SHA1 Message Date
Ian Jackson
e2f59b2e26 specify how to reenable padding
Arti has a "dormant mode" which means that it might need to reenable
channel padding after hving disabled it.

How to do this, paarticularly in the face of possibly changing
consensus parameters, is an edge case.
2022-07-08 12:52:47 +01:00
David Goulet
bb7eba9b76 prop327: Change cell extension type value
Congestion control is 0x01 at this moment.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-06-29 12:04:21 -04:00
David Goulet
d943f8a338 prop327: Missing field due to typo
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-06-29 10:22:06 -04:00
Mike Perry
dabadcc9d6 Update Prop#324 clock heuristic spec for bug 40626. 2022-06-21 20:26:37 +00:00
Nick Mathewson
a5a8899898 Merge remote-tracking branch 'tor-gitlab/mr/72' 2022-06-10 10:21:27 -04:00
David Goulet
e787831689 prop339: Unify the address format into one object
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-06-07 09:47:07 -04:00
Roger Dingledine
b29e64e561 proof-reading on prop 266 2022-06-06 23:47:18 -04:00
Roger Dingledine
f9e386e426 fix a trivial typo 2022-06-06 23:46:53 -04:00
David Goulet
16d536e9ff prop339: Remove the nul term requirement for hostname
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-06-06 13:24:22 -04:00
nusenu
7e505e6516 add info on where to find hashed bridge fingerprin
as suggested by meskio

make clear that the ed25519 file is not relevant for bridges
2022-06-01 18:04:52 +00:00
Nick Mathewson
c6cf0ad5e9 Reindex for prop340. 2022-05-31 12:48:43 -04:00
Nick Mathewson
64f356739e Merge branch 'packed_and_fragmented' 2022-05-31 12:48:25 -04:00
Nick Mathewson
b77c59b579 Updates based on feedback from dgoulet 2022-05-31 12:46:30 -04:00
David Goulet
988369a95b prop339: Remove header from CONNECTED_UDP cell
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-31 10:29:13 -04:00
David Goulet
c619a19c5e tor-spec: Reserve relay command and protover for prop339
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-31 10:24:30 -04:00
David Goulet
ee0c415f8e prop339: Move to Accepted state
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-31 10:12:06 -04:00
nusenu
674befc327 add hashed-bridge-rsa-fingerprint.txt
since contactinfo for bridges is also public now, 
we add support for bridges
2022-05-29 10:07:50 +00:00
Nick Mathewson
ffceda4ac2 Merge branch 'netflow_clarification' 2022-05-27 14:26:02 -04:00
Mike Perry
1272bd0db5 Describe a potential (rare) distringuisher in idle circuits.
In the rare event that a user resumes activity after a period between the
"reduced connection timeout" and the full value, and that user has not set
reduced padding, this is a distinguisher on circuits that have been held idle
and open for that long.
2022-05-27 14:25:03 -04:00
Nick Mathewson
5536d29700 Padding spec: describe behavior with queues.
(Briefly: "Sent" is sometimes unobservable, so we should use
"queued" as a reasonable proxy.)
2022-05-27 14:25:03 -04:00
Nick Mathewson
836a5fb964 Try to document the many uses of nf_conntimeout_clients.
(This is largely determined by reverse-engineering tor's current
behavior.)
2022-05-27 14:25:03 -04:00
Nick Mathewson
9aad630153 Clarify who sends padding negotiation and when.
Also explain what should happen if those assumptions are violated.
2022-05-27 14:25:03 -04:00
Nick Mathewson
e35a770882 netflow padding: clarify directionality and padding behavior.
The main points here are:

  * We assume that flow measurements are unidirectional, so
    each side must make sure to send traffic.
  * So we restart our timer when sending, only.
  * We restart the timer whether we're sending real traffic or
    padding traffic.
  * The logic for `max(X,X)` timing  applies even though we aren't
    using a bidirectional trigger for timing.
2022-05-27 14:25:03 -04:00
Nick Mathewson
0e69f2580e New proposal for packed and fragmented cells. 2022-05-18 10:49:22 -04:00
David Goulet
e80e874964 prop275: Merged in 048 now
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-16 08:54:49 -04:00
David Goulet
391d3cc6c0 prop339: Rename relay command and minor fixes
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-09 10:54:32 -04:00
David Goulet
2437d19ccf attic: Move onion service v2 spec to attic
Deprecated. Not supported by the network anymore.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-05 11:44:26 -04:00
David Goulet
58df78f92c tor-spec: Add relay command values of flow control cells
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-05 10:17:17 -04:00
David Goulet
7f36b97110 tor-spec: Add FlowCtrl=2 for congestion control
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-04 14:27:47 -04:00
David Goulet
cdc9df7aa7 tor-spec: Add Relay=4, ntorv3 handshake support
See proposal 332 for more details.

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-04 14:25:20 -04:00
David Goulet
0b19ef1ba3 prop339: Fix couple typos
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-05-04 13:36:29 -04:00
Nick Mathewson
6c19c28090 Draft proposal for UDP over Tor.
This has already been discussed somewhat on a pad; now we can move
to an MR and fill in the missing parts.
2022-05-04 12:47:34 -04:00
Nick Mathewson
d24db4a752 Update the status of several proposals
(Based on network team discussion, 28 April 2022)
2022-04-29 13:54:34 -04:00
Richard Pospesel
7be12aaceb fix typo in ADD_ONION V3Key definition (ed25519 -> x25519)
resolves #116
2022-04-26 16:20:14 +00:00
David Goulet
c00fea1e4d prop328: Update proposal to reflect implementation
Closes #113

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-04-22 09:28:06 -04:00
Alexander Færøy
26a2dc7470 Merge remote-tracking branch 'nickm/prop275' 2022-03-24 17:15:57 +00:00
Georg Koppen
ca33a7ca1a
DNS timeouts are not causing overload anymore
Closes: #81.
2022-03-16 12:48:54 +00:00
David Goulet
0c25d7a89f param: Changes from nickm's suggestion
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-03-16 08:22:16 -04:00
David Goulet
1d12f0e041 param: Exit DNS parameters from tor#40312
Related to #40312

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-03-15 16:08:00 -04:00
David Goulet
379f8a79ff param: Merge duplicate sections
Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-03-15 16:02:55 -04:00
David Goulet
45e8919f54 Merge branch 'tor-gitlab/mr/65' 2022-03-15 15:20:15 -04:00
David Goulet
3a97b976ec param: Add overload onionskin ntor parameters
Related to https://gitlab.torproject.org/tpo/core/tor/-/issues/40560

Signed-off-by: David Goulet <dgoulet@torproject.org>
2022-03-15 15:20:05 -04:00
David Goulet
80761a861b Merge branch 'tor-gitlab/mr/66' 2022-03-14 15:37:24 -04:00
David Goulet
48e063fa17 Merge branch 'tor-gitlab/mr/64' 2022-03-14 15:35:12 -04:00
Mike Perry
86bbf141aa Add XON/XOFF status fields to STREAM event. 2022-03-14 17:57:54 +00:00
Mike Perry
e38527978a Add congestion control fields to CIRC_BW 2022-03-14 17:57:54 +00:00
Nick Mathewson
3b8a1436c9 Proposal 338: Use an 8-byte timestamp in NETINFO cells 2022-03-14 12:43:35 -04:00
David Fifield
ec77ae643f Remove comma from STATUS format specification. 2022-02-28 07:38:36 +00:00
Nick Mathewson
80e9d9e7db Merge remote-tracking branch 'tor-gitlab/mr/60' 2022-02-24 10:54:05 -05:00
Mike Perry
71c326ae93 Prop 324: Updates for Negotiation and Simulation Testing
Changes:
  - Rework exit negotiation logic a bit
  - Specify using ntorv3 with extension fields for negotiation
  - Clients only request congestion control; exits and services
    control sendme_inc
  - Rework onion service negotiation for descriptor-controlled
    FlowCtrl protover and sendme_inc value
  - Add bounds checks on sendme_inc for clients
  - Update parameter values based on Shadow results
  - Improvements to TOR_VEGAS algorithm based on simulation testing
  - Additional consensus parameters for RTT N-EWMA smoothing and
    TOR_VEGAS queue use caps
  - Clarify N_EWMA smoothing, and relocate it to its own sub-section.
  - TOR_VEGAS now defaults to CWND/RTT BDP estimator
  - Minor TOR_VEGAS alg bugfixes
  - Add a 'delta' parameter to TOR_VEGAS for steady-state backoff
  - Consensus param update notes and param range fixes.
  - Add glossary of common congestion control acronyms
  - Misc clarifications
2022-02-22 20:18:12 +00:00