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!
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.