LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 12-07-2007, 10:38 PM   #1
wanghao
Member
 
Registered: Mar 2007
Distribution: centos
Posts: 126

Rep: Reputation: 15
iptables give the list


[root@localhost ~]# ipt -t INPUT -vnL
iptables v1.3.5: can't initialize iptables table `INPUT': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

that's the problem is when i tried the other chain the problem still,and my firewall works well nothing wrong and any more make me dumb that when i input "ipt -L ",it works all the nat and chain was listed ,why the single could't be listed ,friends?


# alias ipt iptalbes
 
Old 12-07-2007, 10:42 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by wanghao View Post
[root@localhost ~]# ipt -t INPUT -vnL
iptables v1.3.5: can't initialize iptables table `INPUT': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
INPUT is a chain, not a table. The table in which the INPUT chain is is filter. So it would go like:
Code:
iptables -t filter -nvL INPUT
But since we know that filter is the default table, we can ommit it:
Code:
iptables -nvL INPUT
 
Old 12-08-2007, 09:15 PM   #3
wanghao
Member
 
Registered: Mar 2007
Distribution: centos
Posts: 126

Original Poster
Rep: Reputation: 15
Yes ,it works.thanks so much.
And all the best.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tripwire: list each file or give directory? hank43 Linux - Security 1 10-23-2006 07:37 AM
Can someone give me a good list of apt sources? ChaosZ3RO Debian 3 07-16-2004 09:36 PM
use iptables to give net traffic priority to web browsers ? qwijibow Linux - Security 2 02-17-2004 08:10 AM
Could someone with APT give me a package list? onu Fedora 3 01-12-2004 11:42 PM
Please give a simple sample about LOG in iptables! yuzuohong Linux - Networking 3 06-09-2002 11:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration