|
From: Heiko Z. <he...@zu...> - 2016-07-31 15:23:33
|
Frank,
I had a few minutes and incorporated the latest git version of ppp,
pptp (client), and pptpd (poptop).
Let me know if this combination behaves any better.
Heiko
Quoting Frank Weis <Fra...@cg...>:
> Hi Heiko,
> It's very likely pptp at fault, I believe ppp is behaving if called
> correctly.
>
> @all: in the meantime, I have a dirty workaround if anyone needs
> it. You lose the possibility to assign a fixed client IP in the
> chap-secrets file.
> Thanks
>
> Frank
>
> Sent from my Cyanogen phone
> On Jul 29, 2016 3:14 PM, Heiko Zuerker <he...@zu...> wrote:
>
>> Frank,
>>
>> It'll be a little while before I get to looking into it.
>> Unfortunately the ppp package doesn't receive a lot of updates
>> anymore, but hopefully we can find a version that works better.
>>
>> Heiko
>>
>> Quoting Frank Weis <Fra...@cg...>:
>>
>>> Hi all,
>>>
>>>
>>>
>>> I have come across a bug in upgrading in pptp.
>>>
>>> the log shows that pppd is called with an argument that it
>>> cannot process:
>>> Jul 27 12:59:32 src@xxx pppd[16744]: unrecognized option
>>> '<FF><FF><FF>^?<FE>
>>> <FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF><FF>' Jul 27 12:59:32 src@ltagr pptpd[16743]: GRE: read(fd=6,buffer=80503e0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd
>>> logs
>>> I have traced this by replacing pppd with a perl script ('ppp
>>> /etc/myppp.pl' in /etc/pptpd.conf)
>>>
>>> I can see that the command line arguments passed to pppd are:
>>> local file /etc/ppp/pptpd-options 115200
>>> ������������������������������������������������������������������������������������������������������������������������������� ipparam
>>> xxx.yyy.zzz.ttt
>>> I have created an extremely ugly perl script that sanitizes
>>> the params and then execs pppd (ie implementing a round-robin
>>> distribution of distributing IPs to the vpn clients), and I have
>>> now a more or less working workaround, but something in pptp is
>>> broken.
>>>
>>>
>>>
>>> Thanks a lot,
>>>
>>>
>>>
>>> Frank
>>>
>>>
>>>
>>> --
>>>
>>> FRANK WEIS
>>> Conseiller informaticien
>>>
>>> LE GOUVERNEMENT DU GRAND-DUCHÉ DE LUXEMBOURG
>>> Ministère de l’Éducation nationale, de l’Enfance et de la Jeunesse
>>> Centre de gestion informatique de l’éducation
>>>
>>> eduPôle - Walferdange
>>> Route de Diekirch, L-7220 Walferdange
>>> _Adresse postale_ : B.P. 98, L-7201 Bereldange
>>>
>>> Tél. : (+352) 247-85973 . Fax : (+352) 247-85174
>>> E-mail : Fra...@cg...
>>> www.cgie.lu[1]
>>> www.men.lu[2]
>>> www.gouvernement.lu[3]
>>>
>>> Ce message et toutes pièces jointes sont établis à l'intention
>>> exclusive de ses destinataires. Ils peuvent contenir des
>>> informations confidentielles. Si vous recevez ce message par
>>> erreur, merci de le détruire et d'en avertir immédiatement
>>> l'expéditeur. Toute utilisation de ce message non conforme à sa
>>> destination, toute diffusion ou toute publication, totale ou
>>> partielle, est interdite, sauf autorisation expresse. Ce message a
>>> fait l'objet d'un traitement anti-virus.
>>>
>>> Le contenu de ce message et des pièces jointes ne pourrait engager
>>> la responsabilité du ministère que s'il a été émis par une
>>> personne dûment habilitée agissant dans le strict cadre des
>>> fonctions auxquelles elle est employée et à des fins non
>>> étrangères à ses attributions.
>>>
>>
>>
>> --
>>
>> Regards
>> Heiko Zuerker
>>
Links:
------
[1] http://www.cgie.lu/
[2] http://www.men.lu/
[3] http://www.gouvernement.lu
--
Regards
Heiko Zuerker
|