'마스터 브라우저'에 해당되는 글 1건

  1. 2009.11.02 마스터 브라우저 판별하기(recognize master browser) 2
제목이 조금 낚시인가?
윈도우에서 net view 라고 명령창에서 치면 현재 사용가능한 네트워크 목록이 나오는데
특정 호스트를 nbtstat -a [hostname] 으로 하면 목록이 나오는데,
거기에 <1D> 라는 녀석이 있는게 (로컬) 마스터 브라우저이다.

C:\>nbtstat -a localhost

로컬 영역 연결:
Node IpAddress: [192.168.10.96] Scope Id: []

           NetBIOS Remote Machine Name Table

       Name               Type         Status
    ---------------------------------------------
    LOCALHOST      <00>  UNIQUE      Registered
    LOCALHOST      <03>  UNIQUE      Registered
    LOCALHOST      <20>  UNIQUE      Registered
    WORKGROUP      <1E>  GROUP       Registered
    WORKGROUP      <00>  GROUP       Registered

    MAC Address = 00-00-00-00-00-00


workgroup
or
nt_domain
<1B> unique Domain Master Browser
This name identifies the Domain Master Browser (DMB).

A Samba server can behave as a DMB without also being a Primary Domain Controller (PDC). The existence of a PDC promotes the Workgroup to NT Domain status, in which case we write nt_domain<1B> instead of workgroup<1B>. If there is a PDC, it must provide the DMB service for the NT Domain.

Domain Controllers (both Primary and Backup) register the nt_domain<1C> Internet Group name. Registration of the nt_domain<1B> name effectively distinguishes the PDC from all of the other DCs in the domain. The NBNS will ensure that the IP address of the (unique) <1B> name is the first in the list of IP addresses

nt_domain <1C> Internet group Domain Controller
Every domain controller in the NT Domain will register this group name. The NBNS (WINS server) is expected to store all of the IP addresses associated with the name, though it will report at most 25 IP addresses in a NAME QUERY RESPONSE.

The first entry in the list should be the IP address of the Primary Domain Controller (PDC). The rest of the IPs are ordered most recent first. This is atypical handling for group names under WINS. WINS (and, therefore, any NBNS which is WINS-compatible) will usually report only the limited broadcast address (255.255.255.255) when queried for a group name.

workgroup <1D> LAN unique Local Master Browser
This name identifies the Local Master Browser (LMB, sometimes called simply "Master Browser") for a subnet. WINS servers (and any NBNS which is WINS-compatible) will accept registration for <1D> unique names, but when queried will always reply with a NEGATIVE NAME QUERY RESPONSE. As a result, the LMB name is unique within its local subnet only.
workgroup <1E> group Browser Election Service
Every node that is capable of acting as a browser registers this group name so that it can listen for election announcements.
\x01\x02__MSBROWSE__\x02 <01> group Local Master Browser
This group name is registered by all Local Master Browsers (LMBs). It allows LMBs on a local LAN to find one another in order to exchange Browse Lists. This is how Browse Lists for multiple Workgroups and/or NT Domains are combined.


[링크 : http://www.antionline.com/showthread.php?t=247089]
[링크 : http://ubiqx.org/cifs/Appendix-C.html]
Posted by 구차니