Code: Select all
commit 40c8be9c74e4cd84c42b3bc16cf90bdeeb41146a
Author: Dmitry Kozlov <xeb@mail.ru>
Date: Sat Apr 18 11:24:47 2015 +0300
ipoe: implemented soft session termination
Soft termination means that session won't be terminated immediately, but marked as terminated
and when client will request for lease renewal it will be NAKed and session will be terminated at this time.
By default soft termination is turned off, to enable it introduces new option 'soft-terminate=1'.
Also cli command 'terminate <session> hard' terminates session immediatly regardless of 'soft-terminate' option.
Это значит, что при завершении сессий через команды cli или Radius Disconnect-Message сессия не будет завершена немедленно, но будет помечена как завершенная и клиент продолжит работать.
Но при следующем запросе продления аренды ему будет отказано и в это время сессия завершится.
По умолчанию мягкое завершение отключено, для того чтобы включить добавлена новая опция
[ipoe]
soft-terminate=1
Для принудительного завершения сесии не смотря на включенный режим мягкого завершения можно использовать команду cli
terminate <селектор сессии> hard