home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / protocol / tcpip / ibmpc / 4836 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!FTP.COM!jbvb
  2. From: jbvb@FTP.COM ("James B. Van Bokkelen")
  3. Newsgroups: comp.protocols.tcp-ip.ibmpc
  4. Subject: Re: netbios name resolving
  5. Message-ID: <9208211948.AA19966@ftp.com>
  6. Date: 21 Aug 92 19:48:22 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Reply-To: jbvb@ftp.com
  9. Organization: The Internet
  10. Lines: 17
  11.  
  12.  
  13.     I've read the netbios RFCS (10?? whatever I can't remember the 2 numbers
  14.     for the 2 rfcs), and 883 for domain name representation.
  15.     There is mention of compression, but I can't figure out the the method.
  16.  
  17. Netbios name encoding works like this: You take the 16-byte binary
  18. Netbios name, and divide it into 32 4-bit 'nibbles'.  You then take a
  19. string of 32 'A's, and add each 'nibble' in turn to the corresponding
  20. 'A'.  Append the 'scope' the Netbios was started with, create a
  21. DNS-format packet with a special opcode and send it out over UDP port
  22. 137 (instead of 53 as used by regular DNS).  The only thing that
  23. counts as "compression" is that if the same string appears in several
  24. fields in the packet you can replace all but one of them with a
  25. pointer to the single copy of the actual string.
  26.  
  27. James B. VanBokkelen        26 Princess St., Wakefield, MA  01880
  28. FTP Software Inc.        voice: (617) 246-0900  fax: (617) 246-0901
  29.