Не поднимается сессия PPPoE Mikrotik

Установка, настройка, поддержка
Ответить
ViktorK
Сообщения: 26
Зарегистрирован: Чт дек 06, 2018 2:00 pm

Не поднимается сессия PPPoE Mikrotik

Сообщение ViktorK » Чт мар 21, 2019 12:12 pm

Сессия не поднимается.
Запустил Radius -X и попытался авторизоваться, вот что выводит:
И вот такие строчки с ошибками. Можете что подсказать, всё по инструкции делал.

(2) perl: ERROR: Failed to create pair - failed to parse time string "янв 1 1970 08:00:00 +08"
(2) perl: ERROR: &request:Event-Timestamp = $RAD_REQUEST{'Event-Timestamp'} -> 'янв 1 1970 08:00:00 +08'
думал проблема со структурой базы данных и не может время занести туда?????
Сделал проверку структуры базы данных как тут написано, не помогло
http://abills.net.ua:8090/pages/viewpag ... d=23527446
Полный вывод:
(2) Received Access-Request Id 6 from 192.168.88.25:40624 to 192.168.88.20:1812 length 190
(2) Service-Type = Framed-User
(2) Framed-Protocol = PPP
(2) NAS-Port = 15728642
(2) NAS-Port-Type = Ethernet
(2) User-Name = "zaria-193"
(2) Calling-Station-Id = "F8:A9:63:39:87:A8"
(2) Called-Station-Id = "service1"
(2) NAS-Port-Id = "ether6"
(2) MS-CHAP-Challenge = 0x7866222c43ca5eb9f24de8c664eb1cea
(2) MS-CHAP2-Response = 0x0100c6ae017809d7911ae388696cd8eed5ba0000000000000000d151e3693feaefb19af5ce419e8019afc5024e3222025f40
(2) NAS-Identifier = "MikroTik"
(2) NAS-IP-Address = 192.168.88.25
(2) # Executing section authorize from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
(2) authorize {
(2) [preprocess] = ok
(2) mschap: Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
(2) [mschap] = ok
(2) files: users: Matched entry DEFAULT at line 38
(2) [files] = ok
(2) perl: $RAD_REQUEST{'User-Name'} = &request:User-Name -> 'zaria-193'
(2) perl: $RAD_REQUEST{'NAS-IP-Address'} = &request:NAS-IP-Address -> '192.168.88.25'
(2) perl: $RAD_REQUEST{'NAS-Port'} = &request:NAS-Port -> '15728642'
(2) perl: $RAD_REQUEST{'Service-Type'} = &request:Service-Type -> 'Framed-User'
(2) perl: $RAD_REQUEST{'Framed-Protocol'} = &request:Framed-Protocol -> 'PPP'
(2) perl: $RAD_REQUEST{'Called-Station-Id'} = &request:Called-Station-Id -> 'service1'
(2) perl: $RAD_REQUEST{'Calling-Station-Id'} = &request:Calling-Station-Id -> 'F8:A9:63:39:87:A8'
(2) perl: $RAD_REQUEST{'NAS-Identifier'} = &request:NAS-Identifier -> 'MikroTik'
(2) perl: $RAD_REQUEST{'NAS-Port-Type'} = &request:NAS-Port-Type -> 'Ethernet'
(2) perl: $RAD_REQUEST{'Event-Timestamp'} = &request:Event-Timestamp -> 'мар 21 2019 15:39:38 +08'
(2) perl: $RAD_REQUEST{'NAS-Port-Id'} = &request:NAS-Port-Id -> 'ether6'
(2) perl: $RAD_REQUEST{'MS-CHAP-Challenge'} = &request:MS-CHAP-Challenge -> '0x7866222c43ca5eb9f24de8c664eb1cea'
(2) perl: $RAD_REQUEST{'MS-CHAP2-Response'} = &request:MS-CHAP2-Response -> '0x0100c6ae017809d7911ae388696cd8eed5ba0000000000000000d151e3693feaefb19af5ce419e8019afc5024e3222025f40'
(2) perl: $RAD_CHECK{'Auth-Type'} = &control:Auth-Type -> 'MS-CHAP'
(2) perl: $RAD_CONFIG{'Auth-Type'} = &control:Auth-Type -> 'MS-CHAP'
(2) perl: &request:Called-Station-Id = $RAD_REQUEST{'Called-Station-Id'} -> 'service1'
(2) perl: &request:Service-Type = $RAD_REQUEST{'Service-Type'} -> 'Framed-User'
(2) perl: &request:NAS-Port = $RAD_REQUEST{'NAS-Port'} -> '15728642'
(2) perl: &request:MS-CHAP2-Response = $RAD_REQUEST{'MS-CHAP2-Response'} -> '0x0100c6ae017809d7911ae388696cd8eed5ba0000000000000000d151e3693feaefb19af5ce419e8019afc5024e3222025f40'
(2) perl: ERROR: Failed to create pair - failed to parse time string "мар 21 2019 15:39:38 +08"
(2) perl: ERROR: &request:Event-Timestamp = $RAD_REQUEST{'Event-Timestamp'} -> 'мар 21 2019 15:39:38 +08'
(2) perl: &request:Framed-Protocol = $RAD_REQUEST{'Framed-Protocol'} -> 'PPP'
(2) perl: &request:MS-CHAP-Challenge = $RAD_REQUEST{'MS-CHAP-Challenge'} -> '0x7866222c43ca5eb9f24de8c664eb1cea'
(2) perl: &request:NAS-Port-Type = $RAD_REQUEST{'NAS-Port-Type'} -> 'Ethernet'
(2) perl: &request:Calling-Station-Id = $RAD_REQUEST{'Calling-Station-Id'} -> 'F8:A9:63:39:87:A8'
(2) perl: &request:NAS-Identifier = $RAD_REQUEST{'NAS-Identifier'} -> 'MikroTik'
(2) perl: &request:User-Name = $RAD_REQUEST{'User-Name'} -> 'zaria-193'
(2) perl: &request:NAS-IP-Address = $RAD_REQUEST{'NAS-IP-Address'} -> '192.168.88.25'
(2) perl: &request:NAS-Port-Id = $RAD_REQUEST{'NAS-Port-Id'} -> 'ether6'
(2) perl: &control:Auth-Type = $RAD_CHECK{'Auth-Type'} -> 'MS-CHAP'
(2) perl: &control:Cleartext-Password = $RAD_CHECK{'Cleartext-Password'} -> 'zaria-193'
(2) [perl] = ok
(2) } # authorize = ok
(2) Found Auth-Type = MS-CHAP
(2) # Executing group from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
(2) Auth-Type MS-CHAP {
(2) mschap: Found Cleartext-Password, hashing to create NT-Password
(2) mschap: Found Cleartext-Password, hashing to create LM-Password
(2) mschap: Creating challenge hash with username: zaria-193
(2) mschap: Client is using MS-CHAPv2
(2) mschap: Adding MS-CHAPv2 MPPE keys
(2) [mschap] = ok
(2) } # Auth-Type MS-CHAP = ok
(2) # Executing section post-auth from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
(2) post-auth {
(2) perl: $RAD_REQUEST{'User-Name'} = &request:User-Name -> 'zaria-193'
(2) perl: $RAD_REQUEST{'NAS-IP-Address'} = &request:NAS-IP-Address -> '192.168.88.25'
(2) perl: $RAD_REQUEST{'NAS-Port'} = &request:NAS-Port -> '15728642'
(2) perl: $RAD_REQUEST{'Service-Type'} = &request:Service-Type -> 'Framed-User'
(2) perl: $RAD_REQUEST{'Framed-Protocol'} = &request:Framed-Protocol -> 'PPP'
(2) perl: $RAD_REQUEST{'Called-Station-Id'} = &request:Called-Station-Id -> 'service1'
(2) perl: $RAD_REQUEST{'Calling-Station-Id'} = &request:Calling-Station-Id -> 'F8:A9:63:39:87:A8'
(2) perl: $RAD_REQUEST{'NAS-Identifier'} = &request:NAS-Identifier -> 'MikroTik'
(2) perl: $RAD_REQUEST{'NAS-Port-Type'} = &request:NAS-Port-Type -> 'Ethernet'
(2) perl: $RAD_REQUEST{'Event-Timestamp'} = &request:Event-Timestamp -> 'янв 1 1970 08:00:00 +08'
(2) perl: $RAD_REQUEST{'NAS-Port-Id'} = &request:NAS-Port-Id -> 'ether6'
(2) perl: $RAD_REQUEST{'MS-CHAP-Challenge'} = &request:MS-CHAP-Challenge -> '0x7866222c43ca5eb9f24de8c664eb1cea'
(2) perl: $RAD_REQUEST{'MS-CHAP2-Response'} = &request:MS-CHAP2-Response -> '0x0100c6ae017809d7911ae388696cd8eed5ba0000000000000000d151e3693feaefb19af5ce419e8019afc5024e3222025f40'
(2) perl: $RAD_REPLY{'MS-MPPE-Encryption-Policy'} = &reply:MS-MPPE-Encryption-Policy -> 'Encryption-Allowed'
(2) perl: $RAD_REPLY{'MS-MPPE-Encryption-Types'} = &reply:MS-MPPE-Encryption-Types -> 'RC4-40or128-bit-Allowed'
(2) perl: $RAD_REPLY{'MS-MPPE-Send-Key'} = &reply:MS-MPPE-Send-Key -> '0x2480f13f459cec3019af9faa5ad60931'
(2) perl: $RAD_REPLY{'MS-MPPE-Recv-Key'} = &reply:MS-MPPE-Recv-Key -> '0x02fb87184e58efd6a940ebe9bb31f198'
(2) perl: $RAD_REPLY{'MS-CHAP2-Success'} = &reply:MS-CHAP2-Success -> '0x01533d31443931394230413643434235324330344337303935423035313836344246313742454631374432'
(2) perl: $RAD_CHECK{'Auth-Type'} = &control:Auth-Type -> 'MS-CHAP'
(2) perl: $RAD_CHECK{'LM-Password'} = &control:LM-Password -> '0x6911745c729d2ed4f04b4a1a2263c4f6'
(2) perl: $RAD_CHECK{'NT-Password'} = &control:NT-Password -> '0xf3b54838456428cf6bd6d5fe441e3e5b'
(2) perl: $RAD_CHECK{'Cleartext-Password'} = &control:Cleartext-Password -> 'zaria-193'
(2) perl: $RAD_CONFIG{'Auth-Type'} = &control:Auth-Type -> 'MS-CHAP'
(2) perl: $RAD_CONFIG{'LM-Password'} = &control:LM-Password -> '0x6911745c729d2ed4f04b4a1a2263c4f6'
(2) perl: $RAD_CONFIG{'NT-Password'} = &control:NT-Password -> '0xf3b54838456428cf6bd6d5fe441e3e5b'
(2) perl: $RAD_CONFIG{'Cleartext-Password'} = &control:Cleartext-Password -> 'zaria-193'
(2) perl: &request:Called-Station-Id = $RAD_REQUEST{'Called-Station-Id'} -> 'service1'
(2) perl: &request:Service-Type = $RAD_REQUEST{'Service-Type'} -> 'Framed-User'
(2) perl: &request:NAS-Port = $RAD_REQUEST{'NAS-Port'} -> '15728642'
(2) perl: &request:MS-CHAP2-Response = $RAD_REQUEST{'MS-CHAP2-Response'} -> '0x0100c6ae017809d7911ae388696cd8eed5ba0000000000000000d151e3693feaefb19af5ce419e8019afc5024e3222025f40'
(2) perl: ERROR: Failed to create pair - failed to parse time string "янв 1 1970 08:00:00 +08"
(2) perl: ERROR: &request:Event-Timestamp = $RAD_REQUEST{'Event-Timestamp'} -> 'янв 1 1970 08:00:00 +08'
(2) perl: &request:Framed-Protocol = $RAD_REQUEST{'Framed-Protocol'} -> 'PPP'
(2) perl: &request:MS-CHAP-Challenge = $RAD_REQUEST{'MS-CHAP-Challenge'} -> '0x7866222c43ca5eb9f24de8c664eb1cea'
(2) perl: &request:NAS-Port-Type = $RAD_REQUEST{'NAS-Port-Type'} -> 'Ethernet'
(2) perl: &request:Calling-Station-Id = $RAD_REQUEST{'Calling-Station-Id'} -> 'F8:A9:63:39:87:A8'
(2) perl: &request:NAS-Identifier = $RAD_REQUEST{'NAS-Identifier'} -> 'MikroTik'
(2) perl: &request:User-Name = $RAD_REQUEST{'User-Name'} -> 'zaria-193'
(2) perl: &request:NAS-IP-Address = $RAD_REQUEST{'NAS-IP-Address'} -> '192.168.88.25'
(2) perl: &request:NAS-Port-Id = $RAD_REQUEST{'NAS-Port-Id'} -> 'ether6'
(2) perl: &reply:MS-MPPE-Encryption-Policy = $RAD_REPLY{'MS-MPPE-Encryption-Policy'} -> 'Encryption-Allowed'
(2) perl: &reply:MS-MPPE-Encryption-Types = $RAD_REPLY{'MS-MPPE-Encryption-Types'} -> 'RC4-40or128-bit-Allowed'
(2) perl: &reply:MS-MPPE-Send-Key = $RAD_REPLY{'MS-MPPE-Send-Key'} -> '0x2480f13f459cec3019af9faa5ad60931'
(2) perl: &reply:Reply-Message = $RAD_REPLY{'Reply-Message'} -> 'NOT_ALLOW_NAS: 5 (192.168.88.25)'
(2) perl: &reply:MS-MPPE-Recv-Key = $RAD_REPLY{'MS-MPPE-Recv-Key'} -> '0x02fb87184e58efd6a940ebe9bb31f198'
(2) perl: &reply:MS-CHAP2-Success = $RAD_REPLY{'MS-CHAP2-Success'} -> '0x01533d31443931394230413643434235324330344337303935423035313836344246313742454631374432'
(2) perl: &control:Auth-Type = $RAD_CHECK{'Auth-Type'} -> 'REJECT'
(2) perl: &control:Cleartext-Password = $RAD_CHECK{'Cleartext-Password'} -> 'zaria-193'
(2) perl: &control:LM-Password = $RAD_CHECK{'LM-Password'} -> '0x6911745c729d2ed4f04b4a1a2263c4f6'
(2) perl: &control:NT-Password = $RAD_CHECK{'NT-Password'} -> '0xf3b54838456428cf6bd6d5fe441e3e5b'
(2) [perl] = reject
(2) } # post-auth = reject
(2) Using Post-Auth-Type Reject
(2) # Executing group from file /usr/local/freeradius/etc/raddb/sites-enabled/abills_default
(2) Post-Auth-Type REJECT {
(2) perl: $RAD_REQUEST{'User-Name'} = &request:User-Name -> 'zaria-193'
(2) perl: $RAD_REQUEST{'NAS-IP-Address'} = &request:NAS-IP-Address -> '192.168.88.25'
(2) perl: $RAD_REQUEST{'NAS-Port'} = &request:NAS-Port -> '15728642'
(2) perl: $RAD_REQUEST{'Service-Type'} = &request:Service-Type -> 'Framed-User'
(2) perl: $RAD_REQUEST{'Framed-Protocol'} = &request:Framed-Protocol -> 'PPP'
(2) perl: $RAD_REQUEST{'Called-Station-Id'} = &request:Called-Station-Id -> 'service1'
(2) perl: $RAD_REQUEST{'Calling-Station-Id'} = &request:Calling-Station-Id -> 'F8:A9:63:39:87:A8'
(2) perl: $RAD_REQUEST{'NAS-Identifier'} = &request:NAS-Identifier -> 'MikroTik'
(2) perl: $RAD_REQUEST{'NAS-Port-Type'} = &request:NAS-Port-Type -> 'Ethernet'
(2) perl: $RAD_REQUEST{'Event-Timestamp'} = &request:Event-Timestamp -> 'янв 1 1970 08:00:00 +08'
(2) perl: $RAD_REQUEST{'NAS-Port-Id'} = &request:NAS-Port-Id -> 'ether6'
(2) perl: $RAD_REQUEST{'MS-CHAP-Challenge'} = &request:MS-CHAP-Challenge -> '0x7866222c43ca5eb9f24de8c664eb1cea'
(2) perl: $RAD_REQUEST{'MS-CHAP2-Response'} = &request:MS-CHAP2-Response -> '0x0100c6ae017809d7911ae388696cd8eed5ba0000000000000000d151e3693feaefb19af5ce419e8019afc5024e3222025f40'
(2) perl: $RAD_REPLY{'Reply-Message'} = &reply:Reply-Message -> 'NOT_ALLOW_NAS: 5 (192.168.88.25)'
(2) perl: $RAD_REPLY{'MS-MPPE-Encryption-Policy'} = &reply:MS-MPPE-Encryption-Policy -> 'Encryption-Allowed'
(2) perl: $RAD_REPLY{'MS-MPPE-Encryption-Types'} = &reply:MS-MPPE-Encryption-Types -> 'RC4-40or128-bit-Allowed'
(2) perl: $RAD_REPLY{'MS-MPPE-Send-Key'} = &reply:MS-MPPE-Send-Key -> '0x2480f13f459cec3019af9faa5ad60931'
(2) perl: $RAD_REPLY{'MS-MPPE-Recv-Key'} = &reply:MS-MPPE-Recv-Key -> '0x02fb87184e58efd6a940ebe9bb31f198'
(2) perl: $RAD_REPLY{'MS-CHAP2-Success'} = &reply:MS-CHAP2-Success -> '0x01533d31443931394230413643434235324330344337303935423035313836344246313742454631374432'
(2) perl: $RAD_CHECK{'Auth-Type'} = &control:Auth-Type -> 'Reject'
(2) perl: $RAD_CHECK{'LM-Password'} = &control:LM-Password -> '0x6911745c729d2ed4f04b4a1a2263c4f6'
(2) perl: $RAD_CHECK{'NT-Password'} = &control:NT-Password -> '0xf3b54838456428cf6bd6d5fe441e3e5b'
(2) perl: $RAD_CHECK{'Cleartext-Password'} = &control:Cleartext-Password -> 'zaria-193'
(2) perl: $RAD_CONFIG{'Auth-Type'} = &control:Auth-Type -> 'Reject'
(2) perl: $RAD_CONFIG{'LM-Password'} = &control:LM-Password -> '0x6911745c729d2ed4f04b4a1a2263c4f6'
(2) perl: $RAD_CONFIG{'NT-Password'} = &control:NT-Password -> '0xf3b54838456428cf6bd6d5fe441e3e5b'
(2) perl: $RAD_CONFIG{'Cleartext-Password'} = &control:Cleartext-Password -> 'zaria-193'
(2) perl: &request:Called-Station-Id = $RAD_REQUEST{'Called-Station-Id'} -> 'service1'
(2) perl: &request:Service-Type = $RAD_REQUEST{'Service-Type'} -> 'Framed-User'
(2) perl: &request:NAS-Port = $RAD_REQUEST{'NAS-Port'} -> '15728642'
(2) perl: &request:MS-CHAP2-Response = $RAD_REQUEST{'MS-CHAP2-Response'} -> '0x0100c6ae017809d7911ae388696cd8eed5ba0000000000000000d151e3693feaefb19af5ce419e8019afc5024e3222025f40'
(2) perl: ERROR: Failed to create pair - failed to parse time string "янв 1 1970 08:00:00 +08"
(2) perl: ERROR: &request:Event-Timestamp = $RAD_REQUEST{'Event-Timestamp'} -> 'янв 1 1970 08:00:00 +08'
(2) perl: &request:Framed-Protocol = $RAD_REQUEST{'Framed-Protocol'} -> 'PPP'
(2) perl: &request:MS-CHAP-Challenge = $RAD_REQUEST{'MS-CHAP-Challenge'} -> '0x7866222c43ca5eb9f24de8c664eb1cea'
(2) perl: &request:NAS-Port-Type = $RAD_REQUEST{'NAS-Port-Type'} -> 'Ethernet'
(2) perl: &request:Calling-Station-Id = $RAD_REQUEST{'Calling-Station-Id'} -> 'F8:A9:63:39:87:A8'
(2) perl: &request:NAS-Identifier = $RAD_REQUEST{'NAS-Identifier'} -> 'MikroTik'
(2) perl: &request:User-Name = $RAD_REQUEST{'User-Name'} -> 'zaria-193'
(2) perl: &request:NAS-IP-Address = $RAD_REQUEST{'NAS-IP-Address'} -> '192.168.88.25'
(2) perl: &request:NAS-Port-Id = $RAD_REQUEST{'NAS-Port-Id'} -> 'ether6'
(2) perl: &reply:MS-MPPE-Send-Key = $RAD_REPLY{'MS-MPPE-Send-Key'} -> '0x2480f13f459cec3019af9faa5ad60931'
(2) perl: &reply:MS-MPPE-Encryption-Types = $RAD_REPLY{'MS-MPPE-Encryption-Types'} -> 'RC4-40or128-bit-Allowed'
(2) perl: &reply:MS-MPPE-Encryption-Policy = $RAD_REPLY{'MS-MPPE-Encryption-Policy'} -> 'Encryption-Allowed'
(2) perl: &reply:MS-MPPE-Recv-Key = $RAD_REPLY{'MS-MPPE-Recv-Key'} -> '0x02fb87184e58efd6a940ebe9bb31f198'
(2) perl: &reply:Reply-Message = $RAD_REPLY{'Reply-Message'} -> 'NOT_ALLOW_NAS: 5 (192.168.88.25)'
(2) perl: &reply:MS-CHAP2-Success = $RAD_REPLY{'MS-CHAP2-Success'} -> '0x01533d31443931394230413643434235324330344337303935423035313836344246313742454631374432'
(2) perl: &control:Auth-Type = $RAD_CHECK{'Auth-Type'} -> 'Reject'
(2) perl: &control:Cleartext-Password = $RAD_CHECK{'Cleartext-Password'} -> 'zaria-193'
(2) perl: &control:LM-Password = $RAD_CHECK{'LM-Password'} -> '0x6911745c729d2ed4f04b4a1a2263c4f6'
(2) perl: &control:NT-Password = $RAD_CHECK{'NT-Password'} -> '0xf3b54838456428cf6bd6d5fe441e3e5b'
(2) [perl] = ok
(2) } # Post-Auth-Type REJECT = ok
(2) Delaying response for 1.000000 seconds
Waking up in 0.2 seconds.
(2) (2) Discarding duplicate request from client NAS_5 port 40624 - ID: 6 due to delayed response
Waking up in 0.7 seconds.
(2) (2) Discarding duplicate request from client NAS_5 port 40624 - ID: 6 due to delayed response
Waking up in 0.4 seconds.
(2) Sending delayed response
(2) Sent Access-Reject Id 6 from 192.168.88.20:1812 to 192.168.88.25:40624 length 213
(2) MS-MPPE-Send-Key = 0x2480f13f459cec3019af9faa5ad60931
(2) MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(2) MS-MPPE-Encryption-Policy = Encryption-Allowed
(2) MS-MPPE-Recv-Key = 0x02fb87184e58efd6a940ebe9bb31f198
(2) Reply-Message = "NOT_ALLOW_NAS: 5 (192.168.88.25)"
(2) MS-CHAP2-Success = 0x01533d31443931394230413643434235324330344337303935423035313836344246313742454631374432
Waking up in 3.9 seconds.
(2) Cleaning up request packet ID 6 with timestamp +477
Ready to process requests

~AsmodeuS~
Site Admin
Сообщения: 5688
Зарегистрирован: Пт янв 28, 2005 3:11 pm
Контактная информация:

Re: Не поднимается сессия PPPoE Mikrotik

Сообщение ~AsmodeuS~ » Пт мар 22, 2019 7:14 am

http://abills.net.ua:8090/pages/viewpag ... Id=7504125


пользователю запрещено подключаться к данному NAS ID

Ответить