diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2016-06-28 18:34:59 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2017-12-06 00:11:13 +0500 |
commit | 221358f2630ad56c980153443f152ca4c1abbbae (patch) | |
tree | 1f306ca8b12098f040719d2620de9db53fd2c0c2 /rfc | |
parent | e959ea1bd262441a952ea0c807d553b4a9c38113 (diff) | |
download | accel-ppp-xebd-221358f2630ad56c980153443f152ca4c1abbbae.tar.gz accel-ppp-xebd-221358f2630ad56c980153443f152ca4c1abbbae.zip |
chap-secrets: allow to use pool name instead of address to specify ipv4 pool
Chap-secrets' ipdb uses 4th field as static peer ipv4 address. With no radius
and multiple same username sessions, it's impossible to use non-default pool
for such sessions.
Abuse chap-secret's 4th field as pool=name to specify session's pool name.
With ippool module loaded after chap-secrets (default order), it will be
used for allocation from the specified poll name.
Compatibility considerations:
* pppd will skip 'pool=*' with warn 'unknown host in auth. address list'
same as 5th field - shaper, because starting from 4th field pppd
parse list of value. so, no new effects here.
* previous versions of accel-ppp will parse 'pool=*' as empty address.
* with no 'pool=*' in chap-secrets or with no chap-secrets loaded, no
behavior change.
* with no ippool loaded, session will get no peer address.
* with ippool loaded before chap-secrets, chap-secrets's ipdb will not
be used, therefore neither ip addess not pool name will has no effect.
* if chap-secrets' pool is invalid or not found, default pool will be
used by ippool or address came from radius.
* chap-secret's pool name might override pool came from radius, if
radius module is loaded after chap-secrets and no address came from
radius.
Diffstat (limited to 'rfc')
0 files changed, 0 insertions, 0 deletions