Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Sultan Azhiguzhayev                  2:5083/84      19 Jun 2003  19:36:15
 To : All
 Subject : pptpd
 -------------------------------------------------------------------------------- 
 
 
 главные герои:
 ppp cvs
 poptop 1.1.4
 kernel 2.4.20 debian пропатченное на предмет mppe из ppp cvs.
 правила iptables снесены все нафиг.
 
 расстановка сил:
 
 [pptpd.conf]
 speed 115200
 option /etc/ppp/options.pptpd
 debug
 localip 192.168.0.200-205
 remoteip 192.168.0.206-207
 [pptpd.conf]
 
 [options.pptpd]
 Прописал так:
 name pptpd
 ipparam PoPToP
 lock
 proxyarp
 auth
 require-chap
 require-mschap
 require-mschap-v2
 require-mppe
 require-mppe-40
 require-mppe-128
 ipcp-accept-local
 ipcp-accept-remote
 lcp-echo-failure 30
 lcp-echo-interval 5
 deflate 0
 mtu 1490
 mru 1490
 kdebug 1
 debug
 dump
 [options.pptpd]
 
 [chap-secrets]
 # Secrets for authentication using CHAP
 # client        server  secret                  IP addresses
 loginname       pptpd   "mypasswd"      *
 [chap-secrets]
 
 в винде обычные параметры + шифрование, из протоколов только tcp/ip
 Аутентификация проходит, потом все висит на этапе "регистрация компьютера в
 сети" и отваливается. винда жалуется - "Сервер не назначил IP адрес", а сервер
 вот такое пишет:
 лог:
 
 Jun 19 12:53:28 test1 pptpd[513]: MGR: Launching /usr/local/poptop/sbin/pptpctrl
 to handle client
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: pppd speed = 115200
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: pppd options file =
 /etc/ppp/options.pptpd
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Client 192.168.0.104 control connection 
 started
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Received PPTP Control Message (type: 1)
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Made a START CTRL CONN RPLY packet
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: I wrote 156 bytes to the client.
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Sent packet to client
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Received PPTP Control Message (type: 7)
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Set parameters to 1525 maxbps, 64 window
 size
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Made a OUT CALL RPLY packet
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Starting call (launching pppd, opening
 GRE)
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: pty_fd = 7
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: tty_fd = 8
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: I wrote 32 bytes to the client.
 Jun 19 12:53:28 test1 pptpd[514]: CTRL (PPPD Launcher): Connection speed =
 115200
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Sent packet to client
 Jun 19 12:53:28 test1 pppd[514]: pppd options in effect:
 Jun 19 12:53:28 test1 pptpd[513]: CTRL: Received PPTP Control Message (type: 15)
 Jun 19 12:53:29 test1 pppd[514]: debug^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pptpd[513]: CTRL: Got a SET LINK INFO packet with standard
 ACCMs
 Jun 19 12:53:29 test1 pppd[514]: kdebug 1^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: dump^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: require-mschap-v2^I^I# (from
 /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: name pptpd^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: 115200^I^I# (from command line)
 Jun 19 12:53:29 test1 pppd[514]: lock^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: local^I^I# (from command line)
 Jun 19 12:53:29 test1 pppd[514]: mru 1490^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: mtu 1490^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: lcp-echo-failure 30^I^I# (from
 /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: lcp-echo-interval 5^I^I# (from
 /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: ipcp-accept-local^I^I# (from
 /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: ipcp-accept-remote^I^I# (from
 /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: ipparam PoPToP^I^I# (from
 /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: ms-dns xxx # [don't know how to print
 value]^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: proxyarp^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: deflate 0^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: require-mppe^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: ^I^I# (from /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: require-mppe-128^I^I# (from
 /etc/ppp/options.pptpd)
 Jun 19 12:53:29 test1 pppd[514]: pppd 2.4.2b3 started by root, uid 0
 Jun 19 12:53:29 test1 pppd[514]: using channel 2
 Jun 19 12:53:29 test1 pppd[514]: Using interface ppp0
 Jun 19 12:53:29 test1 pppd[514]: Connect: ppp0 <--> /dev/pts/7
 Jun 19 12:53:29 test1 pppd[514]: sent [LCP ConfReq id=0x1 <mru 1490> <asyncmap
 
 0x0> <auth chap MS-v2> <magic 0xa9efdd8f> <pcomp> <accomp>]
 
 Jun 19 12:53:29 test1 pptpd[513]: GRE: Discarding duplicate packet
 Jun 19 12:53:29 test1 pppd[514]: rcvd [LCP ConfNak id=0x1 <mru 1500>]
 Jun 19 12:53:29 test1 pppd[514]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <auth
 chap MS-v2> <magic 0xa9efdd8f> <pcomp> <accomp>]
 Jun 19 12:53:29 test1 pppd[514]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <auth
 chap MS-v2> <magic 0xa9efdd8f> <pcomp> <accomp>]
 Jun 19 12:53:30 test1 pppd[514]: rcvd [LCP ConfReq id=0x1 <magic 0x4b4462b4>
 <pcomp> <accomp> <callback CBCP>]
 Jun 19 12:53:30 test1 pppd[514]: sent [LCP ConfRej id=0x1 <callback CBCP>]
 Jun 19 12:53:30 test1 pppd[514]: rcvd [LCP ConfReq id=0x2 <magic 0x4b4462b4>
 <pcomp> <accomp>]
 Jun 19 12:53:31 test1 pppd[514]: sent [LCP ConfAck id=0x2 <magic 0x4b4462b4>
 <pcomp> <accomp>]
 Jun 19 12:53:31 test1 pppd[514]: sent [LCP EchoReq id=0x0 magic=0xa9efdd8f]
 Jun 19 12:53:31 test1 pppd[514]: sent [CHAP Challenge id=0x1
 <6510c9f3f7b8d745c050c26994c1cab5>, name = "pptpd"]
 Jun 19 12:53:31 test1 pptpd[513]: CTRL: Received PPTP Control Message (type: 15)
 Jun 19 12:53:31 test1 pptpd[513]: CTRL: Ignored a SET LINK INFO packet with real
 ACCMs!
 Jun 19 12:53:31 test1 pppd[514]: rcvd [LCP code=0xc id=0x3 4b 44 62 b4 4d 53 52 
 41 53 56 35 2e 30 30]
 Jun 19 12:53:31 test1 pppd[514]: sent [LCP CodeRej id=0x3 0c 03 00 12 4b 44 62
 b4 4d 53 52 41 53 56 35 2e 30 30]
 Jun 19 12:53:31 test1 pppd[514]: rcvd [LCP code=0xc id=0x4 4b 44 62 b4 4d 53 52 
 41 53 2d 31 2d 53 55 4c 54 41 4e]
 Jun 19 12:53:31 test1 pppd[514]: sent [LCP CodeRej id=0x4 0c 04 00 16 4b 44 62
 b4 4d 53 52 41 53 2d 31 2d 53 55 4c 54 41 4e]
 Jun 19 12:53:31 test1 pppd[514]: rcvd [LCP EchoRep id=0x0 magic=0x4b4462b4]
 Jun 19 12:53:31 test1 pppd[514]: rcvd [CHAP Response id=0x1
 <62f29b2a518bd67975bfb6084250eba200000000000000002a5af764cb624d802470709d13e580 
 4045a3ce5c00e563a100>, name = "loginname"]
 Jun 19 12:53:31 test1 pppd[514]: sent [CHAP Success id=0x1
 "S=5065FB0778A025510DD50C30E3F110F66A7EFFEB M=Welcome to test1."]
 Jun 19 12:53:31 test1 pppd[514]: sent [CCP ConfReq id=0x1 <mppe +H -M +S +L -D
 -C>]
 Jun 19 12:53:31 test1 pppd[514]: CHAP peer authentication succeeded for
 loginname
 Jun 19 12:53:31 test1 pppd[514]: rcvd [CCP ConfReq id=0x5 <mppe +H +M +S +L -D
 
 +C>]
 
 Jun 19 12:53:31 test1 pppd[514]: sent [CCP ConfNak id=0x5 <mppe +H -M +S -L -D
 -C>]
 Jun 19 12:53:31 test1 pppd[514]: rcvd [IPCP ConfReq id=0x6 <addr 0.0.0.0>
 <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
 Jun 19 12:53:31 test1 pppd[514]: sent [IPCP TermAck id=0x6]
 Jun 19 12:53:31 test1 pppd[514]: rcvd [CCP ConfNak id=0x1 <mppe +H -M +S -L -D
 -C>]
 Jun 19 12:53:31 test1 pppd[514]: sent [CCP ConfReq id=0x2 <mppe +H -M +S -L -D
 -C>]
 Jun 19 12:53:31 test1 pppd[514]: rcvd [CCP ConfReq id=0x7 <mppe +H -M +S -L -D
 -C>]
 Jun 19 12:53:31 test1 pppd[514]: sent [CCP ConfAck id=0x7 <mppe +H -M +S -L -D
 -C>]
 Jun 19 12:53:31 test1 pppd[514]: rcvd [CCP ConfAck id=0x2 <mppe +H -M +S -L -D
 -C>]
 Jun 19 12:53:31 test1 pppd[514]: MPPE 128-bit stateless compression enabled
 Jun 19 12:53:31 test1 pppd[514]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01>
 <addr 192.168.0.15>]
 Jun 19 12:53:31 test1 pppd[514]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
 Jun 19 12:53:31 test1 pppd[514]: sent [IPCP ConfReq id=0x2 <addr 192.168.0.15>]
 Jun 19 12:53:31 test1 pppd[514]: rcvd [IPCP ConfAck id=0x2 <addr 192.168.0.15>]
 Jun 19 12:53:33 test1 pppd[514]: rcvd [IPCP ConfReq id=0x8 <addr 0.0.0.0>
 <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
 Jun 19 12:53:33 test1 pppd[514]: sent [IPCP ConfRej id=0x8 <addr 0.0.0.0>
 <ms-wins 0.0.0.0> <ms-wins 0.0.0.0>]
 Jun 19 12:53:33 test1 pppd[514]: rcvd [IPCP ConfReq id=0x9 <addr 0.0.0.0>]
 Jun 19 12:53:33 test1 pppd[514]: sent [IPCP ConfRej id=0x9 <addr 0.0.0.0>]
 Jun 19 12:53:33 test1 pppd[514]: rcvd [IPCP TermReq id=0xa
 "KDb\37777777664\000<\37777777715t\000\000\002\37777777742"]
 Jun 19 12:53:33 test1 pppd[514]: sent [IPCP TermAck id=0xa]
 Jun 19 12:53:33 test1 pptpd[513]: CTRL: Received PPTP Control Message (type: 15)
 Jun 19 12:53:33 test1 pptpd[513]: CTRL: Got a SET LINK INFO packet with standard
 ACCMs
 Jun 19 12:53:33 test1 pppd[514]: rcvd [LCP TermReq id=0xb
 "KDb\37777777664\000<\37777777715t\000\000\000\000"]
 Jun 19 12:53:33 test1 pppd[514]: LCP terminated by peer (KDbM-4^@<M-Mt^@^@^@^@)
 Jun 19 12:53:33 test1 pptpd[513]: CTRL: Received PPTP Control Message (type: 12)
 Jun 19 12:53:33 test1 pptpd[513]: CTRL: Made a CALL DISCONNECT RPLY packet
 Jun 19 12:53:33 test1 pptpd[513]: CTRL: Received CALL CLR request (closing call)
 Jun 19 12:53:33 test1 pptpd[513]: CTRL: I wrote 148 bytes to the client.
 Jun 19 12:53:34 test1 pppd[514]: sent [LCP TermAck id=0xb]
 Jun 19 12:53:34 test1 pptpd[513]: CTRL: Sent packet to client
 Jun 19 12:53:34 test1 pppd[514]: Modem hangup
 Jun 19 12:53:34 test1 pptpd[513]: CTRL: Received PPTP Control Message (type: 3)
 Jun 19 12:53:34 test1 pppd[514]: Connection terminated.
 Jun 19 12:53:34 test1 pptpd[513]: CTRL: Made a STOP CTRL CONN RPLY packet
 Jun 19 12:53:34 test1 pppd[514]: Connect time 0.1 minutes.
 Jun 19 12:53:34 test1 pptpd[513]: CTRL: Received STOP CTRL CONN request
 (disconnecting)
 Jun 19 12:53:34 test1 pppd[514]: Sent 106 bytes, received 154 bytes.
 Jun 19 12:53:34 test1 pptpd[513]: CTRL: I wrote 16 bytes to the client.
 Jun 19 12:53:34 test1 pppd[514]: Connect time 0.1 minutes.
 Jun 19 12:53:34 test1 pptpd[513]: CTRL: Sent packet to client
 Jun 19 12:53:34 test1 pppd[514]: Sent 106 bytes, received 154 bytes.
 Jun 19 12:53:34 test1 pptpd[513]: CTRL: Closing child ppp with pid 514
 Jun 19 12:53:34 test1 pptpd[513]: CTRL: Client 192.168.0.104 control connection 
 finished
 Jun 19 12:53:34 test1 pppd[514]: Terminating on signal 2.
 Jun 19 12:53:34 test1 pptpd[513]: CTRL: Exiting now
 Jun 19 12:53:34 test1 pppd[514]: Exit.
 Jun 19 12:53:34 test1 pptpd[457]: MGR: Reaped child 513
 
 читал доку про диагностирование проблем с mppe/gre - не помогает :(
 
                        Всегда не Ваш, но с наилучшими пожеланиями,
                                                                 Султан.
       -I-
 М]\\\\[О]ННННННННННННННННННННННННННННННННННННННННДДДДДД
       -I-                     E-Mail: sultan[at]host.kz
 --- GoldED 3.00.Beta2+
  * Origin: 1/3 жизни - сон, 2/3 - желание выспаться... (2:5083/84)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 pptpd   Sultan Azhiguzhayev   19 Jun 2003 19:36:15 
Архивное /ru.linux/191883ef1b06c.html, оценка 3 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional