первый лог при не совпадении мака в дочернем сервисе договора
Код:
radius 02-20/13:26:58 INFO [rdsLstnr-p-9-t-8] SmartEdgeClipsProtocolHandler - Parse as DLink
radius 02-20/13:26:58 INFO [rdsLstnr-p-9-t-8] InetRadiusProcessor - REQUEST_AFTER_PREPROCESS:
Packet type: Access-Request
Identifier: 39
Authenticator: {4A 5A C8 E7 EC 6B 77 DB CC DD 27 A7 A1 59 B0 B2}
Attributes:
User-Name=0006c8be19bb0e80:000403e70009
NAS-Port-Id=2/1 vlan-id 2 clips 131368
NAS-Identifier=RedBack2
User-Password=Redback
NAS-IP-Address=192.168.12.202
NAS-Port=553648130
Service-Type=5
Calling-Station-Id=000d29cec7e1
NAS-Port-Type=5
Called-Station-Id=178.212.134.1
Platform-Type=4
UNKNOWN[2352-201]={01 B2 D4 86 01}
Medium-Type=11
Agent-Remote-Id={00 06 C8 BE 19 BB 0E 80}
DHCP-Option={3D 3D 07 01 00 0D 29 CE C7 E1}
Agent-Circuit-Id={00 04 03 E7 00 09}
OS-Version=11.1.2.7p2
Mac-Addr=00-0d-29-ce-c7-e1
UNKNOWN[2352-125]={41 54 41 31 38 36 2D 48 36 2E 30 7C 56 33 2E 31 2E 30 7C 42 30 34 30 32 31 39 41}
NAS-Real-Port=553648130
UNKNOWN[3561--1]={02 0A 00 06 C8 BE 19 BB 0E 80}
UNKNOWN[3561--1]={01 08 00 04 03 E7 00 09}
Common options: {agentRemoteId={c8be19bb0e80}, macAddress=00-0d-29-ce-c7-e1, agentCircuitId={03e70009}}
radius 02-20/13:26:58 DEBUG [rdsLstnr-p-9-t-8] RadiusProcessor - Create new radius session.
radius 02-20/13:26:58 DEBUG [rdsLstnr-p-9-t-8] InetNas - agentRemoteId=java.nio.DirectByteBufferR[pos=0 lim=6 cap=6]
radius 02-20/13:26:58 INFO [rdsLstnr-p-9-t-8] InetNas - Found agentDevice:4
radius 02-20/13:26:58 DEBUG [rdsLstnr-p-9-t-8] InetNas - findServ agentDeviceRuntime=ru.bitel.bgbilling.modules.inet.runtime.device.InetDeviceRuntime@105edf2
radius 02-20/13:26:58 INFO [rdsLstnr-p-9-t-8] InetNas - Search serv on deviceId=4; interfaceId=9
radius 02-20/13:26:58 INFO [rdsLstnr-p-9-t-8] InetNas - Search child serv by mac on device=000d29cec7e1
radius 02-20/13:26:58 INFO [rdsLstnr-p-9-t-8] InetRadiusProcessor - inetServ[id=3888] sub serv with MAC-addresses not found.
radius 02-20/13:26:58 INFO [rdsLstnr-p-9-t-8] InetRadiusProcessor - Return code=46
radius 02-20/13:26:58 INFO [rdsLstnr-p-9-t-8] InetRadiusProcessor - RESPONSE_BEFORE_POSTPROCESS:
Packet type: Access-Reject
Identifier: 39
Authenticator: {}
Attributes:
Reply-Message=46
Process time auth: 1
radius 02-20/13:26:58 DEBUG [rdsLstnr-p-9-t-8] ProcessorRequest - Sending to /192.168.12.202:1812
radius 02-20/13:26:58 INFO [rdsLstnr-p-9-t-8] InetRadiusListenerWorker - RESPONSE:
Packet type: Access-Reject
Identifier: 39
Authenticator: {8F C4 32 F6 A0 F0 FB 7F 18 83 C1 6E BC 7A B8 65}
Attributes:
Reply-Message=46
Process time auth: 3
родительская сессия не стартует. Почему он мак ищет в родительской сессии (id родительской сессии 3888), когда там авторизация по устройство+порт.
лог когда на сервисе дочернем мак совпадает
Код:
radius 02-20/13:30:34 INFO [rdsLstnr-p-9-t-3] SmartEdgeClipsProtocolHandler - Parse as DLink
radius 02-20/13:30:34 INFO [rdsLstnr-p-9-t-3] InetRadiusProcessor - REQUEST_AFTER_PREPROCESS:
Packet type: Access-Request
Identifier: 54
Authenticator: {28 4B DE 10 E3 4F 8A 4A AD 64 C9 DF 68 3C 6D 8D}
Attributes:
User-Name=0006c8be19bb0e80:000403e70009
NAS-Port-Id=2/1 vlan-id 2 clips 131383
NAS-Identifier=RedBack2
User-Password=Redback
NAS-IP-Address=192.168.12.202
NAS-Port=553648130
Service-Type=5
Calling-Station-Id=000d29cec7e1
NAS-Port-Type=5
Called-Station-Id=178.212.134.1
Platform-Type=4
UNKNOWN[2352-201]={01 B2 D4 86 01}
Medium-Type=11
Agent-Remote-Id={00 06 C8 BE 19 BB 0E 80}
DHCP-Option={3D 3D 07 01 00 0D 29 CE C7 E1}
Agent-Circuit-Id={00 04 03 E7 00 09}
OS-Version=11.1.2.7p2
Mac-Addr=00-0d-29-ce-c7-e1
UNKNOWN[2352-125]={41 54 41 31 38 36 2D 48 36 2E 30 7C 56 33 2E 31 2E 30 7C 42 30 34 30 32 31 39 41}
NAS-Real-Port=553648130
UNKNOWN[3561--1]={02 0A 00 06 C8 BE 19 BB 0E 80}
UNKNOWN[3561--1]={01 08 00 04 03 E7 00 09}
Common options: {agentRemoteId={c8be19bb0e80}, macAddress=00-0d-29-ce-c7-e1, agentCircuitId={03e70009}}
radius 02-20/13:30:34 DEBUG [rdsLstnr-p-9-t-3] RadiusProcessor - Create new radius session.
radius 02-20/13:30:34 DEBUG [rdsLstnr-p-9-t-3] InetNas - agentRemoteId=java.nio.DirectByteBufferR[pos=0 lim=6 cap=6]
radius 02-20/13:30:34 INFO [rdsLstnr-p-9-t-3] InetNas - Found agentDevice:4
radius 02-20/13:30:34 DEBUG [rdsLstnr-p-9-t-3] InetNas - findServ agentDeviceRuntime=ru.bitel.bgbilling.modules.inet.runtime.device.InetDeviceRuntime@1d7d2e1
radius 02-20/13:30:34 INFO [rdsLstnr-p-9-t-3] InetNas - Search serv on deviceId=4; interfaceId=9
radius 02-20/13:30:34 INFO [rdsLstnr-p-9-t-3] InetNas - Search child serv by mac on device=000d29cec7e1
radius 02-20/13:30:34 INFO [rdsLstnr-p-9-t-3] InetRadiusProcessor - [username=0006c8be19bb0e80:000403e70009] Login password error.
radius 02-20/13:30:34 INFO [rdsLstnr-p-9-t-3] InetRadiusProcessor - Return code=2
radius 02-20/13:30:34 INFO [rdsLstnr-p-9-t-3] InetRadiusProcessor - RESPONSE_BEFORE_POSTPROCESS:
Packet type: Access-Reject
Identifier: 54
Authenticator: {}
Attributes:
Reply-Message=2
Process time auth: 2
radius 02-20/13:30:34 DEBUG [rdsLstnr-p-9-t-3] ProcessorRequest - Sending to /192.168.12.202:1812
radius 02-20/13:30:34 INFO [rdsLstnr-p-9-t-3] InetRadiusListenerWorker - RESPONSE:
Packet type: Access-Reject
Identifier: 54
Authenticator: {27 EF 98 AD BA 12 20 D0 FF 15 A8 3B 9A 28 B3 B4}
Attributes:
Reply-Message=2
Process time auth: 5
то есть не родительская, не дочерняя сессия не стартует.
Если убираю назад настройки с "radius.servSearchMode=" с 1-1 на 1. Сессия стартует по обычной схеме.