Создан тариф, в тарифе создана услуга типа Коммутируемый доступ.
Лимит одновременных сессий 0
Стоимость во всех временных диапазонах 0.0
Периодическая составляющая 0
Галочка "динамическое распределение адресов" установлена.
Сделал пользователя, которому назначил этот тариф, забил имя-пароль.
При подключении соединение разрывается через секунду.
В логах radius_debug.log:
?Debug : Dec 16 14:24:49 AuthServer: User <adeept> connecting
?Debug : Dec 16 14:24:49 AuthServer: Session for sessionid <adeept> not found in <127.0.0.1> cache
?Debug : Dec 16 14:24:49 RADIUS DBA: Info for login <adeept> found. type <2>
?Debug : Dec 16 14:24:49 AuthServer: Auth scheme: MS-CHAPv2
?Debug : Dec 16 14:24:49 AuthServer: MS-CHAPv2: Authorized user <adeept>
?Debug : Dec 16 14:24:49 AuthServer: MS-CHAPv2: MPPE Keys send
?Debug : Dec 16 14:24:49 AuthServer: Dialup session limit:0 session count:0 for user:adeept
Info : Dec 16 14:24:49 UT: calc timeout
Info : Dec 16 14:24:49 UT: t 1260966289, left money 10889.820000
Info : Dec 16 14:24:49 UT: tr_id 1, mult 0.000000, next 1260966290
Info : Dec 16 14:24:49 UT: quantity 1 for borders
Info : Dec 16 14:24:49 UT: after borders q=1, downloaded=1, downed_as_prepaid=0 cost_info size <1>
Info : Dec 16 14:24:49 UT: added entire 1
Info : Dec 16 14:24:49 UT: i==cost_info->end()
Info : Dec 16 14:24:49 UT: session_timeout <1> session_limit <1> old_session_timeout <0>
Info : Dec 16 14:24:49 UT: t 1260966290, left money 10889.820000
Info : Dec 16 14:24:49 UT: tr_id 1, mult 0.000000, next 1260966291
Info : Dec 16 14:24:49 UT: quantity 1 for borders
Info : Dec 16 14:24:49 UT: after borders q=1, downloaded=2, downed_as_prepaid=0 cost_info size <1>
Info : Dec 16 14:24:49 UT: added entire 1
Info : Dec 16 14:24:49 UT: i==cost_info->end()
Info : Dec 16 14:24:49 UT: session_timeout <2> session_limit <1> old_session_timeout <1>
Info : Dec 16 14:24:49 UT: session_timeout > session_limit or session_timeout - old_session_timeout too small. Breaking ...
?Debug : Dec 16 14:24:49 AuthServer: Calculated maximum session time: 1
?Debug : Dec 16 14:24:49 AuthServer: IP from Named Pool DVPN claimed: 0xa650901
?Debug : Dec 16 14:24:49 RADIUS DBA: dialup_link_update called for slink:6133
?Debug : Dec 16 14:24:49 RADIUS DBA: soft dialup_link_update for slink:6133 session_count:0
?Debug : Dec 16 14:24:49 AuthServer: Calling fill radius attributes for service. Attr storage size <0>
?Debug : Dec 16 14:24:49 AuthServer: Calling fill radius attributes for slink. Attr storage size <0>
?Debug : Dec 16 14:24:49 AuthServer: Calling fill radius attributes for NAS. Attr storage size <0>
Notice: Dec 16 14:24:49 AuthServer: Login OK <adeept> from NAS <127.0.0.1> CLID <> Calling-station <10.0.9.58>
Вопрос: почему он посчитал максимальную длительность сессии в 1 секунду?