You are not logged in.
I'd like to use iptables to limit bandwidth speed.
Some commands I use are as follow:
sudo iptables -I DOCKER-USER -p tcp -d 172.17.0.1 --dport 51970 -m limit --limit 5/sec -j ACCEPT
Warning: Extension limit revision 0 not supported, missing kernel module?
iptables: No chain/target/match by that name.
sudo iptables -m limit -h
Warning: Extension limit revision 0 not supported, missing kernel module?
iptables v1.8.9 (legacy)The first command doesn't succeed, chain DOCKER-USER is empty.
It's something like my OS lacks limit module?
My archlinux kernel version:
Linux archlinux 6.1.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Tue, 14 Feb 2023 22:08:08 +0000 x86_64 GNU/Linux
Last edited by facat (2023-03-08 13:37:05)
Offline
I'd bet that pacman -Q linux shows something different. This is common when you update the kernel without rebooting.
Offline
I'd bet that pacman -Q linux shows something different. This is common when you update the kernel without rebooting.
Yes.
# pacman -Q linux
linux 6.2.2.arch1-1Offline
So you either didn't reboot or forgot to mount the /boot partition when updating the kernel.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online
This problem is solved after reboot.
Offline