summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf.5
diff options
context:
space:
mode:
authorVladislav Grishenko <themiron@mail.ru>2018-06-01 04:07:45 +0500
committerVladislav Grishenko <themiron@mail.ru>2018-06-01 04:07:45 +0500
commit88dc3b4156edac295e399c77f5a7f88bdd5e3cae (patch)
tree646001c43137f6af7bd74272a4b6cbed321bb070 /accel-pppd/accel-ppp.conf.5
parent7ebaae6a58b8cd0f20f9c6bda22f3521dbc0a377 (diff)
downloadaccel-ppp-88dc3b4156edac295e399c77f5a7f88bdd5e3cae.tar.gz
accel-ppp-88dc3b4156edac295e399c77f5a7f88bdd5e3cae.zip
sstp: implement configurable http error response incl. redirect
Diffstat (limited to 'accel-pppd/accel-ppp.conf.5')
-rw-r--r--accel-pppd/accel-ppp.conf.517
1 files changed, 17 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf.5 b/accel-pppd/accel-ppp.conf.5
index a06e7817..4c1bee76 100644
--- a/accel-pppd/accel-ppp.conf.5
+++ b/accel-pppd/accel-ppp.conf.5
@@ -717,6 +717,23 @@ certificate or used directly for non-ssl mode.
.BI "host-name=" string
If this option is given, only sstp connection to specified host and with the same TLS SNI will be allowed.
.TP
+.BI "http-error=" deny|allow|http[s]://host.tld[/path]
+Specify http layer error behavior for non-sstp requests.
+.br
+.B deny
+- reset connection without any error response.
+.br
+.B allow
+- respond with http-specific status codes.
+.br
+.B http[s]://host.tld[/path]
+- respond with http redirect to the specified location.
+If
+.B /path
+is not specified, requested uri will be appended automatically
+.br
+Default value is allow.
+.TP
.BI "ifname=" ifname
If this option is given ppp interface will be renamed using
.B ifname