Thanks Benjamin. I'll review your patches as soon as I can. Unfortunately I won't have time to do so for at least 2 weeks due to other committments.
Thanks again, and sorry for the delay. James On 29/04/13 13:30, Benjamin Cama wrote: > Hi, > > I needed explicit IPv6 support for some application, and handled it with the > following patches. > > The first one is just a typo fix. The second one adds IPv6CP explicit support. > The third one allows to disable IPCP altogether, when one wants an IPv6-only > session. And the last one allows to set the "ipparam" parameter passed to > pppd, > which will forward it to the ip-up/down script. > > BTW, it is a bit hard to add such parameters to OpenL2TP. I thought that the > code would be a bit more generalized. Also, one must be carefull with default > values: it depends both on the value you define as "default", _and_ on how you > handle it in the plugin, taking into account the flag signaling the presence > (or not) of the parameter. Anyway, I tested that it works well, and it does. > > Please note that IPv6-only sessions need a patch to pppd that I submitted > recently to the project to work well; otherwise, sessions are shut down after > the session establishment timeout. > > Regards, > > Benjamin Cama (4): > l2tp_config_parse.y: Fix typo mixing LCP and IPCP parameters > Add explicit IPv6 support > IPCP deactivation support > Support for passing ipparam to pppd > > doc/l2tpconfig.1 | 15 +++++++ > l2tp_api.c | 1 + > l2tp_common.c | 22 ++++++++-- > l2tp_config.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++++- > l2tp_config_parse.y | 51 +++++++++++++++++++++++- > l2tp_config_token.l | 7 +++ > l2tp_ppp.c | 97 +++++++++++++++++++++++++++++++++++++++++++++ > l2tp_rpc.x | 21 ++++++++++ > plugins/ppp_unix.c | 21 ++++++++++ > 9 files changed, 335 insertions(+), 9 deletions(-) > -- James Chapman Katalix Systems Ltd http://www.katalix.com Catalysts for your Embedded Linux software development ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Openl2tp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openl2tp-users
