LogoopenSUSE Build Service > Projects
Sign Up | Log In

perl-Net-NBName

Net::NBName is a class that allows you to perform simple NetBIOS Name
Service Requests in your Perl code. It performs these NetBIOS operations
over TCP/IP using Perl's built-in socket support.

I've currently implemented two NBNS requests: the node status request and
the name query request.

* NetBIOS Node Status Request

  This allows you to determine the registered NetBIOS names for a specified
  remote host.

  The decoded response is returned as a 'Net::NBName::NodeStatus' object.

      querying 192.168.0.10 for node status...
      SPARK          <20> UNIQUE M-node Registered Active
      SPARK          <00> UNIQUE M-node Registered Active
      PLAYGROUND     <00> GROUP  M-node Registered Active
      PLAYGROUND     <1C> GROUP  M-node Registered Active
      PLAYGROUND     <1B> UNIQUE M-node Registered Active
      PLAYGROUND     <1E> GROUP  M-node Registered Active
      SPARK          <03> UNIQUE M-node Registered Active
      PLAYGROUND     <1D> UNIQUE M-node Registered Active
      ..__MSBROWSE__.<01> GROUP  M-node Registered Active
      MAC Address = 00-1C-2B-3A-49-58

* NetBIOS Name Query Request

  This allows you to resolve a name to an IP address using NetBIOS Name
  Resolution. These requests can either be unicast (e.g. if you are
  querying an NBNS server) or broadcast on the local subnet.

  In either case, the decoded response is returned as an
  'Net::NBName::NameQuery' object.

      querying 192.168.0.10 for playground<00>...
      255.255.255.255 GROUP  B-node
      ttl = 0 (default is 300000)
      RA set, this was an NBNS server

      broadcasting for playground<1C>...
      192.168.0.10    GROUP  B-node
      ttl = 0 (default is 300000)
      RA set, this was an NBNS server

      broadcasting for spark<20>...
      192.168.0.10    UNIQUE H-node
      ttl = 0 (default is 300000)
      RA set, this was an NBNS server

Source Files

Filename Size Changed Actions
Net-NBName-0.26.tar.gz 8.98 KB over 10 years ago Download File
perl-Net-NBName.spec 3.65 KB about 2 years ago Download File

Comments for home:univest:stable (0)