Код:
<!-- Cоздание процессора dhcp-пакетов -->
<------><------><bean name="dhcpProcessor" class="ru.bitel.bgbilling.modules.inet.dhcp.InetDhcpHelperProcessor"/>
radius.log
Код:
11-29/13:55:45 DEBUG [rdsLstnr-p-8-t-2] AbstractRadiusProtocolHandler - State is enable (from attributes)
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetRadiusProcessor - REQUEST_AFTER_PREPROCESS:
Packet type: Access-Request
Identifier: 188
Authenticator: {6D FA F4 DA A9 A6 C1 EE 7C 43 E4 F7 F8 4E FF 1B}
Attributes:
User-Name=01061cbdb9e651f9:00040c1f0007
NAS-Port-Id=2/3 vlan-id 3100 clips 139518
NAS-Identifier=Redback-IPOE
User-Password=Redback
NAS-IP-Address=192.168.192.1
NAS-Port=587205660
Service-Type=5
Calling-Station-Id=904ce57cf30a
NAS-Port-Type=5
Called-Station-Id=10.50.1.1
Platform-Type=4
UNKNOWN[2352-201]={01 0A 32 01 01}
Medium-Type=11
Agent-Remote-Id={01 06 1C BD B9 E6 51 F9}
UNKNOWN[2352-202]={3D 3D 07 01 90 4C E5 7C F3 0A}
Agent-Circuit-Id={00 04 0C 1F 00 07}
OS-Version=6.2.1.8
Mac-Addr=90-4c-e5-7c-f3-0a
UNKNOWN[2352-125]={75 64 68 63 70 20 30 2E 39 2E 38}
NAS-Real-Port=587205660
UNKNOWN[3561--1]={02 0A 01 06 1C BD B9 E6 51 F9}
UNKNOWN[3561--1]={01 08 00 04 0C 1F 00 07}
Common options: {agentRemoteId=java.nio.DirectByteBufferR[pos=0 lim=6 cap=6], agentCircuitId=[B@6e34b350, deviceState=1}
11-29/13:55:45 DEBUG [rdsLstnr-p-8-t-2] RadiusProcessor - Create new radius session.
11-29/13:55:45 DEBUG [rdsLstnr-p-8-t-2] InetNas - agentRemoteId=java.nio.DirectByteBufferR[pos=0 lim=6 cap=6]
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetNas - Found agentDevice:12
11-29/13:55:45 DEBUG [rdsLstnr-p-8-t-2] InetNas - findServ agentDeviceRuntime=ru.bitel.bgbilling.modules.inet.runtime.device.InetDeviceRuntime@4af6ae1c
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetNas - Search serv on deviceId=12; interfaceId=7
11-29/13:55:45 DEBUG [rdsLstnr-p-8-t-2] InetRadiusProcessor - Password verification disabled.
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetRadiusProcessor - [username=01061cbdb9e651f9:00040c1f0007] Authenticated as inetServId:8
11-29/13:55:45 DEBUG [rdsLstnr-p-8-t-2] InetRadiusProcessor - Identifier from request: null
11-29/13:55:45 DEBUG [rdsLstnr-p-8-t-2] InetRadiusProcessor - MAC-address from request:.
11-29/13:55:45 DEBUG [rdsLstnr-p-8-t-2] InetAccountingPeriodList - Create:.
11-29/13:55:45 DEBUG [rdsLstnr-p-8-t-2] InetAccountingPeriodList - AccountingPeriod: 8: 01.11.2012 00:00:00.0 - 30.11.2012 23:59:59.999
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetApplication - inetServ[id=8] balance ok: 726.86 [0]
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetApplication - TariffOptionMap: {}
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetRadiusProcessor - Set ip from pool
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetRadiusProcessor - Return code=0
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetDhcpHelperProcessor - Put auth accept 12:7:904CE57CF30A
11-29/13:55:45 INFO [rdsLstnr-p-8-t-2] InetRadiusProcessor - RESPONSE_BEFORE_POSTPROCESS:
Packet type: Access-Accept
Identifier: 188
Authenticator: {}
Attributes:
Acct-Interim-Interval=600
Framed-IP-Address=10.50.1.61
DHCP-Max-Leases=1
Service-Name:1=RSE-SVC-EXT
Service-Options:1=1
Service-Parameter:1=Rate=1700 Burst=212500
IP-Interface-Name=CLIENTS
dhcp.log
Код:
11-29/13:55:14 INFO [main] DefaultServerSetup - Binding javax.jms.ConnectionFactory[org.apache.activemq.ActiveMQConnectionFactory@5488e2dd] to java:comp/env
/mq/connectionFactory
11-29/13:55:14 INFO [main] DefaultServerSetup - Init DB connection pools
11-29/13:55:14 INFO [main] DefaultServerSetup - Binding JDBC pool "master" to java:comp/env/jdbc/master
11-29/13:55:15 INFO [main] DefaultServerSetup - Init trash pools..
11-29/13:55:15 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.server.util.Setup$1@f79f36b to BG.Event.ru.bitel.bgbilling.kernel.event.events.system.Mod
uleConfigModifiedEvent
11-29/13:55:15 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.kernel.application.server.Application$1@5a92668c to BG.Event.ru.bitel.bgbilling.kernel.ap
plication.server.event.ApplicationRunningEvent
11-29/13:55:15 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.kernel.application.server.Application$2@758689a to BG.Event.ru.bitel.bgbilling.kernel.app
lication.server.event.CheckApplicationRunEvent
11-29/13:55:16 DEBUG [main] LocalEventProcessor - Add listener ru.bitel.bgbilling.modules.inet.dhcp.InetDhcpHelperProcessor$1@79f7abae to BG.LocalEvent.ru.bi
tel.bgbilling.modules.inet.radius.InetRadiusProcessor$AuthAcceptEvent, map size: 14
11-29/13:55:16 DEBUG [main] LocalEventProcessor - Add listener ru.bitel.bgbilling.modules.inet.dhcp.InetDhcpHelperProcessor$2@24a51027 to BG.LocalEvent.ru.bi
tel.bgbilling.modules.inet.access.InetConnectionManager$ConnectionAddEvent, map size: 15
11-29/13:55:16 DEBUG [main] LocalEventProcessor - Add listener ru.bitel.bgbilling.modules.inet.dhcp.InetDhcpHelperProcessor$3@12381a9c to BG.LocalEvent.ru.bi
tel.bgbilling.modules.inet.access.InetConnectionManager$ConnectionUpdateEvent, map size: 16
11-29/13:55:16 DEBUG [main] LocalEventProcessor - Add listener ru.bitel.bgbilling.modules.inet.dhcp.InetDhcpHelperProcessor$4@4f1adeb7 to BG.LocalEvent.ru.bi
tel.bgbilling.modules.inet.access.InetConnectionManager$ConnectionRemoveEvent, map size: 17
11-29/13:55:19 INFO [main] Application - Starting ru.bitel.bgbilling.modules.inet.dhcp.InetDhcpHelperProcessor@4e836869
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Load DHCP relay list, types: [1,2,3,5,6].
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Loaded device: 3
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Loaded device: 4
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Bind device: 4; /192.168.192.1
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Loaded device: 6
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Loaded device: 11
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Bind device: 11; /10.10.2.4
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Loaded device: 12
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Bind device: 12; /10.10.100.5
11-29/13:55:19 INFO [main] InetDhcpDeviceMap - Loaded device: 14
11-29/13:55:19 DEBUG [main] EventProcessor - Add ru.bitel.bgbilling.modules.inet.dhcp.InetDhcpDeviceMap$1@6647108e to BG.Event.ru.bitel.bgbilling.modules.ine
t.api.server.event.InetReloadEvent WHERE moduleId=5
11-29/13:55:19 INFO [main] InetDhcpHelperProcessor - Restore connections on DhcpHelper
11-29/13:55:19 INFO [main] InetDhcpHelperProcessor - Restored connection add 0:9:001BFCD9E3D3
11-29/13:55:19 INFO [main] InetDhcpHelperProcessor - Restored connection add 0:9:
11-29/13:55:19 INFO [main] Application - Started ru.bitel.bgbilling.modules.inet.dhcp.InetDhcpHelperProcessor@4e836869
11-29/13:55:19 INFO [main] Application - Starting ru.bitel.bgbilling.kernel.network.dhcp.DhcpListener@26ced1a8
11-29/13:55:19 INFO [main] DatagramChannelListener - Open socket [0.0.0.0/0.0.0.0:67]
11-29/13:55:19 INFO [main] DatagramChannelListener - ru.bitel.bgbilling.kernel.network.dhcp.DhcpListener socket init ok.
11-29/13:55:19 INFO [main] Application - Started ru.bitel.bgbilling.kernel.network.dhcp.DhcpListener@26ced1a8
11-29/13:55:39 DEBUG [dhcpLstnr-p-10-t-1] InetDhcpDeviceMap - Found device by giaddr id=4
11-29/13:55:39 DEBUG [dhcpLstnr-p-10-t-1] InetDhcpDeviceMap - Found subDevice by identifier id=12
11-29/13:55:39 INFO [dhcpLstnr-p-10-t-1] InetAbstractDhcpProcessor - REQUEST:
Message type: BOOT_REQUEST
Dhcp message type: DHCP Discover{1}
htype: 1, hlen: 6, hops: 2
xid: 1628497996, secs: 0, flags: 0
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 10.50.254.254
Client MAC: {904CE57CF30A}
{61}={01904CE57CF30A}
{60}={756468637020302E392E38}
Parameter request list{55}={1, 3, 6, 12, 15, 17, 28, 66, 33, 121, -7}
Agent information{82}=
sub{1}={00040C1F0007}
sub{2}={01061CBDB9E651F9}
11-29/13:55:39 DEBUG [dhcpLstnr-p-10-t-1] InetAbstractDhcpProcessor - OP_BOOT_REQUEST
11-29/13:55:39 DEBUG [dhcpLstnr-p-10-t-1] InetDhcpHelperProcessor - request.giaddr = 10.50.254.254
11-29/13:55:39 ERROR [dhcpLstnr-p-10-t-1] InetDhcpHelperProcessor - Not found params for request: 0:7:904CE57CF30A
11-29/13:55:39 INFO [dhcpLstnr-p-10-t-1] InetAbstractDhcpProcessor - RESPONSE:
Message type: BOOT_RESPONSE
Dhcp message type: DHCP NAK{6}
htype: 1, hlen: 6, hops: 2
xid: 1628497996, secs: 0, flags: 0
Client IP: 0.0.0.0
Your IP: 0.0.0.0
Server IP: 0.0.0.0
Relay IP: 10.50.254.254
Client MAC: {904CE57CF30A}
Agent information{82}=
sub{1}={00040C1F0007}
sub{2}={01061CBDB9E651F9}