Skip to content

LordOS — a free, fast and secure GNU/Linux distribution based on Debian, with its own desktop environment: display server and Wayland compositor in C, a React UI engine on QuickJS, and private native apps.

Tests link the new sources (net-test, procctl-test); shorter licence lines in the blocklist catalog

Federico Pereirad25cb7ae38e7
diff --git a/assets/fw/blocklists.json b/assets/fw/blocklists.json
index af2cdaa..12c4c3a 100644
--- a/assets/fw/blocklists.json
+++ b/assets/fw/blocklists.json
@@ -4,11 +4,11 @@
{ "id": "ads", "topic": "ads", "kind": "domains", "format": "domains", "sub": 0,
"url": "https://blocklistproject.github.io/Lists/alt-version/ads-nl.txt",
"source": "The Block List Project", "homepage": "https://github.com/blocklistproject/Lists",
- "license": "MIT (file header); the project's repository: Unlicense", "checked": "2026-10-19", "approx": 234000 },
+ "license": "MIT (list file), Unlicense (repository)", "checked": "2026-10-19", "approx": 234000 },
{ "id": "tracking", "topic": "trackers", "kind": "domains", "format": "domains", "sub": 0,
"url": "https://blocklistproject.github.io/Lists/alt-version/tracking-nl.txt",
"source": "The Block List Project", "homepage": "https://github.com/blocklistproject/Lists",
- "license": "MIT (file header); the project's repository: Unlicense", "checked": "2026-10-19", "approx": 144000 },
+ "license": "MIT (list file), Unlicense (repository)", "checked": "2026-10-19", "approx": 144000 },
{ "id": "unified-hosts", "topic": "ads", "kind": "domains", "format": "hosts", "sub": 0,
"url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
"source": "Unified hosts (Steven Black)", "homepage": "https://github.com/StevenBlack/hosts",
@@ -16,19 +16,19 @@
{ "id": "phishing", "topic": "malware", "kind": "domains", "format": "domains", "sub": 0,
"url": "https://blocklistproject.github.io/Lists/alt-version/phishing-nl.txt",
"source": "The Block List Project", "homepage": "https://github.com/blocklistproject/Lists",
- "license": "MIT (file header); the project's repository: Unlicense", "checked": "2026-10-19", "approx": 190000 },
+ "license": "MIT (list file), Unlicense (repository)", "checked": "2026-10-19", "approx": 190000 },
{ "id": "scam", "topic": "malware", "kind": "domains", "format": "domains", "sub": 0,
"url": "https://blocklistproject.github.io/Lists/alt-version/scam-nl.txt",
"source": "The Block List Project", "homepage": "https://github.com/blocklistproject/Lists",
- "license": "MIT (file header); the project's repository: Unlicense", "checked": "2026-10-19", "approx": 8500 },
+ "license": "MIT (list file), Unlicense (repository)", "checked": "2026-10-19", "approx": 8500 },
{ "id": "ransomware", "topic": "malware", "kind": "domains", "format": "domains", "sub": 0,
"url": "https://blocklistproject.github.io/Lists/alt-version/ransomware-nl.txt",
"source": "The Block List Project", "homepage": "https://github.com/blocklistproject/Lists",
- "license": "MIT (file header); the project's repository: Unlicense", "checked": "2026-10-19", "approx": 1900 },
+ "license": "MIT (list file), Unlicense (repository)", "checked": "2026-10-19", "approx": 1900 },
{ "id": "cryptomining", "topic": "malware", "kind": "domains", "format": "domains", "sub": 0,
"url": "https://blocklistproject.github.io/Lists/alt-version/crypto-nl.txt",
"source": "The Block List Project", "homepage": "https://github.com/blocklistproject/Lists",
- "license": "MIT (file header); the project's repository: Unlicense", "checked": "2026-10-19", "approx": 1300 },
+ "license": "MIT (list file), Unlicense (repository)", "checked": "2026-10-19", "approx": 1300 },
{ "id": "attackers", "topic": "malware", "kind": "ips", "format": "ips", "sub": 0,
"url": "https://raw.githubusercontent.com/stamparm/ipsum/master/levels/3.txt",
"source": "IPsum, level 3 (addresses on 3 or more public lists)", "homepage": "https://github.com/stamparm/ipsum",
diff --git a/server/Makefile b/server/Makefile
index 30b6c27..ee15ec4 100644
--- a/server/Makefile
+++ b/server/Makefile
@@ -351,7 +351,7 @@ build/map-bench: tests/map_bench.c src/monitor/map.c src/monitor/map.h src/monit
# refuses a stale start time (PID reuse), TERM/KILL on a child, and the Get Info JSON
test: build/procctl-test
build/procctl-test: tests/procctl_test.c src/monitor/procctl.c src/monitor/procctl.h src/monitor/mon.c src/monitor/disktemp.c src/monitor/conn.c src/monitor/mmdb.c src/pkg/xz.c build/obj/ui/stb.o
- $(CC) $(CPPFLAGS) $(CFLAGS) $(WARN) -std=c11 -o $@ tests/procctl_test.c src/monitor/procctl.c src/monitor/mon.c src/monitor/disktemp.c src/monitor/conn.c src/monitor/mmdb.c src/pkg/xz.c build/obj/ui/stb.o -lm -lpthread
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(WARN) -std=c11 -o $@ tests/procctl_test.c src/monitor/procctl.c src/monitor/mon.c src/monitor/disktemp.c src/monitor/conn.c src/monitor/mmdb.c src/pkg/xz.c src/fw/rules.c src/fw/fwmap.c src/sec/json.c src/sec/cgroup.c build/obj/ui/stb.o -lm -lpthread
./$@ || { rm -f $@; exit 1; }
# the Monitor's traffic history file: totals, 7-day/30-day rotation, cut and damaged files, Clear
test: build/nethist-test
@@ -388,9 +388,9 @@ build/sound-test: tests/sound_test.c src/sound/pulse.c src/sound/pulse.h
build/sound-cli: tests/sound_cli.c src/sound/snd.c src/sound/pulse.c src/sound/snd.h src/sound/pulse.h
$(CC) $(CPPFLAGS) $(CFLAGS) $(WARN) -std=c11 -o $@ tests/sound_cli.c src/sound/snd.c src/sound/pulse.c -lm
NET_SRC := src/net/nl.c src/net/crypto.c src/net/state.c src/net/sys.c src/net/dhcp.c src/net/wifi.c src/net/wg.c src/net/ovpn.c src/net/vpn.c src/net/vici.c src/net/ipsec.c src/net/vpnproc.c src/net/actions.c
-build/net-test: tests/net_test.c $(NET_SRC) $(PKG_SRC) build/obj/ui/stb.o src/net/net.h src/net/netpriv.h src/net/vpn.h src/admin.h
+build/net-test: tests/net_test.c $(NET_SRC) $(PKG_SRC) src/sec/cgroup.c build/obj/ui/stb.o src/net/net.h src/net/netpriv.h src/net/vpn.h src/admin.h
@mkdir -p build
- $(CC) $(CPPFLAGS) $(CFLAGS) $(WARN) -std=c11 -o $@ tests/net_test.c $(NET_SRC) $(PKG_SRC) build/obj/ui/stb.o -lm
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(WARN) -std=c11 -o $@ tests/net_test.c $(NET_SRC) $(PKG_SRC) src/sec/cgroup.c build/obj/ui/stb.o -lm
# Test Wayland app with dmabuf (udmabuf): see docs/GPU.md. Needs libwayland-client.
CLIENT_PROTO := stable/xdg-shell/xdg-shell unstable/xdg-decoration/xdg-decoration-unstable-v1 stable/linux-dmabuf/linux-dmabuf-v1 stable/presentation-time/presentation-time \
unstable/relative-pointer/relative-pointer-unstable-v1 unstable/pointer-constraints/pointer-constraints-unstable-v1 \