From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: ALT Linux sysadmin discuss Subject: Re: [Sysadmins] pptp over pptp References: <43CC7CC7.3000904@krastel.ru> <1137528612.5478.1.camel@localhost> From: evg@krastel.ru (=?koi8-r?b?9MXSxdvLz9c=?= =?koi8-r?b?IOXXx8XOyco=?=) Date: Wed, 18 Jan 2006 03:52:41 +0700 In-Reply-To: <1137528612.5478.1.camel@localhost> (Peter Volkov's message of "Tue, 17 Jan 2006 23:10:12 +0300") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2006 20:51:34 -0000 Archived-At: List-Archive: Peter Volkov 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 ] Jan 18 03:43:12 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:15 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:18 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:21 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:24 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:27 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:30 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:33 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:36 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:39 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:42 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:45 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:48 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:51 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:54 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:43:57 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:44:00 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:44:03 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] Jan 18 03:44:06 evg pppd[5234]: sent [LCP ConfReq id=0x1 ] 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 Никак не пойму.