diff options
author | Nick Mathewson <nickm@torproject.org> | 2023-10-13 18:07:26 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2023-10-13 18:07:26 -0400 |
commit | 7a370ea5302b7c36eb8586fbda603419fb74ec2e (patch) | |
tree | f3ed1c0b2f53d123c48ac1038be9daaf7f4b7040 /spec/pt-spec | |
parent | f79272ef1f774b3788b74a3fe4fef75095dfae06 (diff) | |
download | torspec-7a370ea5302b7c36eb8586fbda603419fb74ec2e.tar.gz torspec-7a370ea5302b7c36eb8586fbda603419fb74ec2e.zip |
Add backticks to more things that look like html.
Diffstat (limited to 'spec/pt-spec')
3 files changed, 10 insertions, 10 deletions
diff --git a/spec/pt-spec/pluggable-transport-client-per-connection-arguments.md b/spec/pt-spec/pluggable-transport-client-per-connection-arguments.md index 869fb59..90becab 100644 --- a/spec/pt-spec/pluggable-transport-client-per-connection-arguments.md +++ b/spec/pt-spec/pluggable-transport-client-per-connection-arguments.md @@ -10,7 +10,7 @@ as part of the "SMETHOD" message. On the client side, arguments are passed via the authentication fields that are part of the SOCKS protocol. -First the "<Key>=<Value>" formatted arguments MUST be escaped, +First the "`<Key>=<Value>`" formatted arguments MUST be escaped, such that all backslash, equal sign, and semicolon characters are escaped with a backslash. diff --git a/spec/pt-spec/pluggable-transport-configuration-environment.md b/spec/pt-spec/pluggable-transport-configuration-environment.md index 0fd9571..19bd351 100644 --- a/spec/pt-spec/pluggable-transport-configuration-environment.md +++ b/spec/pt-spec/pluggable-transport-configuration-environment.md @@ -200,7 +200,7 @@ forwarding is done externally. The `<address>:<port>` combination MUST be an IP address supported by `bind()`, and MUST NOT be a host name. -Applications MUST NOT set more than one <address>:<port> pair +Applications MUST NOT set more than one `<address>:<port>` pair per PT name. If there is no specific `<address>:<port>` combination to be diff --git a/spec/pt-spec/pluggable-transport-to-parent-process-communication.md b/spec/pt-spec/pluggable-transport-to-parent-process-communication.md index 985bcb5..21fd18b 100644 --- a/spec/pt-spec/pluggable-transport-to-parent-process-communication.md +++ b/spec/pt-spec/pluggable-transport-to-parent-process-communication.md @@ -83,7 +83,7 @@ respond with an error message and terminate. The "ENV-ERROR" message is used to signal the PT proxy's failure to parse the configuration environment variables (3.2). -The <ErrorMessage> SHOULD consist of a useful error message +The `<ErrorMessage>` SHOULD consist of a useful error message that can be used to diagnose and correct the root cause of the failure. @@ -111,7 +111,7 @@ PROXY DONE The "PROXY DONE" message is used to signal the PT proxy's acceptance of the upstream proxy specified by "TOR_PT_PROXY". -PROXY-ERROR <ErrorMessage> +`PROXY-ERROR <ErrorMessage>` The "PROXY-ERROR" message is used to signal that the upstream proxy is malformed/unsupported or otherwise unusable. @@ -130,7 +130,7 @@ and initialize the listeners. For each transport initialized, the PT proxy reports the listener status back to the parent via messages to stdout. -CMETHOD <transport> <'socks4','socks5'> <address:port> +`CMETHOD <transport> <'socks4','socks5'> <address:port>` The "CMETHOD" message is used to signal that a requested PT transport has been launched, the protocol which the parent @@ -139,9 +139,9 @@ and port that the PT transport's forward proxy is listening on. Example: -CMETHOD trebuchet socks5 127.0.0.1:19999 +`CMETHOD trebuchet socks5 127.0.0.1:19999` -CMETHOD-ERROR <transport> <ErrorMessage> +`CMETHOD-ERROR <transport> <ErrorMessage>` The "CMETHOD-ERROR" message is used to signal that requested PT transport was unable to be launched. @@ -186,7 +186,7 @@ in "TOR_PT_CLIENT_TRANSPORTS" and initialize the listeners. For each transport initialized, the PT proxy reports the listener status back to the parent via messages to stdout. -SMETHOD <transport> <address:port> [options] +`SMETHOD <transport> <address:port> [options]` The "SMETHOD" message is used to signal that a requested PT transport has been launched, the protocol which will be @@ -202,7 +202,7 @@ per-transport information back to the parent process. The currently recognized 'options' are: -ARGS:[<Key>=<Value>,]+[<Key>=<Value>] +`ARGS:[<Key>=<Value>,]+[<Key>=<Value>]` ```text The "ARGS" option is used to pass additional key/value @@ -264,7 +264,7 @@ The format of the message: `LOG SEVERITY=Severity MESSAGE=Message` The SEVERITY value indicate at which logging level the message applies. -The accepted values for <Severity> are: error, warning, notice, info, debug +The accepted values for `<Severity>` are: error, warning, notice, info, debug The MESSAGE value is a human readable string formatted by the PT. The `<Message>` contains the log message which can be a String or CString (see |