Page 1 of 1

Blocklist name 9 character limit

Posted: 28 Oct 2015, 13:27
by marcele
I'm wondering if it would be possible to increase the csf.blocklists 9 character naming limit? I know that the name will be used as the iptables chain name. Is the 9 char limit some sort of legacy iptables limitation? Everywhere I've looked it says that user defined chain names can be up to 30 chars in length.
http://blog.yo61.com/length-limit-to-ip ... ain-names/

If it is a legacy limit maybe detect if iptables is legacy and only impose the limit then. I'm building a big list of blocklists and the current 9 char naming limit is a bit of a pain.

Thanks Chirpy!

Re: Blocklist name 9 character limit

Posted: 08 Nov 2015, 09:36
by ForumAdmin
We will increase this to 25 for the next release. This cannot be greater due to limits on ipset names on some OS's and the use of prepended named for new ipset list swapping

Re: Blocklist name 9 character limit

Posted: 08 Nov 2015, 11:03
by marcele
The 25 character limit will work fine. Thanks a bunch!