All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: Bizarre rule requirement
Date: Fri, 31 Dec 2004 17:51:38 -0500	[thread overview]
Message-ID: <20041231225138.GA8193@bender.817west.com> (raw)
In-Reply-To: <41D5D62D.5060906@starnetworks.us>

On Fri, Dec 31, 2004 at 03:43:57PM -0700, Kevin P. Fleming wrote:
> 1) You are forwarding all inbound UDP traffic to a single device. My 
> example was simplified; the final application for this technique could 
> have tens of phones behind the NAT, each needing to work this way. 
> That's why I phrased my original request the way I did; it was 
> predicated on learning the outbound port number and other bits related 
> to a specific "connection" (even though this is UDP) and basing the 
> inbound rules on those details.
> 
> 2) You assume that the port number assigned when the phone sends out its 
> first UDP packet (from port 4000) by the NAT will also be 4000... it 
> very well may not be, if that port is already in use on the public side 
> of the NAT for another user. In that case, the FORWARD rule can't work, 
> because it doesn't know what port number the conntrack code assigned for 
> this specific connection (and it could be different for the next 
> connection).

i didn't assume anything, i proposed a broad-sword-hack-work-around
that met the requirements of the simplified scenario you presented.
say what you mean and mean you say.

now that we know the real situation/requirements--maybe someone else can
be of more use; as i have no experience with netfilter+VoIP--just
commercial firewalls (which magically work as a side-effect of their
hefty price tags).

l8er.

-j


      reply	other threads:[~2004-12-31 22:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-31 19:29 Bizarre rule requirement Kevin P. Fleming
2004-12-31 19:54 ` Jason Opperisano
2004-12-31 20:05   ` Kevin P. Fleming
2004-12-31 20:40     ` Jason Opperisano
2004-12-31 22:43       ` Kevin P. Fleming
2004-12-31 22:51         ` Jason Opperisano [this message]

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=20041231225138.GA8193@bender.817west.com \
    --to=opie@817west.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 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.