Blocklist name 9 character limit

Post Reply
marcele
Junior Member
Posts: 214
Joined: 17 Sep 2007, 17:02

Blocklist name 9 character limit

Post 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!
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

Re: Blocklist name 9 character limit

Post 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
marcele
Junior Member
Posts: 214
Joined: 17 Sep 2007, 17:02

Re: Blocklist name 9 character limit

Post by marcele »

The 25 character limit will work fine. Thanks a bunch!
Post Reply