LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2003, 10:55 AM   #1
_LR_
LQ Newbie
 
Registered: Mar 2002
Posts: 15

Rep: Reputation: 0
Question Should I be worried about the NBNS broadcasts


Hi!

Are these packets something to be worried about or should i just ignore them?

I know my fw blocks these packages because it sends back a icmp
destination and port unreachable.
Last time i got hacked i know I saw a lot of these packages so i get a bad feeling everytime i see these incoming packets but im not even sure if it has something to do with it.
I get about 1 of these messages from different hosts in a minute for some hours now.


I have a windows box connected to this one which i use masquerading on.

Linux cooked capture
Packet type: Unicast to us (0)
Link-layer address type: 1
Link-layer address length: 6
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..0. = ECN-Capable Transport (ECT): 0
.... ...0 = ECN-CE: 0
Total Length: 78
Identification: 0x7f8e
Flags: 0x00
.0.. = Don't fragment: Not set
..0. = More fragments: Not set
Fragment offset: 0
Time to live: 109
Protocol: UDP (0x11)
Header checksum: 0xc51e (correct)
Source: xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)
Destination: my.linux.box ip (my.linux.box ip)
User Datagram Protocol, Src Port: 12057 (12057), Dst Port: netbios-ns (137)
Source port: 12057 (12057)
Destination port: netbios-ns (137)
Length: 58
Checksum: 0x87d2 (correct)
NetBIOS Name Service
Transaction ID: 0x00ca
Flags: 0x0010 (Name query)
0... .... .... .... = Response: Message is a query
.000 0... .... .... = Opcode: Name query (0)
.... ..0. .... .... = Truncated: Message is not truncated
.... ...0 .... .... = Recursion desired: Don't do query recursively
.... .... ...1 .... = Broadcast: Broadcast packet
Questions: 1
Answer RRs: 0
Authority RRs: 0
Additional RRs: 0
Queries
*<00><00><00><00><00><00><00><00><00><00><00><00><00><00><00>: type NBSTAT, class inet
Name: *<00><00><00><00><00><00><00><00><00><00><00><00><00><00><00> (Workstation/Redirector)
Type: NBSTAT
Class: inet

Thanks in advance
LR
 
Old 04-02-2003, 02:01 PM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
These broadcasts are very typical in a Windows environment. Each machine is broadcasting to eachother in order to keep the 'Network Neighborhood' listing up to date. According to Microsoft, if you are using all Windows 2000 and above machines on your network (Samba 2.x does not constitute 'Windows 2000 and above', Samba 3 will but is in beta) then you can disable netbios altogether and use DNS.
 
Old 04-04-2003, 04:52 PM   #3
_LR_
LQ Newbie
 
Registered: Mar 2002
Posts: 15

Original Poster
Rep: Reputation: 0
ok the only reason I started to wonder is that i know these are used inside my network but didnt know that they can send such packets to my lan from outside

sorry if it took a while for me to answer but thanks for the help i will disable netbios asap.
 
Old 05-21-2003, 09:25 PM   #4
how
LQ Newbie
 
Registered: May 2003
Posts: 6

Rep: Reputation: 0
I am keep getting NBNS to my linux machine every second.
How do I stop it from NBNS query me? it is anoying once I found out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problen with broadcasts in OpenVPN/bridging ValidiusMaximus Linux - Software 0 06-11-2005 08:08 AM
iptables vs. Samba - NBNS response blocked? haertig Fedora 10 12-17-2004 10:39 PM
broadcasts on a home lan using an internal firewall; this is probably impossible lezek Linux - Networking 2 03-22-2004 08:13 AM
Snort only sees broadcasts jymbo Linux - Security 4 10-01-2003 07:00 PM
Tools to record internet radio broadcasts HwzrHlslndr Linux - Software 6 09-17-2003 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration