Add missing FilterRule option to proxyspec documentation

pull/48/head
Soner Tari 3 years ago
parent dd4975690e
commit 700a901e29

@ -66,7 +66,7 @@ route injection, /etc/hosts modification and so on.
#### Proxy specifications
SSLproxy supports three different types of proxy specifications, or proxyspecs
in short, which can be in divert or split style.
for short, which can be in divert or split style.
- Command line proxyspecs passed on the command line
- One line proxyspecs in configuration files
@ -80,9 +80,9 @@ The syntax of command line proxyspecs is as follows:
[(targetaddr targetport|sni sniport|natengine)]
The syntax of one line proxyspecs is the same as the command line proxyspecs,
except for the leading `Proxyspec` keyword:
except for the leading `ProxySpec` keyword:
Proxyspec (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
ProxySpec (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
listeningaddr listeningport
[up:divertport [ua:divertaddr ra:returnaddr]]
[(targetaddr targetport|sni sniport|natengine)]
@ -90,7 +90,7 @@ except for the leading `Proxyspec` keyword:
The syntax of structured proxyspecs is as follows, and they can configure
connection options too:
Proxyspec {
ProxySpec {
Proto (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
Addr listeningaddr # inline
Port listeningport # comments
@ -134,13 +134,15 @@ connection options too:
ValidateProto (yes|no)
MaxHTTPHeaderSize 8192
# The DivertUsers, PassUsers, and PassSite options will be deprecated
DivertUsers userlist
PassUsers userlist
PassSite rules
Define $macro valuelist
(Divert|Split|Pass|Block|Match) filtering rules
(Divert|Split|Pass|Block|Match) one line filtering rules
FilterRule {...} structured filtering rules
}
For example, given the following command line proxyspec:

@ -102,7 +102,7 @@ access point (e.g. using hostap mode), physical recabling, malicious VLAN
reconfiguration or route injection, /etc/hosts modification and so on.
.SH Proxy specifications
SSLproxy supports three different types of proxy specifications, or proxyspecs
in short, which can be in divert or split style.
for short, which can be in divert or split style.
.LP
- Command line proxyspecs passed on the command line
- One line proxyspecs in configuration files
@ -116,9 +116,9 @@ The syntax of command line proxyspecs is as follows:
[(targetaddr targetport|sni sniport|natengine)]
.LP
The syntax of one line proxyspecs is the same as the command line proxyspecs,
except for the leading Proxyspec keyword:
except for the leading ProxySpec keyword:
.LP
Proxyspec (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
ProxySpec (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
listeningaddr listeningport
[up:divertport [ua:divertaddr ra:returnaddr]]
[(targetaddr targetport|sni sniport|natengine)]
@ -126,7 +126,7 @@ Proxyspec (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
The syntax of structured proxyspecs is as follows, and they can configure
connection options too:
.LP
Proxyspec {
ProxySpec {
Proto (tcp|ssl|http|https|pop3|pop3s|smtp|smtps|autossl)
Addr listeningaddr # inline
Port listeningport # comments
@ -170,13 +170,15 @@ Proxyspec {
ValidateProto (yes|no)
MaxHTTPHeaderSize 8192
# The DivertUsers, PassUsers, and PassSite options will be deprecated
DivertUsers userlist
PassUsers userlist
PassSite rules
Define $macro valuelist
(Divert|Split|Pass|Block|Match) filtering rules
(Divert|Split|Pass|Block|Match) one line filtering rules
FilterRule {...} structured filtering rules
.br
}
.LP

@ -569,7 +569,9 @@ PassSite
.br
Define
.br
(Divert|Split|Pass|Block|Match) filtering rules
(Divert|Split|Pass|Block|Match) one line filtering rules
.br
FilterRule {...} structured filtering rules
.br
\fB}\fR
.br

Loading…
Cancel
Save