Код: Выделить всё
mpd: [re0-2] RADIUS: PANIC no MS-CHAP2-Success received from server!
в логах радиуса все чисто.
При
radiusd -x
Код: Выделить всё
Initializing the thread pool...
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1:45541, id=156, length=240
NAS-Identifier = "bens.itnet"
Message-Authenticator = 0x440ce9eaa524a8fc29517e9a6dc5bb77
Acct-Session-Id = "7504047-re0-2"
NAS-Port = 2
NAS-Port-Type = Ethernet
Service-Type = Framed-User
Framed-Protocol = PPP
Calling-Station-Id = "002421a93b34"
NAS-Port-Id = "re0"
mpd-link = "re0-2"
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Client-Endpoint:0 = "00:24:21:a9:3b:34"
User-Name = "testuser"
MS-CHAP-Challenge = 0xbb1e685a9d10b3ebc20eb44d57c74527
MS-CHAP2-Response = 0x01009cdb37a65a490d7fe6d2f176e3a066db00000000000000004b257017dcfbddfa2a6fd661cc9e5a07e7de596d6a941399
Exec-Program-Wait: value-pairs: User-Password == "testpassword"
Exec-Program: returned: 0
Exec-Program-Wait: value-pairs: Session-Timeout = 1043952, Framed-IP-Address = 10.10.10.57, Framed-IP-Netmask = 255.255.255.255,
Exec-Program: returned: 0
Sending Access-Accept of id 156 to 127.0.0.1 port 45541
Session-Timeout = 1043952
Framed-IP-Address = 10.10.10.57
Framed-IP-Netmask = 255.255.255.255
mpd в логах
Код: Выделить всё
27Multi-link PPP daemon for FreeBSD
27 bens mpd:
27process 807 started, version 5.5 (root@bens.itnet 04:50 8-Oct-2010)
27CONSOLE: listening on 127.0.0.1 5005
27web: listening on 0.0.0.0 5006
27PPPoE: waiting for connection on re0:, service "*"
Incoming PPPoE connection request via re0: for service "" from 00:24:21:a9:3b:34
[re0-2] Accepting PPPoE connection
[re0-2] Link: OPEN event
[re0-2] LCP: Open event
[re0-2] LCP: state change Initial --> Starting
[re0-2] LCP: LayerStart
[re0-2] PPPoE: connection successful
[re0-2] Link: UP event
[re0-2] LCP: Up event
[re0-2] LCP: state change Starting --> Req-Sent
[re0-2] LCP: SendConfigReq #1
[re0-2] MRU 1492
[re0-2] MAGICNUM b3bcb426
[re0-2] AUTHPROTO CHAP MSOFTv2
[re0-2] MP MRRU 2048
[re0-2] MP SHORTSEQ
[re0-2] ENDPOINTDISC [802.1] 00 19 21 7f 2a 1c
[re0-2] LCP: rec'd Configure Request #0 (Req-Sent)
[re0-2] MRU 1480
[re0-2] MAGICNUM 078e221f
[re0-2] PROTOCOMP
[re0-2] ACFCOMP
[re0-2] CALLBACK 6
[re0-2] LCP: SendConfigRej #0
[re0-2] PROTOCOMP
[re0-2] ACFCOMP
[re0-2] CALLBACK 6
[re0-2] LCP: rec'd Configure Request #1 (Req-Sent)
[re0-2] MRU 1480
[re0-2] MAGICNUM 078e221f
[re0-2] LCP: SendConfigAck #1
[re0-2] MRU 1480
[re0-2] MAGICNUM 078e221f
[re0-2] LCP: state change Req-Sent --> Ack-Sent
[re0-2] LCP: SendConfigReq #2
[re0-2] MRU 1492
[re0-2] MAGICNUM b3bcb426
[re0-2] AUTHPROTO CHAP MSOFTv2
[re0-2] MP MRRU 2048
[re0-2] MP SHORTSEQ
[re0-2] ENDPOINTDISC [802.1] 00 19 21 7f 2a 1c
[re0-2] LCP: rec'd Configure Reject #2 (Ack-Sent)
[re0-2] MP MRRU 2048
[re0-2] MP SHORTSEQ
[re0-2] ENDPOINTDISC [802.1] 00 19 21 7f 2a 1c
[re0-2] LCP: SendConfigReq #3
[re0-2] MRU 1492
[re0-2] MAGICNUM b3bcb426
[re0-2] AUTHPROTO CHAP MSOFTv2
[re0-2] LCP: rec'd Configure Ack #3 (Ack-Sent)
[re0-2] MRU 1492
[re0-2] MAGICNUM b3bcb426
[re0-2] AUTHPROTO CHAP MSOFTv2
[re0-2] LCP: state change Ack-Sent --> Opened
[re0-2] LCP: auth: peer wants nothing, I want CHAP
[re0-2] CHAP: sending CHALLENGE #1 len: 21
[re0-2] LCP: LayerUp
[re0-2] LCP: rec'd Ident #2 (Opened)
[re0-2] MESG: MSRASV5.20
[re0-2] LCP: rec'd Ident #3 (Opened)
[re0-2] MESG: MSRAS-0-BENS-M-^OM-
[re0-2] LCP: rec'd Ident #4 (Opened)
[re0-2] MESG: M-^]е╨fя╠WOM-^BЄM-^@оїИM-^_^_
[re0-2] CHAP: rec'd RESPONSE #1 len: 62
[re0-2] Name: "testuser"
[re0-2] AUTH: Trying RADIUS
[re0-2] RADIUS: Authenticating user 'testuser'
[re0-2] CHAP: rec'd RESPONSE #1 len: 62
[re0-2] Name: "testuser"
[re0-2] CHAP: Auth return status: busy
[re0-2] RADIUS: Rec'd RAD_ACCESS_ACCEPT for user 'testuser'
[re0-2] RADIUS: PANIC no MS-CHAP2-Success received from server!
[re0-2] AUTH: RADIUS returned error
[re0-2] AUTH: Trying INTERNAL
[re0-2] AUTH: User "testuser" not found in secret file
[re0-2] AUTH: INTERNAL returned: failed
[re0-2] AUTH: ran out of backends
[re0-2] CHAP: Auth return status: failed
[re0-2] CHAP: Reply message: E=691 R=0 M=Login incorrect
[re0-2] CHAP: sending FAILURE #1 len: 31
[re0-2] LCP: authorization failed
[re0-2] LCP: parameter negotiation failed
[re0-2] LCP: state change Opened --> Stopping
[re0-2] LCP: SendTerminateReq #4
[re0-2] LCP: LayerDown
[re0-2] LCP: rec'd Terminate Ack #4 (Stopping)
[re0-2] LCP: state change Stopping --> Stopped
[re0-2] LCP: LayerFinish
[re0-2] PPPoE: connection closed
[re0-2] Link: DOWN event
[re0-2] LCP: Close event
[re0-2] LCP: state change Stopped --> Closed
[re0-2] LCP: Down event
[re0-2] LCP: state change Closed --> Initial
[re0-2] Link: SHUTDOWN event
[re0-2] Link: Shutdown