All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicholas Couchman <nick.couchman@yahoo.com>
To: Gerardo Fernandez <gfhgfh@gmail.com>, netfilter@vger.kernel.org
Subject: Re: Windows/NetBIOS & SNAT
Date: Tue, 8 Sep 2009 17:54:42 -0700 (PDT)	[thread overview]
Message-ID: <235149.15070.qm@web33406.mail.mud.yahoo.com> (raw)
In-Reply-To: <8ed551510909061501v5a2812d0sd46efd3a5ec07904@mail.gmail.com>

-Sigh- Well, Microsoft has done it, again.  I think I've finally located the problem, and the solution is going to be a bit more difficult - maybe impossible - for SNAT to handle (I think).  I was doing some packet sniffing and noticed that I was not getting any attempts to reply to messages sent on port 138 for my machines by my NAT router.  I started looking into the packets, and, guess what?  On NetBIOS datagram packets (port 138), Microsoft has decided to embed the IP address of the original requesting machine in the packet, rather than just using the information already on the IP header.  I'm guessing they did this to try to make an already unsecure protocol a bit more secure, but it is defeating the SNAT'ing I'm trying to do on my network.  In looking at the packet in Wireshark, the 
 "NetBIOS Datagram Service" portion of the packet has Source IP and Source Port fields.  So, in addition to standard NAT'ing, I'm going to have to "mangle" these fields
 in the packet, too.  I'm not even sure that's possible, even in a connection tracking helper module - any hints would be greatly appreciated.

-Nick


  reply	other threads:[~2009-09-09  0:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03 23:28 Windows/NetBIOS & SNAT Nicholas Couchman
2009-09-06 22:01 ` Gerardo Fernandez
2009-09-09  0:54   ` Nicholas Couchman [this message]
2009-09-09  8:05     ` Mart Frauenlob
2009-09-09 12:08       ` Nicholas Couchman
2009-09-09 14:21         ` Pascal Hambourg
2009-09-08 10:14 ` Mart Frauenlob
2009-09-08 23:50   ` Nicholas Couchman
2009-09-09 14:16     ` Pascal Hambourg
2009-09-09 14:35       ` Nicholas Couchman
2009-09-09 15:45         ` Pascal Hambourg

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=235149.15070.qm@web33406.mail.mud.yahoo.com \
    --to=nick.couchman@yahoo.com \
    --cc=gfhgfh@gmail.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 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.