firehol/blocklist-ipsets

Normshield crashes update, creates junk ipsets

Opened this issue · 1 comments

There appears to be some really bad parsing problem, update-ipsets crashes at:

            normshield_all_"><input| creating lib directory for tracking it
                                   | entries: 0, unique IPs: 0
/usr/sbin/update-ipsets: line 1990: IPSET_MINS[normshield_all_"><input] : bad array subscript (error token is "IPSET_MINS[normshield_all_"><input] ")

Files in the /etc/firehol/ipsets directory look like:

 normshield_high_s.ipset
 normshield_high_site-header__col.ipset
 normshield_high_site-header__col.source
'normshield_high_sizes="192x192".ipset'
'normshield_high_sizes="192x192".source'
'normshield_high_sizes="32x32".ipset'
'normshield_high_sizes="32x32".source'
'normshield_high_">.source'
'normshield_high_(.source'
'normshield_high_)-(.source'
'normshield_high_);.source'
 normshield_high_-.source
'normshield_high_=.source'
'normshield_high_[];.source'
 normshield_high_{.source
'normshield_high_||.source'
...

This was encountered with update-ipsets --enable-all if that helps.