Commit Graph

8 Commits

Author SHA1 Message Date
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 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 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
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