Generates IPv6 addresses from a given prefix and either a given MAC-48
address (an Ethernet hardware address) or a randomly drawn host number.
Signed-off-by: Nick Hainke <vincent@systemli.org>
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git
(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Aiccu is a client utility used to connect to the SixXS platform.
As the SixXS platform has been sunset on 2017-06-06[1] and the server parts
of TIC/AYIYA protocol implementations haven't been published, there's no
point to maintain aiccu package anymore.
[1]: https://www.sixxs.net/sunset/
Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
- Fix redefinition of struct ethhdr
- Restrict the use of res_ninit() and res_nquery() to glibc
- Fix a warning in dn_skipname.c by declaring ns_name_skip() static
- Refresh patches
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
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>
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>
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>
When AICCU is not running, running 'aiccu stop' results in unnecessary
communications with SixXS servers.
Signed-off-by: Ondrej Caletka <Ondrej@Caletka.cz>
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>
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>
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>
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>