Commit Graph

19 Commits

Author SHA1 Message Date
Jan Sembera 5f1006cb20 aiccu: fix requiretls option handling
requiretls is a boolean value in aiccu config that only accepts true and
false as values, not "1" or "0" that UCI provides.

Signed-off-by: Jan Sembera <jsembera@google.com>
2015-03-02 21:43:53 +01:00
Nicolas Thill e24dfafb01 remove uneeded PKG_BUILD_DIR & PKG_CAT overrides
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-02-22 02:37:56 +01:00
Nils Schneider 7d153edb7d tayga: allow more flexible routing
In some scenarios (e.g. 464xlat) it is desirable to not route the mapped
prefix to tayga's interface. This adds an option 'noroutes' which, when
set to 1, will prevent such routes from being added.

Signed-off-by: Nils Schneider <nils@nilsschneider.net>
2015-02-10 03:34:10 +01:00
Ondřej Caletka 6f70462952 aiccu: Add NTP hotplug hook
This hook simply writes current stratum to /var/run/aiccu_ntp_stratum,
from where it is read by aiccu proto script.

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
2014-12-01 15:15:35 +01:00
Ondřej Caletka 7c9b5198cd aiccu: Issue aiccu stop only when aiccu is running
When AICCU is not running, running 'aiccu stop' results in unnecessary
communications with SixXS servers.

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
2014-12-01 15:15:35 +01:00
Ondřej Caletka 4f7b0213d9 aiccu: add NTP sync check
This check tries to wait for NTP daemon to synchronise clock to lower stratum
than 16 before running the aiccu binary. In case timeout (configurable
in new option ntpsynctimeout; default is 90 seconds) is reached, the
AICCU is run neverrtheless. This makes the new script compliant with
some corner case scenarios like not using Busybox NTPd or not using NTPd
at all, maintaining maximum out-of-the box functionality.

Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
2014-12-01 15:15:35 +01:00
Ondřej Caletka f6242bdf77 aiccu: Minor whitespace fix
Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
2014-12-01 15:15:35 +01:00
Ian Leonard f5a1d1bba6 Merge branch 'master' into license-updates
Signed-off-by: Ian Leonard <antonlacon@gmail.com>

Conflicts:
	devel/patch/Makefile
	multimedia/minidlna/Makefile
2014-08-10 01:09:06 -07:00
Thomas Bahn 05b0c46db7 aiccu: Fix typo
The option 'tunnel_id' from aiccu is called 'tunnelid' in the UCI config file.
2014-08-06 19:40:02 +02:00
Ian Leonard 2d003b8238 tayga: add PKG_LICENSE ifnromation
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:49:06 -07:00
Ian Leonard 64c633daa6 aiccu: Add PKG_LICENSE information
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-08-02 01:45:55 -07:00
sbyx eb435b2e55 Merge pull request #50 from oskar456/aiccu
aiccu: import from oldpackages, integrate with netifd
2014-06-23 18:52:49 +02:00
Ondřej Caletka 449ad56fb5 aiccu: integrate with netifd
This patch integrates AICCU with netifd. Care was taken not to restart
aiccu without a reason as it triggers alert on SixXS infrastructure.
Example usage:

config interface 'wan6'
        option 'proto'    'aiccu'
        option 'username' 'HANDLE-SIXXS/TID'
        option 'password' 'Password'
        option 'ip6prefix' '2001:db8:aabb::/48' #Delegated subnet
        option 'ip6addr' '2001:db8:aaaa:aaa::2/64' #Optional
        option 'verbose' 'true'

Tested with current trunk on TL-WR703N.

Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 16:48:59 +02:00
Ondřej Caletka baed04bed0 aiccu: add myself as maintainer
Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 16:48:59 +02:00
Ondřej Caletka 7bf4be7da8 aiccu: import from oldpackages
Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 16:48:59 +02:00
Ondřej Caletka 545b84c547 tayga: Add Netifd support
This patch integrates tayga with netifd. Parametres are nearly same as
with the older scripts. Support for static mapping of IPv4<=>IPv6 addresses
is missing. Example configuration:

config interface 'nat64'
        option proto 'tayga'
        option prefix 64:ff9b::/96
        option dynamic_pool 10.128.0.0/24
        option ipv4_addr 10.128.0.1	#address of the TAYGA itself
        option ipv6_addr 2001:470:5990::64
        option ipaddr  192.168.1.1 #optional address of TUN interface
        option ip6addr 2001:db8::1

Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 16:25:05 +02:00
Ondřej Caletka 8a90bbadd7 tayga: fix broken ICMP checksum on big-endian machines
This patches fixes wrong ICMP checksum of translated packets on
big-endian machines #16715
The patch is authored by upstream author
Nathan Lutchansky <lutchann@litech.org>
Source of the patch: http://forum.mikrotik.com/viewtopic.php?f=15&t=82329

Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 15:47:29 +02:00
Ondřej Caletka ee7a6cd35b tayga: add myself as maintainer
Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 15:46:38 +02:00
Ondřej Caletka db0236fb85 tayga: import from oldpackages
Signed-off-by: Ondrej Caletka <ondrej@caletka.cz>
2014-06-23 15:44:35 +02:00