Nmap Development mailing list archives

[NSE] Update to bacnet-info


From: Stephen Hilt <hilt () digitalbond com>
Date: Wed, 13 Aug 2014 12:11:40 -0400

Hello All,

Based off a merge request, we have updated the bacnet-info (or as we still
call it on github BACNet-discover-enumerate). Please consider this as an
update, and incorporate into the existing version if you see it fit. in
summary, two new queries to pull the information about the BBMD as well as
the FDT.

BACnet Broadcast Management Device (BBMD) is functionality within a BACnet
router to allow it to manage connectivity to other BACnet hosts on
disparate subnets via UDP Unicast messaging (many-to-many communication).
 Entries in a BBMD table will receive unicast copies of all local
broadcasts seen on a BACnet/IP network. To facilitate this, all routers
serving a specific group of hosts will be pre-programmed with a common BBMD
table.  Two (or more) hosts that have each other in their BBMD table have a
clear relationship since they are managed as one BACnet broadcast network
so all devices behind each BBMD can communicate via traditional BACnet
WHO-IS/I-AM.

Foreign Device Registration (FDR) is functionality within a BACnet router
to allow it to perform UDP Unicast messaging with one specific other device
on a disparate subnet (one-to one communication).  To facilitate this, the
Foreign Device submits its IP and other details to the BACnet router, and
all messaging that would be managed as a local broadcast by the router is
then shared with the Foreign Device, and the Foreign Device uses the router
as a destination for all messages it would normally broadcast.  Entries in
the Foreign Device Table (FDT) on the router have a clear relationship with
the BACnet broadcast network that the router is attached to.

The Script will now pull the BBMD and FDT from the devices via a simple
query. This does not change the state of the BACnet device. Also
implemented a script arg so that the original script can still be ran as it
was before this merge request.

https://github.com/digitalbond/Redpoint/blob/master/BACnet-discover-enumerate.nse
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: