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
3
pkgname=iptables-git
4
pkgver=1.8.11.r22.g78d7a5f8
5
pkgrel=1
6
pkgdesc="Userspace command line program used to configure the packet filtering ruleset"
7
arch=('i686' 'x86_64')
8
url="https://www.netfilter.org/projects/iptables/index.html"
9
license=('GPL-2.0-or-later')
10
depends=('glibc' 'libmnl' 'libnetfilter_conntrack' 'libnfnetlink' 'libnftnl' 'libpcap')
11
makedepends=('git' 'linux-api-headers')
12
provides=("arptables=$pkgver" "ebtables=$pkgver" "iptables=$pkgver" "iptables-nft=$pkgver" 'libip4tc.so' 'libip6tc.so' 'libipq.so' 'libxtables.so')
13
conflicts=('arptables' 'ebtables' 'iptables' 'iptables-nft')
14
backup=('etc/ethertypes'
15
etc/iptables/{ip,ip6}tables.rules)
16
source=("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")
30
sha256sums=('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
46
prepare() {
47
cd "iptables"
48
49
# use system one
50
rm "include/linux/types.h"
51
}
52
53
pkgver() {
54
cd "iptables"
55
56
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
57
}
58
59
build() {
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
75
package() {
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) | Severity | Rules |
|---|---|---|
| 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 |