Проблемы с установкой, настройкой и работой системных и сетевых программ.
Модераторы: GRooVE, alexco
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
-
Evgen777
- рядовой
- Сообщения: 24
- Зарегистрирован: 2008-10-16 15:42:27
-
Контактная информация:
Непрочитанное сообщение
Evgen777 » 2008-11-01 17:06:48
Есть такая сеть:
inet------GW------LAN
В локальной сети есть MPD сервер( BSD 7 realese +MPD 5.0b1). Запущен на VMware. В локальной сети клиенты успешно подключаются к MPD и никакаких проблем нету со связью.
Если подключаемся из другой сети с внешки откуда-нить, имеем:
1) Пинги идут нормально первые минуты... потом теряются 5-20%
2) Через мин.5-10 вообще пинги не идут и на сервере tcpdump ничё не видет на интерфейсе.
На этом же сервере есть OpenVPN, c ним всё стабильно работает.
Код: Выделить всё
MPD.CONF:
startup:
set console user admin admin
set console self 127.0.0.1 554
set console open
set web self 192.168.1.230 555
set web user admin admin
set web open
default:
load pptp_server
pptp_server:
set ippool add pool1 10.10.100.50 10.10.100.99
# Create clonable bundle template named B
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 10.10.100.1/32 ippool pool1
set ipcp dns 192.168.1.4
set bundle enable compression
set bundle enable encryption
set ccp yes mppc
set ccp yes mpp-e128
set ccp yes mpp-stateless
set bundle yes crypt-reqd
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 keep-alive 10 60
set link mtu 1400
set pptp self 192.168.1.230
set link enable incoming
# set pptp disable windowing
# set pptp enable always-ack
# set pptp enable delayed-ack
-------------------------------------------------------------
LOG:
Oct 10 16:43:59 VM_BSD mpd: [L-1] Accepting PPTP connection
Oct 10 16:43:59 VM_BSD mpd: [L-1] link: OPEN event
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: Open event
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: state change Initial --> Starting
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: LayerStart
Oct 10 16:43:59 VM_BSD mpd: [L-1] PPTP: attaching to peer's outgoing call
Oct 10 16:43:59 VM_BSD mpd: [L-1] link: UP event
Oct 10 16:43:59 VM_BSD mpd: [L-1] link: origination is remote
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: Up event
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: state change Starting --> Req-Sent
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: SendConfigReq #1
Oct 10 16:43:59 VM_BSD mpd: ACFCOMP
Oct 10 16:43:59 VM_BSD mpd: PROTOCOMP
Oct 10 16:43:59 VM_BSD mpd: MRU 1500
Oct 10 16:43:59 VM_BSD mpd: MAGICNUM 84260ba6
Oct 10 16:43:59 VM_BSD mpd: AUTHPROTO CHAP MSOFTv2
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: rec'd Configure Request #0 (Req-Sent)
Oct 10 16:43:59 VM_BSD mpd: MRU 1400
Oct 10 16:43:59 VM_BSD mpd: MAGICNUM 08a90111
Oct 10 16:43:59 VM_BSD mpd: PROTOCOMP
Oct 10 16:43:59 VM_BSD mpd: ACFCOMP
Oct 10 16:43:59 VM_BSD mpd: CALLBACK 6
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: SendConfigRej #0
Oct 10 16:43:59 VM_BSD mpd: CALLBACK 6
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
Oct 10 16:43:59 VM_BSD mpd: MRU 1400
Oct 10 16:43:59 VM_BSD mpd: MAGICNUM 08a90111
Oct 10 16:43:59 VM_BSD mpd: PROTOCOMP
Oct 10 16:43:59 VM_BSD mpd: ACFCOMP
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: SendConfigAck #1
Oct 10 16:43:59 VM_BSD mpd: MRU 1400
Oct 10 16:43:59 VM_BSD mpd: MAGICNUM 08a90111
Oct 10 16:43:59 VM_BSD mpd: PROTOCOMP
Oct 10 16:43:59 VM_BSD mpd: ACFCOMP
Oct 10 16:43:59 VM_BSD mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
Oct 10 16:44:01 VM_BSD mpd: [L-1] LCP: SendConfigReq #2
Oct 10 16:44:01 VM_BSD mpd: ACFCOMP
Oct 10 16:44:01 VM_BSD mpd: PROTOCOMP
Oct 10 16:44:01 VM_BSD mpd: MRU 1500
Oct 10 16:44:01 VM_BSD mpd: MAGICNUM 84260ba6
Oct 10 16:44:01 VM_BSD mpd: AUTHPROTO CHAP MSOFTv2
Oct 10 16:44:01 VM_BSD mpd: [L-1] LCP: rec'd Configure Ack #2 (Ack-Sent)
Oct 10 16:44:01 VM_BSD mpd: ACFCOMP
Oct 10 16:44:01 VM_BSD mpd: PROTOCOMP
Oct 10 16:44:01 VM_BSD mpd: MRU 1500
Oct 10 16:44:01 VM_BSD mpd: MAGICNUM 84260ba6
Oct 10 16:44:01 VM_BSD mpd: AUTHPROTO CHAP MSOFTv2
Oct 10 16:44:01 VM_BSD mpd: [L-1] LCP: state change Ack-Sent --> Opened
Oct 10 16:44:01 VM_BSD mpd: [L-1] LCP: auth: peer wants nothing, I want CHAP
Oct 10 16:44:01 VM_BSD mpd: [L-1] CHAP: sending CHALLENGE len:17
Oct 10 16:44:01 VM_BSD mpd: [L-1] LCP: LayerUp
Oct 10 16:44:01 VM_BSD mpd: [L-1] LCP: rec'd Ident #2 (Opened)
Oct 10 16:44:01 VM_BSD mpd: [L-1] LCP: rec'd Ident #3 (Opened)
Oct 10 16:44:01 VM_BSD mpd: [L-1] CHAP: rec'd RESPONSE #1
Oct 10 16:44:01 VM_BSD mpd: Name: "Evg"
Oct 10 16:44:01 VM_BSD mpd: [L-1] AUTH: Auth-Thread started
Oct 10 16:44:01 VM_BSD mpd: [L-1] AUTH: Trying INTERNAL
Oct 10 16:44:01 VM_BSD mpd: [L-1] AUTH: INTERNAL returned undefined
Oct 10 16:44:01 VM_BSD mpd: [L-1] AUTH: Auth-Thread finished normally
Oct 10 16:44:01 VM_BSD mpd: [L-1] CHAP: ChapInputFinish: status undefined
Oct 10 16:44:01 VM_BSD mpd: Response is valid
Oct 10 16:44:01 VM_BSD mpd: Reply message: S=E722E512B67989549C6377738B90BBD22E01E59D
Oct 10 16:44:01 VM_BSD mpd: [L-1] CHAP: sending SUCCESS len:42
Oct 10 16:44:01 VM_BSD mpd: [L-1] LCP: authorization successful
Oct 10 16:44:01 VM_BSD mpd: [L-1] Matched link action 'bundle "B" ""'
Oct 10 16:44:01 VM_BSD mpd: [L-1] Creating new bundle using template "B".
Oct 10 16:44:01 VM_BSD mpd: [B-1] using interface ng0
Oct 10 16:44:01 VM_BSD mpd: [B-1] Bundle up: 1 link, total bandwidth 64000 bps
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: Open event
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: state change Initial --> Starting
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: LayerStart
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: Open event
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: state change Initial --> Starting
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: LayerStart
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: Up event
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: state change Starting --> Req-Sent
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: SendConfigReq #1
Oct 10 16:44:01 VM_BSD mpd: IPADDR 192.168.1.230
Oct 10 16:44:01 VM_BSD mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: Up event
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: state change Starting --> Req-Sent
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: SendConfigReq #1
Oct 10 16:44:01 VM_BSD mpd: MPPC
Oct 10 16:44:01 VM_BSD mpd: 0x01000040:MPPE(128 bits), stateless
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: rec'd Configure Request #4 (Req-Sent)
Oct 10 16:44:01 VM_BSD mpd: MPPC
Oct 10 16:44:01 VM_BSD mpd: 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: SendConfigNak #4
Oct 10 16:44:01 VM_BSD mpd: MPPC
Oct 10 16:44:01 VM_BSD mpd: 0x01000040:MPPE(128 bits), stateless
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: rec'd Configure Request #5 (Req-Sent)
Oct 10 16:44:01 VM_BSD mpd: IPADDR 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: NAKing with 10.10.100.50
Oct 10 16:44:01 VM_BSD mpd: PRIDNS 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: PRINBNS 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: SECDNS 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: SECNBNS 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: SendConfigRej #5
Oct 10 16:44:01 VM_BSD mpd: PRIDNS 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: PRINBNS 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: SECDNS 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: SECNBNS 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: rec'd Configure Reject #1 (Req-Sent)
Oct 10 16:44:01 VM_BSD mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: SendConfigReq #2
Oct 10 16:44:01 VM_BSD mpd: IPADDR 192.168.1.230
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: rec'd Configure Ack #1 (Req-Sent)
Oct 10 16:44:01 VM_BSD mpd: MPPC
Oct 10 16:44:01 VM_BSD mpd: 0x01000040:MPPE(128 bits), stateless
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: state change Req-Sent --> Ack-Rcvd
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: rec'd Configure Request #6 (Ack-Rcvd)
Oct 10 16:44:01 VM_BSD mpd: MPPC
Oct 10 16:44:01 VM_BSD mpd: 0x01000040:MPPE(128 bits), stateless
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: SendConfigAck #6
Oct 10 16:44:01 VM_BSD mpd: MPPC
Oct 10 16:44:01 VM_BSD mpd: 0x01000040:MPPE(128 bits), stateless
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: state change Ack-Rcvd --> Opened
Oct 10 16:44:01 VM_BSD mpd: [B-1] CCP: LayerUp
Oct 10 16:44:01 VM_BSD mpd: Compress using: mppc (MPPE(128 bits), stateless)
Oct 10 16:44:01 VM_BSD mpd: Decompress using: mppc (MPPE(128 bits), stateless)
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: rec'd Configure Request #7 (Req-Sent)
Oct 10 16:44:01 VM_BSD mpd: IPADDR 0.0.0.0
Oct 10 16:44:01 VM_BSD mpd: NAKing with 10.10.100.50
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: SendConfigNak #7
Oct 10 16:44:01 VM_BSD mpd: IPADDR 10.10.100.50
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: rec'd Configure Ack #2 (Req-Sent)
Oct 10 16:44:01 VM_BSD mpd: IPADDR 192.168.1.230
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: state change Req-Sent --> Ack-Rcvd
Oct 10 16:44:01 VM_BSD mpd: [L-1] AUTH: Accounting-Thread started
Oct 10 16:44:01 VM_BSD mpd: [L-1] AUTH: Accounting-Thread finished normally
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: rec'd Configure Request #8 (Ack-Rcvd)
Oct 10 16:44:01 VM_BSD mpd: IPADDR 10.10.100.50
Oct 10 16:44:01 VM_BSD mpd: 10.10.100.50 is OK
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: SendConfigAck #8
Oct 10 16:44:01 VM_BSD mpd: IPADDR 10.10.100.50
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: state change Ack-Rcvd --> Opened
Oct 10 16:44:01 VM_BSD mpd: [B-1] IPCP: LayerUp
Oct 10 16:44:01 VM_BSD mpd: 192.168.1.230 -> 10.10.100.50
Oct 10 16:44:01 VM_BSD mpd: [B-1] no interface to proxy arp on for 10.10.100.50
Oct 10 16:44:01 VM_BSD mpd: [B-1] IFACE: Up event
Evgen777
-
Хостинг HostFood.ru
-
Хостинг HostFood.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/
-
alex3
- лейтенант
- Сообщения: 872
- Зарегистрирован: 2006-11-20 16:47:56
- Откуда: Переславль
-
Контактная информация:
Непрочитанное сообщение
alex3 » 2008-11-01 21:50:23
когда теряются пинги возможно получить состояние процессов VPN с обоих концов вирт. шнурка? ну клиентский и серверный комп.
Если ipfw можно считать речью обычного человека, то pf - речь политика. За каждой ошибкой -ядерный песец.
alex3
-
Evgen777
- рядовой
- Сообщения: 24
- Зарегистрирован: 2008-10-16 15:42:27
-
Контактная информация:
Непрочитанное сообщение
Evgen777 » 2008-11-02 11:14:54
Обновился до 5.2. Терь ошибка вылазит 619 и в логах:
Код: Выделить всё
process 70846 started, version 5.2 (root@ 22:38 1-Nov-2008)
Nov 2 14:00:10 freebsd mpd: option "mpp-e128" unknown
Nov 2 14:00:10 freebsd mpd: option "mpp-e128" unknown
Nov 2 14:00:10 freebsd mpd: mpd.conf:29: Unknown command: 'set cpp yes mpp-stateless'. Try "help".
Nov 2 14:00:10 freebsd mpd: PPTP: waiting for connection on 192.168.1.250 1723
Nov 2 14:00:31 freebsd mpd: [L-1] Accepting PPTP connection
Nov 2 14:00:31 freebsd mpd: [L-1] Link: OPEN event
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: Open event
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: state change Initial --> Starting
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: LayerStart
Nov 2 14:00:31 freebsd mpd: [L-1] PPTP: attaching to peer's outgoing call
Nov 2 14:00:31 freebsd mpd: [L-1] Link: UP event
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: Up event
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: state change Starting --> Req-Sent
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: SendConfigReq #1
Nov 2 14:00:31 freebsd mpd: [L-1] ACFCOMP
Nov 2 14:00:31 freebsd mpd: [L-1] PROTOCOMP
Nov 2 14:00:31 freebsd mpd: [L-1] MRU 1500
Nov 2 14:00:31 freebsd mpd: [L-1] MAGICNUM 8d3bdd6a
Nov 2 14:00:31 freebsd mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: rec'd Configure Request #0 (Req-Sent)
Nov 2 14:00:31 freebsd mpd: [L-1] MRU 1400
Nov 2 14:00:31 freebsd mpd: [L-1] MAGICNUM 14873a38
Nov 2 14:00:31 freebsd mpd: [L-1] PROTOCOMP
Nov 2 14:00:31 freebsd mpd: [L-1] ACFCOMP
Nov 2 14:00:31 freebsd mpd: [L-1] CALLBACK 6
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: SendConfigRej #0
Nov 2 14:00:31 freebsd mpd: [L-1] CALLBACK 6
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
Nov 2 14:00:31 freebsd mpd: [L-1] MRU 1400
Nov 2 14:00:31 freebsd mpd: [L-1] MAGICNUM 14873a38
Nov 2 14:00:31 freebsd mpd: [L-1] PROTOCOMP
Nov 2 14:00:31 freebsd mpd: [L-1] ACFCOMP
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: SendConfigAck #1
Nov 2 14:00:31 freebsd mpd: [L-1] MRU 1400
Nov 2 14:00:31 freebsd mpd: [L-1] MAGICNUM 14873a38
Nov 2 14:00:31 freebsd mpd: [L-1] PROTOCOMP
Nov 2 14:00:31 freebsd mpd: [L-1] ACFCOMP
Nov 2 14:00:31 freebsd mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
Nov 2 14:00:33 freebsd mpd: [L-1] LCP: SendConfigReq #2
Nov 2 14:00:33 freebsd mpd: [L-1] ACFCOMP
Nov 2 14:00:33 freebsd mpd: [L-1] PROTOCOMP
Nov 2 14:00:33 freebsd mpd: [L-1] MRU 1500
Nov 2 14:00:33 freebsd mpd: [L-1] MAGICNUM 8d3bdd6a
Nov 2 14:00:33 freebsd mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Nov 2 14:00:33 freebsd mpd: [L-1] LCP: rec'd Configure Ack #2 (Ack-Sent)
Nov 2 14:00:33 freebsd mpd: [L-1] ACFCOMP
Nov 2 14:00:33 freebsd mpd: [L-1] PROTOCOMP
Nov 2 14:00:33 freebsd mpd: [L-1] MRU 1500
Nov 2 14:00:33 freebsd mpd: [L-1] MAGICNUM 8d3bdd6a
Nov 2 14:00:33 freebsd mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Nov 2 14:00:33 freebsd mpd: [L-1] LCP: state change Ack-Sent --> Opened
Nov 2 14:00:33 freebsd mpd: [L-1] LCP: auth: peer wants nothing, I want CHAP
Nov 2 14:00:33 freebsd mpd: [L-1] CHAP: sending CHALLENGE #1 len: 21
Nov 2 14:00:33 freebsd mpd: [L-1] LCP: LayerUp
Nov 2 14:00:33 freebsd mpd: [L-1] LCP: rec'd Ident #2 (Opened)
Nov 2 14:00:33 freebsd mpd: [L-1] MESG: MSRASV5.10
Nov 2 14:00:33 freebsd mpd: [L-1] LCP: rec'd Ident #3 (Opened)
Nov 2 14:00:33 freebsd mpd: [L-1] MESG: MSRAS-0-XP
Nov 2 14:00:33 freebsd mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 57
Nov 2 14:00:33 freebsd mpd: [L-1] Name: "Evg"
Nov 2 14:00:33 freebsd mpd: [L-1] AUTH: Trying INTERNAL
Nov 2 14:00:33 freebsd mpd: [L-1] AUTH: INTERNAL returned: undefined
Nov 2 14:00:33 freebsd mpd: [L-1] CHAP: Auth return status: undefined
Nov 2 14:00:33 freebsd mpd: [L-1] CHAP: Response is valid
Nov 2 14:00:33 freebsd mpd: [L-1] CHAP: Reply message: S=50BAB72006E96BC0FCD1784D8A92B4A485C8722D
Nov 2 14:00:33 freebsd mpd: [L-1] CHAP: sending SUCCESS #1 len: 46
Nov 2 14:00:33 freebsd mpd: [L-1] LCP: authorization successful
Nov 2 14:00:33 freebsd mpd: [L-1] Link: Matched action 'bundle "B" ""'
Nov 2 14:00:33 freebsd mpd: [L-1] Creating new bundle using template "B".
Nov 2 14:00:33 freebsd mpd: [B-1] Bundle: Interface ng0 created
Nov 2 14:00:33 freebsd mpd: [L-1] Link: Join bundle "B-1"
Nov 2 14:00:33 freebsd mpd: [B-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: Open event
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: state change Initial --> Starting
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: LayerStart
Nov 2 14:00:33 freebsd mpd: [B-1] CCP: Open event
Nov 2 14:00:33 freebsd mpd: [B-1] CCP: state change Initial --> Starting
Nov 2 14:00:33 freebsd mpd: [B-1] CCP: LayerStart
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: Up event
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: state change Starting --> Req-Sent
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: SendConfigReq #1
Nov 2 14:00:33 freebsd mpd: [B-1] IPADDR 10.10.100.1
Nov 2 14:00:33 freebsd mpd: [B-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Nov 2 14:00:33 freebsd mpd: [B-1] CCP: Up event
Nov 2 14:00:33 freebsd mpd: [B-1] CCP: Protocol mppc disabled as useless for this setup
Nov 2 14:00:33 freebsd mpd: [B-1] CCP: state change Starting --> Req-Sent
Nov 2 14:00:33 freebsd mpd: [B-1] CCP: SendConfigReq #1
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: rec'd Configure Reject #1 (Req-Sent)
Nov 2 14:00:33 freebsd mpd: [B-1] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: SendConfigReq #2
Nov 2 14:00:33 freebsd mpd: [B-1] IPADDR 10.10.100.1
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: rec'd Configure Ack #2 (Req-Sent)
Nov 2 14:00:33 freebsd mpd: [B-1] IPADDR 10.10.100.1
Nov 2 14:00:33 freebsd mpd: [B-1] IPCP: state change Req-Sent --> Ack-Rcvd
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: rec'd Configure Request #6 (Ack-Rcvd)
Nov 2 14:00:35 freebsd mpd: [B-1] IPADDR 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] NAKing with 10.10.100.50
Nov 2 14:00:35 freebsd mpd: [B-1] PRIDNS 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] PRINBNS 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] SECDNS 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] SECNBNS 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: SendConfigRej #6
Nov 2 14:00:35 freebsd mpd: [B-1] PRIDNS 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] PRINBNS 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] SECDNS 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] SECNBNS 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] CCP: rec'd Configure Request #7 (Req-Sent)
Nov 2 14:00:35 freebsd mpd: [B-1] MPPC
Nov 2 14:00:35 freebsd mpd: [B-1] 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Nov 2 14:00:35 freebsd mpd: [B-1] CCP: SendConfigRej #7
Nov 2 14:00:35 freebsd mpd: [B-1] MPPC
Nov 2 14:00:35 freebsd mpd: [B-1] 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: rec'd Configure Request #8 (Ack-Rcvd)
Nov 2 14:00:35 freebsd mpd: [B-1] IPADDR 0.0.0.0
Nov 2 14:00:35 freebsd mpd: [B-1] NAKing with 10.10.100.50
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: SendConfigNak #8
Nov 2 14:00:35 freebsd mpd: [B-1] IPADDR 10.10.100.50
Nov 2 14:00:35 freebsd mpd: [L-1] LCP: rec'd Terminate Request #9 (Opened)
Nov 2 14:00:35 freebsd mpd: [L-1] LCP: state change Opened --> Stopping
Nov 2 14:00:35 freebsd mpd: [L-1] Link: Leave bundle "B-1"
Nov 2 14:00:35 freebsd mpd: [B-1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: Close event
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: state change Ack-Rcvd --> Closing
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: SendTerminateReq #3
Nov 2 14:00:35 freebsd mpd: [B-1] CCP: Close event
Nov 2 14:00:35 freebsd mpd: [B-1] CCP: state change Req-Sent --> Closing
Nov 2 14:00:35 freebsd mpd: [B-1] CCP: SendTerminateReq #2
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: Down event
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: LayerFinish
Nov 2 14:00:35 freebsd mpd: [B-1] Bundle: No NCPs left. Closing links...
Nov 2 14:00:35 freebsd mpd: [B-1] IPCP: state change Closing --> Initial
Nov 2 14:00:35 freebsd mpd: [B-1] CCP: Down event
Nov 2 14:00:35 freebsd mpd: [B-1] CCP: LayerFinish
Nov 2 14:00:35 freebsd mpd: [B-1] CCP: state change Closing --> Initial
Nov 2 14:00:35 freebsd mpd: [B-1] Bundle: Shutdown
Nov 2 14:00:35 freebsd mpd: [L-1] LCP: SendTerminateAck #3
Nov 2 14:00:35 freebsd mpd: [L-1] LCP: LayerDown
Nov 2 14:00:37 freebsd mpd: [L-1] LCP: state change Stopping --> Stopped
Nov 2 14:00:37 freebsd mpd: [L-1] LCP: LayerFinish
Nov 2 14:00:37 freebsd mpd: [L-1] PPTP call terminated
Nov 2 14:00:37 freebsd mpd: [L-1] Link: DOWN event
Nov 2 14:00:37 freebsd mpd: [L-1] LCP: Close event
Nov 2 14:00:37 freebsd mpd: [L-1] LCP: state change Stopped --> Closed
Nov 2 14:00:37 freebsd mpd: [L-1] LCP: Down event
Nov 2 14:00:37 freebsd mpd: [L-1] LCP: state change Closed --> Initial
Nov 2 14:00:37 freebsd mpd: [L-1] Link: SHUTDOWN event
Nov 2 14:00:37 freebsd mpd: [L-1] Link: Shutdown
Evgen777
-
Evgen777
- рядовой
- Сообщения: 24
- Зарегистрирован: 2008-10-16 15:42:27
-
Контактная информация:
Evgen777
-
Evgen777
- рядовой
- Сообщения: 24
- Зарегистрирован: 2008-10-16 15:42:27
-
Контактная информация:
Непрочитанное сообщение
Evgen777 » 2008-11-02 11:37:10
Код: Выделить всё
startup:
set console open
set console self 127.0.0.1 5005
set user admin password admin
default:
load pptp_server
pptp_server:
create bundle template B
set iface disable on-demand
set iface enable tcpmssfix
set iface enable proxy-arp
set ipcp ranges 10.10.100.1/24
set ipcp no vjcomp
set ccp yes mppc
# set ccp no pred1
# set ccp no deflate
set bundle yes compression
set bundle yes encryption
set bundle yes crypt-reqd
set mppc yes compress
set mppc yes e40
set mppc yes e56
set mppc yes e128
set mppc yes stateless
set bundle no crypt-reqd
create link template L pptp
set link action bundle B
set link disable multilink
set link yes acfcomp
set link yes protocomp
set link no pap
set link yes chap
set link yes chap-md5
set link yes chap-msv1
set link yes chap-msv2
set link keep-alive 60 180
set link enable incoming
set link mtu 1400
set pptp disable windowing
ВОт этот конфиг работает. Посмотрим как щас будет отрабатывать)
Evgen777
-
Evgen777
- рядовой
- Сообщения: 24
- Зарегистрирован: 2008-10-16 15:42:27
-
Контактная информация:
Непрочитанное сообщение
Evgen777 » 2008-11-03 7:47:51
Всё равно также пропадают пинги и ошибка в логах такая же про NCP
Код: Выделить всё
Nov 3 10:40:30 freebsd mpd: [L-1] Accepting PPTP connection
Nov 3 10:40:30 freebsd mpd: [L-1] Link: OPEN event
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: Open event
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: state change Initial --> Starting
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: LayerStart
Nov 3 10:40:30 freebsd mpd: [L-1] PPTP: attaching to peer's outgoing call
Nov 3 10:40:30 freebsd mpd: [L-1] Link: UP event
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: Up event
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: state change Starting --> Req-Sent
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: SendConfigReq #1
Nov 3 10:40:30 freebsd mpd: [L-1] ACFCOMP
Nov 3 10:40:30 freebsd mpd: [L-1] PROTOCOMP
Nov 3 10:40:30 freebsd mpd: [L-1] MRU 1500
Nov 3 10:40:30 freebsd mpd: [L-1] MAGICNUM 287910b2
Nov 3 10:40:30 freebsd mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: rec'd Configure Request #0 (Req-Sent)
Nov 3 10:40:30 freebsd mpd: [L-1] MRU 1400
Nov 3 10:40:30 freebsd mpd: [L-1] MAGICNUM 53070384
Nov 3 10:40:30 freebsd mpd: [L-1] PROTOCOMP
Nov 3 10:40:30 freebsd mpd: [L-1] ACFCOMP
Nov 3 10:40:30 freebsd mpd: [L-1] CALLBACK 6
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: SendConfigRej #0
Nov 3 10:40:30 freebsd mpd: [L-1] CALLBACK 6
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
Nov 3 10:40:30 freebsd mpd: [L-1] MRU 1400
Nov 3 10:40:30 freebsd mpd: [L-1] MAGICNUM 53070384
Nov 3 10:40:30 freebsd mpd: [L-1] PROTOCOMP
Nov 3 10:40:30 freebsd mpd: [L-1] ACFCOMP
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: SendConfigAck #1
Nov 3 10:40:30 freebsd mpd: [L-1] MRU 1400
Nov 3 10:40:30 freebsd mpd: [L-1] MAGICNUM 53070384
Nov 3 10:40:30 freebsd mpd: [L-1] PROTOCOMP
Nov 3 10:40:30 freebsd mpd: [L-1] ACFCOMP
Nov 3 10:40:30 freebsd mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
Nov 3 10:40:32 freebsd mpd: [L-1] LCP: SendConfigReq #2
Nov 3 10:40:32 freebsd mpd: [L-1] ACFCOMP
Nov 3 10:40:32 freebsd mpd: [L-1] PROTOCOMP
Nov 3 10:40:32 freebsd mpd: [L-1] MRU 1500
Nov 3 10:40:32 freebsd mpd: [L-1] MAGICNUM 287910b2
Nov 3 10:40:32 freebsd mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Nov 3 10:40:32 freebsd mpd: [L-1] LCP: rec'd Configure Ack #2 (Ack-Sent)
Nov 3 10:40:32 freebsd mpd: [L-1] ACFCOMP
Nov 3 10:40:32 freebsd mpd: [L-1] PROTOCOMP
Nov 3 10:40:32 freebsd mpd: [L-1] MRU 1500
Nov 3 10:40:32 freebsd mpd: [L-1] MAGICNUM 287910b2
Nov 3 10:40:32 freebsd mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Nov 3 10:40:32 freebsd mpd: [L-1] LCP: state change Ack-Sent --> Opened
Nov 3 10:40:32 freebsd mpd: [L-1] LCP: auth: peer wants nothing, I want CHAP
Nov 3 10:40:32 freebsd mpd: [L-1] CHAP: sending CHALLENGE #1 len: 21
Nov 3 10:40:32 freebsd mpd: [L-1] LCP: LayerUp
Nov 3 10:40:32 freebsd mpd: [L-1] LCP: rec'd Ident #2 (Opened)
Nov 3 10:40:32 freebsd mpd: [L-1] MESG: MSRASV5.10
Nov 3 10:40:32 freebsd mpd: [L-1] LCP: rec'd Ident #3 (Opened)
Nov 3 10:40:32 freebsd mpd: [L-1] MESG: MSRAS-0-XP
Nov 3 10:40:33 freebsd mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 57
Nov 3 10:40:33 freebsd mpd: [L-1] Name: "Evg"
Nov 3 10:40:33 freebsd mpd: [L-1] AUTH: Trying INTERNAL
Nov 3 10:40:33 freebsd mpd: [L-1] AUTH: INTERNAL returned: undefined
Nov 3 10:40:33 freebsd mpd: [L-1] CHAP: Auth return status: undefined
Nov 3 10:40:33 freebsd mpd: [L-1] CHAP: Response is valid
Nov 3 10:40:33 freebsd mpd: [L-1] CHAP: Reply message: S=8A8F68EACD19412613D555C23FC3DC916E943AB5
Nov 3 10:40:33 freebsd mpd: [L-1] CHAP: sending SUCCESS #1 len: 46
Nov 3 10:40:33 freebsd mpd: [L-1] LCP: authorization successful
Nov 3 10:40:33 freebsd mpd: [L-1] Link: Matched action 'bundle "B" ""'
Nov 3 10:40:33 freebsd mpd: [L-1] Creating new bundle using template "B".
Nov 3 10:40:33 freebsd mpd: [B-1] Bundle: Interface ng0 created
Nov 3 10:40:33 freebsd mpd: [L-1] Link: Join bundle "B-1"
Nov 3 10:40:33 freebsd mpd: [B-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: Open event
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: state change Initial --> Starting
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: LayerStart
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: Open event
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: state change Initial --> Starting
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: LayerStart
Nov 3 10:40:33 freebsd mpd: [B-1] ECP: Open event
Nov 3 10:40:33 freebsd mpd: [B-1] ECP: state change Initial --> Starting
Nov 3 10:40:33 freebsd mpd: [B-1] ECP: LayerStart
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: Up event
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: state change Starting --> Req-Sent
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: SendConfigReq #1
Nov 3 10:40:33 freebsd mpd: [B-1] IPADDR 192.168.1.250
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: Up event
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: state change Starting --> Req-Sent
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: SendConfigReq #1
Nov 3 10:40:33 freebsd mpd: [B-1] MPPC
Nov 3 10:40:33 freebsd mpd: [B-1] 0x010000e0:MPPE(40, 56, 128 bits), stateless
Nov 3 10:40:33 freebsd mpd: [B-1] ECP: Up event
Nov 3 10:40:33 freebsd mpd: [B-1] ECP: state change Starting --> Req-Sent
Nov 3 10:40:33 freebsd mpd: [B-1] ECP: SendConfigReq #1
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: rec'd Configure Request #4 (Req-Sent)
Nov 3 10:40:33 freebsd mpd: [B-1] MPPC
Nov 3 10:40:33 freebsd mpd: [B-1] 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: SendConfigNak #4
Nov 3 10:40:33 freebsd mpd: [B-1] MPPC
Nov 3 10:40:33 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: rec'd Configure Request #5 (Req-Sent)
Nov 3 10:40:33 freebsd mpd: [B-1] IPADDR 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] NAKing with 10.10.100.50
Nov 3 10:40:33 freebsd mpd: [B-1] PRIDNS 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] PRINBNS 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] SECDNS 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] SECNBNS 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: SendConfigRej #5
Nov 3 10:40:33 freebsd mpd: [B-1] PRIDNS 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] PRINBNS 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] SECDNS 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] SECNBNS 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: rec'd Configure Ack #1 (Req-Sent)
Nov 3 10:40:33 freebsd mpd: [B-1] IPADDR 192.168.1.250
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: state change Req-Sent --> Ack-Rcvd
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: rec'd Configure Nak #1 (Req-Sent)
Nov 3 10:40:33 freebsd mpd: [B-1] MPPC
Nov 3 10:40:33 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: SendConfigReq #2
Nov 3 10:40:33 freebsd mpd: [B-1] MPPC
Nov 3 10:40:33 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 3 10:40:33 freebsd mpd: [L-1] LCP: rec'd Protocol Reject #6 (Opened)
Nov 3 10:40:33 freebsd mpd: [L-1] LCP: protocol ECP was rejected
Nov 3 10:40:33 freebsd mpd: [B-1] ECP: protocol was rejected by peer
Nov 3 10:40:33 freebsd mpd: [B-1] ECP: state change Req-Sent --> Stopped
Nov 3 10:40:33 freebsd mpd: [B-1] ECP: LayerFinish
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: rec'd Configure Request #7 (Ack-Rcvd)
Nov 3 10:40:33 freebsd mpd: [B-1] IPADDR 0.0.0.0
Nov 3 10:40:33 freebsd mpd: [B-1] NAKing with 10.10.100.50
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: SendConfigNak #7
Nov 3 10:40:33 freebsd mpd: [B-1] IPADDR 10.10.100.50
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: rec'd Configure Ack #2 (Req-Sent)
Nov 3 10:40:33 freebsd mpd: [B-1] MPPC
Nov 3 10:40:33 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 3 10:40:33 freebsd mpd: [B-1] CCP: state change Req-Sent --> Ack-Rcvd
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: rec'd Configure Request #8 (Ack-Rcvd)
Nov 3 10:40:33 freebsd mpd: [B-1] IPADDR 10.10.100.50
Nov 3 10:40:33 freebsd mpd: [B-1] 10.10.100.50 is OK
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: SendConfigAck #8
Nov 3 10:40:33 freebsd mpd: [B-1] IPADDR 10.10.100.50
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: state change Ack-Rcvd --> Opened
Nov 3 10:40:33 freebsd mpd: [B-1] IPCP: LayerUp
Nov 3 10:40:33 freebsd mpd: [B-1] 192.168.1.250 -> 10.10.100.50
Nov 3 10:40:33 freebsd mpd: [B-1] IFACE: No interface to proxy arp on for 10.10.100.50
Nov 3 10:40:33 freebsd mpd: [B-1] IFACE: Up event
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: rec'd Configure Request #9 (Ack-Rcvd)
Nov 3 10:40:34 freebsd mpd: [B-1] MPPC
Nov 3 10:40:34 freebsd mpd: [B-1] 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: SendConfigNak #9
Nov 3 10:40:34 freebsd mpd: [B-1] MPPC
Nov 3 10:40:34 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: rec'd Configure Request #10 (Ack-Rcvd)
Nov 3 10:40:34 freebsd mpd: [B-1] MPPC
Nov 3 10:40:34 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: SendConfigAck #10
Nov 3 10:40:34 freebsd mpd: [B-1] MPPC
Nov 3 10:40:34 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: state change Ack-Rcvd --> Opened
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: LayerUp
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: Compress using: mppc (MPPE(128 bits), stateless)
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: Decompress using: mppc (MPPE(128 bits), stateless)
Nov 3 10:42:22 freebsd mpd: [L-1] PPTP call terminated
Nov 3 10:42:22 freebsd mpd: [L-1] Link: DOWN event
Nov 3 10:42:22 freebsd mpd: [L-1] LCP: Close event
Nov 3 10:42:22 freebsd mpd: [L-1] LCP: state change Opened --> Closing
Nov 3 10:42:22 freebsd mpd: [L-1] Link: Leave bundle "B-1"
Nov 3 10:42:22 freebsd mpd: [B-1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Nov 3 10:42:22 freebsd mpd: [B-1] IPCP: Close event
Nov 3 10:42:22 freebsd mpd: [B-1] IPCP: state change Opened --> Closing
Nov 3 10:42:22 freebsd mpd: [B-1] IPCP: SendTerminateReq #2
Nov 3 10:42:22 freebsd mpd: [B-1] IPCP: LayerDown
Nov 3 10:42:22 freebsd mpd: [B-1] IFACE: Down event
Nov 3 10:42:22 freebsd mpd: [B-1] CCP: Close event
Nov 3 10:42:22 freebsd mpd: [B-1] CCP: state change Opened --> Closing
Nov 3 10:42:22 freebsd mpd: [B-1] CCP: SendTerminateReq #3
Nov 3 10:42:22 freebsd mpd: [B-1] CCP: LayerDown
Nov 3 10:42:22 freebsd mpd: [B-1] ECP: Close event
Nov 3 10:42:22 freebsd mpd: [B-1] ECP: state change Stopped --> Closed
Nov 3 10:42:22 freebsd mpd: [B-1] IPCP: Down event
Nov 3 10:42:22 freebsd mpd: [B-1] IPCP: LayerFinish
Nov 3 10:42:22 freebsd mpd: [B-1] Bundle: No NCPs left. Closing links...
Nov 3 10:42:22 freebsd mpd: [B-1] IPCP: state change Closing --> Initial
Nov 3 10:42:22 freebsd mpd: [B-1] CCP: Down event
Nov 3 10:42:22 freebsd mpd: [B-1] CCP: LayerFinish
Nov 3 10:42:22 freebsd mpd: [B-1] CCP: state change Closing --> Initial
Nov 3 10:42:22 freebsd mpd: [B-1] ECP: Down event
Nov 3 10:42:22 freebsd mpd: [B-1] ECP: state change Closed --> Initial
Nov 3 10:42:22 freebsd mpd: [B-1] Bundle: Shutdown
Nov 3 10:42:22 freebsd mpd: [L-1] LCP: SendTerminateReq #3
Nov 3 10:42:22 freebsd mpd: [L-1] LCP: LayerDown
Nov 3 10:42:22 freebsd mpd: [L-1] LCP: Down event
Nov 3 10:42:22 freebsd mpd: [L-1] LCP: LayerFinish
Nov 3 10:42:22 freebsd mpd: [L-1] LCP: state change Closing --> Initial
Nov 3 10:42:22 freebsd mpd: [L-1] Link: SHUTDOWN event
Nov 3 10:42:22 freebsd mpd: [L-1] Link: Shutdown
Evgen777
-
paradox
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Непрочитанное сообщение
paradox » 2008-11-03 17:40:30
смотрите каквключаеться дебаг в mpd
по всем уровням
и давайте в расшифровке этот момент
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: Compress using: mppc (MPPE(128 bits), stateless)
Nov 3 10:40:34 freebsd mpd: [B-1] CCP: Decompress using: mppc (MPPE(128 bits), stateless)
?????????????
Nov 3 10:42:22 freebsd mpd: [L-1] PPTP call terminated
Nov 3 10:42:22 freebsd mpd: [L-1] Link: DOWN event
paradox
-
Evgen777
- рядовой
- Сообщения: 24
- Зарегистрирован: 2008-10-16 15:42:27
-
Контактная информация:
Evgen777
-
Evgen777
- рядовой
- Сообщения: 24
- Зарегистрирован: 2008-10-16 15:42:27
-
Контактная информация:
Непрочитанное сообщение
Evgen777 » 2008-11-04 20:01:42
Вот лог последний:
Код: Выделить всё
mpd.conf:
startup:
set console open
set console self 127.0.0.1 5005
set user admin password admin
default:
load pptp_server
pptp_server:
create bundle template B
set iface disable on-demand
set iface enable tcpmssfix
set iface enable proxy-arp
set ipcp ranges 10.10.100.1/32 10.10.100.2/24
set ipcp no vjcomp
set ccp yes mppc
set ccp no pred1
set ccp no deflate
set bundle yes compression
set bundle yes encryption
set bundle yes crypt-reqd
set mppc yes compress
set mppc yes e40
set mppc yes e56
set mppc yes e128
set mppc yes stateless
set bundle no crypt-reqd
create link template L pptp
set link action bundle B
set link disable multilink
set link yes acfcomp
set link yes protocomp
set link no pap
set link yes chap
set link yes chap-md5
set link yes chap-msv1
set link yes chap-msv2
set link keep-alive 60 180
set link enable incoming
set link mtu 1400
set pptp disable windowing
log:
Nov 4 22:22:55 freebsd mpd: [L-1] Accepting PPTP connection
Nov 4 22:22:55 freebsd mpd: [L-1] Link: OPEN event
Nov 4 22:22:55 freebsd mpd: [L-1] LCP: Open event
Nov 4 22:22:55 freebsd mpd: [L-1] LCP: state change Initial --> Starting
Nov 4 22:22:55 freebsd mpd: [L-1] LCP: LayerStart
Nov 4 22:22:55 freebsd mpd: [L-1] PPTP: attaching to peer's outgoing call
Nov 4 22:22:55 freebsd mpd: [L-1] Link: UP event
Nov 4 22:22:55 freebsd mpd: [L-1] LCP: Up event
Nov 4 22:22:55 freebsd mpd: [L-1] LCP: state change Starting --> Req-Sent
Nov 4 22:22:55 freebsd mpd: [L-1] LCP: SendConfigReq #1
Nov 4 22:22:55 freebsd mpd: [L-1] ACFCOMP
Nov 4 22:22:55 freebsd mpd: [L-1] PROTOCOMP
Nov 4 22:22:55 freebsd mpd: [L-1] MRU 1500
Nov 4 22:22:55 freebsd mpd: [L-1] MAGICNUM b42e47ae
Nov 4 22:22:55 freebsd mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Nov 4 22:22:56 freebsd mpd: [L-1] LCP: rec'd Configure Request #0 (Req-Sent)
Nov 4 22:22:56 freebsd mpd: [L-1] MRU 1400
Nov 4 22:22:56 freebsd mpd: [L-1] MAGICNUM 1f5014da
Nov 4 22:22:56 freebsd mpd: [L-1] PROTOCOMP
Nov 4 22:22:56 freebsd mpd: [L-1] ACFCOMP
Nov 4 22:22:56 freebsd mpd: [L-1] CALLBACK 6
Nov 4 22:22:56 freebsd mpd: [L-1] LCP: SendConfigRej #0
Nov 4 22:22:56 freebsd mpd: [L-1] CALLBACK 6
Nov 4 22:22:56 freebsd mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
Nov 4 22:22:56 freebsd mpd: [L-1] MRU 1400
Nov 4 22:22:56 freebsd mpd: [L-1] MAGICNUM 1f5014da
Nov 4 22:22:56 freebsd mpd: [L-1] PROTOCOMP
Nov 4 22:22:56 freebsd mpd: [L-1] ACFCOMP
Nov 4 22:22:56 freebsd mpd: [L-1] LCP: SendConfigAck #1
Nov 4 22:22:56 freebsd mpd: [L-1] MRU 1400
Nov 4 22:22:56 freebsd mpd: [L-1] MAGICNUM 1f5014da
Nov 4 22:22:56 freebsd mpd: [L-1] PROTOCOMP
Nov 4 22:22:56 freebsd mpd: [L-1] ACFCOMP
Nov 4 22:22:56 freebsd mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: SendConfigReq #2
Nov 4 22:22:58 freebsd mpd: [L-1] ACFCOMP
Nov 4 22:22:58 freebsd mpd: [L-1] PROTOCOMP
Nov 4 22:22:58 freebsd mpd: [L-1] MRU 1500
Nov 4 22:22:58 freebsd mpd: [L-1] MAGICNUM b42e47ae
Nov 4 22:22:58 freebsd mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: rec'd Configure Ack #2 (Ack-Sent)
Nov 4 22:22:58 freebsd mpd: [L-1] ACFCOMP
Nov 4 22:22:58 freebsd mpd: [L-1] PROTOCOMP
Nov 4 22:22:58 freebsd mpd: [L-1] MRU 1500
Nov 4 22:22:58 freebsd mpd: [L-1] MAGICNUM b42e47ae
Nov 4 22:22:58 freebsd mpd: [L-1] AUTHPROTO CHAP MSOFTv2
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: state change Ack-Sent --> Opened
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: auth: peer wants nothing, I want CHAP
Nov 4 22:22:58 freebsd mpd: [L-1] CHAP: sending CHALLENGE #1 len: 21
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: LayerUp
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: rec'd Ident #2 (Opened)
Nov 4 22:22:58 freebsd mpd: [L-1] MESG: MSRASV5.10
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: rec'd Ident #3 (Opened)
Nov 4 22:22:58 freebsd mpd: [L-1] MESG: MSRAS-0-XP
Nov 4 22:22:58 freebsd mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 57
Nov 4 22:22:58 freebsd mpd: [L-1] Name: "Evg"
Nov 4 22:22:58 freebsd mpd: [L-1] AUTH: Trying INTERNAL
Nov 4 22:22:58 freebsd mpd: [L-1] AUTH: INTERNAL returned: undefined
Nov 4 22:22:58 freebsd mpd: [L-1] CHAP: Auth return status: undefined
Nov 4 22:22:58 freebsd mpd: [L-1] CHAP: Response is valid
Nov 4 22:22:58 freebsd mpd: [L-1] CHAP: Reply message: S=357F89C1120A2609F5D43EB2C7E5C50B13E7F89A
Nov 4 22:22:58 freebsd mpd: [L-1] CHAP: sending SUCCESS #1 len: 46
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: authorization successful
Nov 4 22:22:58 freebsd mpd: [L-1] Link: Matched action 'bundle "B" ""'
Nov 4 22:22:58 freebsd mpd: [L-1] Creating new bundle using template "B".
Nov 4 22:22:58 freebsd mpd: [B-1] Bundle: Interface ng0 created
Nov 4 22:22:58 freebsd mpd: [L-1] Link: Join bundle "B-1"
Nov 4 22:22:58 freebsd mpd: [B-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: Open event
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: state change Initial --> Starting
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: LayerStart
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: Open event
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: state change Initial --> Starting
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: LayerStart
Nov 4 22:22:58 freebsd mpd: [B-1] ECP: Open event
Nov 4 22:22:58 freebsd mpd: [B-1] ECP: state change Initial --> Starting
Nov 4 22:22:58 freebsd mpd: [B-1] ECP: LayerStart
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: Up event
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: state change Starting --> Req-Sent
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: SendConfigReq #1
Nov 4 22:22:58 freebsd mpd: [B-1] IPADDR 10.10.100.1
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: Up event
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: state change Starting --> Req-Sent
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: SendConfigReq #1
Nov 4 22:22:58 freebsd mpd: [B-1] MPPC
Nov 4 22:22:58 freebsd mpd: [B-1] 0x010000e0:MPPE(40, 56, 128 bits), stateless
Nov 4 22:22:58 freebsd mpd: [B-1] ECP: Up event
Nov 4 22:22:58 freebsd mpd: [B-1] ECP: state change Starting --> Req-Sent
Nov 4 22:22:58 freebsd mpd: [B-1] ECP: SendConfigReq #1
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: rec'd Configure Request #4 (Req-Sent)
Nov 4 22:22:58 freebsd mpd: [B-1] MPPC
Nov 4 22:22:58 freebsd mpd: [B-1] 0x010000e1:MPPC, MPPE(40, 56, 128 bits), stateless
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: SendConfigNak #4
Nov 4 22:22:58 freebsd mpd: [B-1] MPPC
Nov 4 22:22:58 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: rec'd Configure Request #5 (Req-Sent)
Nov 4 22:22:58 freebsd mpd: [B-1] IPADDR 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] NAKing with 10.10.100.50
Nov 4 22:22:58 freebsd mpd: [B-1] PRIDNS 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] PRINBNS 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] SECDNS 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] SECNBNS 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: SendConfigRej #5
Nov 4 22:22:58 freebsd mpd: [B-1] PRIDNS 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] PRINBNS 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] SECDNS 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] SECNBNS 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: rec'd Configure Ack #1 (Req-Sent)
Nov 4 22:22:58 freebsd mpd: [B-1] IPADDR 10.10.100.1
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: state change Req-Sent --> Ack-Rcvd
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: rec'd Configure Nak #1 (Req-Sent)
Nov 4 22:22:58 freebsd mpd: [B-1] MPPC
Nov 4 22:22:58 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: SendConfigReq #2
Nov 4 22:22:58 freebsd mpd: [B-1] MPPC
Nov 4 22:22:58 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: rec'd Protocol Reject #6 (Opened)
Nov 4 22:22:58 freebsd mpd: [L-1] LCP: protocol ECP was rejected
Nov 4 22:22:58 freebsd mpd: [B-1] ECP: protocol was rejected by peer
Nov 4 22:22:58 freebsd mpd: [B-1] ECP: state change Req-Sent --> Stopped
Nov 4 22:22:58 freebsd mpd: [B-1] ECP: LayerFinish
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: rec'd Configure Request #7 (Req-Sent)
Nov 4 22:22:58 freebsd mpd: [B-1] MPPC
Nov 4 22:22:58 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: SendConfigAck #7
Nov 4 22:22:58 freebsd mpd: [B-1] MPPC
Nov 4 22:22:58 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: state change Req-Sent --> Ack-Sent
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: rec'd Configure Request #8 (Ack-Rcvd)
Nov 4 22:22:58 freebsd mpd: [B-1] IPADDR 0.0.0.0
Nov 4 22:22:58 freebsd mpd: [B-1] NAKing with 10.10.100.50
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: SendConfigNak #8
Nov 4 22:22:58 freebsd mpd: [B-1] IPADDR 10.10.100.50
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: rec'd Configure Ack #2 (Ack-Sent)
Nov 4 22:22:58 freebsd mpd: [B-1] MPPC
Nov 4 22:22:58 freebsd mpd: [B-1] 0x01000040:MPPE(128 bits), stateless
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: state change Ack-Sent --> Opened
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: LayerUp
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: Compress using: mppc (MPPE(128 bits), stateless)
Nov 4 22:22:58 freebsd mpd: [B-1] CCP: Decompress using: mppc (MPPE(128 bits), stateless)
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: rec'd Configure Request #9 (Ack-Rcvd)
Nov 4 22:22:58 freebsd mpd: [B-1] IPADDR 10.10.100.50
Nov 4 22:22:58 freebsd mpd: [B-1] 10.10.100.50 is OK
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: SendConfigAck #9
Nov 4 22:22:58 freebsd mpd: [B-1] IPADDR 10.10.100.50
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: state change Ack-Rcvd --> Opened
Nov 4 22:22:58 freebsd mpd: [B-1] IPCP: LayerUp
Nov 4 22:22:58 freebsd mpd: [B-1] 10.10.100.1 -> 10.10.100.50
Nov 4 22:22:58 freebsd mpd: [B-1] IFACE: No interface to proxy arp on for 10.10.100.50
Nov 4 22:22:58 freebsd mpd: [B-1] IFACE: Up event
Nov 4 22:31:58 freebsd mpd: [L-1] LCP: no reply to 1 echo request(s)
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: no reply to 2 echo request(s)
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: peer not responding to echo requests
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: state change Opened --> Stopping
Nov 4 22:32:58 freebsd mpd: [L-1] Link: Leave bundle "B-1"
Nov 4 22:32:58 freebsd mpd: [B-1] Bundle: Status update: up 0 links, total bandwidth 9600 bps
Nov 4 22:32:58 freebsd mpd: [B-1] IPCP: Close event
Nov 4 22:32:58 freebsd mpd: [B-1] IPCP: state change Opened --> Closing
Nov 4 22:32:58 freebsd mpd: [B-1] IPCP: SendTerminateReq #2
Nov 4 22:32:58 freebsd mpd: [B-1] IPCP: LayerDown
Nov 4 22:32:58 freebsd mpd: [B-1] IFACE: Down event
Nov 4 22:32:58 freebsd mpd: [B-1] CCP: Close event
Nov 4 22:32:58 freebsd mpd: [B-1] CCP: state change Opened --> Closing
Nov 4 22:32:58 freebsd mpd: [B-1] CCP: SendTerminateReq #3
Nov 4 22:32:58 freebsd mpd: [B-1] CCP: LayerDown
Nov 4 22:32:58 freebsd mpd: [B-1] ECP: Close event
Nov 4 22:32:58 freebsd mpd: [B-1] ECP: state change Stopped --> Closed
Nov 4 22:32:58 freebsd mpd: [B-1] IPCP: Down event
Nov 4 22:32:58 freebsd mpd: [B-1] IPCP: LayerFinish
Nov 4 22:32:58 freebsd mpd: [B-1] Bundle: No NCPs left. Closing links...
Nov 4 22:32:58 freebsd mpd: [B-1] IPCP: state change Closing --> Initial
Nov 4 22:32:58 freebsd mpd: [B-1] CCP: Down event
Nov 4 22:32:58 freebsd mpd: [B-1] CCP: LayerFinish
Nov 4 22:32:58 freebsd mpd: [B-1] CCP: state change Closing --> Initial
Nov 4 22:32:58 freebsd mpd: [B-1] ECP: Down event
Nov 4 22:32:58 freebsd mpd: [B-1] ECP: state change Closed --> Initial
Nov 4 22:32:58 freebsd mpd: [B-1] Bundle: Shutdown
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: SendTerminateReq #3
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: LayerDown
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: rec'd Terminate Ack #3 (Stopping)
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: state change Stopping --> Stopped
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: LayerFinish
Nov 4 22:32:58 freebsd mpd: [L-1] PPTP call terminated
Nov 4 22:32:58 freebsd mpd: [L-1] Link: DOWN event
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: Close event
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: state change Stopped --> Closed
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: Down event
Nov 4 22:32:58 freebsd mpd: [L-1] LCP: state change Closed --> Initial
Nov 4 22:32:58 freebsd mpd: [L-1] Link: SHUTDOWN event
Nov 4 22:32:58 freebsd mpd: [L-1] Link: Shutdown
Вот вообщем последний лог. А какой именно log включить в консоли, не особо понял, в консоли есть логи:
Код: Выделить всё
[L] log
Log Option Enabled Description
---------- ------- -----------
BUND Yes Bundle events
BUND2 No Detailed bundle events
LINK Yes Link events
REP Yes Repeater events
LCP Yes LCP negotiation
LCP2 No LCP events and debugging
AUTH Yes Link authentication events
AUTH2 No Link authentication details
IPCP Yes IPCP negotiation
IPCP2 No IPCP events and debugging
IPV6CP Yes IPV6CP negotiation
IPV6CP2 No IPV6CP events and debugging
CCP Yes CCP negotiation
CCP2 No CCP events and debugging
ECP Yes ECP negotiation
ECP2 No ECP events and debugging
FSM Yes All FSM events (except echo & reset)
ECHO No Echo/reply events for all automata
PHYS Yes Physical layer events
PHYS2 No Physical layer debug
PHYS3 No Physical layer control packet dump
CHAT Yes Modem chat script
CHAT2 No Chat script extra debugging output
IFACE Yes IP interface and route management
IFACE2 No IP interface and route management debug
FRAME No Dump all incoming & outgoing frames
RADIUS Yes Radius authentication events
RADIUS2 No Radius authentication debug
CONSOLE Yes Console events
EVENTS No Daemon events debug
Включал ccp2...
Evgen777
-
paradox
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Непрочитанное сообщение
paradox » 2008-11-04 20:54:49
все включи
и кстати можно не токо эти опции из консоли включать
их можно включать и через mpd.conf
и лог там поболее и поподробнее
paradox
-
paradox
- проходил мимо
- Сообщения: 11620
- Зарегистрирован: 2008-02-21 18:15:41
Непрочитанное сообщение
paradox » 2008-11-05 8:44:01
в mpd4
пример
default:
log FRAME
log PHYS
log PHYS2
log PHYS3
load PPPoE
PPPoE:
log FRAME
log PHYS
log PHYS2
log PHYS3
итд
paradox