Re: How to find nvl table?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"
>  
>

Table names are case sensitive. Use INPUT, not 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.
>
>
>  
>





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux