iptables-git

LOW
maintainer Chocobo1 1 votes scanned 2026-09-17 00:27:14.276658
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-09-17 00:27:14 Low 2
2026-09-16 00:03:17 Low 2
2026-09-15 00:25:31 Low 2
2026-09-14 00:27:57 Low 2
2026-09-13 00:19:54 Low 2
2026-09-12 00:25:17 Low 2
2026-09-11 00:19:22 Low 2
2026-09-10 00:22:44 Low 2
2026-09-09 00:04:09 Low 2
2026-09-08 00:18:08 Low 2
2026-09-07 00:30:15 Low 2
2026-09-06 00:17:06 Low 2
2026-09-05 00:16:27 Low 2
2026-09-04 00:03:13 Low 2
2026-09-03 00:15:47 Low 2
2026-09-02 00:02:31 Low 2
2026-09-01 00:11:19 Low 2
2026-08-31 00:19:57 Low 2
2026-08-30 00:04:14 Low 2
2026-08-29 00:29:17 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