|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Sample configuration for sslproxy v0.9.2
|
|
|
|
|
# Sample configuration for sslproxy v0.9.3
|
|
|
|
|
#
|
|
|
|
|
# Use the -f command line option to start sslproxy with a config file.
|
|
|
|
|
# See sslproxy.conf(5) and sslproxy(1) for documentation.
|
|
|
|
@ -266,12 +266,12 @@ PassUsers admin
|
|
|
|
|
# Set divert or split mode of operation
|
|
|
|
|
# Not equivalent to the command line -n option.
|
|
|
|
|
# Applied to the proxyspecs defined after it, and structured proxyspecs can override it.
|
|
|
|
|
# Note that if the arg is not yes|no, this is assumed to be a Divert filter rule.
|
|
|
|
|
# Note that if the arg is not yes|no, it is assumed to be a Divert filter rule.
|
|
|
|
|
# (default: yes)
|
|
|
|
|
#Divert yes
|
|
|
|
|
|
|
|
|
|
# Passthrough sites
|
|
|
|
|
# The PassSite option is a special form of Pass filter rule
|
|
|
|
|
# The PassSite option is a special form of the Pass filter rule
|
|
|
|
|
# PassSite rules can be written as Pass filter rules, see filter rule examples
|
|
|
|
|
# PassSite rules will be deprecated in favor of filter rules in the future
|
|
|
|
|
# site[*] [(clientaddr|user|*) [description desc]]
|
|
|
|
@ -288,7 +288,7 @@ PassUsers admin
|
|
|
|
|
#Include /etc/sslproxy/proxyspecs.conf
|
|
|
|
|
|
|
|
|
|
# Define macro to be used in filtering rules. Macro names must start with a $
|
|
|
|
|
# char. The macro name must be followed by words separated with spaces.
|
|
|
|
|
# sign. The macro name must be followed by words separated with spaces.
|
|
|
|
|
# Recursive macro definitions are not allowed.
|
|
|
|
|
#Define $macro value1 value2
|
|
|
|
|
|
|
|
|
@ -383,7 +383,7 @@ ProxySpec smtps 127.0.0.1 8465 up:9199
|
|
|
|
|
ProxySpec http 127.0.0.1 8081
|
|
|
|
|
|
|
|
|
|
# Structured proxy specifications
|
|
|
|
|
# Global config is cloned into all proxyspecs first
|
|
|
|
|
# The global config is cloned into all proxyspecs first
|
|
|
|
|
# Each proxyspec can override its cloned global config
|
|
|
|
|
ProxySpec {
|
|
|
|
|
Proto https
|
|
|
|
@ -450,7 +450,7 @@ ProxySpec {
|
|
|
|
|
|
|
|
|
|
Define $admins soner admin
|
|
|
|
|
Pass from user $admins desc android to cn .fbcdn.net*
|
|
|
|
|
# Structured version of one line filtering rule above
|
|
|
|
|
# Structured version of the one line filtering rule above
|
|
|
|
|
FilterRule {
|
|
|
|
|
Action Pass
|
|
|
|
|
User $admins
|
|
|
|
|