Fix manual formatting

Few issues...

  * Malformed ReducedExitPolicy, causing brackets to appear.

  * ExitPolicyDefault wasn't actually listed, instead it munged the description
    into the ExitPolicy description.

  * Extra plus signs in the ExitPolicy and ReducedExitPolicy entries. After an
    hour of struggling with asciidoc couldn't figure out how to format it as
    'paragraph => example => paragraph with same indentation' so just
    rearranging the ExitPolicy entry.

    Patches welcome if someone strongly prefers having the paragraph after the
    example.

https://trac.torproject.org/projects/tor/ticket/24147
This commit is contained in:
Damian Johnson 2017-11-05 12:21:28 -08:00
parent 9f650b24e9
commit 3563a2c819

View File

@ -1763,8 +1763,15 @@ is non-zero):
write your IPv6 rules using accept6/reject6 \*6, and your IPv4 rules using write your IPv6 rules using accept6/reject6 \*6, and your IPv4 rules using
accept/reject \*4. If you want to \_replace_ the default exit policy, end accept/reject \*4. If you want to \_replace_ the default exit policy, end
your exit policy with either a reject \*:* or an accept \*:*. Otherwise, your exit policy with either a reject \*:* or an accept \*:*. Otherwise,
you're \_augmenting_ (prepending to) the default exit policy. The default you're \_augmenting_ (prepending to) the default exit policy. +
exit policy is: + +
If you want to use a reduced exit policy rather than the default exit
policy, set "ReducedExitPolicy 1". If you want to _replace_ the default
exit policy with your custom exit policy, end your exit policy with either
a reject *:* or an accept *:*. Otherwise, youre _augmenting_ (prepending
to) the default or reduced exit policy. +
+
The default exit policy is:
reject *:25 reject *:25
reject *:119 reject *:119
@ -1776,15 +1783,9 @@ is non-zero):
reject *:6346-6429 reject *:6346-6429
reject *:6699 reject *:6699
reject *:6881-6999 reject *:6881-6999
accept *:* + accept *:*
+
If you want to use a reduced exit policy rather than the default exit
policy, set "ReducedExitPolicy 1". If you want to _replace_ the default
exit policy with your custom exit policy, end your exit policy with either
a reject *:* or an accept *:*. Otherwise, youre _augmenting_ (prepending
to) the default or reduced exit policy.
[[ExitPolicyDefault]]:: [[ExitPolicyDefault]] **ExitPolicyDefault**::
Since the default exit policy uses accept/reject *, it applies to both Since the default exit policy uses accept/reject *, it applies to both
IPv4 and IPv6 addresses. IPv4 and IPv6 addresses.
@ -1806,7 +1807,7 @@ is non-zero):
to disclose. to disclose.
(Default: 0) (Default: 0)
[[ReducedExitPolicy] **ReducedExitPolicy** **0**|**1**:: [[ReducedExitPolicy]] **ReducedExitPolicy** **0**|**1**::
If set, use a reduced exit policy rather than the default one. + If set, use a reduced exit policy rather than the default one. +
+ +
The reduced exit policy is an alternative to the default exit policy. It The reduced exit policy is an alternative to the default exit policy. It
@ -1895,8 +1896,8 @@ is non-zero):
accept *:19638 accept *:19638
accept *:50002 accept *:50002
accept *:64738 accept *:64738
reject *:* + reject *:*
+
(Default: 0) (Default: 0)
[[IPv6Exit]] **IPv6Exit** **0**|**1**:: [[IPv6Exit]] **IPv6Exit** **0**|**1**::