Just forget it, no one is going to help you. No one helps ANYONE on this fucking list. --- On Tue, 5/19/09, Sudarshan Soma <sudarshan12s@xxxxxxxxx> wrote: > From: Sudarshan Soma <sudarshan12s@xxxxxxxxx> > Subject: iptables to add same rule > To: netfilter@xxxxxxxxxxxxxxx > Date: Tuesday, May 19, 2009, 6:29 AM > Hi All, > I am trying to present WUI for iptables with simple > functionality such > as add/delete rule. For adding rule, can i avoid adding the > same rule > again. > Suppose, if the user tries to block ftp from outside. I > will add > iptable rule as below: > iptables -A INPUT -p tcp --dport 21 -j DROP > > If the user tries to add the same rule again, can i somehow > determine > through iptables , if the rule is already added. > > Thanks and Regards, > Pavan > -- > To unsubscribe from this list: send the line "unsubscribe > netfilter" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html