I recently installed ipset rpm and kmod-ipset rpm for my Centos (Linux 2.6.18-194.11.3.el5 i686) and try to hands with help of some examples from internet, but when I try to ban user who tries to connect to port 443 to remote server add automatically to ipset bann list i get following error.
command= ipset -N banned_hosts iphash
iptables -I FORWARD -p tcp --dport 443 -j SET --add-set banned_hosts src
Error= iptables v1.3.5: Unknown arg `--add-set'
Please help what i am doing wrong.