Рвет PPPoE соединения на 9 секунде!

Вопросы и пожелания
Ответить
Кузьменко
Сообщения: 26
Зарегистрирован: Сб мар 16, 2013 10:13 am

Рвет PPPoE соединения на 9 секунде!

Сообщение Кузьменко »

Windows подключается
любой роутер не проходит автентикацьію

var/log/mpd.log при подключении Windows

Код: Выделить всё

Mar 18 07:52:16 athlon mpd: Incoming PPPoE connection request via rl0: for service "" from 74:2f:68:a3:59:8c
Mar 18 07:52:16 athlon mpd: [rl0-2] Accepting PPPoE connection
Mar 18 07:52:16 athlon mpd: [rl0-2] Link: OPEN event
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: Open event
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: state change Initial --> Starting
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: LayerStart
Mar 18 07:52:16 athlon mpd: [rl0-2] PPPoE: connection successful
Mar 18 07:52:16 athlon mpd: [rl0-2] Link: UP event
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: Up event
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: state change Starting --> Req-Sent
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: SendConfigReq #1
Mar 18 07:52:16 athlon mpd: [rl0-2]   PROTOCOMP
Mar 18 07:52:16 athlon mpd: [rl0-2]   MRU 1492
Mar 18 07:52:16 athlon mpd: [rl0-2]   MAGICNUM 8dfa5dcc
Mar 18 07:52:16 athlon mpd: [rl0-2]   AUTHPROTO PAP
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: rec'd Configure Request #0 (Req-Sent)
Mar 18 07:52:16 athlon mpd: [rl0-2]   MRU 1480
Mar 18 07:52:16 athlon mpd: [rl0-2]   MAGICNUM 044d1485
Mar 18 07:52:16 athlon mpd: [rl0-2]   PROTOCOMP
Mar 18 07:52:16 athlon mpd: [rl0-2]   ACFCOMP
Mar 18 07:52:16 athlon mpd: [rl0-2]   CALLBACK 6
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: SendConfigRej #0
Mar 18 07:52:16 athlon mpd: [rl0-2]   ACFCOMP
Mar 18 07:52:16 athlon mpd: [rl0-2]   CALLBACK 6
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: rec'd Configure Request #1 (Req-Sent)
Mar 18 07:52:16 athlon mpd: [rl0-2]   MRU 1480
Mar 18 07:52:16 athlon mpd: [rl0-2]   MAGICNUM 044d1485
Mar 18 07:52:16 athlon mpd: [rl0-2]   PROTOCOMP
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: SendConfigAck #1
Mar 18 07:52:16 athlon mpd: [rl0-2]   MRU 1480
Mar 18 07:52:16 athlon mpd: [rl0-2]   MAGICNUM 044d1485
Mar 18 07:52:16 athlon mpd: [rl0-2]   PROTOCOMP
Mar 18 07:52:16 athlon mpd: [rl0-2] LCP: state change Req-Sent --> Ack-Sent
Mar 18 07:52:18 athlon mpd: [rl0-2] LCP: SendConfigReq #2
Mar 18 07:52:18 athlon mpd: [rl0-2]   PROTOCOMP
Mar 18 07:52:18 athlon mpd: [rl0-2]   MRU 1492
Mar 18 07:52:18 athlon mpd: [rl0-2]   MAGICNUM 8dfa5dcc
Mar 18 07:52:18 athlon mpd: [rl0-2]   AUTHPROTO PAP
Mar 18 07:52:18 athlon mpd: [rl0-2] LCP: rec'd Configure Ack #2 (Ack-Sent)
Mar 18 07:52:18 athlon mpd: [rl0-2]   PROTOCOMP
Mar 18 07:52:18 athlon mpd: [rl0-2]   MRU 1492
Mar 18 07:52:18 athlon mpd: [rl0-2]   MAGICNUM 8dfa5dcc
Mar 18 07:52:18 athlon mpd: [rl0-2]   AUTHPROTO PAP
Mar 18 07:52:18 athlon mpd: [rl0-2] LCP: state change Ack-Sent --> Opened
Mar 18 07:52:18 athlon mpd: [rl0-2] LCP: auth: peer wants nothing, I want PAP
Mar 18 07:52:18 athlon mpd: [rl0-2] LCP: LayerUp
Mar 18 07:52:18 athlon mpd: [rl0-2] LCP: rec'd Ident #2 (Opened)
Mar 18 07:52:18 athlon mpd: [rl0-2]   MESG: MSRASV5.20
Mar 18 07:52:18 athlon mpd: [rl0-2] LCP: rec'd Ident #3 (Opened)
Mar 18 07:52:18 athlon mpd: [rl0-2]   MESG: MSRAS-0-C50
Mar 18 07:52:18 athlon mpd: [rl0-2] LCP: rec'd Ident #4 (Opened)
Mar 18 07:52:18 athlon mpd: [rl0-2]   MESG: 7M-^CЦAM-^AЙIGM-^PM-^Qб0D^]N^R
Mar 18 07:52:18 athlon mpd: [rl0-2] PAP: rec'd REQUEST #6 len: 17
Mar 18 07:52:18 athlon mpd: [rl0-2] AUTH: Trying RADIUS
Mar 18 07:52:18 athlon mpd: [rl0-2] AUTH: RADIUS returned: authenticated
Mar 18 07:52:18 athlon mpd: [rl0-2] PAP: Auth return status: authenticated
Mar 18 07:52:18 athlon mpd: [rl0-2] PAP: Response is valid
Mar 18 07:52:18 athlon mpd: [rl0-2] PAP: Reply message: Welcome
Mar 18 07:52:18 athlon mpd: [rl0-2] PAP: sending ACK #6 len: 12
Mar 18 07:52:18 athlon mpd: [rl0-2] LCP: authorization successful
Mar 18 07:52:18 athlon mpd: [rl0-2] Link: Matched action 'bundle "rl0" ""'
Mar 18 07:52:18 athlon mpd: [rl0-2] Creating new bundle using template "rl0".
Mar 18 07:52:18 athlon mpd: [rl0-1] Bundle: Interface ng0 created
Mar 18 07:52:18 athlon mpd: [rl0-2] Link: Join bundle "rl0-1"
Mar 18 07:52:18 athlon mpd: [rl0-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: Open event
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: state change Initial --> Starting
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: LayerStart
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: Up event
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: state change Starting --> Req-Sent
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: SendConfigReq #1
Mar 18 07:52:18 athlon mpd: [rl0-1]   IPADDR 10.10.10.1
Mar 18 07:52:18 athlon mpd: [rl0-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 18 07:52:18 athlon mpd: [rl0-2] rec'd unexpected protocol IPV6CP, rejecting
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: rec'd Configure Request #6 (Req-Sent)
Mar 18 07:52:18 athlon mpd: [rl0-1]   IPADDR 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1]     NAKing with 10.10.10.152
Mar 18 07:52:18 athlon mpd: [rl0-1]   PRIDNS 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1]     NAKing with 193.41.60.8
Mar 18 07:52:18 athlon mpd: [rl0-1]   PRINBNS 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1]   SECDNS 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1]     NAKing with 8.8.4.4
Mar 18 07:52:18 athlon mpd: [rl0-1]   SECNBNS 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: SendConfigRej #6
Mar 18 07:52:18 athlon mpd: [rl0-1]   PRINBNS 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1]   SECNBNS 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: rec'd Configure Reject #1 (Req-Sent)
Mar 18 07:52:18 athlon mpd: [rl0-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: SendConfigReq #2
Mar 18 07:52:18 athlon mpd: [rl0-1]   IPADDR 10.10.10.1
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: rec'd Configure Request #7 (Req-Sent)
Mar 18 07:52:18 athlon mpd: [rl0-1]   IPADDR 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1]     NAKing with 10.10.10.152
Mar 18 07:52:18 athlon mpd: [rl0-1]   PRIDNS 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1]     NAKing with 193.41.60.8
Mar 18 07:52:18 athlon mpd: [rl0-1]   SECDNS 0.0.0.0
Mar 18 07:52:18 athlon mpd: [rl0-1]     NAKing with 8.8.4.4
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: SendConfigNak #7
Mar 18 07:52:18 athlon mpd: [rl0-1]   IPADDR 10.10.10.152
Mar 18 07:52:18 athlon mpd: [rl0-1]   PRIDNS 193.41.60.8
Mar 18 07:52:18 athlon mpd: [rl0-1]   SECDNS 8.8.4.4
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: rec'd Configure Ack #2 (Req-Sent)
Mar 18 07:52:18 athlon mpd: [rl0-1]   IPADDR 10.10.10.1
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: state change Req-Sent --> Ack-Rcvd
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: rec'd Configure Request #8 (Ack-Rcvd)
Mar 18 07:52:18 athlon mpd: [rl0-1]   IPADDR 10.10.10.152
Mar 18 07:52:18 athlon mpd: [rl0-1]     10.10.10.152 is OK
Mar 18 07:52:18 athlon mpd: [rl0-1]   PRIDNS 193.41.60.8
Mar 18 07:52:18 athlon mpd: [rl0-1]   SECDNS 8.8.4.4
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: SendConfigAck #8
Mar 18 07:52:18 athlon mpd: [rl0-1]   IPADDR 10.10.10.152
Mar 18 07:52:18 athlon mpd: [rl0-1]   PRIDNS 193.41.60.8
Mar 18 07:52:18 athlon mpd: [rl0-1]   SECDNS 8.8.4.4
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: state change Ack-Rcvd --> Opened
Mar 18 07:52:18 athlon mpd: [rl0-1] IPCP: LayerUp
Mar 18 07:52:18 athlon mpd: [rl0-1]   10.10.10.1 -> 10.10.10.152
Mar 18 07:52:19 athlon mpd: [rl0-1] IFACE: Up event
Mar 18 07:52:23 athlon mpd: [rl0-2] LCP: rec'd Terminate Request #9 (Opened)
Mar 18 07:52:23 athlon mpd: [rl0-2] LCP: state change Opened --> Stopping
Mar 18 07:52:23 athlon mpd: [rl0-2] Link: Leave bundle "rl0-1"
Mar 18 07:52:23 athlon mpd: [rl0-1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Mar 18 07:52:23 athlon mpd: [rl0-1] IPCP: Close event
Mar 18 07:52:23 athlon mpd: [rl0-1] IPCP: state change Opened --> Closing
Mar 18 07:52:23 athlon mpd: [rl0-1] IPCP: SendTerminateReq #3
Mar 18 07:52:23 athlon mpd: [rl0-1] IPCP: LayerDown
Mar 18 07:52:23 athlon mpd: [rl0-1] IFACE: Down event
Mar 18 07:52:23 athlon mpd: [rl0-1] IPCP: Down event
Mar 18 07:52:23 athlon mpd: [rl0-1] IPCP: LayerFinish
Mar 18 07:52:23 athlon mpd: [rl0-1] Bundle: No NCPs left. Closing links...
Mar 18 07:52:23 athlon mpd: [rl0-1] IPCP: state change Closing --> Initial
Mar 18 07:52:23 athlon mpd: [rl0-1] Bundle: Shutdown
Mar 18 07:52:23 athlon mpd: [rl0-2] LCP: SendTerminateAck #3
Mar 18 07:52:23 athlon mpd: [rl0-2] LCP: LayerDown
Mar 18 07:52:24 athlon mpd: [rl0-2] rec'd proto IP during terminate phase
Mar 18 07:52:24 athlon mpd: [rl0-2] rec'd proto IP during terminate phase
Mar 18 07:52:24 athlon mpd: [rl0-2] LCP: rec'd Terminate Request #10 (Stopping)
Mar 18 07:52:24 athlon mpd: [rl0-2] LCP: SendTerminateAck #4
Mar 18 07:52:25 athlon mpd: [rl0-2] LCP: state change Stopping --> Stopped
Mar 18 07:52:25 athlon mpd: [rl0-2] LCP: LayerFinish
Mar 18 07:52:25 athlon mpd: [rl0-2] PPPoE: connection closed
Mar 18 07:52:25 athlon mpd: [rl0-2] Link: DOWN event
Mar 18 07:52:25 athlon mpd: [rl0-2] LCP: Close event
Mar 18 07:52:25 athlon mpd: [rl0-2] LCP: state change Stopped --> Closed
Mar 18 07:52:25 athlon mpd: [rl0-2] LCP: Down event
Mar 18 07:52:25 athlon mpd: [rl0-2] LCP: state change Closed --> Initial
Mar 18 07:52:25 athlon mpd: [rl0-2] Link: SHUTDOWN event
Mar 18 07:52:25 athlon mpd: [rl0-2] Link: Shutdown
var/log/mpd.log при подключении роутера

Код: Выделить всё

Mar 18 07:52:47 athlon mpd: Incoming PPPoE connection request via rl0: for service "" from d4:ca:6d:30:05:18
Mar 18 07:52:47 athlon mpd: [rl0-2] Accepting PPPoE connection
Mar 18 07:52:47 athlon mpd: [rl0-2] Link: OPEN event
Mar 18 07:52:47 athlon mpd: [rl0-2] LCP: Open event
Mar 18 07:52:47 athlon mpd: [rl0-2] LCP: state change Initial --> Starting
Mar 18 07:52:47 athlon mpd: [rl0-2] LCP: LayerStart
Mar 18 07:52:47 athlon mpd: [rl0-2] PPPoE: connection successful
Mar 18 07:52:47 athlon mpd: [rl0-2] Link: UP event
Mar 18 07:52:47 athlon mpd: [rl0-2] LCP: Up event
Mar 18 07:52:47 athlon mpd: [rl0-2] LCP: state change Starting --> Req-Sent
Mar 18 07:52:47 athlon mpd: [rl0-2] LCP: SendConfigReq #1
Mar 18 07:52:47 athlon mpd: [rl0-2]   PROTOCOMP
Mar 18 07:52:47 athlon mpd: [rl0-2]   MRU 1492
Mar 18 07:52:47 athlon mpd: [rl0-2]   MAGICNUM 5d3acd02
Mar 18 07:52:47 athlon mpd: [rl0-2]   AUTHPROTO PAP
Mar 18 07:52:47 athlon mpd: [rl0-2] LCP: rec'd Configure Request #4 (Req-Sent)
Mar 18 07:52:47 athlon mpd: [rl0-2]   MRU 1480
Mar 18 07:52:47 athlon mpd: [rl0-2]   MAGICNUM 14d702fd
Mar 18 07:52:47 athlon mpd: [rl0-2] LCP: SendConfigAck #4
Mar 18 07:52:47 athlon mpd: [rl0-2]   MRU 1480
Mar 18 07:52:47 athlon mpd: [rl0-2]   MAGICNUM 14d702fd
Mar 18 07:52:47 athlon mpd: [rl0-2] LCP: state change Req-Sent --> Ack-Sent
Mar 18 07:52:48 athlon mpd: [rl0-2] LCP: rec'd Configure Request #5 (Ack-Sent)
Mar 18 07:52:48 athlon mpd: [rl0-2]   MRU 1480
Mar 18 07:52:48 athlon mpd: [rl0-2]   MAGICNUM 14d702fd
Mar 18 07:52:48 athlon mpd: [rl0-2] LCP: SendConfigAck #5
Mar 18 07:52:48 athlon mpd: [rl0-2]   MRU 1480
Mar 18 07:52:48 athlon mpd: [rl0-2]   MAGICNUM 14d702fd
Mar 18 07:52:49 athlon mpd: [rl0-2] LCP: SendConfigReq #2
Mar 18 07:52:49 athlon mpd: [rl0-2]   PROTOCOMP
Mar 18 07:52:49 athlon mpd: [rl0-2]   MRU 1492
Mar 18 07:52:49 athlon mpd: [rl0-2]   MAGICNUM 5d3acd02
Mar 18 07:52:49 athlon mpd: [rl0-2]   AUTHPROTO PAP
Mar 18 07:52:49 athlon mpd: [rl0-2] LCP: rec'd Configure Reject #2 (Ack-Sent)
Mar 18 07:52:49 athlon mpd: [rl0-2]   PROTOCOMP
Mar 18 07:52:49 athlon mpd: [rl0-2] LCP: SendConfigReq #3
Mar 18 07:52:49 athlon mpd: [rl0-2]   MRU 1492
Mar 18 07:52:49 athlon mpd: [rl0-2]   MAGICNUM 5d3acd02
Mar 18 07:52:49 athlon mpd: [rl0-2]   AUTHPROTO PAP
Mar 18 07:52:49 athlon mpd: [rl0-2] LCP: rec'd Configure Ack #3 (Ack-Sent)
Mar 18 07:52:49 athlon mpd: [rl0-2]   MRU 1492
Mar 18 07:52:49 athlon mpd: [rl0-2]   MAGICNUM 5d3acd02
Mar 18 07:52:49 athlon mpd: [rl0-2]   AUTHPROTO PAP
Mar 18 07:52:49 athlon mpd: [rl0-2] LCP: state change Ack-Sent --> Opened
Mar 18 07:52:49 athlon mpd: [rl0-2] LCP: auth: peer wants nothing, I want PAP
Mar 18 07:52:49 athlon mpd: [rl0-2] LCP: LayerUp
Mar 18 07:52:49 athlon mpd: [rl0-2] PAP: rec'd REQUEST #5 len: 17
Mar 18 07:52:49 athlon mpd: [rl0-2] AUTH: Trying RADIUS
Mar 18 07:52:51 athlon mpd: [rl0-2] LCP: rec'd Terminate Request #6 (Opened)
Mar 18 07:52:51 athlon mpd: [rl0-2] LCP: state change Opened --> Stopping
Mar 18 07:52:51 athlon mpd: [rl0-2] LCP: SendTerminateAck #4
Mar 18 07:52:51 athlon mpd: [rl0-2] LCP: LayerDown
Mar 18 07:52:53 athlon mpd: [rl0-2] LCP: state change Stopping --> Stopped
Mar 18 07:52:53 athlon mpd: [rl0-2] LCP: LayerFinish
Mar 18 07:52:53 athlon mpd: [rl0-2] PPPoE: connection closed
Mar 18 07:52:53 athlon mpd: [rl0-2] Link: DOWN event
Mar 18 07:52:53 athlon mpd: [rl0-2] LCP: Close event
Mar 18 07:52:53 athlon mpd: [rl0-2] LCP: state change Stopped --> Closed
Mar 18 07:52:53 athlon mpd: [rl0-2] LCP: Down event
Mar 18 07:52:53 athlon mpd: [rl0-2] LCP: state change Closed --> Initial
Mar 18 07:52:53 athlon mpd: [rl0-2] Link: SHUTDOWN event
Mar 18 07:52:53 athlon mpd: [rl0-2] Link: Shutdown
В чем может бьіть причина такого поведения?

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

Re: Рвет PPPoE соединения на 9 секунде!

Сообщение ~AsmodeuS~ »

конфиг показывайте

роутер пробует авторизироваться по папу и скорее всего в конфиге пап запрещён

Кузьменко
Сообщения: 26
Зарегистрирован: Сб мар 16, 2013 10:13 am

Re: Рвет PPPoE соединения на 9 секунде!

Сообщение Кузьменко »

/usr/local/etc/mpd5/mpd.conf

Код: Выделить всё

startup:
        # enable TCP-Wrapper (hosts_access(5)) to block unfriendly clients
        set global enable tcp-wrapper
        # configure the console
        set console self 127.0.0.1 5005
        set user 127.0.0.1 PASSWD admin
        set console open
        set radsrv peer 127.0.0.1  PASSWD
        # set radsrv self %NAS_IP% %POD_PORT%
        set radsrv open
        #set web self 0.0.0.0 5006
        #set web open
        #Netflow options
        #set netflow peer %MPD_NETFLOW_IP% %MPD_NETFLOW_PORT%
        #set netflow self %MPD_NETFLOW_SOURCE_IP% %MPD_NETFLOW_SOURCE_PORT%
        #set netflow timeouts 15 15
        #set netflow hook 9000
        #set netflow node netflow
        log -echo -radius -rep

default:
#  load pptp_server
  load pppoe_server

pppoe_server:
      create link template P pppoe
      #set link disable multilink
      set link disable pap eap chap
      set link enable pap
      #set link enable chap-md5
      load radius
      set pppoe service *
      set link enable peer-as-calling
      set ippool add pool12 10.10.10.7 10.10.10..254

      create bundle template rl0
      set iface idle 1800
      set iface enable tcpmssfix
      set iface up-script   "/usr/abills/libexec/linkupdown mpd up"
      set iface down-script "/usr/abills/libexec/linkupdown mpd down"
      set ipcp dns 193.41.60.8 8.8.4.4
      set ipcp ranges 10.10.10.1 ippool pool1
      create link template rl0 P
      set link action bundle rl0
      set pppoe iface rl0
      set link enable incoming
##END_MULTI_SECTION

server_common:
      set link no pap eap
      set link yes chap-md5
      set link keep-alive 20 60
      set link enable incoming
      set link no acfcomp protocomp
      load radius

radius:
     #IP, ОЮПНКЭ Х ОНПРШ RADIUS-ЯЕПБЕПЮ
     set radius server 127.0.0.1 PASSWD 1812 1813
     #set radius config /etc/radius.conf
     set radius retries 1
     set radius timeout 10
     set auth acct-update 300
     set auth enable radius-auth
     set auth enable radius-acct
     set auth disable internal


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

Re: Рвет PPPoE соединения на 9 секунде!

Сообщение ~AsmodeuS~ »

радіус запит покажіть

Кузьменко
Сообщения: 26
Зарегистрирован: Сб мар 16, 2013 10:13 am

Re: Рвет PPPoE соединения на 9 секунде!

Сообщение Кузьменко »

Код: Выделить всё

athlon# radiusd -X
Starting - reading configuration files ...                                                           
reread_config:  reading radiusd.conf                                                                 
Config:   including file: /usr/local/etc/raddb/clients.conf                                          
 main: prefix = "/usr/local"                                                                         
 main: localstatedir = "/var"                                                                        
 main: logdir = "/var/log"                                                                           
 main: libdir = "/usr/local/lib"                                                                     
 main: radacctdir = "/var/log/radacct"                                                               
 main: hostname_lookups = no                                                                         
 main: max_request_time = 30                                                                         
 main: cleanup_delay = 5                                                                             
 main: max_requests = 80960                                                                          
 main: delete_blocked_requests = 0                                                                   
 main: port = 0                                                                                      
 main: allow_core_dumps = no                                                                         
 main: log_stripped_names = no                                                                       
 main: log_file = "/var/log/radius.log"                                                              
 main: log_auth = no                                                                                 
 main: log_auth_badpass = no                                                                         
 main: log_auth_goodpass = no                                                                        
 main: pidfile = "/var/run/radiusd/radiusd.pid"                                                      
 main: user = "(null)"                                                                               
 main: group = "(null)"                                                                              
 main: usercollide = no                                                                              
 main: lower_user = "no"                                                                             
 main: lower_pass = "no"                                                                             
 main: nospace_user = "no"                                                                           
 main: nospace_pass = "no"                                                                           
 main: checkrad = "/usr/local/sbin/checkrad"                                                         
 main: proxy_requests = no                                                                           
 security: max_attributes = 200                                                                      
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will go away soon.
read_config_files:  reading clients
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded exec 
 exec: wait = yes
 exec: program = "(null)"
 exec: input_pairs = "request"
 exec: output_pairs = "(null)"
 exec: packet_type = "(null)"
rlm_exec: Wait=yes but no output defined. Did you mean output=none?
Module: Instantiated exec (exec) 
Module: Loaded expr 
Module: Instantiated expr (expr) 
Module: Loaded PAP 
 pap: encryption_scheme = "crypt"
 pap: auto_header = yes
Module: Instantiated pap (pap) 
Module: Loaded CHAP 
Module: Instantiated chap (chap) 
Module: Loaded MS-CHAP 
 mschap: use_mppe = yes
 mschap: require_encryption = no
 mschap: require_strong = no
 mschap: with_ntdomain_hack = no
 mschap: passwd = "(null)"
 mschap: ntlm_auth = "(null)"
Module: Instantiated mschap (mschap) 
Module: Loaded preprocess 
 preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
 preprocess: hints = "/usr/local/etc/raddb/hints"
 preprocess: with_ascend_hack = no
 preprocess: ascend_channels_per_line = 23
 preprocess: with_ntdomain_hack = no
 preprocess: with_specialix_jetstream_hack = no
 preprocess: with_cisco_vsa_hack = no
 preprocess: with_alvarion_vsa_hack = no
Module: Instantiated preprocess (preprocess) 
 exec: wait = yes
 exec: program = "/usr/abills/libexec/rauth.pl pre_auth"
 exec: input_pairs = "request"
 exec: output_pairs = "config"
 exec: packet_type = "(null)"
Module: Instantiated exec (pre_auth) 
Module: Loaded files 
 files: usersfile = "/usr/local/etc/raddb/users"
 files: acctusersfile = "/usr/local/etc/raddb/acct_users"
 files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
 files: compat = "no"
Module: Instantiated files (files) 
Module: Loaded Acct-Unique-Session-Id 
 acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
Module: Instantiated acct_unique (acct_unique) 
Module: Loaded detail 
 detail: detailfile = "/var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d"
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (detail) 
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1:25296, id=74, length=167
        NAS-Identifier = "athlon.ua"
        Acct-Session-Id = "3648763-rl0-2"
        NAS-Port = 2
        NAS-Port-Type = Ethernet
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Calling-Station-Id = "d4:ca:6d:30:05:18"
        NAS-Port-Id = "rl0"
        mpd-link = "rl0-2"
        Tunnel-Medium-Type:0 = IEEE-802
        Tunnel-Client-Endpoint:0 = "d4:ca:6d:30:05:18"
        User-Name = "user1"
        User-Password = "123456"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
Exec-Program output: Auth-Type := Accept 
Exec-Program-Wait: value-pairs: Auth-Type := Accept
Exec-Program: returned: 0
  modcall[authorize]: module "pre_auth" returns ok for request 0
  modcall[authorize]: module "mschap" returns noop for request 0
    users: Matched entry DEFAULT at line 1
  modcall[authorize]: module "files" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
  rad_check_password:  Found Auth-Type Accept
  rad_check_password: Auth-Type = Accept, accepting the user
Exec-Program output: Reply-Message = "Wrong CID 'd4:ca:6d:30:05:18'" 
Exec-Program-Wait: value-pairs: Reply-Message = "Wrong CID 'd4:ca:6d:30:05:18'"
Exec-Program: returned: 1
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 74 to 127.0.0.1 port 25296
        Reply-Message = "Wrong CID 'd4:ca:6d:30:05:18'"
Waking up in 4 seconds...
rad_recv: Access-Request packet from host 127.0.0.1:32480, id=231, length=167
        NAS-Identifier = "athlon.ua"
        Acct-Session-Id = "3648767-rl0-2"
        NAS-Port = 2
        NAS-Port-Type = Ethernet
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Calling-Station-Id = "d4:ca:6d:30:05:18"
        NAS-Port-Id = "rl0"
        mpd-link = "rl0-2"
        Tunnel-Medium-Type:0 = IEEE-802
        Tunnel-Client-Endpoint:0 = "d4:ca:6d:30:05:18"
        User-Name = "user1"
        User-Password = "123456"
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 1
  modcall[authorize]: module "preprocess" returns ok for request 1
Exec-Program output: Auth-Type := Accept 
Exec-Program-Wait: value-pairs: Auth-Type := Accept
Exec-Program: returned: 0
  modcall[authorize]: module "pre_auth" returns ok for request 1
  modcall[authorize]: module "mschap" returns noop for request 1
    users: Matched entry DEFAULT at line 1
  modcall[authorize]: module "files" returns ok for request 1
modcall: leaving group authorize (returns ok) for request 1
  rad_check_password:  Found Auth-Type Accept
  rad_check_password: Auth-Type = Accept, accepting the user
Exec-Program output: Reply-Message = "Wrong CID 'd4:ca:6d:30:05:18'" 
Exec-Program-Wait: value-pairs: Reply-Message = "Wrong CID 'd4:ca:6d:30:05:18'"
Exec-Program: returned: 1
Delaying request 1 for 1 seconds
Finished request 1
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 74 with timestamp 5147a0fb
Sending Access-Reject of id 231 to 127.0.0.1 port 32480
        Reply-Message = "Wrong CID 'd4:ca:6d:30:05:18'"
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 1 ID 231 with timestamp 5147a0ff
Nothing to do.  Sleeping until we see a request.

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

Re: Рвет PPPoE соединения на 9 секунде!

Сообщение ~AsmodeuS~ »

Sending Access-Reject of id 231 to 127.0.0.1 port 32480
Reply-Message = "Wrong CID 'd4:ca:6d:30:05:18'"


http://abills.net.ua/wiki/doku.php/abil ... ules:dv:ru

Ответить