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(-)

-- 
1.7.2.5


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Openl2tp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openl2tp-users

Reply via email to