Need help regarding SQM

I'm sorry but how exactly? How will I know if that rule got a hit count? Will it show up here http://192.168.1.1/cgi-bin/luci/admin/status/iptables. How can I test it?

I can't remember, but i think this is the right place, you will see all of your rules there.

you just need some udp traffic like voip call via whatsapp or online game.

Okay so every custom iptables entry from firewall.user is in http://192.168.1.1/cgi-bin/luci/admin/status/iptables along with traffic except hashlimit one. Tried discord voip call still doesn't show up so no hashlimit isn't working.

Try to reinstall iptables

You mean different snapshot?

re install iptables package, it's like update iptables

Oh I've removed opkg package to accommodate all the other packages to fit in small flash. I'll try different snapshot unless anyone here knows how to specifically update iptable file before building an image.

I wonder if this isn't a memory issue, like the hashlimit module can't load because you don't have enough RAM or some similar thing.

hashlimit is a totally standard thing used by many people so I am guessing this may have something to do with the hardware limitations.

Like I said earlier I've had made all kernel modules built-in. That's why hashlimit wasn't loading. It's not due to low memory :smiley:

well, now that you've modulized it, it still isn't working right?

Nope on that command it says
iptables: Result not representable.

so I wonder if this means it's running out of memory when it tries to allocate the hashlimit table....

I mean other modules are working flawlessly even tcpdump my guess is it has to do with my current iptable version?

For example, here's a guy trying to figure out how much memory this stuff is likely to use.... it might make sense to explicitly limit the hash table buckets and max entries... like maybe try 255 buckets or something and up to 100 entries? play with it up and down a bit...

haha, I forgot to give the link:

2 Likes

Same error I'll try newer snapshot & see if it works :stuck_out_tongue:

So I tried 19.07 RC2 snapshot & it worked! No longer hashlimit error. So it was a bug in older iptables version.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.