cowgill / spamhaus

A shell script that grabs the latest Spamhaus DROP List and adds it to iptables.
48 stars 21 forks source link

Fixed 'xtables lock' warning #7

Open ddarbyson opened 5 years ago

ddarbyson commented 5 years ago

You can often see the warning trying to fix ERROR OUTPUT:Another app is currently holding the xtables lock. Perhaps you want to use the -w option?` on busy servers where iptables is updated frequently.

Adding the -w options fixes this issue by setting maximum wait to acquire xtables lock before give up