Commit graph

14 commits

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