Comments (5)
Yes, counters are 32-bit. Solution is to recode that part.
from ipt-ratelimit.
you mean long long to add to c code?
from ipt-ratelimit.
Sort of. (I may fix it when I get time.) Btw, what value you want to set?
from ipt-ratelimit.
I want to go up tp 10Gbit(thats my network card).
from ipt-ratelimit.
Let it closed:
nft > ruleset (vmap) > ip > rate limit
table inet serviceir {
chain serviceir {
type filter hook prerouting priority filter; policy accept;
ip daddr vmap { 10.10.113.2 : jump serviceir-,XXXX : jump XXX };
}
chain serviceirXXXX {
limit rate over YYYYYY kbytes/second counter packets 0 bytes 0 drop
}
|
chain XXXX-XX {
{ itn...y
}
*** vmap is array of ip: jumps and every jump is 2 checks...
***ipv6 is the same 0:: :)
from ipt-ratelimit.
Related Issues (20)
- Add ipv6 support (feature request) HOT 4
- Can't create set HOT 9
- Ratelimit rules order? HOT 13
- 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.