Re: problems with L2TP

2015-07-09 Thread James Chapman
On 09/07/15 10:16, Sam Protsenko wrote: >> Tom and I discussed this and we're not clear what you are running. Have >> you changed create_pppox() in mtpd with the code fragment from your >> original mail? > Here is the commit for mtpd where I'm changing Android L2TP > implementation to mainline impl

Re: problems with L2TP

2015-07-09 Thread Sam Protsenko
> Tom and I discussed this and we're not clear what you are running. Have > you changed create_pppox() in mtpd with the code fragment from your > original mail? Here is the commit for mtpd where I'm changing Android L2TP implementation to mainline implementation: http://git.linaro.org/people/semen

Re: problems with L2TP

2015-07-08 Thread James Chapman
On 06/07/15 17:16, Sam Protsenko wrote: > Thanks for your reply, Tom! > >> How are you deriving the session and tunnel IDs? > If you mean how they are generated at client side -- they are > basically random values (I'm using modified "mtpd" tool from Android): > - session ID -- see "local_session"

Re: problems with L2TP

2015-07-06 Thread Sam Protsenko
Thanks for your reply, Tom! > How is the tunnel/session being created on the server side? My server is xl2tpd. If I understand correctly, session and tunnel are being created in start_pppd() function, see [1]. Judging from xl2tpd logs (see [2]), start_pppd() function is executed, in turn, from co

Re: problems with L2TP

2015-07-03 Thread Tom Parkin
Hi Sam, On Fri, Jul 03, 2015 at 04:49:51PM +0300, Sam Protsenko wrote: > Hi, > > I'm having issues running user-space code, which uses net/l2tp/l2tp_ppp.c. > The code is supposed to be running in LAC mode (which is I believe is > default). > My server configuration described here: https://wiki.l

problems with L2TP

2015-07-03 Thread Sam Protsenko
Hi, I'm having issues running user-space code, which uses net/l2tp/l2tp_ppp.c. The code is supposed to be running in LAC mode (which is I believe is default). My server configuration described here: https://wiki.linaro.org/LMG/Kernel/PPP I was trying to use next code snippets as user-space part: