Страница 1 из 2
FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 16:07:29
chocopie
Чего уже только не пробовал, не работает шифрование между Windows XP VPN и FreeBSD mpd5. Параметры по умолчанию. Т.е. если убирать галку у клиента "Требовать шифрование" - все работает. Но я хочу, чтобы с шифрованием этим работало. Уже и ecp включал и set link mschapv1 и т.п.. Может у кого нибудь есть подобная конструкция? Рабочие конфиги приветствуются.
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 16:11:06
paradox
конфигов и рабочих и сдесь и в гугле полным полно и навалом
а вот что конкретно у вас не получаеться
для того что бы разобраться и понять покажите все конфиги и логи
что и как у вас работает
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 16:41:25
chocopie
Код: Выделить всё
shitty# cat mpd.conf
startup:
set user chocopie brizker admin
set console self 127.0.0.1 5005
set console open
set web self 0.0.0.0 5006
set web open
default:
load pptp_server
pptp_server:
set ippool add pooll 172.26.159.2 172.26.159.200
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 172.26.159.1/32 ippool pooll
set ipcp dns 172.26.159.1
set bundle enable compression
set bundle enable crypt-reqd
set ccp enable mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
create link template L pptp
set link action bundle B
set link enable no-orig-auth
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link enable chap-msv1
set link enable chap-msv2
set link keep-alive 10 75
set link mtu 1460
set pptp self 172.19.48.242
set link enable incoming
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 16:44:33
chocopie
Код: Выделить всё
Sep 22 00:29:00 shitty mpd: [L-1] Accepting PPTP connection
Sep 22 00:29:00 shitty mpd: [L-1] Link: OPEN event
Sep 22 00:29:00 shitty mpd: [L-1] LCP: Open event
Sep 22 00:29:00 shitty mpd: [L-1] LCP: state change Initial --> Starting
Sep 22 00:29:00 shitty mpd: [L-1] LCP: LayerStart
Sep 22 00:29:00 shitty mpd: [L-1] PPTP: attaching to peer's outgoing call
Sep 22 00:29:00 shitty mpd: [L-1] Link: UP event
Sep 22 00:29:00 shitty mpd: [L-1] Link: origination is remote
Sep 22 00:29:00 shitty mpd: [L-1] LCP: Up event
Sep 22 00:29:00 shitty mpd: [L-1] LCP: state change Starting --> Req-Sent
Sep 22 00:29:00 shitty mpd: [L-1] LCP: SendConfigReq #1
Sep 22 00:29:00 shitty mpd: [L-1] ACFCOMP
Sep 22 00:29:00 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:29:00 shitty mpd: [L-1] MRU 1500
Sep 22 00:29:00 shitty mpd: [L-1] MAGICNUM d1d3387d
Sep 22 00:29:00 shitty mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Sep 22 00:29:00 shitty mpd: [L-1] MP MRRU 2048
Sep 22 00:29:00 shitty mpd: [L-1] MP SHORTSEQ
Sep 22 00:29:00 shitty mpd: [L-1] ENDPOINTDISC [802.1] 00 0c 29 4c eb 31
Sep 22 00:29:00 shitty mpd: [L-1] LCP: rec'd Configure Request #0 (Req-Sent)
Sep 22 00:29:00 shitty mpd: [L-1] MRU 1400
Sep 22 00:29:00 shitty mpd: [L-1] MAGICNUM 5f8d70eb
Sep 22 00:29:00 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:29:00 shitty mpd: [L-1] ACFCOMP
Sep 22 00:29:00 shitty mpd: [L-1] CALLBACK 6
Sep 22 00:29:00 shitty mpd: [L-1] LCP: SendConfigRej #0
Sep 22 00:29:00 shitty mpd: [L-1] CALLBACK 6
Sep 22 00:29:00 shitty mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
Sep 22 00:29:01 shitty mpd: [L-1] MRU 1400
Sep 22 00:29:01 shitty mpd: [L-1] MAGICNUM 5f8d70eb
Sep 22 00:29:01 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:29:01 shitty mpd: [L-1] ACFCOMP
Sep 22 00:29:01 shitty mpd: [L-1] LCP: SendConfigAck #1
Sep 22 00:29:01 shitty mpd: [L-1] MRU 1400
Sep 22 00:29:01 shitty mpd: [L-1] MAGICNUM 5f8d70eb
Sep 22 00:29:01 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:29:01 shitty mpd: [L-1] ACFCOMP
Sep 22 00:29:01 shitty mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
Sep 22 00:29:02 shitty mpd: [L-1] LCP: SendConfigReq #2
Sep 22 00:29:02 shitty mpd: [L-1] ACFCOMP
Sep 22 00:29:02 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:29:02 shitty mpd: [L-1] MRU 1500
Sep 22 00:29:02 shitty mpd: [L-1] MAGICNUM d1d3387d
Sep 22 00:29:02 shitty mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Sep 22 00:29:02 shitty mpd: [L-1] MP MRRU 2048
Sep 22 00:29:02 shitty mpd: [L-1] MP SHORTSEQ
Sep 22 00:29:02 shitty mpd: [L-1] ENDPOINTDISC [802.1] 00 0c 29 4c eb 31
Sep 22 00:29:02 shitty mpd: [L-1] LCP: rec'd Configure Reject #2 (Ack-Sent)
Sep 22 00:29:02 shitty mpd: [L-1] MP MRRU 2048
Sep 22 00:29:02 shitty mpd: [L-1] MP SHORTSEQ
Sep 22 00:29:02 shitty mpd: [L-1] ENDPOINTDISC [802.1] 00 0c 29 4c eb 31
Sep 22 00:29:02 shitty mpd: [L-1] LCP: SendConfigReq #3
Sep 22 00:29:02 shitty mpd: [L-1] ACFCOMP
Sep 22 00:29:02 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:29:02 shitty mpd: [L-1] MRU 1500
Sep 22 00:29:02 shitty mpd: [L-1] MAGICNUM d1d3387d
Sep 22 00:29:02 shitty mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Sep 22 00:29:02 shitty mpd: [L-1] LCP: rec'd Configure Ack #3 (Ack-Sent)
Sep 22 00:29:02 shitty mpd: [L-1] ACFCOMP
Sep 22 00:29:02 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:29:02 shitty mpd: [L-1] MRU 1500
Sep 22 00:29:02 shitty mpd: [L-1] MAGICNUM d1d3387d
Sep 22 00:29:02 shitty mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Sep 22 00:29:02 shitty mpd: [L-1] LCP: state change Ack-Sent --> Opened
Sep 22 00:29:02 shitty mpd: [L-1] LCP: auth: peer wants nothing, I want CHAP
Sep 22 00:29:02 shitty mpd: [L-1] CHAP: sending CHALLENGE #1 len: 21
Sep 22 00:29:02 shitty mpd: [L-1] LCP: LayerUp
Sep 22 00:29:02 shitty mpd: [L-1] LCP: rec'd Ident #2 (Opened)
Sep 22 00:29:02 shitty mpd: [L-1] MESG: MSRASV5.10
Sep 22 00:29:02 shitty mpd: [L-1] LCP: rec'd Ident #3 (Opened)
Sep 22 00:29:02 shitty mpd: [L-1] MESG: MSRAS-0-VILLAGEOFLEAF
Sep 22 00:29:02 shitty mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 59
Sep 22 00:29:02 shitty mpd: [L-1] Name: "choco"
Sep 22 00:29:02 shitty mpd: [L-1] AUTH: Trying INTERNAL
Sep 22 00:29:02 shitty mpd: [L-1] AUTH: INTERNAL returned: undefined
Sep 22 00:29:02 shitty mpd: [L-1] CHAP: Auth return status: undefined
Sep 22 00:29:02 shitty mpd: [L-1] CHAP: Response is valid
Sep 22 00:29:02 shitty mpd: [L-1] CHAP: Reply message: S=7FE27D03E20DFA0FD69D29A8AF1EA3E716F08B61
Sep 22 00:29:02 shitty mpd: [L-1] CHAP: sending SUCCESS #1 len: 46
Sep 22 00:29:03 shitty mpd: [L-1] LCP: authorization successful
Sep 22 00:29:03 shitty mpd: [L-1] Link: Matched action 'bundle "B" ""'
Sep 22 00:29:03 shitty mpd: [L-1] Creating new bundle using template "B".
Sep 22 00:29:03 shitty mpd: [B-1] Bundle: Interface ng0 created
Sep 22 00:29:03 shitty mpd: [L-1] Link: Join bundle "B-1"
Sep 22 00:29:03 shitty mpd: [B-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: Open event
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: state change Initial --> Starting
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: LayerStart
Sep 22 00:29:03 shitty mpd: [B-1] CCP: Open event
Sep 22 00:29:03 shitty mpd: [B-1] CCP: state change Initial --> Starting
Sep 22 00:29:03 shitty mpd: [B-1] CCP: LayerStart
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: Up event
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: state change Starting --> Req-Sent
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: SendConfigReq #1
Sep 22 00:29:03 shitty mpd: [B-1] IPADDR 172.26.159.1
Sep 22 00:29:03 shitty mpd: [B-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 22 00:29:03 shitty mpd: [B-1] CCP: Up event
Sep 22 00:29:03 shitty mpd: [B-1] CCP: state change Starting --> Req-Sent
Sep 22 00:29:03 shitty mpd: [B-1] CCP: SendConfigReq #1
Sep 22 00:29:03 shitty mpd: [B-1] MPPC
Sep 22 00:29:03 shitty mpd: [B-1] CCP: rec'd Configure Request #4 (Req-Sent)
Sep 22 00:29:03 shitty mpd: [B-1] MPPC
Sep 22 00:29:03 shitty mpd: [B-1] 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Sep 22 00:29:03 shitty mpd: [B-1] CCP: SendConfigRej #4
Sep 22 00:29:03 shitty mpd: [B-1] MPPC
Sep 22 00:29:03 shitty mpd: [B-1] 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: rec'd Configure Request #5 (Req-Sent)
Sep 22 00:29:03 shitty mpd: [B-1] IPADDR 0.0.0.0
Sep 22 00:29:03 shitty mpd: [B-1] NAKing with 172.26.159.2
Sep 22 00:29:03 shitty mpd: [B-1] PRIDNS 0.0.0.0
Sep 22 00:29:03 shitty mpd: [B-1] NAKing with 172.26.159.1
Sep 22 00:29:03 shitty mpd: [B-1] PRINBNS 0.0.0.0
Sep 22 00:29:03 shitty mpd: [B-1] SECDNS 0.0.0.0
Sep 22 00:29:03 shitty mpd: [B-1] SECNBNS 0.0.0.0
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: SendConfigRej #5
Sep 22 00:29:03 shitty mpd: [B-1] PRINBNS 0.0.0.0
Sep 22 00:29:03 shitty mpd: [B-1] SECDNS 0.0.0.0
Sep 22 00:29:03 shitty mpd: [B-1] SECNBNS 0.0.0.0
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: rec'd Configure Reject #1 (Req-Sent)
Sep 22 00:29:03 shitty mpd: [B-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: SendConfigReq #2
Sep 22 00:29:03 shitty mpd: [B-1] IPADDR 172.26.159.1
Sep 22 00:29:03 shitty mpd: [B-1] CCP: rec'd Configure Nak #1 (Req-Sent)
Sep 22 00:29:03 shitty mpd: [B-1] MPPC
Sep 22 00:29:03 shitty mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Sep 22 00:29:03 shitty mpd: [B-1] CCP: SendConfigReq #2
Sep 22 00:29:03 shitty mpd: [B-1] MPPC
Sep 22 00:29:03 shitty mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Sep 22 00:29:03 shitty mpd: [L-1] LCP: rec'd Terminate Request #6 (Opened)
Sep 22 00:29:03 shitty mpd: [L-1] LCP: state change Opened --> Stopping
Sep 22 00:29:03 shitty mpd: [L-1] Link: Leave bundle "B-1"
Sep 22 00:29:03 shitty mpd: [B-1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: Close event
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: state change Req-Sent --> Closing
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: SendTerminateReq #3
Sep 22 00:29:03 shitty mpd: [B-1] CCP: Close event
Sep 22 00:29:03 shitty mpd: [B-1] CCP: state change Req-Sent --> Closing
Sep 22 00:29:03 shitty mpd: [B-1] CCP: SendTerminateReq #3
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: Down event
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: LayerFinish
Sep 22 00:29:03 shitty mpd: [B-1] Bundle: No NCPs left. Closing links...
Sep 22 00:29:03 shitty mpd: [B-1] IPCP: state change Closing --> Initial
Sep 22 00:29:03 shitty mpd: [B-1] CCP: Down event
Sep 22 00:29:03 shitty mpd: [B-1] CCP: LayerFinish
Sep 22 00:29:03 shitty mpd: [B-1] CCP: state change Closing --> Initial
Sep 22 00:29:03 shitty mpd: [B-1] Bundle: Shutdown
Sep 22 00:29:03 shitty mpd: [L-1] LCP: SendTerminateAck #4
Sep 22 00:29:03 shitty mpd: [L-1] LCP: LayerDown
Sep 22 00:29:04 shitty mpd: [L-1] LCP: rec'd Terminate Request #7 (Stopping)
Sep 22 00:29:04 shitty mpd: [L-1] LCP: SendTerminateAck #5
Sep 22 00:29:05 shitty mpd: [L-1] LCP: state change Stopping --> Stopped
Sep 22 00:29:05 shitty mpd: [L-1] LCP: LayerFinish
Sep 22 00:29:05 shitty mpd: [L-1] PPTP call terminated
Sep 22 00:29:05 shitty mpd: [L-1] Link: DOWN event
Sep 22 00:29:05 shitty mpd: [L-1] LCP: Close event
Sep 22 00:29:05 shitty mpd: [L-1] LCP: state change Stopped --> Closed
Sep 22 00:29:05 shitty mpd: [L-1] LCP: Down event
Sep 22 00:29:05 shitty mpd: [L-1] LCP: state change Closed --> Initial
Sep 22 00:29:05 shitty mpd: [L-1] Link: SHUTDOWN event
Sep 22 00:29:05 shitty mpd: [L-1] Link: Shutdown
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 16:47:14
paradox
лог нормально вставь
а то тяжело читать
и
file:///C:/Documents%20and%20Settings/chocopie/My%20Documents/1244.JPG
увы у меня нет доступа к вашему диску С
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 16:50:34
chocopie
я конечно не собираюсь тут перепалку устраивать, но ты бы по делу отписывался, а не ловил мои секундные неудачные посты.
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 16:52:40
chocopie
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 16:54:56
paradox
лог нормально вставь
а то тяжело читать
особенно те переносы разорваные
зы
вообще то на форум тоже можно картинку было загрузить
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:06:11
paradox
а ну еще раз уточни что ты хочешь сделать
потому что судя по логу
mpd предлагает шифрование
а винда говроит нет я нехочу шифрования и отрубаеться
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:08:26
chocopie
да, на самом деле сейчас в конфиге никаким шифрованием и не пахнет - дело в том, что у меня нет рабочего варианта. Хочу получить совет что нужно в этот конфиг внести, чтобы работало шифрование, с настройками клиента как на скриншоте. Что нибудь вроде set bundle enable crypt-reqd; set link enable chap-msv1 set link enable chap-msv2
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:11:18
chocopie
хотя нет, соврал - все, что нарыл - присутствует
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:15:27
paradox
шифрование в mpd и так работает
это вы где то переусердствовали в опциях
Код: Выделить всё
set bundle enable crypt-reqd
set link enable no-orig-auth
уберите две эти опции
и законнекте еще раз и покажите лог после этого
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:19:46
chocopie
Код: Выделить всё
Sep 22 00:47:14 shitty mpd: [L-1] Accepting PPTP connection
Sep 22 00:47:14 shitty mpd: [L-1] Link: OPEN event
Sep 22 00:47:14 shitty mpd: [L-1] LCP: Open event
Sep 22 00:47:14 shitty mpd: [L-1] LCP: state change Initial --> Starting
Sep 22 00:47:14 shitty mpd: [L-1] LCP: LayerStart
Sep 22 00:47:14 shitty mpd: [L-1] PPTP: attaching to peer's outgoing call
Sep 22 00:47:14 shitty mpd: [L-1] Link: UP event
Sep 22 00:47:14 shitty mpd: [L-1] Link: origination is remote
Sep 22 00:47:14 shitty mpd: [L-1] LCP: Up event
Sep 22 00:47:14 shitty mpd: [L-1] LCP: state change Starting --> Req-Sent
Sep 22 00:47:14 shitty mpd: [L-1] LCP: SendConfigReq #1
Sep 22 00:47:14 shitty mpd: [L-1] ACFCOMP
Sep 22 00:47:14 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:47:14 shitty mpd: [L-1] MRU 1500
Sep 22 00:47:14 shitty mpd: [L-1] MAGICNUM 8612bf22
Sep 22 00:47:14 shitty mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Sep 22 00:47:14 shitty mpd: [L-1] MP MRRU 2048
Sep 22 00:47:14 shitty mpd: [L-1] MP SHORTSEQ
Sep 22 00:47:14 shitty mpd: [L-1] ENDPOINTDISC [802.1] 00 0c 29 4c eb 31
Sep 22 00:47:14 shitty mpd: [L-1] LCP: rec'd Configure Request #0 (Req-Sent)
Sep 22 00:47:14 shitty mpd: [L-1] MRU 1400
Sep 22 00:47:14 shitty mpd: [L-1] MAGICNUM 048b437d
Sep 22 00:47:14 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:47:14 shitty mpd: [L-1] ACFCOMP
Sep 22 00:47:14 shitty mpd: [L-1] CALLBACK 6
Sep 22 00:47:14 shitty mpd: [L-1] LCP: SendConfigRej #0
Sep 22 00:47:14 shitty mpd: [L-1] CALLBACK 6
Sep 22 00:47:14 shitty mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
Sep 22 00:47:14 shitty mpd: [L-1] MRU 1400
Sep 22 00:47:14 shitty mpd: [L-1] MAGICNUM 048b437d
Sep 22 00:47:14 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:47:14 shitty mpd: [L-1] ACFCOMP
Sep 22 00:47:14 shitty mpd: [L-1] LCP: SendConfigAck #1
Sep 22 00:47:14 shitty mpd: [L-1] MRU 1400
Sep 22 00:47:14 shitty mpd: [L-1] MAGICNUM 048b437d
Sep 22 00:47:14 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:47:14 shitty mpd: [L-1] ACFCOMP
Sep 22 00:47:14 shitty mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
Sep 22 00:47:16 shitty mpd: [L-1] LCP: SendConfigReq #2
Sep 22 00:47:16 shitty mpd: [L-1] ACFCOMP
Sep 22 00:47:16 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:47:16 shitty mpd: [L-1] MRU 1500
Sep 22 00:47:16 shitty mpd: [L-1] MAGICNUM 8612bf22
Sep 22 00:47:16 shitty mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Sep 22 00:47:16 shitty mpd: [L-1] MP MRRU 2048
Sep 22 00:47:16 shitty mpd: [L-1] MP SHORTSEQ
Sep 22 00:47:16 shitty mpd: [L-1] ENDPOINTDISC [802.1] 00 0c 29 4c eb 31
Sep 22 00:47:16 shitty mpd: [L-1] LCP: rec'd Configure Reject #2 (Ack-Sent)
Sep 22 00:47:16 shitty mpd: [L-1] MP MRRU 2048
Sep 22 00:47:16 shitty mpd: [L-1] MP SHORTSEQ
Sep 22 00:47:16 shitty mpd: [L-1] ENDPOINTDISC [802.1] 00 0c 29 4c eb 31
Sep 22 00:47:16 shitty mpd: [L-1] LCP: SendConfigReq #3
Sep 22 00:47:16 shitty mpd: [L-1] ACFCOMP
Sep 22 00:47:16 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:47:16 shitty mpd: [L-1] MRU 1500
Sep 22 00:47:16 shitty mpd: [L-1] MAGICNUM 8612bf22
Sep 22 00:47:16 shitty mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Sep 22 00:47:16 shitty mpd: [L-1] LCP: rec'd Configure Ack #3 (Ack-Sent)
Sep 22 00:47:16 shitty mpd: [L-1] ACFCOMP
Sep 22 00:47:16 shitty mpd: [L-1] PROTOCOMP
Sep 22 00:47:16 shitty mpd: [L-1] MRU 1500
Sep 22 00:47:16 shitty mpd: [L-1] MAGICNUM 8612bf22
Sep 22 00:47:16 shitty mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Sep 22 00:47:16 shitty mpd: [L-1] LCP: state change Ack-Sent --> Opened
Sep 22 00:47:16 shitty mpd: [L-1] LCP: auth: peer wants nothing, I want CHAP
Sep 22 00:47:16 shitty mpd: [L-1] CHAP: sending CHALLENGE #1 len: 21
Sep 22 00:47:16 shitty mpd: [L-1] LCP: LayerUp
Sep 22 00:47:16 shitty mpd: [L-1] LCP: rec'd Ident #2 (Opened)
Sep 22 00:47:16 shitty mpd: [L-1] MESG: MSRASV5.10
Sep 22 00:47:16 shitty mpd: [L-1] LCP: rec'd Ident #3 (Opened)
Sep 22 00:47:16 shitty mpd: [L-1] MESG: MSRAS-0-VILLAGEOFLEAF
Sep 22 00:47:16 shitty mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 59
Sep 22 00:47:16 shitty mpd: [L-1] Name: "choco"
Sep 22 00:47:16 shitty mpd: [L-1] AUTH: Trying INTERNAL
Sep 22 00:47:16 shitty mpd: [L-1] AUTH: INTERNAL returned: undefined
Sep 22 00:47:16 shitty mpd: [L-1] CHAP: Auth return status: undefined
Sep 22 00:47:16 shitty mpd: [L-1] CHAP: Response is valid
Sep 22 00:47:16 shitty mpd: [L-1] CHAP: Reply message: S=A49F7BB8037ADCD477EB68960A80425204A09E73
Sep 22 00:47:16 shitty mpd: [L-1] CHAP: sending SUCCESS #1 len: 46
Sep 22 00:47:16 shitty mpd: [L-1] LCP: authorization successful
Sep 22 00:47:16 shitty mpd: [L-1] Link: Matched action 'bundle "B" ""'
Sep 22 00:47:16 shitty mpd: [L-1] Creating new bundle using template "B".
Sep 22 00:47:16 shitty mpd: [B-1] Bundle: Interface ng0 created
Sep 22 00:47:16 shitty mpd: [L-1] Link: Join bundle "B-1"
Sep 22 00:47:16 shitty mpd: [B-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: Open event
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: state change Initial --> Starting
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: LayerStart
Sep 22 00:47:16 shitty mpd: [B-1] CCP: Open event
Sep 22 00:47:16 shitty mpd: [B-1] CCP: state change Initial --> Starting
Sep 22 00:47:16 shitty mpd: [B-1] CCP: LayerStart
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: Up event
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: state change Starting --> Req-Sent
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: SendConfigReq #1
Sep 22 00:47:16 shitty mpd: [B-1] IPADDR 172.26.159.1
Sep 22 00:47:16 shitty mpd: [B-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 22 00:47:16 shitty mpd: [B-1] CCP: Up event
Sep 22 00:47:16 shitty mpd: [B-1] CCP: state change Starting --> Req-Sent
Sep 22 00:47:16 shitty mpd: [B-1] CCP: SendConfigReq #1
Sep 22 00:47:16 shitty mpd: [B-1] MPPC
Sep 22 00:47:16 shitty mpd: [B-1] 0x01000060:MPPE(40, 128 bits), stateless
Sep 22 00:47:16 shitty mpd: [B-1] CCP: rec'd Configure Request #4 (Req-Sent)
Sep 22 00:47:16 shitty mpd: [B-1] MPPC
Sep 22 00:47:16 shitty mpd: [B-1] 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Sep 22 00:47:16 shitty mpd: [B-1] CCP: SendConfigRej #4
Sep 22 00:47:16 shitty mpd: [B-1] MPPC
Sep 22 00:47:16 shitty mpd: [B-1] 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: rec'd Configure Request #5 (Req-Sent)
Sep 22 00:47:16 shitty mpd: [B-1] IPADDR 0.0.0.0
Sep 22 00:47:16 shitty mpd: [B-1] NAKing with 172.26.159.2
Sep 22 00:47:16 shitty mpd: [B-1] PRIDNS 0.0.0.0
Sep 22 00:47:16 shitty mpd: [B-1] NAKing with 172.26.159.1
Sep 22 00:47:16 shitty mpd: [B-1] PRINBNS 0.0.0.0
Sep 22 00:47:16 shitty mpd: [B-1] SECDNS 0.0.0.0
Sep 22 00:47:16 shitty mpd: [B-1] SECNBNS 0.0.0.0
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: SendConfigRej #5
Sep 22 00:47:16 shitty mpd: [B-1] PRINBNS 0.0.0.0
Sep 22 00:47:16 shitty mpd: [B-1] SECDNS 0.0.0.0
Sep 22 00:47:16 shitty mpd: [B-1] SECNBNS 0.0.0.0
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: rec'd Configure Reject #1 (Req-Sent)
Sep 22 00:47:16 shitty mpd: [B-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: SendConfigReq #2
Sep 22 00:47:16 shitty mpd: [B-1] IPADDR 172.26.159.1
Sep 22 00:47:16 shitty mpd: [B-1] CCP: rec'd Configure Nak #1 (Req-Sent)
Sep 22 00:47:16 shitty mpd: [B-1] MPPC
Sep 22 00:47:16 shitty mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Sep 22 00:47:16 shitty mpd: [B-1] CCP: SendConfigReq #2
Sep 22 00:47:16 shitty mpd: [B-1] MPPC
Sep 22 00:47:16 shitty mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Sep 22 00:47:16 shitty mpd: [L-1] LCP: rec'd Terminate Request #6 (Opened)
Sep 22 00:47:16 shitty mpd: [L-1] LCP: state change Opened --> Stopping
Sep 22 00:47:16 shitty mpd: [L-1] Link: Leave bundle "B-1"
Sep 22 00:47:16 shitty mpd: [B-1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: Close event
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: state change Req-Sent --> Closing
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: SendTerminateReq #3
Sep 22 00:47:16 shitty mpd: [B-1] CCP: Close event
Sep 22 00:47:16 shitty mpd: [B-1] CCP: state change Req-Sent --> Closing
Sep 22 00:47:16 shitty mpd: [B-1] CCP: SendTerminateReq #3
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: Down event
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: LayerFinish
Sep 22 00:47:16 shitty mpd: [B-1] Bundle: No NCPs left. Closing links...
Sep 22 00:47:16 shitty mpd: [B-1] IPCP: state change Closing --> Initial
Sep 22 00:47:16 shitty mpd: [B-1] CCP: Down event
Sep 22 00:47:16 shitty mpd: [B-1] CCP: LayerFinish
Sep 22 00:47:16 shitty mpd: [B-1] CCP: state change Closing --> Initial
Sep 22 00:47:16 shitty mpd: [B-1] Bundle: Shutdown
Sep 22 00:47:16 shitty mpd: [L-1] LCP: SendTerminateAck #4
Sep 22 00:47:16 shitty mpd: [L-1] LCP: LayerDown
Sep 22 00:47:17 shitty mpd: [L-1] LCP: rec'd Terminate Request #7 (Stopping)
Sep 22 00:47:17 shitty mpd: [L-1] LCP: SendTerminateAck #5
Sep 22 00:47:18 shitty mpd: [L-1] PPTP call terminated
Sep 22 00:47:18 shitty mpd: [L-1] Link: DOWN event
Sep 22 00:47:18 shitty mpd: [L-1] LCP: Close event
Sep 22 00:47:18 shitty mpd: [L-1] LCP: state change Stopping --> Closing
Sep 22 00:47:18 shitty mpd: [L-1] LCP: Down event
Sep 22 00:47:18 shitty mpd: [L-1] LCP: LayerFinish
Sep 22 00:47:18 shitty mpd: [L-1] LCP: state change Closing --> Initial
Sep 22 00:47:18 shitty mpd: [L-1] Link: SHUTDOWN event
Sep 22 00:47:18 shitty mpd: [L-1] Link: Shutdown
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:20:56
chocopie
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:27:44
paradox
что то у вас с виндой не то
XP2 или XP3 ?
http://www.lissyara.su/?id=1853
у людей все работает
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:29:05
chocopie
неужели вы думаете, что я не уделил этой статье внимания. В том-то и дело, что не хочет она устанавливать соединение.
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:31:19
paradox
я думаю что если у всех работает то общей проблемы с mpd нет
значит это исключительно у вас
к томуже по логу
винда первая на всех забивает
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:38:16
chocopie
а что в винде может быть не так? Как написано на странице майкрософт - авторизация проходит по 2м протоколам mschapv1 mschapv2 - мой конфиг вроде бы включает их, однако ничего не происходит. Тем более что последний скриншот свидетельствует о том, что винда предлагает авторизоваться - а сервер не поддерживает, соответственно винда рвет соединение. Значит виноват mpd. А в статье возможно просто забыли добавить скриншот о том, что галку нужно убирать с шифрования.
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:44:40
paradox
читайте внимательно лог mpd
авторизация проходит нормально
и конфиг у вас mpd.conf нормальный
у всех работает с ним
если вы в настройках винды для соединения что то накрутили
то создайте новое
ибо в винде все работает по умолчанию
в винде даже настраивать ничего не надо
токо создать удаленное подключение
а разрывает винда соединения не пойми почему(возможно вы что то в ней накрутили)
ибо винда сама предложила что я опупенная и я умею все
ей mpd сказал ну гуд давай
на что винда тупо закрывает соединение
кстати трыдцать третий раз справшиваю какая винда? версия?
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:47:18
chocopie
винда стандарт xp prof sp3 но какое это имеет значение?
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-21 17:50:58
paradox
на xp3 я незнаю
у меня везде xp2
а разница может быть
поскольку майкрософт много чего по всякому меняет
например шифрования небыло на win98 и нужно было ставить оффициальные заплатки
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-22 5:50:01
chocopie
бамп
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-22 8:41:40
Dirty.Eager
chocopie писал(а):бамп
Разреши MPPC в конфиге:
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-22 9:57:57
server801
в свойствах подключения галочку с безопасности убери.
Re: FreeBSD 7.1 + mpd5 шифрование
Добавлено: 2009-09-23 3:28:32
mediamag
вот мой конфиг мпд с ним 128 битное шифрование работает...если у тебя и с моим конфигом откажется работать..меняй винду...
Код: Выделить всё
startup:
set user admin свой пасс admin
set console self 127.0.0.1 5005
set console open
set web self айпи внутреней сетевой 5006
set web open
default:
load pptp_server
pptp_server:
set ippool add pool1 пул адресов из твоей подсети
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 192.168.1.1/32 ippool pool1
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
create link template L pptp
set link action bundle B
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap
set link enable chap-msv1
set link enable chap-msv2
set link keep-alive 10 75
set link mtu 1460
set pptp self айпи внешней сетевой
set link enable incoming