Разработчики! Помогите, пожалуйста, найти проблему после перехода с 4.4 на 5.0, а нето заведу новую ветку - "почему вы не ответили на мой ответ?"
в log_session_mid_201510 у всех fake-сессий статус всегда 0 (активен), даже когда она уже завершилась. Время session_stop у fake-сессии всегда равен session_start, соответственно session_time всегда 0. input_octets, output_octets у всех fake-сессий всегда по нулям.
NAS config:
nas.port_time.default.*=1
nas.port_traffic.default.*=2:COLLECTOR;11:COLLECTOR;3:COLLECTOR;12:COLLECTOR
callback.support=0
month.break=1
drop.sleep.timeout=3600
nas.inspector.sleep_time=60
nas.inspector.kill.max_messages=5
netflow.receive.from=xx.yy.zz.aa
ipn.module.id=3
ipn.source.id=3
nas.inspector.radius.host=xx.yy.zz.aa
nas.inspector.radius.secret=qwerty
nas.inspector.class=bitel.billing.server.processor.PoDNASConnectionInspector
nas.inspector.radius.port=3799
nas.inspector.radius.attributes=Context-Name=bg;User-Name;Acct-Session-Id
nas.inspector.coa.timeout=5
nas.inspector.coa.retries=10
nas.inspector.coa.threads=10
nas.inspector.coa.send.all.attributes=0
coa.log=0
nas.pools.unlim=0.0.0.0-5.5.5.5
nas.pools.fake=5.6.7.8-5.6.9.10
Небольшая ремарка:
Было nas.inspector.radius.attributes=Acct-Session-Id, как описано в вики для Ericsson SE100 и сессии зависали и последние апдейт пакеты не учитывались, на 4.4 проблем не было.
Сделал nas.inspector.radius.attributes=Context-Name=bg;User-Name;Acct-Session-Id (как по мануалу 5.0) и несколько дней было довольно неплохо - сессии перестали зависать, последние апдейт пакеты учитывались, но через 4-5 дней началось по-новой.
Dialup config:
vendors=9=Cisco;2011=Huawei;2021=Unix PPP;529=Lucent;6618=Quintum;529=Ascend;311=Microsoft;12341=MPD;2352=RedBack_SE100;
password.length.min=5
password.length.max=10
password.length.auto=10
password.chars=1234567890QWERTYUOPLKJHGFDSAZXCVBNMqwertyuiopkjhgfdsazxcvbnm
showyears=5
xslt.1=dialup_login_sessions.xsl
reportTitle.1=Отчет по сессиям PPPoE
xslt.2=dialup_login_amount.xsl
reportTitle.2=Отчет по наработке на логины PPPoE
show.sessions.on.page=40
web.menuItem1=Просмотр сессий PPPoE
web.menuItem2=Наработка по логинам PPPoE
web.menuItem3=none
web.menuItem4=none
web.menuItem5=none
top.nocard.login=50000
radius.manage=127.0.0.1:1955
antispam.key.attributes=User-Name
antispam.reject.count=3
antispam.reject.per.time=250
antispam.ban.time=1200
check.service=0
card.module.id=0
killer.sleep=10
update.time=60
run.sleep=3
dialup.workmode=1
max.update.timeout=900
max.wait.timeout=120
delay.stop=55
realmgr.default=default
realm.default=Acct-Interim-Interval=600
radius.attributes=Service-Type;Framed-Protocol;Framed-IP-Address;Framed-IP-Netmask;Framed-Routing;Filter-Id;Framed-MTU;Framed-Compression;Login-IP-Host;Login-Service;Login-TCP-Port;Old-Password;Reply-Message;Callback-Number;Callback-Id;Expiration;Framed-Route;Framed-IPX-Network;State;Class;Session-Timeout;Idle-Timeout;Termination-Action;NAS-Identifier;Proxy-State;Framed-Pool;Cisco-AVPair;NAS-IP-Address;
attrset.67.title=100M_RED
attrset.67.attributes=Dynamic-QoS-Param=police-class-rate INET rate-absolute 100000;Dynamic-QoS-Param=police-class-burst INET 12500000;Dynamic-QoS-Param=meter-class-rate INET rate-absolute 100000;Dynamic-QoS-Param=meter-class-burst INET 12500000;
attrset.68.title=Session-Timeout=86400
attrset.68.attributes=Session-Timeout=86400
traffics=2/3/11/12;Внешн.(Вх)/Внешн.(Исх)/Лок.(Вх)/Лок.(Исх)
netflow.service.link.1=11 IN x.y.93.0-x.y.93.19
netflow.service.link.2=12 OUT x.y.93.0-x.y.93.19
netflow.service.link.3=2 IN 0.0.0.0-255.255.255.255
netflow.service.link.4=3 OUT 0.0.0.0-255.255.255.255
#
tariff_detail.cost_type.101=Превышение трафика
tariff_detail.cost_type.102=Включенный трафик
tariff_detail.cost_type.102.range_take_all=1
tariff_detail.cost_type.102.range_take_all.sid=2
tariff_detail.cost_type.103=Фактическое потребление трафика
#
reject_to_accept.4=Session-Timeout=3600;Framed-Pool=fake;Forward-Policy=in:nonpay;HTTP-Redirect-Profile-Name=nonpay;
pool.alarm.fullness.unlim=85
pool.alarm.fullness.fake=85