Сегодня с утра обновил сервер биллинга и радиуса с версии 5.0 до последней 5.1.
Все по инструкции.
В последствии обнаружил что перестали сбрасываться сессии. В роли НАСа - микротик.
Микротик в Radius incoming пишет в Bad ruquests
Конфиг НАСа:
nas.inspector.class=bitel.billing.server.processor.PoDNASConnectionInspector
nas.inspector.pod.port=1700
nas.inspector.pod.attributes=User-Name;Framed-IP-Address;Acct-Session-Id
nas.port_traffic.default.*=1:COLLECTOR;2:COLLECTOR;3:COLLECTOR;4:COLLECTOR
nas.port_time.default.*=5
netflow.receive.from=192.168.100.100
drop.sleep.timeout=3600
dialup.workmode=1
month.break=1
connection.log
Код:
11-24/09:20:06 INFO [nas-con-insp-PodNasConnectionInspector-Mikrotik] connections - [ FI-1010-206; 215; 36296 ] PoD reset packet on 192.168.100.100:1700
Packet type: Disconnect-Request
Identifier: 10
Authenticator: {0B 95 85 49 E8 60 DA 9A 26 EA CE DD 73 E4 51 40}
Attributes:
User-Name=215
NAS-Port=27138
Framed-IP-Address=172.21.218.179
Acct-Session-Id=8130000a
Radius.log
Код:
21 20:22:41
Packet type: Access-Request
Identifier: 165
Authenticator: {C2 20 34 0C 58 DF D4 68 FB 44 B4 45 12 A1 5E 30}
Attributes:
User-Name=215
NAS-Identifier=Router
User-Password=***
NAS-Port-Id=nedelina9
NAS-IP-Address=192.168.100.100
NAS-Port=26386
Service-Type=2
Framed-Protocol=1
Calling-Station-Id=00:19:DB:F1:AF:13
NAS-Port-Type=15
Called-Station-Id=nedelina9
21 20:22:41
Packet type: Access-Accept
Identifier: 165
Authenticator: {}
Attributes:
Acct-Interim-Interval=60
Service-Type=2
Framed-Protocol=1
Framed-IP-Address=172.20.38.56
Framed-Pool=unlim
Mikrotik-Rate-Limit=500k 500k 500k 1 6 128k
Process time auth: 29
21 20:22:41
Packet type: Accounting-Request
Identifier: 166
Authenticator: {6A 88 96 5D 89 AD B1 29 35 B0 29 01 0B BE 42 24}
Attributes:
User-Name=215
NAS-Identifier=Router
NAS-IP-Address=192.168.100.100
NAS-Port=26386
Service-Type=2
Framed-Protocol=1
Framed-IP-Address=172.20.38.56
Acct-Status-Type=1
Acct-Delay-Time=0
Acct-Session-Id=81100281
Acct-Authentic=1
NAS-Port-Id=nedelina9
Event-Timestamp=1290374704
NAS-Port-Type=15
Calling-Station-Id=00:19:DB:F1:AF:13
Called-Station-Id=nedelina9
23 09:27:00
Packet type: Accounting-Request
Identifier: 255
Authenticator: {17 9B FE E0 B4 DB 9D DF 63 DD A6 25 10 31 BF 2D}
Attributes:
User-Name=215
NAS-Identifier=Router
NAS-IP-Address=192.168.100.100
NAS-Port=26386
Service-Type=2
Framed-Protocol=1
Acct-Input-Octets=1140496851
Framed-IP-Address=172.20.38.56
Acct-Output-Octets=3970357693
Acct-Status-Type=2
Acct-Delay-Time=0
Acct-Session-Time=133490
Acct-Input-Packets=6032323
Acct-Session-Id=81100281
Acct-Authentic=1
Acct-Terminate-Cause=10
NAS-Port-Id=nedelina9
Acct-Output-Packets=8126088
Event-Timestamp=1290508194
Acct-Output-Gigawords=1
Acct-Input-Gigawords=0
NAS-Port-Type=15
Calling-Station-Id=00:19:DB:F1:AF:13
Called-Station-Id=nedelina9