@@ -66,7 +66,7 @@ route injection, /etc/hosts modification and so on.
6666#### Proxy specifications
6767
6868SSLproxy supports three different types of proxy specifications, or proxyspecs
69- in short, which can be in divert or split style.
69+ for short, which can be in divert or split style.
7070
7171- Command line proxyspecs passed on the command line
7272- One line proxyspecs in configuration files
@@ -80,17 +80,17 @@ The syntax of command line proxyspecs is as follows:
8080 [(targetaddr targetport|sni sniport|natengine)]
8181
8282The syntax of one line proxyspecs is the same as the command line proxyspecs,
83- except for the leading ` Proxyspec ` keyword:
83+ except for the leading ` ProxySpec ` keyword:
8484
85- Proxyspec (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
85+ ProxySpec (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
8686 listeningaddr listeningport
8787 [up:divertport [ua:divertaddr ra:returnaddr]]
8888 [(targetaddr targetport|sni sniport|natengine)]
8989
9090The syntax of structured proxyspecs is as follows, and they can configure
9191connection options too:
9292
93- Proxyspec {
93+ ProxySpec {
9494 Proto (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
9595 Addr listeningaddr # inline
9696 Port listeningport # comments
@@ -134,13 +134,15 @@ connection options too:
134134 ValidateProto (yes|no)
135135 MaxHTTPHeaderSize 8192
136136
137+ # The DivertUsers, PassUsers, and PassSite options will be deprecated
137138 DivertUsers userlist
138139 PassUsers userlist
139-
140140 PassSite rules
141141
142142 Define $macro valuelist
143- (Divert|Split|Pass|Block|Match) filtering rules
143+
144+ (Divert|Split|Pass|Block|Match) one line filtering rules
145+ FilterRule {...} structured filtering rules
144146 }
145147
146148For example, given the following command line proxyspec:
0 commit comments