summaryrefslogtreecommitdiff
path: root/_sources/configuration/pppd_compat.rst.txt
diff options
context:
space:
mode:
authorDmitriyEshenko <DmitriyEshenko@users.noreply.github.com>2024-05-31 19:24:37 +0000
committerDmitriyEshenko <DmitriyEshenko@users.noreply.github.com>2024-05-31 19:24:37 +0000
commit632b351cfd0c9964a38fb0ba8ae651e88d4861dd (patch)
treefe775174c8f3182aa28f8c760ebdaec41febfc78 /_sources/configuration/pppd_compat.rst.txt
downloadaccel-ppp.github.io-632b351cfd0c9964a38fb0ba8ae651e88d4861dd.tar.gz
accel-ppp.github.io-632b351cfd0c9964a38fb0ba8ae651e88d4861dd.zip
deploy: edadda488d6146b60d2cc42219cf50c25701c797
Diffstat (limited to '_sources/configuration/pppd_compat.rst.txt')
-rw-r--r--_sources/configuration/pppd_compat.rst.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/_sources/configuration/pppd_compat.rst.txt b/_sources/configuration/pppd_compat.rst.txt
new file mode 100644
index 0000000..d6b9658
--- /dev/null
+++ b/_sources/configuration/pppd_compat.rst.txt
@@ -0,0 +1,42 @@
+[pppd-compat]
+=============
+
+Configuration of pppd_compat module. Often used for creation custom shaper or other custom tricks.
+This module starts pppd compatible ip-up/ip-down scripts and ip-change to handle RADIUS CoA request.
+
+Config overview
+^^^^^^^^^^^^^^^
+**verbose=0|1**
+ Default value is ``verbose=0``
+
+ If specified and greated then 0, pppd_module will produce verbose logging.
+
+**radattr-prefix=/path**
+ By default is not defined.
+
+ Specifies prefix of radattr files (for example ``radattr=/var/run/radattr``, resulting files will be ``/var/run/radattr.pppX``)
+
+**ip-pre-up=/path/to/file**
+ By default is not defined.
+
+ Path to ip-pre-up script which is executed before ppp interface comes up, useful to setup firewall rules before any traffic can pass through the interface.
+
+**ip-up=/path/to/file**
+ By default is not defined.
+
+ Path to ip-up script which is executed when ppp interfaces is completely configured and started.
+
+**ip-down=/path/to/file**
+ By default is not defined.
+
+ Path to ip-down script which is executed when session is about to terminate.
+
+**ip-change=/path/to/file**
+ By default is not defined.
+
+ Path to ip-change script which is executed for RADIUS CoA handling.
+
+**fork-limit=n**
+ By default is calculated ``threads*2``
+
+ Specifies number of simultaneously running background processes. For disable this feature need set ``fork-limit=0``