]> git.99rst.org Git - openwrt-packages.git/commit
banip: release 1.8.10-1
authorHauke Mehrtens <redacted>
Sat, 27 Jun 2026 23:02:21 +0000 (01:02 +0200)
committerDirk Brenken <redacted>
Sun, 28 Jun 2026 21:22:58 +0000 (23:22 +0200)
commitb4616e8060d9e3ee148dfebfa7a8f301906e4e72
tree9a62e12dcb3b26826cecddd102d426e776a5f566
parentf03d40454ecdbe232aec8fb3238214e0b5157bb1
banip: release 1.8.10-1

- fixed log monitor source-IP spoofing (GHSA-r6hx-4f83-vp8m)
  Fix: per-ban_logterm source anchoring — the real source (last IP in the line)
  is used by default; opt-in 'first:' prefix for source-first formats (web-server access logs).
- add f_mem() helper to read MemAvailable from /proc/meminfo
- cap the auto-detected CPU core count by available memory in f_system:
  ban_cores is limited to MemAvailable / 48 (MiB per job), floored to at least 1 core;
  this bounds the number of feeds processed in parallel on constrained devices,
  a user-set ban_cores is still honored as a ceiling (the cap only ever lowers it).
- derive the GNU sort buffer size from available memory, applied only when
  coreutils sort is present; busybox sort is a no-op

Signed-off-by: Dirk Brenken <redacted>
net/banip/Makefile
net/banip/files/README.md
net/banip/files/banip-functions.sh
git clone https://git.99rst.org/PROJECT