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
a71bd64914
[package] pptp: mark /etc/ppp/options.pptp as conffile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 17:27:21 +00:00
jow
f2b88b6980
[package] add maintainer information
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-30 10:48:37 +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
b112692259
[package] pptp: update to v1.7.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-06 19:48:33 +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
nbd
796a9d1091
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +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
nico
c5122aa22a
[package] 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 12:11:35 +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
235b19acea
bump package versions after updates
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 20:41:57 +00:00
nico
c4b73fa154
move package description to a separate definition, remove it when DESCRIPTION=TITLE
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07 08:34:51 +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
643f013d15
add file type autodetection for the unpack command and nuke PKG_CAT:= in lots of places
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 20:21:39 +00:00
nbd
1d3cff733d
add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16 19:18:55 +00:00
nbd
a4a6443af1
replace lots of manual install commands with INSTALL_* variables
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-23 00:29:07 +00:00
nico
8afb23270d
new (last?) attempt at standardizing Makefiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-24 20:49:31 +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
nico
acbb40d7e1
standardize Makefile, change section from base to net
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-23 13:29:15 +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
mbm
02cdebbb91
credit where credit is due
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-27 00:35:46 +00:00
nbd
0b0afa4d81
add INCLUDE_DIR variable for $(TOPDIR)/include
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:32:39 +00:00
nbd
859e8f7f7d
build system cleanup. move shared include files into $(TOPDIR)/include, move lzma, mkfs.* into toolchain/
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-21 02:16:37 +00:00
nico
4e00d98efd
normalize Makefiles.
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-18 18:30:40 +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
mbm
f47790856c
more BR2_ / CONFIG_ patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-15 23:13:49 +00:00
nbd
44ba04efe2
replace $(IDIR_*) with $(1)
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-11 16:00:43 +00:00
mbm
2b42215e7a
Convert packages to new template
...
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-05-10 19:06:22 +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
nico
7bd944d215
reorganize/rationalize/format package menuconfig,
...
make updatedd modular
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2333 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-11-05 02:16:36 +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
7c673c3d26
remove Maintainer: and Source: from packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-10-21 17:21:28 +00:00