Mr. Chamberlain,
AFAIK, no. You'll probably have to use a series of commands like
`sed', `cut', and `grep',
or, if you're programming, using libiptc to get a table snapshot after
parsing /proc/net/ip_tablenames.
Brad
Toby Chamberlain wrote:
> Is there a file (like ip_fwnames in ipchains) that lists the existing
> chain names in iptables? I looked through /proc/net but there only
> seems to be ip_tablenames which lists the tables, but not the chains.
>
> Thanks
> Toby
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
>
>
>
>
AFAIK, no. You'll probably have to use a series of commands like
`sed', `cut', and `grep',
or, if you're programming, using libiptc to get a table snapshot after
parsing /proc/net/ip_tablenames.
Brad
Toby Chamberlain wrote:
> Is there a file (like ip_fwnames in ipchains) that lists the existing
> chain names in iptables? I looked through /proc/net but there only
> seems to be ip_tablenames which lists the tables, but not the chains.
>
> Thanks
> Toby
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
>
>
>
>