Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: netfilter@lists.netfilter.org
Subject: Re: Fairly complex multi-ISP firewall/router problem
Date: Fri, 02 Apr 2004 22:31:41 -0500	[thread overview]
Message-ID: <406E301D.5050400@tmr.com> (raw)
In-Reply-To: <7C9884991ADAE0479C14F10C858BCDF5122F3B@alderaan.smgtec.com>

Daniel Chemko wrote:
> Antony Stone wrote:
> 
>>On Friday 02 April 2004 10:36 pm, John A. Sullivan III wrote:
>>
>>
>>>On Fri, 2004-04-02 at 15:57, Bill Davidsen wrote:
>>>
>>>>All I want to do is send packets out the interface which matches the
>>>>source IP, and I don't think there's any reasonable way to get there
>>>>without patches or BSD.
>>>
>>>Hmmm . . . I admit to not having tried this and only giving it five
>>>minute's thought but I'm not sure I see the problem.  Well, I see why
>>>one can't be guaranteed to send the packet out the same interface but
>>>I'm not sure why that is a problem.
>>
>>Some ISPs block packets with source addresses not matching their own
>>network range, as a contribution to blocking spoofed packets.
> 
> 
> This is a very real issue, especially when they're only consumer grade.
> 
> What I've used to fix the problem is to use the CONNMARK extension on
> the PREROUTING step of mangle. Here, I can set the appropriate routes
> and everything that uses CONNMARK will work fine.

Awesome! I have to read this for a bit and refresh my understanding of 
CONNMARK before I try it, but this may solve the whole problem.

Totally impressive technical part snipped for brevity but saved and printed!

-- 
bill davidsen <davidsen@tmr.com>
   CTO TMR Associates, Inc
   Doing interesting things with small computers since 1979


  reply	other threads:[~2004-04-03  3:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-02 23:45 Fairly complex multi-ISP firewall/router problem Daniel Chemko
2004-04-03  3:31 ` Bill Davidsen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-02 20:57 Bill Davidsen
2004-04-02 21:06 ` Antony Stone
2004-04-03  3:24   ` Bill Davidsen
2004-04-02 21:32 ` Cedric Blancher
2004-04-02 21:36 ` John A. Sullivan III
2004-04-02 21:50   ` Antony Stone
2004-04-02 22:07     ` Joe Thompson
2004-04-03  3:17       ` Bill Davidsen
2004-04-13  9:29 ` Tarek W.

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=406E301D.5050400@tmr.com \
    --to=davidsen@tmr.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