Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Eliezer Croitoru <eliezer@ngtech.co.il>
To: Vladimir Budnev <vladimir.budnev@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: Iptables rules with module string give strange counter results
Date: Thu, 15 Nov 2012 21:20:05 +0200	[thread overview]
Message-ID: <50A54065.3050009@ngtech.co.il> (raw)
In-Reply-To: <CAAvRK96v8DLti4hJwYwpCQAe0OBHOgSJtRnps9Ltv6jW+8qqOw@mail.gmail.com>

On 11/15/2012 8:28 PM, Vladimir Budnev wrote:
> No, its casual server. Iron and ugly:)
> src host is ther server ip and the destination comes from browser
> loading gentoo.org
> Iv posted as simple example as could imagine and which illustrates
> situation. To avoid some misconfiguration with postrouting or
> prerouting or smth. It is just simple OUTPUT chain of filter table

I would say its understood why it will mark specific packets.
I have never used this module but it seems to me that you need to use 
some connection tracking\marking to make one match effect the whole 
connection.

Anyway Gentoo.org is not using index.php but xml...
net-filter it's logging by packets. and this is what a match means to me 
in the string sense of the *match*.

Regards,
Eliezer

-- 
Eliezer Croitoru
https://www1.ngtech.co.il
IT consulting for Nonprofit organizations
eliezer <at> ngtech.co.il

  reply	other threads:[~2012-11-15 19:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-15 14:01 Iptables rules with module string give strange counter results Vladimir Budnev
2012-11-15 15:47 ` Eliezer Croitoru
2012-11-15 18:28   ` Vladimir Budnev
2012-11-15 19:20     ` Eliezer Croitoru [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-11-15 13:50 Vladimir Budnev
     [not found] ` <20121116124526.GA11345@lia.ch>
     [not found]   ` <CAAvRK97NbO2fdW4T=7_WFCiuhd=93nwL0WcOrtr8FCXezgp8zw@mail.gmail.com>
     [not found]     ` <20121116163043.GA13245@lia.ch>
     [not found]       ` <50A967F3.3060707@fastmail.fm>
2012-11-19  9:10         ` Vladimir Budnev

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=50A54065.3050009@ngtech.co.il \
    --to=eliezer@ngtech.co.il \
    --cc=netfilter@vger.kernel.org \
    --cc=vladimir.budnev@gmail.com \
    /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