Report this

What is the reason for this report?

Problems in IPTABLES in CentOS x64

Posted on May 22, 2014

I recently updated my CentOS 6.x x64 Droplet, against the Heartbleed virus, by following instructions in DigitalOcean community (https://www.digitalocean.com/community/articles/how-to-protect-your-server-against-the-heartbleed-openssl-vulnerability). 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/libxt_tcp.so: /lib64/xtables/libxt_tcp.so: 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



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!

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.

@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?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.