[FUG-BR] mpd problemas
R. Filippus
filippus em gmail.com
Sex Jan 28 17:56:35 BRST 2005
Boa tarde pessoal.
Instalei o mpd-3.18_2 no FreeBSD 5.3-Stable, para servir como servidor
VPN de estações Windows.
Já tive diversos problemas, varios erros, pois fiz varias alterações
nas confs do mpd.conf.
Então estou iniciando tudo denovo e tentar debugar o problema com a
possivel ajuda de vc´s.
Abaixo segue os arquivos do mpd, e o log apos digitar mpd -k.
# -------------------------
# mpd.conf
# -------------------------
default:
load pptp0 # Load the pptp session
load pptp1
pptp0:
new -i ng0 pptp0 pptp0
set iface disable on-demand
set iface enable proxy-arp
set bundle disable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 60 180
set ipcp yes vjcomp
set ipcp ranges 192.168.250.1/32 192.168.250.5/30
set ipcp dns 192.168.251.1
set ipcp nbns 192.168.251.1
set bundle enable compression
set ccp yes mppc
set ccp no mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
#pptp1:
new -i ng1 pptp1 pptp1
set iface disable on-demand
#set iface enable proxy-arp
set bundle disable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link keep-alive 60 180
set ipcp yes vjcomp
set ipcp ranges 192.168.250.1/32 192.168.250.9/30
set ipcp dns 192.168.251.1
set ipcp nbns 192.168.251.1
set bundle enable compression
set ccp yes mppc
set ccp no mpp-e40
set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
# -------------------------
# mpd.links
# -------------------------
pptp0:
set link type pptp
set pptp self 192.168.250.252
set pptp enable incoming
set pptp disable originate
pptp1:
set link type pptp
set pptp self 192.168.250.252
set pptp enable incoming
set pptp disable originate
# -------------------------
# mpd.secret
# -------------------------
MyLogin MyPassword
PeerLogin PeerPassword
ConsoleLogin ConsolePassword
teste "teste"
# -------------------------
# Abaixo segue o log.
# -------------------------
guaxinim# ps -ax | grep mpd
586 p0 R+ 0:00.00 grep mpd
guaxinim# mpd -k
Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 587, version 3.18 (root em guaxinim.magnus.com.br 15:41 27-Jan-2005)
Usage: load system
[pptp1] ppp node is "mpd587-pptp1"
mpd: local IP address for PPTP is 192.168.250.252
[pptp1] using interface ng1
[pptp1] multilink option required for 4 links
mpd: option "#CHAP" unknown
mpd: option "authentication" unknown
Usage: set ipcp ranges self/width peer/width
[pptp1] #DNS: invalid IP address
[pptp1] #NetBIOS: invalid IP address
mpd: option "#Compression" unknown
mpd: option "and" unknown
[pptp1:device] mpd: PPTP connection from 192.168.250.253:2694
pptp0: attached to connection with 192.168.250.253:2694
[pptp1] IFACE: Open event
[pptp1] IPCP: Open event
[pptp1] IPCP: state change Initial --> Starting
[pptp1] IPCP: LayerStart
[pptp1] IPCP: Open event
[pptp1] bundle: OPEN event in state CLOSED
[pptp1] opening link "pptp1"...
[pptp1] opening link "#Create"...
[pptp1] opening link "netgraph"...
[pptp1] opening link "device"...
[pptp1] link: OPEN event
[pptp1] LCP: Open event
[pptp1] LCP: state change Initial --> Starting
[pptp1] LCP: LayerStart
[#Create] link: OPEN event
[#Create] LCP: Open event
[#Create] LCP: state change Initial --> Starting
[#Create] LCP: LayerStart
[netgraph] link: OPEN event
[netgraph] LCP: Open event
[netgraph] LCP: state change Initial --> Starting
[netgraph] LCP: LayerStart
[device] link: OPEN event
[device] LCP: Open event
[device] LCP: state change Initial --> Starting
[device] LCP: LayerStart
[pptp1] device: OPEN event in state DOWN
[pptp1] attaching to peer's outgoing call
[pptp1] device is now in state OPENING
[#Create] device: OPEN event in state DOWN
[#Create] this link has no type set
[#Create] device is now in state DOWN
[netgraph] device: OPEN event in state DOWN
[netgraph] this link has no type set
[netgraph] device is now in state DOWN
[device] device: OPEN event in state DOWN
[device] this link has no type set
[device] device is now in state DOWN
[pptp1] device: UP event in state OPENING
[pptp1] device is now in state UP
[pptp1] link: UP event
[pptp1] link: origination is remote
[pptp1] LCP: Up event
[pptp1] LCP: state change Starting --> Req-Sent
[pptp1] LCP: phase shift DEAD --> ESTABLISH
[pptp1] LCP: SendConfigReq #1
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 9dd0e9ef
MP MRRU 1600
MP SHORTSEQ
ENDPOINTDISC [802.1] 00 11 11 25 ad ac
pptp0-0: ignoring SetLinkInfo
[pptp1] LCP: rec'd Configure Request #0 link 0 (Req-Sent)
MRU 1400
MAGICNUM 272a74ed
PROTOCOMP
ACFCOMP
CALLBACK
Not supported
[pptp1] LCP: SendConfigRej #0
CALLBACK
[pptp1] LCP: rec'd Configure Request #1 link 0 (Req-Sent)
MRU 1400
MAGICNUM 272a74ed
PROTOCOMP
ACFCOMP
[pptp1] LCP: SendConfigAck #1
MRU 1400
MAGICNUM 272a74ed
PROTOCOMP
ACFCOMP
[pptp1] LCP: state change Req-Sent --> Ack-Sent
[pptp1] LCP: SendConfigReq #2
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 9dd0e9ef
MP MRRU 1600
MP SHORTSEQ
ENDPOINTDISC [802.1] 00 11 11 25 ad ac
[pptp1] LCP: rec'd Configure Reject #2 link 0 (Ack-Sent)
MP MRRU 1600
MP SHORTSEQ
ENDPOINTDISC [802.1] 00 11 11 25 ad ac
[pptp1] LCP: SendConfigReq #3
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 9dd0e9ef
[pptp1] LCP: rec'd Configure Ack #3 link 0 (Ack-Sent)
ACFCOMP
PROTOCOMP
MRU 1500
MAGICNUM 9dd0e9ef
[pptp1] LCP: state change Ack-Sent --> Opened
[pptp1] LCP: phase shift ESTABLISH --> AUTHENTICATE
[pptp1] LCP: auth: peer wants nothing, I want nothing
[pptp1] LCP: authorization successful
[pptp1] LCP: phase shift AUTHENTICATE --> NETWORK
[pptp1] setting interface ng1 MTU to 1400 bytes
[pptp1] up: 1 link, total bandwidth 64000 bps
[pptp1] IPCP: Up event
[pptp1] IPCP: state change Starting --> Req-Sent
[pptp1] IPCP: SendConfigReq #1
IPADDR 192.168.250.252
COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[pptp1] CCP: Open event
[pptp1] CCP: state change Initial --> Starting
[pptp1] CCP: LayerStart
[pptp1] CCP: Up event
[pptp1] CCP: state change Starting --> Req-Sent
[pptp1] CCP: SendConfigReq #1
[pptp1] CCP: Checking whether 40 bits are enabled -> no
[pptp1] CCP: Checking whether 56 bits are enabled -> no
[pptp1] CCP: Checking whether 128 bits are enabled -> yes
MPPC
0x01000040: MPPE, 128 bit, stateless
[pptp1] ECP: Open event
[pptp1] ECP: state change Initial --> Starting
[pptp1] ECP: LayerStart
[pptp1] ECP: Up event
[pptp1] ECP: state change Starting --> Req-Sent
[pptp1] ECP: SendConfigReq #1
[pptp1] LCP: LayerUp
[pptp1] LCP: rec'd Ident #2 link 0 (Opened)
MESG: MSRASV5.10
pptp0-0: ignoring SetLinkInfo
[pptp1] LCP: rec'd Ident #3 link 0 (Opened)
MESG: MSRAS-0-ADMIN03
[pptp1] CCP: rec'd Configure Request #4 link 0 (Req-Sent)
MPPC
0x01000001: MPPC
[pptp1] CCP: Checking whether 40 bits are enabled -> no
[pptp1] CCP: Checking whether 56 bits are enabled -> no
[pptp1] CCP: Checking whether 128 bits are enabled -> yes
[pptp1] CCP: SendConfigNak #4
MPPC
0x01000040: MPPE, 128 bit, stateless
[pptp1] IPCP: rec'd Configure Request #5 link 0 (Req-Sent)
IPADDR 0.0.0.0
no IP address available for peer!
NAKing with 0.0.0.0
PRIDNS 0.0.0.0
NAKing with 192.168.251.1
PRINBNS 0.0.0.0
NAKing with 192.168.251.1
SECDNS 0.0.0.0
SECNBNS 0.0.0.0
[pptp1] IPCP: SendConfigRej #5
SECDNS 0.0.0.0
SECNBNS 0.0.0.0
[pptp1] IPCP: rec'd Configure Reject #1 link 0 (Req-Sent)
COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
[pptp1] IPCP: SendConfigReq #2
IPADDR 192.168.250.252
[pptp1] CCP: rec'd Configure Reject #1 link 0 (Req-Sent)
MPPC
[pptp1] CCP: SendConfigReq #2
[pptp1] LCP: rec'd Protocol Reject #6 link 0 (Opened)
[pptp1] LCP: protocol ECP was rejected
[pptp1] ECP: protocol was rejected by peer
[pptp1] IPCP: failed to negotiate required encryption
[pptp1] IPCP: state change Req-Sent --> Stopped
[pptp1] IPCP: LayerFinish
[pptp1] ECP: state change Req-Sent --> Stopped
[pptp1] ECP: LayerFinish
[pptp1] bundle: CLOSE event in state OPENED
[pptp1] closing link "pptp1"...
[pptp1] closing link "#Create"...
[pptp1] closing link "netgraph"...
[pptp1] closing link "device"...
[#Create] link: CLOSE event
[#Create] LCP: Close event
[#Create] LCP: state change Starting --> Initial
[#Create] LCP: LayerFinish
[netgraph] link: CLOSE event
[netgraph] LCP: Close event
[netgraph] LCP: state change Starting --> Initial
[netgraph] LCP: LayerFinish
[device] link: CLOSE event
[device] LCP: Close event
[device] LCP: state change Starting --> Initial
[device] LCP: LayerFinish
[pptp1] link: CLOSE event
[pptp1] LCP: Close event
[pptp1] LCP: state change Opened --> Closing
[pptp1] LCP: phase shift NETWORK --> TERMINATE
[pptp1] setting interface ng1 MTU to 1500 bytes
[pptp1] up: 0 links, total bandwidth 9600 bps
[pptp1] IPCP: Down event
[pptp1] IPCP: state change Stopped --> Starting
[pptp1] IPCP: LayerStart
[pptp1] CCP: Down event
[pptp1] CCP: state change Req-Sent --> Starting
[pptp1] CCP: Close event
[pptp1] CCP: state change Starting --> Initial
[pptp1] CCP: LayerFinish
[pptp1] ECP: Down event
[pptp1] ECP: state change Stopped --> Starting
[pptp1] ECP: LayerStart
[pptp1] ECP: Close event
[pptp1] ECP: state change Starting --> Initial
[pptp1] ECP: LayerFinish
[pptp1] closing link "pptp1"...
[pptp1] LCP: SendTerminateReq #4
[pptp1] LCP: LayerDown
[pptp1] bundle: OPEN event in state CLOSED
[pptp1] opening link "pptp1"...
[pptp1] opening link "#Create"...
[pptp1] opening link "netgraph"...
[pptp1] opening link "device"...
[pptp1] link: CLOSE event
[pptp1] LCP: Close event
[#Create] device: CLOSE event in state DOWN
[#Create] this link has no type set
[#Create] device is now in state DOWN
[netgraph] device: CLOSE event in state DOWN
[netgraph] this link has no type set
[netgraph] device is now in state DOWN
[device] device: CLOSE event in state DOWN
[device] this link has no type set
[device] device is now in state DOWN
[#Create] link: OPEN event
[#Create] LCP: Open event
[#Create] LCP: state change Initial --> Starting
[#Create] LCP: LayerStart
[netgraph] link: OPEN event
[netgraph] LCP: Open event
[netgraph] LCP: state change Initial --> Starting
[netgraph] LCP: LayerStart
[device] link: OPEN event
[device] LCP: Open event
[device] LCP: state change Initial --> Starting
[device] LCP: LayerStart
[pptp1] link: OPEN event
[pptp1] LCP: Open event
[pptp1] LCP: state change Closing --> Stopping
[#Create] device: OPEN event in state DOWN
[#Create] this link has no type set
[#Create] device is now in state DOWN
[netgraph] device: OPEN event in state DOWN
[netgraph] this link has no type set
[netgraph] device is now in state DOWN
[device] device: OPEN event in state DOWN
[device] this link has no type set
[device] device is now in state DOWN
[pptp1] rec'd proto CCP during terminate phase
[pptp1] rec'd proto IPCP during terminate phase
[pptp1] rec'd proto IPCP during terminate phase
[pptp1] rec'd proto CCP during terminate phase
[pptp1] LCP: rec'd Terminate Ack #4 link 0 (Stopping)
[pptp1] LCP: state change Stopping --> Stopped
[pptp1] LCP: phase shift TERMINATE --> ESTABLISH
[pptp1] LCP: LayerFinish
[pptp1] device: CLOSE event in state UP
pptp0-0: clearing call
pptp0-0: killing channel
[pptp1] PPTP call terminated
[pptp1] IFACE: Close event
[pptp1] IPCP: Close event
[pptp1] IPCP: state change Starting --> Initial
[pptp1] IPCP: LayerFinish
[pptp1] IFACE: Close event
pptp0: closing connection with 192.168.250.253:2694
[pptp1] IFACE: Close event
[pptp1] device is now in state CLOSING
[pptp1] bundle: CLOSE event in state OPENED
[pptp1] closing link "pptp1"...
[pptp1] closing link "#Create"...
[pptp1] closing link "netgraph"...
[pptp1] closing link "device"...
[pptp1] device: DOWN event in state CLOSING
[pptp1] device is now in state DOWN
[#Create] link: CLOSE event
[#Create] LCP: Close event
[#Create] LCP: state change Starting --> Initial
[#Create] LCP: LayerFinish
[netgraph] link: CLOSE event
[netgraph] LCP: Close event
[netgraph] LCP: state change Starting --> Initial
[netgraph] LCP: LayerFinish
[device] link: CLOSE event
[device] LCP: Close event
[device] LCP: state change Starting --> Initial
[device] LCP: LayerFinish
[pptp1] link: CLOSE event
[pptp1] LCP: Close event
[pptp1] LCP: state change Stopped --> Closed
[pptp1] device: DOWN event in state DOWN
[pptp1] device is now in state DOWN
[pptp1] link: DOWN event
[pptp1] LCP: Down event
[pptp1] LCP: state change Closed --> Initial
[pptp1] LCP: phase shift ESTABLISH --> DEAD
[#Create] device: CLOSE event in state DOWN
[#Create] this link has no type set
[#Create] device is now in state DOWN
[netgraph] device: CLOSE event in state DOWN
[netgraph] this link has no type set
[netgraph] device is now in state DOWN
[device] device: CLOSE event in state DOWN
[device] this link has no type set
[device] device is now in state DOWN
pptp0: CID 0x3746 in SetLinkInfo not found
[pptp1] link: DOWN event
[pptp1] LCP: Down event
pptp0: killing connection with 192.168.250.253:2694
--
Atenciosamente,
R. Filippus
_______________________________________________________________
Para enviar um novo email para a lista: freebsd em fug.com.br
Sair da Lista: http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/
Mais detalhes sobre a lista de discussão freebsd