Net::N...tus::RR(3pm)

πŸ“¦
version 0.26 Β· 5 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

Net::NBName::NodeStatus::RR β€” the NetBIOS Node Status Response Resource Record, bestie. It's a whole module. Periodt.

✨ DESCRIPTION ✨

okay so picture this: you hit up a NetBIOS node and ask for its status, right? And back comes a big ol' pile of info β€” and this little icon is the part that represents one name table entry returned as part of a NetBIOS node status response. πŸŽ€

That's it. That's the whole vibe. Each RR object is one row of the name table and it's obsessed with telling you about itself.

🌸 METHODS 🌸

  • $rr->name β€” returns the registered name. It's a string, and it's up to 15 characters long, no more. πŸ’…
  • $rr->suffix β€” the suffix of the registered name, which is literally just the 16th character of the registered name. iconic behavior tbh.

Some common suffixes include:

0x00 Redirector
0x00 Domain (Group)
0x03 Messenger
0x1B Domain Master Browser
0x1C Domain Controllers (Special Group)
0x1D Master Browser
0x1E Browser Elections (Group)
0x20 Server
  • $rr->G β€” the Group flag, bb. It tells you whether the name is a unique name or a group name, and it comes back as a string: either "UNIQUE" or "GROUP". No in-between, no situationships. πŸ™ˆ

For example, the following name types are UNIQUE:

0x00 Redirector
0x03 Messenger
0x1B Domain Master Browser
0x1D Master Browser
0x20 Server

And the following name types are GROUP:

0x00 Domain (Group)
0x1C Domain Controllers (Special Group)
0x1E Browser Elections (Group)
  • $rr->ONT β€” the Owner Node Type flag πŸ‘‘. It tells you if the systems are B, P, H, or M-node. It will be returned as a string.
  • $rr->DRG β€” the Deregistering flag. If the name is not currently registered, you get "Deregistering" back. it's giving ghosted 😭
  • $rr->ACT β€” the Active flag.
  • $rr->CNF β€” the Conflict flag.
  • $rr->PRM β€” the Permanent flag.
  • $rr->as_string β€” returns the object's string representation. the glow-up version. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

  • Net::NBName
  • Net::NBName::NodeStatus

go read those too, they're the rest of the friend group fr fr.

Copyright (c) 2002, 2003, 2004 James Macfarlane. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


okay that's the whole page, you ate that reading it πŸ’… this one's from perl v5.36.0, dated 2022-10-15 β€” shoutout to the docs, slay, bye bestie 🫢🌈

πŸ“¦ where this page comes from