forum.bitel.ru http://forum.bitel.ru/ |
|
[mpd5] Не отображается IP-адресс сессии http://forum.bitel.ru/viewtopic.php?f=44&t=6427 |
Страница 1 из 1 |
Автор: | rush [ 08 фев 2012, 10:43 ] |
Заголовок сообщения: | [mpd5] Не отображается IP-адресс сессии |
В мониторе модуля не отображаются IP сессий. Смотрим в лог акцесса: Код: mq 02-08/10:36:36 INFO [event-proc-p-2-t-1] InetConnectionManager - Add connection: InetConnection [id=937-0, iface=2:9, sessId=8672257-vlan103-9, start=08.02.2012 10:36:35, uname=19, addr=[IpAddress:null]] Radius-обмен: Код: Packet type: Access-Request
Identifier: 5 Authenticator: {F3 43 9A 3C C1 A1 E9 19 EA 2B AD 0C 0E 62 17 E5} Attributes: User-Name=19 NAS-Identifier=gw CHAP-Password={01 0E CB A4 F1 1A 48 EB 6C 42 8D 49 58 1D E0 11 EB} NAS-IP-Address=172.18.3.1 NAS-Port=9 Tunnel-Medium-Type:0=6 Service-Type=2 Tunnel-Client-Endpoint=b8:70:f4:a6:da:aa Framed-Protocol=1 Acct-Session-Id=8672257-vlan103-9 NAS-Port-Id=vlan103 Message-Authenticator={0D 11 CA 52 6D 45 7D F6 31 B0 FE 04 5A DB 53 A6} NAS-Port-Type=15 Calling-Station-Id=b870f4a6daaa CHAP-Challenge=�^^h2�^G�����|m1^Lv7^\��9��wH���E��D> Called-Station-Id= mpd-peer-ident=MSRASV5.20 MSRAS-0-USER �V��o�fC��fN��� mpd-link=vlan103-9 Packet type: Access-Accept Identifier: 5 Authenticator: {6A F9 79 F3 6C BD DC 25 2F 9F AE 5C DA 1D 95 D9} Attributes: Message-Authenticator={00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00} Framed-IP-Address=172.18.100.3 mpd-filter=1#1=match dst net 172.18.0.0/16 and src net 172.18.0.0/16 mpd-limit=in#1#lo=flt1 pass mpd-limit=in#2#ex=all shape 2048000 pass mpd-limit=out#1#lo=flt1 pass mpd-limit=out#2#ex=all shape 2048000 pass |
Автор: | Дмитрий [ 10 фев 2012, 16:26 ] |
Заголовок сообщения: | Re: [mpd5] Не отображается IP-адресс сессии |
rush писал(а): В мониторе модуля не отображаются IP сессий. Смотрим в лог акцесса: вот мое:Код: mq 02-08/10:36:36 INFO [event-proc-p-2-t-1] InetConnectionManager - Add connection: InetConnection [id=937-0, iface=2:9, sessId=8672257-vlan103-9, start=08.02.2012 10:36:35, uname=19, addr=[IpAddress:null]] Код: mq 02-10/16:23:22 INFO [event-proc-p-2-t-1] InetConnectionManager - Add connection: InetConnection [id=331415-0, iface=21:453, sessId=8869401-VLAN_123-453, start=10.02.2012 16:23:21, uname=user, addr=192.168.10.2] inet v.5.2 build 715 from 08.02.2012 17:03:04 |
Автор: | rush [ 02 мар 2012, 11:17 ] |
Заголовок сообщения: | Re: [mpd5] Не отображается IP-адресс сессии |
Проблема повторяется (причем не для всех сессий). |
Автор: | Дмитрий [ 02 мар 2012, 11:47 ] |
Заголовок сообщения: | Re: [mpd5] Не отображается IP-адресс сессии |
rush писал(а): Проблема повторяется (причем не для всех сессий). А ты при этом глянь что в аккаунтинге, адрес то от туда прилетает.Код: Packet type: Accounting-Request Identifier: 95 Authenticator: {F2 CE 69 C6 56 8B 99 7F 2D 78 A2 69 37 F0 82 8E} Attributes: User-Name=xxx NAS-Identifier=xxx NAS-IP-Address=xxx NAS-Port=500 Tunnel-Medium-Type:0=6 Service-Type=2 Tunnel-Client-Endpoint=64:31:50:5d:bd:1e Framed-Protocol=1 Framed-IP-Address=192.168.0.1 [skip] InetRadiusProcessor - Creating NasConnection from radius accounting packet InetRadiusProcessor - Parent: null InetApplication - TariffOptionMap: {} Accounting - Write new connection to DB Accounting - New connection id=400899 Accounting - Write new session to DB Accounting - New session's id=425788 connection - 400899:425788 Register ip: 192.168.0.1 ради интереса глянул лог, у меня все сессии с адресами. |
Автор: | rush [ 02 мар 2012, 12:20 ] |
Заголовок сообщения: | Re: [mpd5] Не отображается IP-адресс сессии |
В аккаунтинге это выглядит вот так: Код: 03-01/23:37:19 INFO [rdsLstnr-p-6-t-4] InetRadiusProcessor - REQUEST_AFTER_PREPROCESS:
Packet type: Accounting-Request Identifier: 209 Authenticator: {AA 9C 5A 20 6C BD 15 F2 29 F8 E4 DC 1B 43 50 3D} Attributes: User-Name=130 NAS-Identifier=gw NAS-IP-Address=172.18.3.1 NAS-Port=19 Tunnel-Medium-Type:0=6 Service-Type=2 Tunnel-Client-Endpoint=48:5b:39:f3:af:c5 Framed-Protocol=1 Framed-IP-Address=172.18.100.4 Acct-Status-Type=1 Acct-Session-Id=623633-vlan111-19 Acct-Authentic=1 Acct-Link-Count=1 Acct-Multi-Session-Id=623640-B-6 NAS-Port-Id=vlan111 NAS-Port-Type=15 Calling-Station-Id=485b39f3afc5 Called-Station-Id= mpd-peer-ident=MSRASV5.20 MSRAS-0-�� ���]��]D��^N{���� mpd-peer-ident=MSRASV5.20 MSRAS-0-�� ���]��]D��^N{���� mpd-link=vlan111-19 mpd-bundle=B-6 mpd-iface=ng5 mpd-iface-index=20 03-01/23:37:19 INFO [rdsLstnr-p-6-t-4] InetRadiusProcessor - Creating NasConnection from radius accounting packet 03-01/23:37:19 INFO [rdsLstnr-p-6-t-4] InetRadiusProcessor - Connection exist in db 03-01/23:37:19 DEBUG [rdsLstnr-p-6-t-4] InetRadiusProcessor - ipResourceId=0 03-01/23:37:19 DEBUG [rdsLstnr-p-6-t-4] InetAccountingPeriodList - Create: 03-01/23:37:19 DEBUG [rdsLstnr-p-6-t-4] InetAccountingPeriodList - AccountingPeriod: 105: 22.02.2012 00:00:00.0 - 22.03.2012 23:59:59.999 03-01/23:37:19 INFO [rdsLstnr-p-6-t-4] Accounting - Update connection to DB 03-01/23:37:19 INFO [rdsLstnr-p-6-t-4] Accounting - Write new session to DB 03-01/23:37:19 INFO [rdsLstnr-p-6-t-4] Accounting - New session's id=4941 03-01/23:37:19 DEBUG [rdsLstnr-p-6-t-4] Accounting - Created new AccountingSession. 03-01/23:37:19 DEBUG [rdsLstnr-p-6-t-4] Accounting - Ip address not set for connection. Skip register 03-01/23:37:19 DEBUG [rdsLstnr-p-6-t-4] Accounting - InetConnection [id=5234-0, iface=2:19, sessId=623633-vlan111-19, start=01.03.2012 23:37:18, uname=130, addr=[IpAddress:null]] 03-01/23:37:19 DEBUG [rdsLstnr-p-6-t-4] ProcessorRequest - Sending to /172.18.3.1:13428 03-01/23:37:19 INFO [rdsLstnr-p-6-t-4] RadiusListenerWorker - RESPONSE: Packet type: Accounting-Response Identifier: 209 Authenticator: {53 A1 EE 0D 1D CB 54 39 FA BB 83 52 34 5B 42 D7} Attributes: Process time start: 150 |
Автор: | Дмитрий [ 02 мар 2012, 12:33 ] |
Заголовок сообщения: | Re: [mpd5] Не отображается IP-адресс сессии |
Цитата: 03-01/23:37:19 DEBUG [rdsLstnr-p-6-t-4] Accounting - Ip address not set for connection. Skip register вот, теперь будет пища для размышлений разработчикам ![]() |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |