[pkg-netfilter-team] Bug#1008567: ipset fails to lookup service name if it is not listed as tcp in /etc/services
Tony Lill
ajlill at ajlc.waterloo.on.ca
Mon Mar 28 17:45:23 BST 2022
Package: ipset
Version: 7.10-1
Severity: normal
Dear Maintainer,
When attempting to use a port name in ipset add, a number of them
failed with
ipset v7.10: Syntax error: 'bootpc' is invalid as number
This seems to be because bootpc is only listed as a udp service in
/etc/services. For any service listed as tcp, or both, ipset works
as expected. Adding bootpc as a tcp service to /etc/services fixes the situation.
Ipset should attempt to lookup the name as both tcp and udp, or /etc/services
should return to listing all services as both tcp and udp..
-- System Information:
Debian Release: 11.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf
Kernel: Linux 5.10.103-v8+ (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_CA, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ipset depends on:
ii libc6 2.31-13+rpt2+rpi1+deb11u2
ii libipset13 7.10-1
Versions of packages ipset recommends:
ii iptables 1.8.7-1
ipset suggests no packages.
-- no debconf information
More information about the pkg-netfilter-team
mailing list