On Sun, Oct 17, 1999 at 05:53:52PM +0100, Alan Sobey wrote:
> Hi all,
>> I've a linux box acting as a router (to the internet, via ppp), ipmasqing a
> few windows machines. The linux box is configured to disconnect after 10
> min idle time. Either due to the linux box running samba, or the windows
> boxes, netbios requests are broadcast on udp port 50 every 5 minutes as
> shown below, with 4 packets each, thus preventing a timeout.
>> e.g. From tcpdump:
> 23:25:05.733254 159.134.218.154.netbios-ns > 255.255.255.255.netbios-ns: udp
> 50
[...snip...]
>> 1) Why port 50, shouldn't it be one of netbios udp ports 137-139 as listed
> in /etc/services? If this is a case of RTFM, just say so, good pointers are
> appreciated.
That '50' at the end is the length of the packet, not the port.
(I can't remember if this includes the UDP headers or not.)
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!