Networking Forums

Networking Forums > Computer Networking > Linux Networking > IPTABLES: list all chain names

Reply
Thread Tools Display Modes

IPTABLES: list all chain names

 
 
Thomas Scheffler
Guest
Posts: n/a

 
      11-12-2004, 08:50 AM
Hi,

I need to get a list of all (user-defined) chains in the table "filter".
Till now I was doing this:

iptables -L -n|grep references|cut -d" " -f2

This is far to slow on big configurations. To get to the 2nd segment of
the pipe expression all rules have to given out before. Is there an
easier way to get on the names of all user defined chains?

Thanks in advanced

Thomas
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the DNS servers delegation chain list using DIG command Satchmo Linux Networking 5 03-06-2012 09:25 AM
iptables: user-def'd chains: allowed names? jqpx37 Linux Networking 1 10-15-2006 05:47 PM
IPTables: "No chain/target/match by that name" Martin Herbert Dietze Linux Networking 1 01-11-2005 04:36 PM
iptables on bridge chain tranversal question Josh T Linux Networking 0 04-27-2004 11:42 AM
iptables: how to list tables? timeOday Linux Networking 5 10-03-2003 10:15 AM



1 2 3 4 5 6 7 8 9 10 11