All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rafa Garrido <rgarrido.l@gmail.com>
To: Netfilter users list <netfilter@lists.netfilter.org>
Subject: Re: NetBIOS dgm NAT Helper
Date: Sat, 17 Sep 2005 14:01:14 +0200	[thread overview]
Message-ID: <2b8e199705091705018859db1@mail.gmail.com> (raw)
In-Reply-To: <1126923668.6687.25.camel@localhost>

On 9/17/05, John A. Sullivan III <jsullivan@opensourcedevel.com> wrote:
> Thank you but I don't think this helps.  It looks like it is for the
> name service rather than the datagram service.  I would think such a
> help would need to rewrite the embedded IP in the NetBIOS header and
> recalculate any checksumming - John

Sorry, have you tested this module?
http://suif.stanford.edu/~csapuntz/ip_nat_netbios.c
The only thing is that this module don't consider if it is a NetBios
package or no, assumes that if it comes from udp-port 138 is a NetBios
package.


> 
> On Sat, 2005-09-17 at 02:53 +0200, Rafa Garrido wrote:
> > It can that this patch of the last week help you:
> > http://patchwork.netfilter.org/netfilter-devel/patch.pl?id=2859
> > It will be necessary to hope to that stable kernel appears.
> > Greetings.
> >
> >
> > On 9/16/05, John A. Sullivan III <jsullivan@opensourcedevel.com> wrote:
> > > We have encountered an unusual situation where NetBIOS datagram packets
> > > (138/udp) are being passed through an IPSec tunnel on an iptables
> > > firewall but they are also being NATted by the same firewall.  It
> > > appears there is IP information embedded in the NetBIOS header.  Thus
> > > NAT causes this protocol to break because the reply packets are sent to
> > > the original IP address in the NetBIOS header rather than the NAT IP
> > > address in the IP header.
> > >
> > > I believe Cisco does have a NAT helper for NetBIOS but I have not seen
> > > anything for iptables.  Is there such a helper? Is there anyway for an
> > > iptables firewall to NAT NetBIOS datagram packets? Thanks - John
> > > --
> > > John A. Sullivan III
> > > Open Source Development Corporation
> > > +1 207-985-7880
> > > jsullivan@opensourcedevel.com
> > >
> > > If you would like to participate in the development of an open source
> > > enterprise class network security management system, please visit
> > > http://iscs.sourceforge.net
> > >
> > >
> > >
> >
> --
> John A. Sullivan III
> Open Source Development Corporation
> +1 207-985-7880
> jsullivan@opensourcedevel.com
> 
> Financially sustainable open source development
> http://www.opensourcedevel.com
> 
>


  reply	other threads:[~2005-09-17 12:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-16 18:38 NetBIOS dgm NAT Helper John A. Sullivan III
2005-09-17  0:53 ` Rafa Garrido
2005-09-17  2:21   ` John A. Sullivan III
2005-09-17 12:01     ` Rafa Garrido [this message]
2005-09-17 16:21       ` John A. Sullivan III
2005-09-17 20:15         ` Rafa Garrido

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=2b8e199705091705018859db1@mail.gmail.com \
    --to=rgarrido.l@gmail.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.