Question

Problems in IPTABLES in CentOS x64

Posted May 22, 2014 3.2k views
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

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.

×
2 answers
Can you post the yum log file?
@Marinos - Thanks for the response. I re-imaged my droplet to save time. It was taking too much of me to get it working.
Submit an Answer