Problems in IPTABLES in CentOS x64

I recently updated my CentOS 6.x x64 Droplet, against the Heartbleed virus, by following instructions in DigitalOcean community ( After doing the update, the IPTABLES configuration are all gone and I am unable to configure the IPTABLES. Upon issuing the command
iptables -A INPUT -p tcp --tcp-flags ALL NONE -j DROP

I get the below error /lib64/xtables/ /lib64/xtables/ file too short iptables v1.4.7: unknown option --tcp-flags' Try iptables -h’ or ‘iptables --help’ for more information.

Seems the ‘yum update’ has screwed some libs. Can someone please help how to correct the error? This is draining me!

Thanks, Sam

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@Marinos - Thanks for the response. I re-imaged my droplet to save time. It was taking too much of me to get it working.

Can you post the yum log file?