ipoe: implemented soft session termination

News of development process
Post Reply
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

ipoe: implemented soft session termination

Post by Dmitry »

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.
Для IPoE реализован режим мягкого завершения сессий.
Это значит, что при завершении сессий через команды cli или Radius Disconnect-Message сессия не будет завершена немедленно, но будет помечена как завершенная и клиент продолжит работать.
Но при следующем запросе продления аренды ему будет отказано и в это время сессия завершится.
По умолчанию мягкое завершение отключено, для того чтобы включить добавлена новая опция
[ipoe]
soft-terminate=1

Для принудительного завершения сесии не смотря на включенный режим мягкого завершения можно использовать команду cli
terminate <селектор сессии> hard
KaYot
Posts: 55
Joined: 25 Mar 2015, 10:54

Re: ipoe: implemented soft session termination

Post by KaYot »

Очень полезная фича!
Буду с нетерпением ждать релиза 2.0.
Post Reply