|
From: Pierre-Gildas M. <pg....@gm...> - 2014-05-16 21:08:51
|
Hi,
Following an intuition, I changed some parameters on the firewall and
there was a remaining masquerade parameter that was messing up the whole
thing.
Now, the logs are a bit different :
May 16 22:58:14 mercure pptpd[1417]: MGR: connections limit (100)
reached, extra IP addresses ignored
May 16 22:58:14 mercure pptpd[1418]: MGR: Manager process started
May 16 22:58:14 mercure pptpd[1418]: MGR: Maximum of 100 connections
available
May 16 22:58:17 mercure pptpd[1420]: CTRL: Client 88.190.22.113 control
connection started
May 16 22:58:18 mercure pptpd[1420]: CTRL: Starting call (launching
pppd, opening GRE)
May 16 22:58:18 mercure pppd[1421]: In file /etc/ppp/options.pptpd:
unrecognized option '-chapms'
May 16 22:58:18 mercure pptpd[1420]: GRE:
read(fd=6,buffer=6124a0,len=8196) from PTY failed: status = -1 error =
Input/output error, usually caused by unexpected termination of pppd,
check option syntax and pppd logs
May 16 22:58:18 mercure pptpd[1420]: CTRL: PTY read or GRE write failed
(pty,gre)=(6,7)
May 16 22:58:18 mercure pptpd[1420]: CTRL: Client 88.190.22.113 control
connection finished
I'll try to dig a little on my side but if you have any clue...
@Charlie: I tried to setup openvpn and experienced the same problem (as
explained it was a network issue and not a pptp one).
I would prefer to setup pptp because I want to connect a remote router
that only manage pptp and not openvpn.
Pierre-Gildas MILLON
Le 16/05/2014 16:17, Charlie Brady a écrit :
>
>
>
> On Fri, May 16, 2014 at 9:47 AM, Pierre-Gildas MILLON
> <pg....@gm... <mailto:pg....@gm...>> wrote:
>
> I updated the paste as you suggested (-f -s 200).
>
>
> The connection was closed by the remote end. You'll need to diagnose
> the issue there.
>
> But before doing that you should seriously consider using openvpn (or
> something else) instead.
>
> 23256 select(5, [0 4], [], NULL, NULL) = 1 (in [0])
> 23256 read(0, 0xc575a0, 512) = -1 ECONNRESET (Connection
> reset by peer)
> 23256 time([1400247963]) = 1400247963
> 23256 sendto(3, "<29>May 16 15:46:03 pptp[23256]: anon
> log[pptp_read_some:pptp_ctrl.c:551]: read error: Connection reset by
> peer", 111, MSG_NOSIGNAL, NULL, 0) = 111
> 23256 rt_sigaction(SIGINT, {0x40a4f6, [INT], SA_RESTORER|SA_RESTART,
> 0x7fbea86154f0}, {0x40a4dc, [INT], SA_RESTORER|SA_RESTART,
> 0x7fbea86154f0}, 8) = 0
> 23256 rt_sigaction(SIGTERM, {0x40a4f6, [TERM], SA_RESTORER|SA_RESTART,
> 0x7fbea86154f0}, {0x40a4dc, [TERM], SA_RESTORER|SA_RESTART,
> 0x7fbea86154f0}, 8) = 0
> 23256 select(5, [0 4], [], NULL, {0, 0}) = 1 (in [0], left {0, 0})
> 23256 read(0, "", 512) = 0
> 23256 time([1400247963]) = 1400247963
> 23256 sendto(3, "<29>May 16 15:46:03 pptp[23256]: anon
> log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has
> closed", 110, MSG_NOSIGNAL, NULL, 0) = 110
>
> Pierre-Gildas MILLON
>
> Le 16/05/2014 15:06, Charlie Brady a écrit :
>>
>>
>>
>> On Fri, May 16, 2014 at 6:43 AM, Pierre-Gildas MILLON
>> <pg....@gm... <mailto:pg....@gm...>> wrote:
>>
>> Thanks for the quick answer,
>>
>> Here's the strace: http://pastebin.com/W8Bck12t
>>
>> I've no idea what to look for :/
>>
>>
>> You'll need to use -f to trace child processes. And it would be a
>> good idea to use "-s NNN" with some NNN > 100, so that you can
>> read the text of log messages.
>>
>>
>>
>> Pierre-Gildas MILLON
>>
>> Le 16/05/2014 12:32, James Cameron a écrit :
>> > On Fri, May 16, 2014 at 12:07:26PM +0200, Pierre-Gildas
>> MILLON wrote:
>> >> anon fatal[open_callmgr:pptp.c:495]: Could not launch call
>> manager after
>> >> 3 tries.
>> > That will do it.
>> >
>> > Diagnose next with strace before pppd, find out what is
>> happening to
>> > prevent call manager start.
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing -
>> For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing
>> platform available
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Poptop-server mailing list
>> Pop...@li...
>> <mailto:Pop...@li...>
>> https://lists.sourceforge.net/lists/listinfo/poptop-server
>>
>>
>>
>> This e-mail (including any attachments) is for the sole use of
>> the intended recipient(s) and may contain information that is
>> confidential and/or protected by legal privilege. Any
>> unauthorized review, use, copy, disclosure or distribution of
>> this e-mail is strictly prohibited. If you are not the intended
>> recipient, please notify Mitel immediately and destroy all copies
>> of this e-mail. Mitel does not accept any liability for breach
>> of security, error or virus that may result from the transmission
>> of this message.
>
>
>
> This e-mail (including any attachments) is for the sole use of the
> intended recipient(s) and may contain information that is confidential
> and/or protected by legal privilege. Any unauthorized review, use,
> copy, disclosure or distribution of this e-mail is strictly
> prohibited. If you are not the intended recipient, please notify Mitel
> immediately and destroy all copies of this e-mail. Mitel does not
> accept any liability for breach of security, error or virus that may
> result from the transmission of this message.
|