Commit Graph

21 Commits

Author SHA1 Message Date
Jo-Philipp Wich
4dc3b124e9 6in4, 6to4: further simplify protocol backends - use new default route dependencies to trigger bringup - remove old hotplug scripts
SVN-Revision: 32428
2012-06-18 21:40:34 +00:00
Jo-Philipp Wich
89732577aa 6in4: change local4 option name back to ipaddr
SVN-Revision: 32401
2012-06-17 12:27:16 +00:00
Jo-Philipp Wich
76000dc6ed 6in4: use network_find_wan() and network_get_iapddr() to find local ip, use json_get_vars() to read settings
SVN-Revision: 32400
2012-06-17 12:18:39 +00:00
Jo-Philipp Wich
9ae901445b /etc/functions.sh => /lib/functions.sh
SVN-Revision: 32062
2012-06-05 16:04:23 +00:00
Felix Fietkau
d4961fbcb7 6in4: remove some obsolete functions
SVN-Revision: 31768
2012-05-17 12:35:56 +00:00
Felix Fietkau
3454c35127 6in4: add netifd support
SVN-Revision: 31036
2012-03-19 21:10:04 +00:00
Jo-Philipp Wich
b656b87d13 6in4: sync with HE.net endpoint update changes
SVN-Revision: 28475
2011-10-17 12:45:07 +00:00
Jo-Philipp Wich
8aba9a00dc 6in4, 6to4: prevent starting the tunnel if kmod-sit is not yet loaded (#9643)
SVN-Revision: 27449
2011-07-05 00:52:10 +00:00
Jo-Philipp Wich
7f75ed2939 6in4: re-establish tunnel also if no credentials are used (static setup)
SVN-Revision: 25627
2011-02-20 18:27:19 +00:00
Jo-Philipp Wich
89917ff1d0 6in4: implement metric option
SVN-Revision: 24022
2010-11-17 19:13:11 +00:00
Jo-Philipp Wich
64f9925245 6in4: - add log entries for update operations - always update tunnel, even if wan ip is unchanged - use multiple wget tries before giving up, resolv.conf might not be ready when ifup is triggered
SVN-Revision: 23528
2010-10-19 02:07:29 +00:00
Jo-Philipp Wich
9499018b9a 6in4: don't use abbreviated notation for 0.0.0.0/0, iproute apparently does not like it anymore
SVN-Revision: 23022
2010-09-11 18:58:17 +00:00
Jo-Philipp Wich
f1303bd074 6in4: fix logic fail in previous commit
SVN-Revision: 22897
2010-09-04 16:12:40 +00:00
Jo-Philipp Wich
52dcaeb65d 6in4: replace sed match with variable substitution, change pattern from a-z to a-f (hex only)
SVN-Revision: 22893
2010-09-04 16:09:49 +00:00
Florian Fainelli
f7538b6864 support pre-md5summed passwords in 6in4 scripts
The he.net ipv6 tunnels require that a user supply the md5sum of his password
when updating the ipv4 tunnel endpoint. the 6in4 package supports this well,
but requires that a user store his password in plaintext in uci. this patch
tries to detect whether the password in uci is already an md5sum
(32 characters containing only [a-z0-9]), so users can avoid storing plaintext
passwords.

Signed-off-by: Steven Brudenell <steven.brudenell@gmail.com>

SVN-Revision: 22889
2010-09-04 16:03:14 +00:00
Jo-Philipp Wich
75bbf1bf20 6in4: fix typo in last commit
SVN-Revision: 22710
2010-08-19 01:06:10 +00:00
Jo-Philipp Wich
73c9032e87 6in4: bypass uci state when reading local IPv4 addr, specify TTL during tunnel creation (#7769)
SVN-Revision: 22708
2010-08-19 00:59:05 +00:00
Jo-Philipp Wich
28a93eed3c 6in4: fix local address detection on ppp links (#7728)
SVN-Revision: 22605
2010-08-12 10:30:05 +00:00
Jo-Philipp Wich
9b5e8c5913 6in4: automatically determine wan interface in hotplug events
SVN-Revision: 22102
2010-07-09 00:17:31 +00:00
Jo-Philipp Wich
0bd7c65447 6in4: - support to automatically determine the local endpoint address from the current IPv4 default gateway - support updating the tunnel endpoint for he.net
SVN-Revision: 21612
2010-05-28 22:03:30 +00:00
Jo-Philipp Wich
278589f5d7 add 6in4 - support for static IPv6-in-IPv4 tunnels through /etc/config/network
SVN-Revision: 21589
2010-05-28 00:27:01 +00:00