Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Martijn Lievaart <m@rtij.nl>
To: oscar@linnea.net
Cc: netfilter@vger.kernel.org
Subject: Re: interfaces in /proc/net/ip_conntrack
Date: Tue, 11 Dec 2007 00:36:06 +0100	[thread overview]
Message-ID: <475DCD66.5080102@rtij.nl> (raw)
In-Reply-To: <26618.83.227.11.237.1197308966.squirrel@mh.linnea.com>

Oscar N wrote:
> Are the interfaces saved in any way in a session or is it only ip src, dst
> and ports that are saved and matched against?
>
> Why I ask is because what happens if I configure a linuxbox as two virtual
> firewall with same nets being used on different vlans. Will all the
> sessions be separate or will they sometimes "merge" if it happens to be
> the same IPs and ports in two sessions.
>   

Interfaces are not used, not in this sense. In fact, this is a feature. 
It allows asymetric routing, where packets go out through one interface 
and the return packets arrive at a different interface.

I would use two physical or virtual machines, as the risk you describe 
is real, if remote.

HTH,
M4


  parent reply	other threads:[~2007-12-10 23:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-10 17:49 interfaces in /proc/net/ip_conntrack Oscar N
2007-12-10 19:26 ` Pascal Hambourg
2007-12-10 23:36 ` Martijn Lievaart [this message]
2007-12-11  8:03   ` Oscar N
2007-12-11 10:03     ` Martijn Lievaart
2007-12-11 11:03       ` Pascal Hambourg
2007-12-11 11:36       ` Benny Amorsen
2007-12-11 12:49         ` Oscar N
2007-12-11 17:46         ` Martijn Lievaart

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=475DCD66.5080102@rtij.nl \
    --to=m@rtij.nl \
    --cc=netfilter@vger.kernel.org \
    --cc=oscar@linnea.net \
    /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