openwrt-packages/net/xl2tpd
Yousong Zhou 1333a015e3 xl2tpd: bump to version 1.3.14
Changelog prepared by upstream project

* osport.h: replace SUSv3-specific functions by POSIX variants [Fabrice Fontaine]
* avp: Error Code field in Result Code AVP is optional [Pau Espin Pedrol]
* network_thread: Early continue in loop to remove huge indented block [Pau Espin Pedrol]
*  network_thread: Simplify while loop using for loop [Pau Espin Pedrol]
* network: connect_pppol2tp: early return to avoid huge indentation block [Pau Espin Pedrol]
* xl2tpd: start_pppd: Fix truncation of last character [Pau Espin Pedrol]
* handle_packet: Remove unneded else clause when handling payload [Pau Espin Pedrol]
* control: Split control message handling into its own function [Pau Espin Pedrol]
* handle_packet: Rearrange code flow to simplify it [Pau Espin Pedrol]
* avp: Early failure if no handler to remove indent block [Pau Espin Pedrol]
* xl2tpd: Mark internal symbols as static [Pau Espin Pedrol]
* Fix indentation and whitespace in code block [Pau Espin Pedrol]
* xl2tpd: Remove unused variable [Pau Espin Pedrol]
* network: Add missing close(kernel_fd) on init network failure [Pau Espin Pedrol]
* network: Add missing close(server_fd) on init network failure [Pau Espin Pedrol]
* Add 'cap backoff' option, limiting exponential backoff retries will
  be delayed by exponentially longer time, unless that time is capped
  by configuration. [Bart Trojanowski]
* Add program to show status icon in system tray. [Github user: username34]
* Add info on building and installing xl2tpd [Samir Hussain]
* Update formatting of README.md [Samir Hussain]
* Rename README.xl2tpd to README.md [Samir Hussain]
* Update Debian changelog [Samir Hussain]

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-08-12 09:16:29 +00:00
..
files xl2tpd: remove demand support from netifd l2tp protocol 2017-12-18 21:28:11 +08:00
Makefile xl2tpd: bump to version 1.3.14 2019-08-12 09:16:29 +00:00
README.md xl2tpd: README.md: add docs on uci options 2017-12-19 10:18:41 +08:00

README.md

OpenWrt Package for xl2tpd

xl2tpd is a development from the original l2tpd package originally written by Mark Spencer, subsequently forked by Scott Balmos and David Stipp, inherited by Jeff McAdams, modified substantially by Jacco de Leeuw and then forked again by Xelerance (after it was abandoned by l2tpd.org).

Rationale for inclusion in OpenWrt

l2tpd has some serious alignment problems on RISC platforms. It also runs purely in userspace.

Some of the features added in this fork include:

  1. IPSec SA reference tracking inconjunction with openswan's IPSec transport mode, which adds support for multiple clients behind the same NAT router and multiple clients on the same internal IP behind different NAT routers.

  2. Support for the pppol2tp kernel mode L2TP.

  3. Alignment and endian problems resolved.

hcg

UCI options

server takes the form host[:port] with port defaults to 1701. It specifies the l2tp server's address.

checkup_interval tells netifd to check after that many seconds since last setup attempt to see if the interface is up. If not it should issue another teardown/setup round to retry the negotiation. This option defaults to 0 and netifd will not do the check and retry.

The following are generic ppp options and should have the same format and semantics as with other ppp-related protocols. See uci/network#protocol_ppp for details.

username
password
keepalive
ipv6
mtu
pppd_options