Hi The built in chains are in CAPITALS. INPUT is a chain in the filter table (the default if not specified). try: iptables -nvL INPUT Ray On Tue, 2003-04-15 at 09:02, Bobo wrote: > HI > > Some days ago ,a member of here reply me the followings about traffic account: > >try this one: > > > >iptables -nvL INPUT > > > >in Perl: > > > >open(CHAINS, "iptables -nvL INPUT|") or die "Error reading chains\n"; > > > >while(<CHAINS>) > >{ > ># read the lines one by one, matching on the text you want > >} > > > >close(CHAINS); > > My platform is Redhat 7.2 in default congiguration. > > While I execute "iptables -nvL input" > > I got the following message on screen: > > > [root@xxxxxxxxxx account]# iptables -nvL input > iptables: Table does not exist (do you need to insmod?) > > why? how to find the talbe? does it need a special patch? > > Thanks.
Attachment:
signature.asc
Description: This is a digitally signed message part