Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Xavier Roche <roche*lkml@httrack.com>
To: netfilter@vger.kernel.org
Subject: Re: Need for a specific source address selection rule ? (not neccessarily netfilter)
Date: Sun, 29 Aug 2010 14:51:29 +0200	[thread overview]
Message-ID: <4C7A57D1.8070702@httrack.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1008291355300.4946@obet.zrqbmnf.qr>

Jan Engelhardt a écrit :
> You are confusing incoming with outgoing connections.

Yes, my mistake.

> correct. For the incoming one you bind to [::]:25, for the outgoing
> one you bind to [2a01::desired]:0. Problem solved.

What would happend for v4 destinations ? Both v4/v6 destinations may 
exist at the same time.

> And somewhere in between is /etc/gai.conf.

Yes, this allows to change the ordering of the rules (RFC 5014 if I am 
correct), but not to add a specific rule depending on various parameters 
(destination, owner, etc.) at all.

  reply	other threads:[~2010-08-29 12:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-29 10:48 Need for a specific source address selection rule ? (not neccessarily netfilter) Xavier Roche
2010-08-29 12:04 ` Jan Engelhardt
2010-08-29 12:51   ` Xavier Roche [this message]
2010-08-29 13:41     ` Jan Engelhardt
2010-08-29 13:51       ` Xavier Roche
2010-08-29 15:00         ` Jan Engelhardt
2010-08-29 14:22       ` Xavier Roche
2010-08-29 15:44         ` Pascal Hambourg
2010-09-03 17:36           ` Xavier Roche
2010-09-03 17:42             ` Jan Engelhardt
2010-09-03 18:34               ` Xavier Roche
2010-09-03 20:38                 ` Jan Engelhardt
2010-09-03 20:43                   ` Xavier Roche
2010-09-03 20:52                     ` Jan Engelhardt

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=4C7A57D1.8070702@httrack.com \
    --to=roche*lkml@httrack.com \
    --cc=netfilter@vger.kernel.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