Commit graph

28 commits

Author SHA1 Message Date
Gabor Juhos
60db046ef2 Fix pptp handling of routes to server.
The existing code is fairly broken. It assumes you're using Legacy IP, and
it assumes that the server is reachable via your default route. Via the
first default route in the 'route -n' output, in fact, regardless of metric.

Fix all those problems by using 'ip route get' to really find the *current*
route to the server, and install a host-specific route to match.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 31565
2012-05-03 09:39:01 +00:00
Jo-Philipp Wich
7251541786 pptp: remove support for underlying ipproto, it is adviced since a while that pptp should be declared as separate interface alognside wan - in this configuration the ipproto will cause stray udhcpc errors due to not existent interfaces, so remove it
SVN-Revision: 29694
2012-01-08 15:41:34 +00:00
Jo-Philipp Wich
60fe01e698 pptp: properly support symbolic VPN host names, tear down created host routes (#4876)
SVN-Revision: 27669
2011-07-17 22:42:29 +00:00
Mirko Vogt
254812ba0a require mppe 128bit-encryption by default
SVN-Revision: 27117
2011-06-06 22:27:04 +00:00
Jo-Philipp Wich
f2068db073 pptp: mark /etc/ppp/options.pptp as conffile
SVN-Revision: 23253
2010-10-05 17:27:21 +00:00
Jo-Philipp Wich
1cb2abca8e add maintainer information
SVN-Revision: 23159
2010-09-30 10:48:37 +00:00
Jo-Philipp Wich
090680f083 pptp: support interface sections without ifname by implementing scan_pptp()
SVN-Revision: 21590
2010-05-28 00:30:09 +00:00
Jo-Philipp Wich
a93571825f pptp: add "buffering" uci option to enable --nobuffer if needed (#7080)
SVN-Revision: 21563
2010-05-24 16:28:46 +00:00
Jo-Philipp Wich
c09610dd49 pptp: don't remove server route if the gateway is 0.0.0.0, this fixes a problem when a pppoe peer is pptp server at the same time
SVN-Revision: 21393
2010-05-07 01:57:02 +00:00
Jo-Philipp Wich
dcbb5a19e7 pptp: utilize coldplug_interface_pptp() to automatically launch pptp instances on boot
SVN-Revision: 21390
2010-05-06 19:51:27 +00:00
Jo-Philipp Wich
cd7f3293b7 pptp: update to v1.7.1
SVN-Revision: 21388
2010-05-06 19:48:33 +00:00
Jo-Philipp Wich
9d6d45d008 pptp: - bring pptp scripts in sync with updated ppp logic - bump package revision
SVN-Revision: 21284
2010-05-01 17:55:41 +00:00
Travis Kemen
1223494f1d /lib/network/ppp.sh fixes a problem with PPtP (and other PPP-based things) where PPtP + PPPoE will fail to work. This is because PPtP defaults to ppp0 and so does PPPoE, because /etc/init.d/ppp reinitializes the unit counter for each PPP-type connection (so you could have multiple PPtP over cable, for instance, but PPPoE + PPtP is a problem).
/etc/init.d/ppp automatically starts pptp session on boot., from #6720

SVN-Revision: 20221
2010-03-14 21:42:56 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Florian Fainelli
43fa2310f3 fix double g typo
SVN-Revision: 14887
2009-03-15 13:40:11 +00:00
Florian Fainelli
a54018aa87 fix ppp and pptp typos where is used instead of (#4768, #4778)
SVN-Revision: 14882
2009-03-15 12:08:31 +00:00
Nicolas Thill
3d4052492d ppp/pptp fixes: - prevent ppp from logging to /etc/ppp/connect-errors (closes: #2989) - add dependency on ppp and kmod-gre to pptp - bump release number
SVN-Revision: 11018
2008-05-03 12:11:35 +00:00
Felix Fietkau
3ae4858088 fix the route to the pptp server when using pptp as wan interface
SVN-Revision: 10751
2008-04-07 01:07:50 +00:00
Felix Fietkau
0cf1a58282 Here comes the new UCI. Enjoy :)
SVN-Revision: 10367
2008-02-03 06:48:15 +00:00
Felix Fietkau
4db9556f99 bump package versions after updates
SVN-Revision: 8680
2007-09-07 20:41:57 +00:00
Nicolas Thill
34bb4638e7 move package description to a separate definition, remove it when DESCRIPTION=TITLE
SVN-Revision: 8659
2007-09-07 08:34:51 +00:00
Felix Fietkau
52a138a953 fix ifname in network state for pppoe and pptp, add a workaround for isps sending wrong netmasks for pptp (thx, moonwatcher)
SVN-Revision: 8552
2007-08-30 16:53:22 +00:00
Felix Fietkau
79b07af694 allow the user to override the underlying connection method when using pptp (defaults to dhcp)
SVN-Revision: 8508
2007-08-27 16:37:37 +00:00
Nicolas Thill
942d07de9a fix start_pppd for pptp (closes: #1612)
SVN-Revision: 7027
2007-04-21 20:19:54 +00:00
Felix Fietkau
24faf55360 add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
SVN-Revision: 6582
2007-03-16 20:21:39 +00:00
Felix Fietkau
1d307eea87 add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
SVN-Revision: 6580
2007-03-16 19:18:55 +00:00
Felix Fietkau
c2211dc51e replace lots of manual install commands with INSTALL_* variables
SVN-Revision: 5624
2006-11-23 00:29:07 +00:00
Felix Fietkau
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00