
FreeBSD 7.1 + mpd5 шифрование
Модератор: terminus
Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
FreeBSD 7.1 + mpd5 шифрование
Чего уже только не пробовал, не работает шифрование между Windows XP VPN и FreeBSD mpd5. Параметры по умолчанию. Т.е. если убирать галку у клиента "Требовать шифрование" - все работает. Но я хочу, чтобы с шифрованием этим работало. Уже и ecp включал и set link mschapv1 и т.п.. Может у кого нибудь есть подобная конструкция? Рабочие конфиги приветствуются. 

Услуги хостинговой компании Host-Food.ru
Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/
-
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Re: FreeBSD 7.1 + mpd5 шифрование
конфигов и рабочих и сдесь и в гугле полным полно и навалом
а вот что конкретно у вас не получаеться
для того что бы разобраться и понять покажите все конфиги и логи
что и как у вас работает
а вот что конкретно у вас не получаеться
для того что бы разобраться и понять покажите все конфиги и логи
что и как у вас работает
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
Код: Выделить всё
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
Последний раз редактировалось chocopie 2009-09-21 17:02:06, всего редактировалось 2 раза.
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
Код: Выделить всё
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
Последний раз редактировалось chocopie 2009-09-21 16:57:34, всего редактировалось 2 раза.
-
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Re: FreeBSD 7.1 + mpd5 шифрование
лог нормально вставь
а то тяжело читать
и
а то тяжело читать
и
увы у меня нет доступа к вашему диску Сfile:///C:/Documents%20and%20Settings/chocopie/My%20Documents/1244.JPG
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
я конечно не собираюсь тут перепалку устраивать, но ты бы по делу отписывался, а не ловил мои секундные неудачные посты.
Последний раз редактировалось chocopie 2009-09-21 16:53:09, всего редактировалось 1 раз.
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
Последний раз редактировалось chocopie 2009-09-21 16:58:19, всего редактировалось 1 раз.
-
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Re: FreeBSD 7.1 + mpd5 шифрование
особенно те переносы разорваныелог нормально вставь
а то тяжело читать
зы
вообще то на форум тоже можно картинку было загрузить
-
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Re: FreeBSD 7.1 + mpd5 шифрование
а ну еще раз уточни что ты хочешь сделать
потому что судя по логу
mpd предлагает шифрование
а винда говроит нет я нехочу шифрования и отрубаеться
потому что судя по логу
mpd предлагает шифрование
а винда говроит нет я нехочу шифрования и отрубаеться
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
да, на самом деле сейчас в конфиге никаким шифрованием и не пахнет - дело в том, что у меня нет рабочего варианта. Хочу получить совет что нужно в этот конфиг внести, чтобы работало шифрование, с настройками клиента как на скриншоте. Что нибудь вроде set bundle enable crypt-reqd; set link enable chap-msv1 set link enable chap-msv2
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
хотя нет, соврал - все, что нарыл - присутствует
-
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Re: FreeBSD 7.1 + mpd5 шифрование
шифрование в mpd и так работает
это вы где то переусердствовали в опциях
уберите две эти опции
и законнекте еще раз и покажите лог после этого
это вы где то переусердствовали в опциях
Код: Выделить всё
set bundle enable crypt-reqd
set link enable no-orig-auth
и законнекте еще раз и покажите лог после этого
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
Код: Выделить всё
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
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
-
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
неужели вы думаете, что я не уделил этой статье внимания. В том-то и дело, что не хочет она устанавливать соединение.
-
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Re: FreeBSD 7.1 + mpd5 шифрование
я думаю что если у всех работает то общей проблемы с mpd нет
значит это исключительно у вас
к томуже по логу
винда первая на всех забивает
значит это исключительно у вас
к томуже по логу
винда первая на всех забивает
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
а что в винде может быть не так? Как написано на странице майкрософт - авторизация проходит по 2м протоколам mschapv1 mschapv2 - мой конфиг вроде бы включает их, однако ничего не происходит. Тем более что последний скриншот свидетельствует о том, что винда предлагает авторизоваться - а сервер не поддерживает, соответственно винда рвет соединение. Значит виноват mpd. А в статье возможно просто забыли добавить скриншот о том, что галку нужно убирать с шифрования.
-
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Re: FreeBSD 7.1 + mpd5 шифрование
читайте внимательно лог mpd
авторизация проходит нормально
и конфиг у вас mpd.conf нормальный
у всех работает с ним
если вы в настройках винды для соединения что то накрутили
то создайте новое
ибо в винде все работает по умолчанию
в винде даже настраивать ничего не надо
токо создать удаленное подключение
а разрывает винда соединения не пойми почему(возможно вы что то в ней накрутили)
ибо винда сама предложила что я опупенная и я умею все
ей mpd сказал ну гуд давай
на что винда тупо закрывает соединение
кстати трыдцать третий раз справшиваю какая винда? версия?
авторизация проходит нормально
и конфиг у вас mpd.conf нормальный
у всех работает с ним
если вы в настройках винды для соединения что то накрутили
то создайте новое
ибо в винде все работает по умолчанию
в винде даже настраивать ничего не надо
токо создать удаленное подключение
а разрывает винда соединения не пойми почему(возможно вы что то в ней накрутили)
ибо винда сама предложила что я опупенная и я умею все
Код: Выделить всё
MPPC, MPPE (40,56,128)
Код: Выделить всё
MPPC 128
кстати трыдцать третий раз справшиваю какая винда? версия?
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
Re: FreeBSD 7.1 + mpd5 шифрование
винда стандарт xp prof sp3 но какое это имеет значение?
-
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Re: FreeBSD 7.1 + mpd5 шифрование
на xp3 я незнаю
у меня везде xp2
а разница может быть
поскольку майкрософт много чего по всякому меняет
например шифрования небыло на win98 и нужно было ставить оффициальные заплатки
у меня везде xp2
а разница может быть
поскольку майкрософт много чего по всякому меняет
например шифрования небыло на win98 и нужно было ставить оффициальные заплатки
- chocopie
- ефрейтор
- Сообщения: 55
- Зарегистрирован: 2009-09-21 15:57:01
-
- мл. сержант
- Сообщения: 72
- Зарегистрирован: 2008-10-25 3:05:59
Re: FreeBSD 7.1 + mpd5 шифрование
Разреши MPPC в конфиге:chocopie писал(а):бамп
Код: Выделить всё
set mppc accept compress
- server801
- ст. лейтенант
- Сообщения: 1421
- Зарегистрирован: 2008-09-27 21:15:16
- Откуда: Саратов
- Контактная информация:
Re: FreeBSD 7.1 + mpd5 шифрование
в свойствах подключения галочку с безопасности убери.
-
- лейтенант
- Сообщения: 693
- Зарегистрирован: 2008-10-02 20:49:21
Re: FreeBSD 7.1 + mpd5 шифрование
вот мой конфиг мпд с ним 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