Search Criteria
Package Details: xtables-addons 3.13-1
Git Clone URL: | https://aur.archlinux.org/xtables-addons.git (read-only, click to copy) |
---|---|
Package Base: | xtables-addons |
Description: | Xtables-addons is a set of additional extensions for the Xtables packet filter that is present in the Linux kernel |
Upstream URL: | https://inai.de/projects/xtables-addons |
Keywords: | iptablex xtables |
Licenses: | |
Conflicts: | |
Replaces: | |
Submitter: | None |
Maintainer: | k0ste |
Last Packager: | k0ste |
Votes: | 30 |
Popularity: | 0.000026 |
First Submitted: | 2009-04-20 09:21 |
Last Updated: | 2020-12-08 06:55 |
Dependencies (8)
- glibc (glibc-git)
- iptables (iptables-git, iptables-minimal-git, iptables-nosystemd-minimal-git, iptables-fullconenat, iptables-fullconenat-nft, iptables-nft)
- linux (linux-surfacepro3-git, linux-aarch64-rock64-bin, linux-ec2, linux-galliumos, linux-zest-git, linux-lts49-kallsyms, linux-bootsplash, linux-odroid)
- gcc (gcc-multilib-x32, fastgcc, gcc-multilib-git, gcc-git) (make)
- libtool (libtool-git) (make)
- linux-api-headers (linux-api-headers-git) (make)
- linux-headers (linux-surfacepro3-git-headers, linux-aarch64-rock64-bin-headers, linux-ec2-headers, kernel-uek-devel, linux-galliumos-headers, linux-zest-git-headers, linux-lts49-kallsyms-headers, linux-bootsplash-headers, linux-fbcondecor-headers, linux-ck-fbcondecor-headers, linux-odroid-headers) (make)
- pkg-config (pkgconf-git, pkgconf) (make)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 Next › Last »
Amplificator commented on 2015-04-07 01:30
Yes, that and then running "depmod -a" fixed it :)
thiagoc commented on 2015-04-06 13:26
@Amplificator have you tried the latest release?
Amplificator commented on 2015-04-03 21:25
I think Sarens problem is the same as I'm having.
Shorewall reports:
ERROR: A country-code require GeoIP Match in your kernel and iptables /etc/shorewall/rules
And "modprobe xt_geoip" reports:
modprobe: FATAL: Module xt_geoip not found.
..despite it does exist. Is it incompatible with the latest kernel perhaps?
thiagoc commented on 2015-04-02 21:50
Please try the new release.
Saren commented on 2015-04-02 18:43
Does anybody knows why this happens?
/usr/share/xt_geoip/ is already correctly installed.
# iptables -A INPUT -m geoip --src-cc (whatever) -j DROP
iptables: No chain/target/match by that name.
RunningDroid commented on 2015-01-02 05:48
With pacman 4.2:
error: failed to commit transaction (conflicting files)
xtables-addons: /lib exists in filesystem
xtables-addons: /usr/sbin exists in filesystem
Errors occurred, no packages were upgraded.
dcuk commented on 2014-06-18 19:13
Version 2.5 of xtables-addons was released a couple of months ago and seems to compile cleanly against kernel 3.15.1 which cannot be said for 2.4 (at least for me).
disarmer commented on 2014-04-23 21:25
Upload your PKGBUILD please
unforgiven512 commented on 2014-04-23 19:32
Also:
optdepends=('perl-text-csv-xs: required for building GeoIP database')
unforgiven512 commented on 2014-04-23 19:16
I converted your patch to unified diff format.
PKGBUILD modifications:
source=(dkms.conf
make.sh
http://download.sourceforge.net/project/xtables-addons/Xtables-addons/$pkgver/xtables-addons-$pkgver.tar.xz
linux-3.14-net_random-fix.patch)
sha512sums=('bb5e7eff3e402dc0561d917d67af540fb405b2a404dd16a3d553610c7197c4741a583007a97d0ca380b727dc45a818c29ec34996581e1e14dfe1657ee2d17d7a'
'd1e917ac3c15ea8a533686781f6989ef648786f7a6666d06739c96d37debdc44bd2449c332db6e30af0f655540d1df49d4f5b702da4731aa7d550204ac908333'
'650182a9078c2ce9b66a26cc0f6224e1a5fc09bb88a714b44c6d0be9fbb73f83a19ab98d085ac24f22ba564d8614d62507ff71d45c1f305f037734f23a842915'
'229de73f89e76d58ef970827e888e58c6b61fd910987c36f7b203cd1153b025abc970d7700d51b9eb4f636470b8ecceadaf8331485b3c6e0d4c671178db32b7e')
prepare() {
cd "${srcdir}/xtables-addons-${pkgver}"
patch -p2 -i ../linux-3.14-net_random-fix.patch
}
PATCH:
------
diff -ur old/xtables-addons-2.4/extensions/xt_CHAOS.c new/xtables-addons-2.4/extensions/xt_CHAOS.c
--- old/xtables-addons-2.4/extensions/xt_CHAOS.c 2014-01-09 04:37:52.000000000 -0500
+++ new/xtables-addons-2.4/extensions/xt_CHAOS.c 2014-04-23 15:06:34.335470933 -0400
@@ -68,7 +68,7 @@
ret = xm_tcp->match(skb, &local_par);
hotdrop = local_par.hotdrop;
}
- if (!ret || hotdrop || (unsigned int)net_random() > delude_percentage)
+ if (!ret || hotdrop || (unsigned int)prandom_u32() > delude_percentage)
return;
destiny = (info->variant == XTCHAOS_TARPIT) ? xt_tarpit : xt_delude;
@@ -98,7 +98,7 @@
const struct xt_chaos_tginfo *info = par->targinfo;
const struct iphdr *iph = ip_hdr(skb);
- if ((unsigned int)net_random() <= reject_percentage) {
+ if ((unsigned int)prandom_u32() <= reject_percentage) {
struct xt_action_param local_par;
local_par.in = par->in;
local_par.out = par->out;
diff -ur old/xtables-addons-2.4/extensions/xt_TARPIT.c new/xtables-addons-2.4/extensions/xt_TARPIT.c
--- old/xtables-addons-2.4/extensions/xt_TARPIT.c 2014-01-09 04:37:52.000000000 -0500
+++ new/xtables-addons-2.4/extensions/xt_TARPIT.c 2014-04-23 15:09:04.827092373 -0400
@@ -107,8 +107,8 @@
tcph->syn = true;
tcph->ack = true;
tcph->window = oth->window &
- ((net_random() & 0x1f) - 0xf);
- tcph->seq = htonl(net_random() & ~oth->seq);
+ ((prandom_u32() & 0x1f) - 0xf);
+ tcph->seq = htonl(prandom_u32() & ~oth->seq);
tcph->ack_seq = htonl(ntohl(oth->seq) + oth->syn);
}
@@ -117,7 +117,7 @@
tcph->syn = false;
tcph->ack = true;
tcph->window = oth->window &
- ((net_random() & 0x1f) - 0xf);
+ ((prandom_u32() & 0x1f) - 0xf);
tcph->ack_seq = payload > 100 ?
htonl(ntohl(oth->seq) + payload) :
oth->seq;