From: Jack Bowling <jbinpg@shaw.ca>
To: netfilter@lists.samba.org
Subject: Re: iptables -L TABLE -n -v -d x.x.x.x --dport x -i ethx
Date: Sun, 30 Jun 2002 23:13:18 -0700 [thread overview]
Message-ID: <0GYK002T43YAXX@l-daemon> (raw)
In-Reply-To: <200FAA488DE0D41194F10010B597610D2BA1BA@JUPITER>
** Reply to message from George Vieira <GeorgeV@citadelcomputer.com.au> on Mon, 01 Jul 2002 13:49:04 +1000
> Hi all,
>
> First post to the list and forgive me if someone's asked this before (I
> tried the archives)...
>
> Can the above command actually work or is there a way to print just 1 rule
> that matches as I tried something similar to what's shown above and it
> doesn't like it.. go figure.
>
> Am I doing it wrong or does it not support it in iptables? At the moment I
> have to keep greping the rule I need to check.. is there a better way?
I would just try the tried and true grep:
iptables -L TABLE -n -v | grep "-d x.x.x.x --dport x -i ethx"
jb
next prev parent reply other threads:[~2002-07-01 6:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-01 3:49 iptables -L TABLE -n -v -d x.x.x.x --dport x -i ethx George Vieira
2002-07-01 6:13 ` Jack Bowling [this message]
2002-07-01 6:18 ` Patrick Schaaf
-- strict thread matches above, loose matches on Subject: below --
2002-07-01 6:20 George Vieira
2002-07-01 6:29 ` Jack Bowling
2002-07-01 14:42 ` Joe Patterson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0GYK002T43YAXX@l-daemon \
--to=jbinpg@shaw.ca \
--cc=netfilter@lists.samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.