aboutsummaryrefslogtreecommitdiff
path: root/spec/address-spec.md
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-10-14 19:10:56 -0400
committerNick Mathewson <nickm@torproject.org>2023-10-14 19:10:56 -0400
commit4ebef6db0a7c4acddba4192f836592cfe8f421ee (patch)
tree90ffb787499f7bd7249652bbf87ca5fb1590aec2 /spec/address-spec.md
parent81e888dca8d971948eff15e3acc4e61cbdfa1b99 (diff)
downloadtorspec-4ebef6db0a7c4acddba4192f836592cfe8f421ee.tar.gz
torspec-4ebef6db0a7c4acddba4192f836592cfe8f421ee.zip
Enforce the rule that no document has multiple top-level headings.
Diffstat (limited to 'spec/address-spec.md')
-rw-r--r--spec/address-spec.md20
1 files changed, 5 insertions, 15 deletions
diff --git a/spec/address-spec.md b/spec/address-spec.md
index c3c779c..f3b0e3c 100644
--- a/spec/address-spec.md
+++ b/spec/address-spec.md
@@ -1,18 +1,8 @@
-```text
- Special Hostnames in Tor
- Nick Mathewson
-
-Table of Contents
-
- 1. Overview
- 2. .exit
- 3. .onion
- 4. .noconnect
-```
+# Special Hostnames in Tor
<a id="address-spec.txt-1"></a>
-# Overview
+## Overview
Most of the time, Tor treats user-specified hostnames as opaque: When
the user connects to \<www.torproject.org>, Tor picks an exit node and uses
@@ -28,7 +18,7 @@ option or the MAPADDRESS control command.
<a id="address-spec.txt-2"></a>
-# .exit
+## .exit
```text
SYNTAX: [hostname].[name-or-digest].exit
@@ -64,7 +54,7 @@ to potential application-level attacks.
<a id="address-spec.txt-3"></a>
-# .onion
+## .onion
```text
SYNTAX: [digest].onion
@@ -97,7 +87,7 @@ is supported in Tor 0.2.4.10-alpha and later.
<a id="address-spec.txt-4"></a>
-# .noconnect
+## .noconnect
SYNTAX: \[string\].noconnect