Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "John A. Sullivan III" <john.sullivan@nexusmgmt.com>
To: bassam@palettemm.com
Cc: netfilter@lists.netfilter.org
Subject: Re: What is the protocol number of NETBIOS over IEEE 802.2 ethernet?
Date: Mon, 14 Jun 2004 10:58:17 -0400	[thread overview]
Message-ID: <1087225096.5254.46.camel@localhost> (raw)
In-Reply-To: <000001c451ed$a84bb790$1d01a8c0@palettemm.com>

On Mon, 2004-06-14 at 04:57, Bassam A. Al-Khaffaf wrote:
> Hi Guys,
> 
>    I am trying to DNAT the netbios broadcast traffic
> (03:00:00:00:00:01) over IEEE 802.2 ethernet. So is there any number
> for this protocol so I can use it with my iptables rule?
> 
>  
> 
> Note: I am asking for netbios protocol over IEEE 802.2 ethernet and
> not over Ethernet II
> 
>  
> 
> For example:
> 
>  
> 
> iptables –t nat –A PREROUTING -i eth1 –p netbios –j DNAT
> –to-destination 192.168.1.231
> 
<snip>
NetBIOS generally uses three different protocols:

NetBIOS datagram service - 138 /udp - most data transmission

NetBIOS name service - 137 /udp - probably what you need for
registration

NetBIOS session service - 139 /tcp - I'm not sure what uses session
oriented NetBIOS

As I mentioned in response to your previous post, I generally try to
avoid the use of NetBIOS broadcasts and far prefer a name server
approach on both routed and bridged networks.

-- 
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan@nexusmgmt.com
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net 



      parent reply	other threads:[~2004-06-14 14:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-14  8:57 What is the protocol number of NETBIOS over IEEE 802.2 ethernet? Bassam A. Al-Khaffaf
2004-06-14 14:39 ` Antony Stone
2004-06-14 14:58 ` John A. Sullivan III [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=1087225096.5254.46.camel@localhost \
    --to=john.sullivan@nexusmgmt.com \
    --cc=bassam@palettemm.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