ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: evg@krastel.ru (Терешков Евгений)
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] pptp over pptp
Date: Wed, 18 Jan 2006 03:52:41 +0700
Message-ID: <m31wz6bmqu.fsf@evg.krasnoyarsk.ru> (raw)
In-Reply-To: <1137528612.5478.1.camel@localhost> (Peter Volkov's message of "Tue, 17 Jan 2006 23:10:12 +0300")

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

Никак не пойму.



      reply	other threads:[~2006-01-17 20:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17  5:12 Evgenii Terechkov
2006-01-17 12:07 ` Dank Bagryantsev
2006-01-17 12:20   ` Evgenii Terechkov
2006-01-17 12:52     ` Re[2]: " Dank Bagryantsev
2006-01-17 16:31       ` Терешков Евгений
2006-01-19 10:32         ` Pavel Shurubura
2006-01-17 20:10 ` Peter Volkov
2006-01-17 20:52   ` Терешков Евгений [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31wz6bmqu.fsf@evg.krasnoyarsk.ru \
    --to=evg@krastel.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git