On 05/29/2012 02:24 PM, Michael Kress wrote: > Hi, I have large static black lists (wizcraft and other country black > lists) and I get a segfault while loading the blacklist: > 23:20:40 Applying Policies... > 23:20:40 Activating Rules... > 23:20:40 IP Forwarding Enabled > 23:20:40 Loading Black List... > Segmentation fault > > Is there any reason which I could see why this would fail and if so, how? > TIA, Regards
Are there additional messages after the Segmentation fault? I suspect that iptables-restore is blowing up for some reason. In general, using large Shorewall blacklists is a very poor idea. Any connection that is accepted by the firewall must pass serially through the entire blacklist. For blocking other countries, I suggest upgrading to Shorewall 4.5.4 and using the builtin country-matching feature available in that version. For other blacklisting where a large number of address ranges are involved, ipsets are a much more efficient solution. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users