Commit Graph

35 Commits

Author SHA1 Message Date
Ivan Pavlov a686f7975a xtables-addons: update to 3.21
updated to kernel 5.10.121+ changes

Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
(cherry picked from commit 69e4ed4b6f)
2022-07-06 13:25:31 -07:00
Nick Hainke d50620e22d xtables-addons: update to 3.20
866bc7f Xtables-addons 3.20
aa70669 doc: move changelog to rST
d7de2a9 doc: remove old changelog entries
d7e49a8 build: bump supported kernel version to 5.17
966fa43 extensions: replace PDE_DATA

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit c3141dc16a)
2022-07-06 13:25:31 -07:00
Nick Hainke 9b15693770 xtables-addons: add PKG_LICENSE_FILES and use SPDX
Add PKG_LICENSE_FILES. Use SPDX.

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit b4d00c1c20)
2022-07-06 13:25:31 -07:00
Rosen Penev 1c4e8a14e1 xtables-addons: fix various warning in lua patch
These will become errors in the next LTS kernel.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 1cd93b673b)
2022-07-06 13:25:31 -07:00
Rosen Penev 4a5633b6b5 xtables-addons: update to 3.19
Fixes compilation with kernel 5.15.

Fixed changed binary name.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit e5af506795)
2022-07-06 13:25:31 -07:00
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00
Philip Prindeville 1bb157401b xtables-addons: iptgeoip: preserve database across sysupgrade
Updating the system image or the package should not obliterate
the downloaded/unpacked geolocation database. If you use xt_geoip
in /etc/firewall.user you don't want the database disappearing
when sysupgrade runs and then reboots your system as you'll be
left exposed.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-12-05 10:37:51 -07:00
Rosen Penev 75ddca2962
xtables-addons: fix package installation
Install directory is missing.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-29 01:37:00 -08:00
Philip Prindeville 9781ef95cb xtables-addons: include xt_geoip_fetch utility
It's useful to be able to dump sections of the database by country
for scripting or just plain sanity checking.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-11-25 17:45:28 -07:00
Xiaoli Chan d1ccd52cf3 xtables-addons: update to 3.13
Signed-off-by: Xiaoli Chan <2209553467@qq.com>
2020-11-23 17:28:07 +08:00
Philip Prindeville 9551c05d64 xtables-addons: update for 3.10
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-08-04 18:49:38 -06:00
Rosen Penev 390c06a738
Merge pull request #12338 from alinnastac/rtsp-pb_discon
xtables-addons: fix RTSP helper support for client_port=x/y Transport…
2020-07-04 11:39:17 -07:00
Rozhuk Ivan c54ddec41d xtables-addons: FreeBSD build fix
Signed-off-by: Rozhuk Ivan <rozhuk.im@gmail.com>
2020-06-24 15:33:22 +03:00
Alin Nastac 901a33667b xtables-addons: fix RTSP helper support for client_port=x/y Transport attribute
Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
2020-05-27 12:49:21 +02:00
Philip Prindeville 9e47697713 xtables-addons: ipt_geoip scripts require wget-ssl
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-04-21 13:49:47 -06:00
Philip Prindeville 14dcad7650 xtables-addons: iptgeoip requires wget-ssl and zcat
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-04-19 19:00:34 -06:00
DENG Qingfang a6cd4eed98 xtables-addons: update to 3.9
Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-03-01 20:55:20 +08:00
DENG Qingfang 7ffa08b44d xtables-addons: fix packetscript build with 5.3
Use skb_ensure_writable instead

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-03-01 20:55:10 +08:00
DENG Qingfang 4ea6c0065c xtables-addons: update rtsp extension
57394bc Fix build with Linux 5.3
b95d68c Use uint for module parameter type for setup_timeout, remove -ve check

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-03-01 20:48:31 +08:00
Jose Olivera 3aa5251572
xtables-addons: Support IPTV Timeshift
Solves Issue #10373 and PR #10428

Signed-off-by: Jose Olivera <oliverajeo@gmail.com>
(bumped PKG_RELEASE)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-01-13 17:18:39 -08:00
DENG Qingfang 18ae282549 xtables-addons: update to 3.7
Update xtables-addons to 3.7
Remove linux 4.9 compatible patch as OpenWrt master no longer supports it

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2020-01-09 11:03:42 +08:00
Martin Schiller 3804006e60 xtables-addons: disable ASLR PIE
This package uses ld for linking and therefor does not support the
-specs option.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-11-14 08:27:05 +01:00
DENG Qingfang 685fe876be xtables-addons: update to 3.5
Add xt_PROTO target.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-09-14 17:31:56 +08:00
Deng Qingfang 12a37ce6e5 xtables-addons: update to 3.3
Version 3.3 supports GeoLite2 database

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-06-02 23:28:31 +08:00
Eneas U de Queiroz c83b8787a5 xtables-addons: adapt build to EXTERNAL_TOOLCHAIN
Commit 32aaaaa led to failures when openwrt ARCH did not match kernel
ARCH, and this may not be its only side-effect.

This restores the previous Build/Compile and Build/Install, using the
default ones only when using external toolchain; in this case, ARCH is
set to LINUX_KARCH.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2019-05-29 09:04:23 -03:00
Sébastien Blin 32aaaaa7d3 xtables-addons: pass correct flags to compile and install
The Makefile currently redefine the Compile and Install functions.
This is not working when using an external toolchain because some
flags are not interpreted, like CROSS_COMPILE. It is possible to
override the MAKE_FLAGS and MAKE_INSTALL_FLAGS instead.

Signed-off-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
2019-05-21 16:22:49 -03:00
Deng Qingfang d9222c37dd xtables-addons: fix build on 4.19 for xt_DNETMAP and xt_pknock
Backport 2 commits to fix build on 4.19:
3ea761a1ed
2b76b68c65

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2019-02-19 19:52:30 +08:00
Deng Qingfang f55fb35700 xtables-addons: fix compile error on kernel 4.18+
Use `struct nf_nat_range2` for kernel 4.18+

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
2018-12-18 03:44:11 +08:00
Hans Dedecker ab48f4df18 xtables-addons: rtsp: support destination format address:port
RFC2326 specifies the attribute client_port as the RTP/RTCP port pair on
which the client has chosen to receive media data and control info;
however some clients (mostly STBs) embed the client_port value in the
destination attribute in the form of destination=<address:port> without
specifying the client_port attribute in the SETUP message.
To support such clients check if the destination attribute contains a
port value and use it as port value for the expected RTP connection.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2018-08-06 17:52:40 +02:00
Hans Dedecker d01b62924e xtables-addons: rtsp: fix compile warning/issue
Fix compile issue with Werror:

nf_conntrack_rtsp.c:667:39: error: implicit declaration of function 'nf_ct_zone' [-Werror=implicit-function-declaration]
   exp_ct = nf_ct_expect_find_get(net, nf_ct_zone(ct), &t);

Fix compile warning:

nf_conntrack_rtsp.c:474:2: warning: enumeration value 'IP_CT_DIR_MAX' not handled in switch [-Wswitch]
  switch (CTINFO2DIR(ctinfo)) {
  ^~~~~~

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2018-08-06 17:39:02 +02:00
Hans Dedecker 01692d9e13 xtables-addons: rtsp: update source in expected RTP connection
Update source IP of the expected RTP connection according to the SOURCE
attribute value if present in the RTSP SETUP REPLY message.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2018-04-27 14:07:09 +02:00
Hans Dedecker 91c88342ff xtables-addons: rstp: use specific source in expected RTP connection
Instead of passing a wildcard source to the expected RTP data connection;
use the server IP address of the RTSP SETUP packet or the RTP media source
from the SETUP URI contained in the SETUP packet.
This guarantees RTP data is only accepted from the expected source.

Signed-off-by: Alin Nastac <alin.nastac@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2018-04-18 14:32:32 +02:00
Philip Prindeville 36105be50e xtables-addons: don't forget database dir
Don't /usr/share/xt_geoip/ which is needed to build database into.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-02-01 22:29:22 -07:00
Philip Prindeville dc2a0fe5fe xtables-addons: add package for geoip scripts
The iptables-mod-geoip is usually used in conjunction with some
wrapper scripts which manipulate the GeoIP database and then kick out
one or more iptables rules.  This package contains (1) the script to
download the most recent version of the MaxMind freemium database and
(2) another script which mangles the database into sets up iptables
rules.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-01-16 19:29:25 +01:00
Philip Prindeville 3ba01ac1da xtables-addons: import from OpenWrt base
This commit moves xtables-addons from
https://github.com/openwrt/openwrt/tree/master/package/network/utils/xtables-addons
into the package feed repository to allow for dependencies on other feed
packages, such as Perl.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
[fix commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-16 19:24:39 +01:00