Linux Netfilter discussions
 help / color / mirror / Atom feed
* How to find nvl table?
@ 2003-04-15  7:02 Bobo
  2003-04-15  7:08 ` Raymond Leach
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Bobo @ 2003-04-15  7:02 UTC (permalink / raw)
  To: Stephane Ouellette; +Cc: netfilter, netfilter

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@myfirewall 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.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to find nvl table?
  2003-04-15  7:02 How to find nvl table? Bobo
@ 2003-04-15  7:08 ` Raymond Leach
  2003-04-15  7:09 ` Athan
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Raymond Leach @ 2003-04-15  7:08 UTC (permalink / raw)
  To: Netfilter Mailing List

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

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@myfirewall 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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to find nvl table?
  2003-04-15  7:02 How to find nvl table? Bobo
  2003-04-15  7:08 ` Raymond Leach
@ 2003-04-15  7:09 ` Athan
  2003-04-15  7:11 ` Cedric Blancher
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Athan @ 2003-04-15  7:09 UTC (permalink / raw)
  To: Bobo; +Cc: netfilter @ lists. netfilter. org

[-- Attachment #1: Type: text/plain, Size: 994 bytes --]

On Tue, Apr 15, 2003 at 03:02:56PM +0800, Bobo wrote:
> HI
> 
>      Some days ago ,a member of here reply me the followings about traffic account:
> >try this one:
> >
> >iptables -nvL INPUT
                 ^^^^^
>    [root@myfirewall 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?

  It's case sensitive:

07:25:43 0$ iptables -nvL  input
iptables: Table does not exist (do you need to insmod?)
root@jimblewix:/other/backup;
08:07:48 0$ iptables -nvL  INPUT
Chain INPUT (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
...

-Ath
-- 
- Athanasius = Athanasius(at)miggy.org / http://www.miggy.org/
                  Finger athan(at)fysh.org for PGP key
	   "And it's me who is my enemy. Me who beats me up.
Me who makes the monsters. Me who strips my confidence." Paula Cole - ME

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to find nvl table?
  2003-04-15  7:02 How to find nvl table? Bobo
  2003-04-15  7:08 ` Raymond Leach
  2003-04-15  7:09 ` Athan
@ 2003-04-15  7:11 ` Cedric Blancher
  2003-04-15  7:21 ` Narendra Prabhu. B
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Cedric Blancher @ 2003-04-15  7:11 UTC (permalink / raw)
  To: Bobo; +Cc: Stephane Ouellette, netfilter@lists.netfilter.org

Le mar 15/04/2003 à 09:02, Bobo a écrit :
>   While I execute "iptables  -nvL input"
>   I got the following message on screen:
>
>    [root@myfirewall account]# iptables -nvL  input
> iptables: Table does not exist (do you need to insmod?)

Just type what you were told to, respecting the case...

root@elendil:~# iptables -nvL input
iptables: Table does not exist (do you need to insmod?)

root@elendil:~# iptables -nvL INPUT
Chain INPUT (policy DROP 133K packets, 72M bytes)
[...]

>     why?  how to find the talbe? does  it need a special patch?

Won't answer this :))))

-- 
Cédric Blancher  <blancher@cartel-securite.fr>
IT systems and networks security - Cartel Sécurité
Phone : +33 (0)1 44 06 97 87 - Fax: +33 (0)1 44 06 97 99
PGP KeyID:157E98EE  FingerPrint:FA62226DA9E72FA8AECAA240008B480E157E98EE


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to find nvl table?
  2003-04-15  7:02 How to find nvl table? Bobo
                   ` (2 preceding siblings ...)
  2003-04-15  7:11 ` Cedric Blancher
@ 2003-04-15  7:21 ` Narendra Prabhu. B
  2003-04-15  7:49 ` AW: " Johannes Walch
  2003-04-15  8:11 ` Stephane Ouellette
  5 siblings, 0 replies; 7+ messages in thread
From: Narendra Prabhu. B @ 2003-04-15  7:21 UTC (permalink / raw)
  To: netfilter


try iptables -nvL INPUT ....

INPUT not input

Narendra

-------------------------
Narendra Prabhu. B
DeepRoot Linux
http://www.deeproot.co.in

On Tue, 15 Apr 2003, 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@myfirewall 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.
>
>
>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* AW: How to find nvl table?
  2003-04-15  7:02 How to find nvl table? Bobo
                   ` (3 preceding siblings ...)
  2003-04-15  7:21 ` Narendra Prabhu. B
@ 2003-04-15  7:49 ` Johannes Walch
  2003-04-15  8:11 ` Stephane Ouellette
  5 siblings, 0 replies; 7+ messages in thread
From: Johannes Walch @ 2003-04-15  7:49 UTC (permalink / raw)
  To: 'Bobo', 'Stephane Ouellette'; +Cc: netfilter


>    My platform is Redhat 7.2 in  default congiguration.
> 
>   While I execute "iptables  -nvL input"
> 
>   I got the following message on screen:
> 
> 
>    [root@myfirewall 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?

Try iptables -nvL INPUT
Default chains are in capital letters.
By the way : Reading the man page would have answered this.

johannes walch


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: How to find nvl table?
  2003-04-15  7:02 How to find nvl table? Bobo
                   ` (4 preceding siblings ...)
  2003-04-15  7:49 ` AW: " Johannes Walch
@ 2003-04-15  8:11 ` Stephane Ouellette
  5 siblings, 0 replies; 7+ messages in thread
From: Stephane Ouellette @ 2003-04-15  8:11 UTC (permalink / raw)
  To: Bobo; +Cc: netfilter@lists.netfilter.org

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@myfirewall 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.
>
>
>  
>





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-04-15  8:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-15  7:02 How to find nvl table? Bobo
2003-04-15  7:08 ` Raymond Leach
2003-04-15  7:09 ` Athan
2003-04-15  7:11 ` Cedric Blancher
2003-04-15  7:21 ` Narendra Prabhu. B
2003-04-15  7:49 ` AW: " Johannes Walch
2003-04-15  8:11 ` Stephane Ouellette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox