summaryrefslogtreecommitdiff
path: root/source4/nbt_server/interfaces.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5212: added checking for receiving our own packets as broadcastsAndrew Tridgell1-0/+6
(This used to be commit 290dbd8cdcfa6a897647768dcbbd03f22fc7cf36)
2007-10-10r5211: added broadcast name defense against both registration and refreshAndrew Tridgell1-0/+13
requests (This used to be commit 9eafe2cacaef64384febe6bb0938294f7c1ee6bf)
2007-10-10r5210: changed server side nbt functions to be prefixed with nbtd_ instead ofAndrew Tridgell1-20/+21
nbt_, so as to more clearly separate them from the client code in libcli/nbt/ (This used to be commit b07a7e35f26204055a99abf72438b5cd7ec35d3b)
2007-10-10r5196: fixed sily bug (that metze found)Andrew Tridgell1-1/+1
(This used to be commit 180f29f9e05e75e8ed32d010bc0c57a55ea9d843)
2007-10-10r5172: actually bind to the right address for the wildcard interface ....Andrew Tridgell1-2/+4
(This used to be commit 7720d247fed3343a5bf39b2eedf34604f9203a37)
2007-10-10r5171: added support for "bind interfaces only" in nbtd. The solution was toAndrew Tridgell1-57/+68
bind twice on each interface, once using the broadcast address and once using the specific IP. We then only listen on the wildcard address if we don't have "bind interface only" set. This also happens to simplify the code that finds the right interface for an incoming request. (This used to be commit b3edf17281c5d82abb40dab817bf2de43f9f6c3f)
2007-10-10r5114: the nbtd task can now act as a basic B-node server. It registers itsAndrew Tridgell1-9/+88
names on the network and answers name queries. Lots of details are still missing, but at least this now means you don't need a Samba3 nmbd to use Samba4. missing pieces include: - name registrations should be "shout 3 times, then demand" - no WINS server yet - no master browser code (This used to be commit d7d31fdc6670f026f96b50e51a4de19f0b920e5b)
2007-10-10r5108: the beginnings of a nbtd server for Samba4. Currently just displaysAndrew Tridgell1-0/+88
the packets it receives, but it at least shows how the server structure will work. To implement it I extended the libcli/nbt/ library to allow for an incoming packet handler to be registered. That allows the nbt client library to be used for low level processing of the nbtd server packets. Other changes: - made the socket library always set SO_REUSEADDR when binding to an interface, to ensure that restarts of a server don't have to wait for a couple of minutes. - made the nbt port configurable. Defaults to 137, but other ports will be useful for testing. (This used to be commit 2fedca6adfd4df9e85cc86896dfa79630777a917)