aboutsummaryrefslogtreecommitdiff
path: root/net/jool
Commit message (Collapse)AuthorAge
* jool: update documentationGoetz Goerisch2024-04-26
| | | | | | | | * corrected the documentation links for upstream * fixed style to be correctly rendered * add reference to OpenWrt tutorial Signed-off-by: Goetz Goerisch <ggoerisch@gmail.com>
* treewide: refresh hashes after move to use ZSTD as defaultRobert Marko2024-04-07
| | | | | | | | With the recent move to using ZSTD as the default compression format for packaging git repo clones we must refresh all of the hashes for the packages feed as well. Signed-off-by: Robert Marko <robimarko@gmail.com>
* jool: update to 4.1.11Tiago Gaspar2024-02-10
| | | | | | | Update jool to 4.1.11 and remove unneeded patch. Changelog: https://github.com/NICMx/Jool/releases/tag/v4.1.11 Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
* jool: update package to version 4.1.10Tiago Gaspar2023-09-02
| | | | | | | Update jool to version 4.1.10 and remove a no longer needed patch. There was also a need to backport a patch to fix compile in some archs. Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
* jool: fix compilation warningChristian Marangi2023-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add patch fixing compilation warning due to wrong cast. Fix compilation warning: /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/xlator.c: In function 'offset_equals': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/xlator.c:878:32: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 878 | return (offset->ns == ((__u64)instance->jool.ns & 0xFFFFFFFF)) | ^ cc1: all warnings being treated as errors In file included from ./include/linux/kernel.h:19, from ./include/linux/skbuff.h:13, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/../../mod/common/skbuff.h:4, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:1: /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c: In function 'print_skb_fields': ./include/linux/kern_levels.h:5:25: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Werror=format=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ./include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap' 422 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ./include/linux/printk.h:535:9: note: in expansion of macro 'printk' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~ ./include/linux/kern_levels.h:24:25: note: in expansion of macro 'KERN_SOH' 24 | #define KERN_CONT KERN_SOH "c" | ^~~~~~~~ ./include/linux/printk.h:535:16: note: in expansion of macro 'KERN_CONT' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:38:17: note: in expansion of macro 'pr_cont' 38 | pr_cont(text "\n", ##__VA_ARGS__); \ | ^~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:112:9: note: in expansion of macro 'print' 112 | print(tabs, "data:%ld", skb->data - skb->head); | ^~~~~ ./include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'sk_buff_data_t' {aka 'unsigned char *'} [-Werror=format=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ./include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap' 422 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ./include/linux/printk.h:535:9: note: in expansion of macro 'printk' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~ ./include/linux/kern_levels.h:24:25: note: in expansion of macro 'KERN_SOH' 24 | #define KERN_CONT KERN_SOH "c" | ^~~~~~~~ ./include/linux/printk.h:535:16: note: in expansion of macro 'KERN_CONT' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:38:17: note: in expansion of macro 'pr_cont' 38 | pr_cont(text "\n", ##__VA_ARGS__); \ | ^~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:113:9: note: in expansion of macro 'print' 113 | print(tabs, "tail:%u", skb->tail); | ^~~~~ ./include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'sk_buff_data_t' {aka 'unsigned char *'} [-Werror=format=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ./include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap' 422 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ./include/linux/printk.h:535:9: note: in expansion of macro 'printk' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~ ./include/linux/kern_levels.h:24:25: note: in expansion of macro 'KERN_SOH' 24 | #define KERN_CONT KERN_SOH "c" | ^~~~~~~~ ./include/linux/printk.h:535:16: note: in expansion of macro 'KERN_CONT' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:38:17: note: in expansion of macro 'pr_cont' 38 | pr_cont(text "\n", ##__VA_ARGS__); \ | ^~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:114:9: note: in expansion of macro 'print' 114 | print(tabs, "end:%u", skb->end); | ^~~~~ cc1: all warnings being treated as errors /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/nl/instance.c: In function 'serialize_instance': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/nl/instance.c:40:46: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 40 | error = nla_put_u32(skb, JNLAIE_NS, ((__u64)entry->ns) & 0xFFFFFFFF); | ^ cc1: all warnings being treated as errors Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatically compute and substitute current values for all $(AUTORELEASE) instances as this feature is deprecated and shouldn't be used. The following temporary change was made to the core: diff --git a/rules.mk b/rules.mk index 57d7995d4fa8..f16367de87a8 100644 --- a/rules.mk +++ b/rules.mk @@ -429,7 +429,7 @@ endef abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1)))) COMMITCOUNT = $(if $(DUMP),0,$(call commitcount)) -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1)) +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile)) all: FORCE: ; And this command used to fix affected packages: for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \ sed 's^.*/\([^/]*\)/Makefile^\1^';); do make package/$i/download done Signed-off-by: Paul Fertser <fercerpav@gmail.com>
* jool: update to 4.1.8Tiago Gaspar2022-03-29
| | | | | | Update jool to the latest version. Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
* jool: update default configTiago Gaspar2022-02-10
| | | | | | | | Update the default configuration files to match the upstream example ones. Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
* jool: remove iptables support and update templatesTiago Gaspar2022-01-21
| | | | | | | | | | | | | | | | | | | | This commit removes iptables backend support and leaves only the netfilter backend support. This means that: - iptables and nftables firewall based systems (firewall3 and firewall 4) are supported trough the netfilter instance mode - the iptables/xtables mode support is disabled For more information on the modes and how to use the new netfilter instance checkout https://www.jool.mx/en/intro-jool.html This move is made out of the commit upstream that sets firewall4 as the default for new default buils and based on the conversation in #16818 and was decided that the netfilter interface is the priority since iptables support will be dropped in the foreseeable future. While at it update the templates provided. Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
* jool: update to 4.1.6, add init files and default configurationTiago Gaspar2022-01-12
| | | | | | | This commit adds support for starting and running jool through init scripts, with default config files as examples. Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
* jool: Update to 4.1.5Ondřej Caletka2021-04-04
| | | | | Compile and run tested on: mvebu (Turris Omnia) Signed-off-by: Ondřej Caletka <ondrej@caletka.cz>
* jool: update to 4.1.4Rosen Penev2020-10-14
| | | | | | Added BUILDONLY to eliminate warning. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* jool: downgrade to v4.0.9David Bauer2020-06-28
| | | | | | | | | | | | | Jool v4.1.0 suffers from bad offload management as well as broken stateful NAT64 translation. See upstream issues #331 as well as #332 for more information. Downgrade to v4.0.9 until these are ironed out. Tested on: ipq40xx-generic Fixes commit 0a6891feaca4 ("jool: update to v4.1.0") Signed-off-by: David Bauer <mail@david-bauer.net>
* jool: update to v4.1.0David Bauer2020-06-26
| | | | | | | Compile-tested: ipq40xx-generic Run-tested: ipq40xx-generic Signed-off-by: David Bauer <mail@david-bauer.net>
* jool: update to 4.0.8David Bauer2020-04-02
| | | | | | Fixes issues with big-endian systems (e.g. ath79). Signed-off-by: David Bauer <mail@david-bauer.net>
* jool: replace SUBDIRS with M in package recipeDavid Bauer2020-03-11
| | | | | | | The SUBDIRS variable has been removed in kernel 5.4, and was deprecated since the beginnig of kernel git history in favour of M or KBUILD_EXTMOD. Signed-off-by: David Bauer <mail@david-bauer.net>
* jool: update to 4.0.7Rosen Penev2020-03-06
| | | | | | Adds support for kernel 5.4 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* jool: compile common module firstDavid Bauer2020-02-19
| | | | | | | Compile the common module first, as otherwise the dependency on the jool-common module is not detected. Signed-off-by: David Bauer <mail@david-bauer.net>
* jool: increment PKG_RELEASEDavid Bauer2020-02-13
| | | | | | Fixes 1a85f72e51 Signed-off-by: David Bauer <mail@david-bauer.net>
* jool: package missing componentsDavid Bauer2020-02-12
| | | | | | | | | | Jool as well as the jool-siit package depend on jool-common, which isn't currently built nur packages up. Compile and include jool-common with the jool package to fix this. The iptables component is currently also not packaged up. Fix this also. Signed-off-by: David Bauer <mail@david-bauer.net>
* jool: Remove ethtool dependencyRosen Penev2019-11-12
| | | | | Unneeded since jool 4. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* jool: Update to 4.0.6Tiago Gaspar2019-11-06
| | | | | | Update jool to te latest stable version (4.0.6). Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
* jool: Update to 4.0.5Rosen Penev2019-10-01
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* jool: Remove inactive maintainerDan Lüdtke2018-11-10
| | | | Signed-off-by: Dan Lüdtke <mail@danrl.com>
* jool: Backport two fixes for newer kernels.Rosen Penev2018-10-11
| | | | | | | The first is needed for 4.14 (maybe the relevant parts got packported and the second is for when OpenWrt migrates to 4.19. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* jool: Update to 3.5.7 and switch to tarballsRosen Penev2018-09-17
| | | | | | | | | | Should be faster. Rearranged Makefile slightly for consistency with other packages. Version 3.5.6 and above are relicensed to GPL-2.0. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* jool: update to latest git versionMatthias Schiffer2018-02-22
| | | | | | Fixes build against kernel 4.14. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* jool: fix PKG_BUILD_DIR to avoid kernel ABI mismatchMatthias Schiffer2017-10-29
| | | | | | | | | | | | | As jool builds a kernel module, a PKG_BUILD_DIR under KERNEL_BUILD_DIR must be used to avoid reusing build artifacts when switching to a different target of the same architecture. Otherwise, kernel ABI mismatches may result, leading to an unusuable module, or build failures like the following: Package kmod-jool is missing dependencies for the following libraries: crypto_hash.ko Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* treewide: run "make check FIXUP=1"Etienne Champetier2017-08-29
| | | | | | | | | | 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>
* jool: update to upstream version 3.5.3danrl2017-03-11
| | | | Signed-off-by: Dan Luedtke <mail@danrl.com>
* jool: version bump (fixes #3657)danrl2016-12-17
| | | | | | | Latest upstream changes explicitly include `net/ip6_checksum.h`. Fixes issue #3657. Signed-off-by: Dan Luedtke <mail@danrl.com>
* jool: added support for Jool SIIT/NAT64danrl2016-12-14
This adds support for the Jool SIIT/NAT64 translating kernel modules and user space tools. Signed-off-by: Dan Luedtke <mail@danrl.com>