[Sysadmins] pptp over pptp
Терешков Евгений
=?iso-8859-1?q?evg_=CE=C1_krastel=2Eru?=
Вт Янв 17 23:52:41 MSK 2006
Peter Volkov <pvolkov на mics.msu.su> writes:
>> Вопрос: возможно ли поднятие pptp-канала поверх другого аналогичного
>> канала? Как это сделать?
>> "Тупой" метод (создать соединение и поднять его) не проходит.
> И всё-таки. Что конкретно не работает? Желательно написать вопрос
> поподробнее, а то даже подумать не о чём.
Вот как не работает:
Jan 18 03:43:07 evg pppd[5234]: pppd 2.4.2 started by root, uid 0
Jan 18 03:43:08 evg pptp[5235]: anon log[main:pptp.c:243]: The synchronous pptp option is NOT activated
Jan 18 03:43:08 evg pppd[5234]: Serial connection established.
Jan 18 03:43:08 evg pptp[5238]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jan 18 03:43:08 evg pppd[5234]: using channel 2
Jan 18 03:43:08 evg pppd[5234]: Using interface ppp1
Jan 18 03:43:08 evg pppd[5234]: Connect: ppp1 <--> /dev/pts/6
Jan 18 03:43:08 evg pptp[5238]: anon log[ctrlp_disp:pptp_ctrl.c:721]: Received Start Control Connection Reply
Jan 18 03:43:08 evg pptp[5238]: anon log[ctrlp_disp:pptp_ctrl.c:755]: Client connection established.
Jan 18 03:43:09 evg pptp[5238]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 7 'Outgoing-Call-Request'
Jan 18 03:43:09 evg pptp[5238]: anon log[ctrlp_disp:pptp_ctrl.c:841]: Received Outgoing Call Reply.
Jan 18 03:43:09 evg pptp[5238]: anon log[ctrlp_disp:pptp_ctrl.c:845]: PPTP_OUT_CALL_RPLY received for non-existant call: peer call ID (us) 38756 call ID (them) 0.
Jan 18 03:43:09 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:12 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:15 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:18 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:21 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:24 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:27 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:30 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:33 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:36 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:39 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:42 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:45 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:48 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:51 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:54 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:43:57 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:44:00 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:44:03 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:44:06 evg pppd[5234]: sent [LCP ConfReq id=0x1 <mru 296> <asyncmap 0x0> <magic 0xdf02dc1a> <pcomp> <accomp>]
Jan 18 03:44:09 evg pptp[5238]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 5 'Echo-Request'
Jan 18 03:44:09 evg pptp[5238]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 12 'Call-Clear-Request'
Jan 18 03:44:09 evg pptp[5238]: anon log[logecho:pptp_ctrl.c:659]: Echo Reply received.
Jan 18 03:44:09 evg pptp[5238]: anon log[ctrlp_disp:pptp_ctrl.c:912]: Call disconnect notification received (call id 0)
Jan 18 03:44:09 evg pptp[5238]: anon log[ctrlp_error:pptp_ctrl.c:195]: Result code is 4 '(your) Request'. Error code is 0, Cause code is 0
Jan 18 03:44:09 evg pptp[5238]: anon log[call_callback:pptp_callmgr.c:77]: Closing connection
Jan 18 03:44:09 evg pppd[5234]: Child process /usr/sbin/pptp xx.xx.xxx.xx --nolaunchpppd (pid 5235) terminated with signal 15
Jan 18 03:44:09 evg pppd[5234]: Modem hangup
Jan 18 03:44:09 evg pppd[5234]: Connection terminated.
Jan 18 03:44:09 evg pppd[5234]: Exit.
Jan 18 03:44:09 evg ifup-pptp: PPTP tunnel to xx.xx.xxx.xx startup for pptp0 failed
Jan 18 03:44:11 evg pptp[5238]: anon log[pptp_conn_close:pptp_ctrl.c:425]: Closing PPTP connection
Jan 18 03:44:11 evg pptp[5238]: anon log[ctrlp_rep:pptp_ctrl.c:243]: Sent control packet type is 3 'Stop-Control-Connection-Request'
Jan 18 03:44:11 evg pptp[5238]: anon log[pptp_read_some:pptp_ctrl.c:534]: read error: Connection reset by peer
На mru не смотрите, с mru по умолчания тоже не работает.
На сервере при этом такой лог (сервер не перенастрайвался):
Jan 18 03:41:52 server pptpd[29017]: CTRL: Client xxx.xxx.xxx.xxx control connection started
Jan 18 03:41:53 server pptpd[29017]: CTRL: Starting call (launching pppd, opening GRE)
Jan 18 03:41:53 server pppd[29018]: pppd 2.4.3 started by root, uid 0
Jan 18 03:41:53 server pppd[29018]: Using interface ppp0
Jan 18 03:41:54 server pppd[29018]: Connect: ppp0 <--> /dev/pts/10
Jan 18 03:42:53 server pppd[29018]: Modem hangup
Jan 18 03:42:53 server pppd[29018]: Connection terminated.
Jan 18 03:42:53 server pppd[29018]: Exit.
Jan 18 03:42:55 server pptpd[29017]: GRE: read error: Bad file descriptor
Jan 18 03:42:55 server pptpd[29017]: CTRL: PTY read or GRE write failed (pty,gre)=(-1,-1)
Jan 18 03:42:55 server pptpd[29017]: CTRL: Client xxx.xxx.xxx.xxx control connection finished
Никак не пойму.
Подробная информация о списке рассылки Sysadmins