From: "Aaron Smith" <snafflefu@hotmail.com>
To: netfilter@lists.netfilter.org
Subject: --mark match/subsetting question
Date: Wed, 28 Apr 2004 13:15:58 -0700 [thread overview]
Message-ID: <Sea2-F42Vd7cl4TlL8R0002b70a@hotmail.com> (raw)
I've got a whole bunch of redirect rules in the PREROUTING table, but for
some
connections (say from one IP for examlpe) I want none of these redirects to
take effect.
I need to toggle this effect on and off easily. Inserting/Removing one rule
is ideal, but
I can't insert and remove all rules.
(Connections that exist when its toggled are unimportant)
I first way I thought to do this is with every REDIRECT rule use a --source
! <ipfoo>,
but then I have to delete all rules and reinsert (without the --source) to
toggle.
Then I figured I'd put a mark rule out front to mark connections I don't
want redirected, and
every redirect rule would have a --mark ! 0x01, but the not operator doesnt
seem to work with mark.
(Is there a default mark? - If so that would work).
It seems this is a fairly simple thing to do, and I'm positive I can do it
given the current tools,
but I can't see how.
Any ideas?
Thanks!
_________________________________________________________________
MSN Toolbar provides one-click access to Hotmail from any Web page – FREE
download! http://toolbar.msn.com/go/onm00200413ave/direct/01/
next reply other threads:[~2004-04-28 20:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-28 20:15 Aaron Smith [this message]
2004-04-29 15:19 ` --mark match/subsetting question Dick St.Peters
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=Sea2-F42Vd7cl4TlL8R0002b70a@hotmail.com \
--to=snafflefu@hotmail.com \
--cc=netfilter@lists.netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox