aboutsummaryrefslogtreecommitdiff
path: root/net/xl2tpd/files
Commit message (Collapse)AuthorAge
* xl2tpd: fix invoking xl2tpd-controlYousong Zhou2020-11-12
| | | | | | | | | | | | | Upstream commit 90884c62 ("xl2tpd-control refactoring") introduced in 1.3.16 changed command names The l2tp protocol handler part was from @danvd in pull request openwrt/packages#13866 Fixes f07319d6 ("xl2tpd: bump to version 1.3.16") Ref: https://github.com/openwrt/packages/pull/13866 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* xl2tpd: remove demand support from netifd l2tp protocolAlin Nastac2017-12-18
| | | | | | | | | This pppd feature does not make sense in L2TP case because the tunnel is already connected when xl2tpd launch pppd process. If a dial-on-demand feature is to be implemented, trigger interface would have to be provided by xl2tpd, not pppd. Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
* xl2tpd: add some default configs needed on most of casesLucian Cristian2017-10-19
| | | | | | | | | | | | mtu 1400, mru 1400 - on ppp devices, usually we need lower mtu, the existing link mabye is already under a lower MTU require-mschap-v2 - most of the time l2tp is used in conjunction with windows client who will use this kind of auth lcp-echo-interval 20, lcp-echo-failure 5 - keep alive 20 seconds interval and dead peer detection after 100 seconds connect-delay 5000 - wait for up to 5 seconds after the connect script finishes for a valid PPP packet from the peer nodefaultroute - prevent users from creating default routes with pppd nodefaultip - disables the default behavior when no local IP address is specified proxyarp - this will have the effect of making the peer appear to other systems to be on the local ethernet Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* xl2tpd: update to 1.3.10Lucian Cristian2017-10-19
| | | | | | | lock is no longer needed and it breaks the setup explicit added PKG_BUILD_DEPENDS:=libpcap, an indirect depend included in ppp and needed for pfc Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* xl2tpd: Enable netifd notification teardown_on_l3_link_downHans Dedecker2016-08-12
| | | | | | | Set teardown_on_l3_link_down notifying netifd xl2tpd wants to be teared down when layer3 link loss is detected Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* xl2tpd: demand option is initialized.mogulapranay2016-05-16
| | | | Signed-off-by: mogulapranay <mogulapranay57@gmail.com>
* xl2tpd: bump to version devel-20151125Yousong Zhou2015-12-02
| | | | | | | | | | | Main changes are as the following - Allow specifying port in server option, e.g. example.com:1702 (fixes github issue #1960 "xl2tpd port change bug"). - Fixes NULL dereference on connection timeout - Update 100-makefile_opt_flags.patch Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* xl2tpd: add new config option checkup_interval.Yousong Zhou2015-08-14
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* xl2tpd: tweak generating pppoptfile.Yousong Zhou2015-08-14
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* xl2tpd: fix aliveness check for xl2tpd process.Yousong Zhou2015-08-14
| | | | | | | | | This change aims to address the following 2 issues - The control file was there yet xl2tpd process was not - The control file's existence prevented xl2tpd from start Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* xl2tpd: tweak getting value of mtu config option.Yousong Zhou2015-08-14
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* xl2tpd: remove check for $ERROR.Yousong Zhou2015-08-14
| | | | | | | L2TP with xl2tpd has no proto_task in the context of netifd and because of this there is no valid $ERROR to check for when doing tearing down. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* xl2tpd: fix xl2tpd optionsDaniel Golle2015-06-05
| | | | | | | | The previous commit left an unwanted string in the options passed to xl2tpd-control. Remove that as well. Also set procd respawn parameter now that I'm at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* xl2tpd: don't let xl2tpd handle redialDaniel Golle2015-06-05
| | | | | | netifd is taking care of that already. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* xl2tpd: refactor for more resilience.Yousong Zhou2015-05-24
| | | | | | | | | | | | | | | | | | | - Use netifd no_proto_task for notifying that xl2tpd does not have a protocol task running. - Use procd for xl2tpd service management. - Refreshed 2xx patches to - Prevent leftover regular type control result file. - Allow xl2tpd run as foreground process while logging via syslog. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> - bumped version - removed dependency on `ip` package as routes are setup by netifd if iproute2 is actually required, please depend on `@(PACKAGE_ip||PACKAGE_ip-full)` instead of `ip` Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Revert "xl2tpd: rename netifd protocol handler to l2tpv2 to avoid clashes ↵Steven Barth2014-08-18
| | | | | | | with l2tpv3" This reverts commit 981f2da45747df72c5ae2c45f265fe8f29af3d52. OpenWrt wiki knew l2tp from l2tpv3tun, but luci knew l2tp from xl2tpd
* xl2tpd: rename netifd protocol handler to l2tpv2 to avoid clashes with l2tpv3Steven Barth2014-07-19
| | | | Signed-off-by: Steven Barth <steven@midlink.org>
* Import xl2tpdDaniel Golle2014-06-13
Use sources on github and add myself as maintainer. Signed-off-by: Daniel Golle <daniel@makrotopia.org>