* What is the protocol number of NETBIOS over IEEE 802.2 ethernet?
@ 2004-06-14 8:57 Bassam A. Al-Khaffaf
2004-06-14 14:39 ` Antony Stone
2004-06-14 14:58 ` John A. Sullivan III
0 siblings, 2 replies; 3+ messages in thread
From: Bassam A. Al-Khaffaf @ 2004-06-14 8:57 UTC (permalink / raw)
To: netfilter
[-- Attachment #1: Type: text/plain, Size: 606 bytes --]
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
Thanks for your help
Bassam
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003
[-- Attachment #2: Type: text/html, Size: 6765 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What is the protocol number of NETBIOS over IEEE 802.2 ethernet?
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
1 sibling, 0 replies; 3+ messages in thread
From: Antony Stone @ 2004-06-14 14:39 UTC (permalink / raw)
To: netfilter
On Monday 14 June 2004 9:57 am, 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?
IPtables means IP tables :) If you're not using IP (over ethernet, or
anything else as a transport medium), then you can't use IPtables to filter
it.
Maybe you need to look at EBtables (Ethernet Bridge filtering)
http://ebtables.sourceforge.net ?
Regards,
Antony.
--
"Black holes are where God divided by zero."
- Steven Wright
Please reply to the list;
please don't CC me.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: What is the protocol number of NETBIOS over IEEE 802.2 ethernet?
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
1 sibling, 0 replies; 3+ messages in thread
From: John A. Sullivan III @ 2004-06-14 14:58 UTC (permalink / raw)
To: bassam; +Cc: netfilter
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-14 14:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox