1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 05:48:05 +02:00
Commit Graph

32 Commits

Author SHA1 Message Date
juhosg
fe8fbd1c05 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 09:39:01 +00:00
jow
01ffe72b18 [package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-08 15:41:34 +00:00
jow
073f05064e [package] pptp: properly support symbolic VPN host names, tear down created host routes (#4876)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 22:42:29 +00:00
mirko
7495f26fe2 [package/pptp] require mppe 128bit-encryption by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-06 22:27:04 +00:00
jow
76e0410756 [package] pptp: support interface sections without ifname by implementing scan_pptp()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-28 00:30:09 +00:00
jow
3048685ad1 [package] pptp: add "buffering" uci option to enable --nobuffer if needed (#7080)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-24 16:28:46 +00:00
jow
ae8a34c063 [package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-07 01:57:02 +00:00
jow
4267c24cbe [package] pptp: utilize coldplug_interface_pptp() to automatically launch pptp instances on boot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 19:51:27 +00:00
jow
19172c5d00 [package] pptp:
- bring pptp scripts in sync with updated ppp logic
	- bump package revision


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 17:55:41 +00:00
thepeople
6772ab104f /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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-14 21:42:56 +00:00
florian
d9c1ede81f [package] fix double g typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-15 13:40:11 +00:00
florian
474e65cbab [package] fix ppp and pptp typos where is used instead of (#4768, #4778)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-15 12:08:31 +00:00
nbd
f66ab6474e fix the route to the pptp server when using pptp as wan interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-07 01:07:50 +00:00
nbd
afa5da1d1b Here comes the new UCI. Enjoy :)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-03 06:48:15 +00:00
nbd
866696c182 fix ifname in network state for pppoe and pptp, add a workaround for isps sending wrong netmasks for pptp (thx, moonwatcher)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 16:53:22 +00:00
nbd
45c87d131f allow the user to override the underlying connection method when using pptp (defaults to dhcp)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-27 16:37:37 +00:00
nico
188addeb09 fix start_pppd for pptp (closes: #1612)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-21 20:19:54 +00:00
nbd
89c0b40c57 add fixes for the pptp network scripts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-23 18:01:51 +00:00
florian
a52f52f7d0 Add maxfail option to avoid pptp giving up, closes #663
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-22 12:05:58 +00:00
nbd
c4f3575368 rewrite of the network scripts and configuration
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-07-30 03:09:09 +00:00
nico
3830e0d317 sync pptp with trunk, remove Config.in and ipkg not needed anymore.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-24 09:50:24 +00:00
nbd
676c017ecf large init script cleanup and merge of whiterussian changes, new dnsmasq config handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-04-05 02:09:22 +00:00
nbd
f71d418315 precompile ppp active filter (reduces libpcap overhead to only a few k), enable by default to support proper demand dialling, fixes #307
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-03-18 17:27:20 +00:00
nbd
23e86550c9 port wan_device changes from whiterussian to kamikaze
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-01-16 03:14:59 +00:00
nbd
1b02e2c32c remove nodetach from ppp init scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-19 14:07:54 +00:00
nbd
2af90479fb hotplug-based network script rewrite
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-19 03:17:20 +00:00
nbd
2663cb7168 add new ppp timeout/redial stuff from [2433] to pptp init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-11 21:15:33 +00:00
nbd
0bb68e81ec add hotplug stuff to trunk/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-07 01:12:51 +00:00
nbd
2be847dc58 sync pptp ifup script with whiterussian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2265 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-22 21:58:50 +00:00
nbd
f80d4fdc68 add config file /etc/config/network, add board-specific network.overrides (instead of nvram.overrides)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-21 14:02:53 +00:00
nbd
bb8d5928d3 update pptp in head to whiterussian version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-07-16 14:05:46 +00:00
nico
1827dd39e4 Convert pptp to new packaging style
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-05-18 23:42:09 +00:00