Comments (9)
root@ubuntu:/# iptables -A FORWARD -m ratelimit --ratelimit-set allusers --ratelimit-mode src -j DROP
iptables: No chain/target/match by that name.
from ipt-ratelimit.
root@ubuntu:/# modinfo xt_ratelimit
modinfo: ERROR: Module xt_ratelimit not found.
from ipt-ratelimit.
root@ubuntu:~/ipt-ratelimit# make all install
make: Nothing to be done for 'all'.
make -C /lib/modules/4.4.0-78-generic/build/ M=/root/ipt-ratelimit modules_install INSTALL_MOD_PATH=
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-78-generic'
INSTALL /root/ipt-ratelimit/xt_ratelimit.ko
At main.c:222:
- SSL error:02001002:system library:fopen:No such file or directory: bss_file.c:175
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: bss_file.c:178
sign-file: certs/signing_key.pem: No such file or directory
DEPMOD 4.4.0-78-generic
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-78-generic'
install -D libxt_ratelimit.so /lib/xtables/libxt_ratelimit.so
from ipt-ratelimit.
That should have installed xt_ratelimit.ko
into /lib/modules/<kernel version>/extra
, try modinfo xt_ratelimit
.
from ipt-ratelimit.
root@ubuntu:~# modinfo xt_ratelimit
filename: /lib/modules/4.4.0-78-generic/extra/xt_ratelimit.ko
alias: ip6t_ratelimit
alias: ipt_ratelimit
version: 0.2-12-g9ce0149
license: GPL
description: iptables ratelimit policer mt module
author: <[email protected]>
srcversion: 6EA5457220E69C96BF7E363
depends: x_tables
vermagic: 4.4.0-34-generic SMP mod_unload modversions
parm: hashsize:default size of hash table used to look up IPs (uint)
After this try
root@ubuntu:~# iptables -A FORWARD -m ratelimit --ratelimit-set allusers --ratelimit-mode src -j DROP
iptables: No chain/target/match by that name.
from ipt-ratelimit.
modprobe xt_ratelimit
from ipt-ratelimit.
root@ubuntu:~# modprobe xt_ratelimit
modprobe: ERROR: could not insert 'xt_ratelimit': Exec format error
from ipt-ratelimit.
Recompile and reinstall module from the current kernel.
from ipt-ratelimit.
I guest in Linux, but for other people with this bug, need run apt-get upgrade
and after that recompile and reinstall.
from ipt-ratelimit.
Related Issues (20)
- Add ipv6 support (feature request) HOT 4
- Ratelimit rules order? HOT 13
- Problem setting speed over 4294967295 bits HOT 5
- End of flow и таймаут HOT 11
- mix logical and bit operations
- Linux 5.6: failed to compile HOT 8
- Вопрос новичка HOT 5
- Download limit problem HOT 22
- not working in router wan side ip address HOT 2
- How to make it work with nft flow (flowtable offload) HOT 9
- Any possibility to add mac addr in addition to ip HOT 1
- Проект жив? HOT 1
- New release HOT 2
- max cir 4290000000 and not more? HOT 2
- Compilation Error, Debian/12 HOT 2
- Error while "make all install" on Debian 12 HOT 2
- Little to no increase in speed after establishing flowtable software acceleration rules
- Try to use Open Build Service for packages
- Debian package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipt-ratelimit.