All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Schaaf <bof@bof.de>
To: Poltorak Serguei <poltorak@df.ru>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: target MARK in filter table?
Date: Sun, 13 Jul 2003 09:02:03 +0200	[thread overview]
Message-ID: <20030713070203.GA1284@oknodo.bof.de> (raw)
In-Reply-To: <Pine.LNX.3.95.1030713055808.11842C-100000@cannabis.dataforce.net>

> Why not to allow MARK packets in filter table? As i know it doesn't mangle
> (change) the packet, it changes only information about it on local this
> router. So, why not to use it widely in filter table?

The fwmark influences the routing decision. In the filter table, the
routing decision has already been made. This raises the following
decision problem;

- should rerouting be done when MARK is used in the filter table
- or not?

This decision problem will have different answers for different uses.
Thus, an implementation must make an arbitrary decision.

How would _you_ make that decision?

I have no idea if that is the real reason why nobody made MARK for filter,
but to me, it's a good reason not to make it. Arbitrary decisions always
bite you, later.

Traditional counterquestion: what do you want to accomplish, that lets
you look for MARK in filter?

best regards
  Patrick

  reply	other threads:[~2003-07-13  7:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-13  1:34 target MARK in filter table? Poltorak Serguei
2003-07-13  2:01 ` Poltorak Serguei
2003-07-13  7:02   ` Patrick Schaaf [this message]
2003-07-13 11:19     ` Poltorak Serguei
2003-07-13 12:43       ` Poltorak Serguei
2003-07-13 14:19         ` Patrick Schaaf
2003-07-14  8:05           ` Harald Welte
2003-07-15  4:26             ` Poltorak Serguei
2003-07-15  5:16               ` Patrick Schaaf

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=20030713070203.GA1284@oknodo.bof.de \
    --to=bof@bof.de \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=poltorak@df.ru \
    /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.