iptables-git

maintainer Chocobo1 · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The non-standard hosts are for ancillary files (systemd services, rules templates) from the official Arch Linux packaging GitLab, not the main source; the primary source is a legitimate git checkout from the project's official repository, and all installed files are either built from source or static data, posing no execution risk.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The non-standard hosts are for ancillary files (systemd services, rules templates) from the official Arch Linux packaging GitLab, not the main source; the primary source is a legitimate git checkout from the project's official repository, and all installed files are either built from source or static data, posing no execution risk.

1 higher static finding superseded - not the current verdict (shown for transparency)
MEDIUM source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:16 source=("git+https://git.netfilter.org/iptables"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
2
3pkgname=iptables-git
4pkgver=1.8.11.r22.g78d7a5f8
5pkgrel=1
6pkgdesc="Userspace command line program used to configure the packet filtering ruleset"
7arch=('i686' 'x86_64')
8url="https://www.netfilter.org/projects/iptables/index.html"
9license=('GPL-2.0-or-later')
10depends=('glibc' 'libmnl' 'libnetfilter_conntrack' 'libnfnetlink' 'libnftnl' 'libpcap')
11makedepends=('git' 'linux-api-headers')
12provides=("arptables=$pkgver" "ebtables=$pkgver" "iptables=$pkgver" "iptables-nft=$pkgver" 'libip4tc.so' 'libip6tc.so' 'libipq.so' 'libxtables.so')
13conflicts=('arptables' 'ebtables' 'iptables' 'iptables-nft')
14backup=('etc/ethertypes'
15 etc/iptables/{ip,ip6}tables.rules)
16source=("git+https://git.netfilter.org/iptables"
17 "arptables.service::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/arptables.service"
18 "ebtables.service::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/ebtables.service"
19 "empty-filter.rules::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/empty-filter.rules"
20 "empty-mangle.rules::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/empty-mangle.rules"
21 "empty-nat.rules::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/empty-nat.rules"
22 "empty-raw.rules::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/empty-raw.rules"
23 "empty-security.rules::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/empty-security.rules"
24 "empty.rules::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/empty.rules"
25 "ip6tables.service::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/ip6tables.service"
26 "iptables-legacy-flush::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/iptables-legacy-flush"
27 "iptables-nft-flush::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/iptables-nft-flush"
28 "iptables.service::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/iptables.service"
29 "simple_firewall.rules::https://gitlab.archlinux.org/archlinux/packaging/packages/iptables/-/raw/main/simple_firewall.rules")
30sha256sums=('SKIP'
31 'SKIP'
32 'SKIP'
33 'SKIP'
34 'SKIP'
35 'SKIP'
36 'SKIP'
37 'SKIP'
38 'SKIP'
39 'SKIP'
40 'SKIP'
41 'SKIP'
42 'SKIP'
43 'SKIP')
44
45
46prepare() {
47 cd "iptables"
48
49 # use system one
50 rm "include/linux/types.h"
51}
52
53pkgver() {
54 cd "iptables"
55
56 git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
57}
58
59build() {
60 cd "iptables"
61
62 ./autogen.sh
63 ./configure \
64 --prefix="/usr" \
65 --sysconfdir="/etc" \
66 --sbindir="/usr/bin" \
67 --libexecdir="/usr/lib/iptables" \
68 --with-xtlibdir="/usr/lib/iptables" \
69 --enable-bpf-compiler \
70 --enable-devel \
71 --enable-libipq
72 make
73}
74
75package() {
76 cd "iptables"
77
78 make DESTDIR="$pkgdir" install
79
80 cd "$srcdir"
81 install -Dm644 "empty.rules" "$pkgdir/etc/iptables/iptables.rules"
82 install -Dm644 "empty.rules" "$pkgdir/etc/iptables/ip6tables.rules"
83 install -Dm644 "simple_firewall.rules" -t "$pkgdir/etc/iptables"
84 install -Dm644 ./*.rules -t "$pkgdir/usr/share/iptables"
85
86 install -Dm644 {arp,eb,ip,ip6}tables.service -t "$pkgdir/usr/lib/systemd/system"
87 install -Dm755 iptables-{legacy,nft}-flush -t "$pkgdir/usr/lib/systemd/scripts/iptables-flush"
88}
89

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion