Script knx-gateway-discover

Script types: prerule
Categories: discovery, safe, broadcast
Download: https://svn.nmap.org/nmap/scripts/knx-gateway-discover.nse

Script Summary

Discovers KNX gateways by sending a KNX Search Request to the multicast address 224.0.23.12 including a UDP payload with destination port 3671. KNX gateways will respond with a KNX Search Response including various information about the gateway, such as KNX address and supported services.

Further information: * DIN EN 13321-2 * http://www.knx.org/

Script Arguments

timeout

Max time to wait for a response. (default 3s)

max-newtargets, newtargets

See the documentation for the target library.

Example Usage

nmap --script knx-gateway-discover -e eth0

Script Output

Pre-scan script results:
| knx-gateway-discover:
|   192.168.178.11:
|     Body:
|       HPAI:
|         Port: 3671
|       DIB_DEV_INFO:
|         KNX address: 15.15.255
|         Decive serial: 00ef2650065c
|         Multicast address: 0.0.0.0
|         Device MAC address: 00:05:26:50:06:5c
|         Device friendly name: IP-Viewer
|       DIB_SUPP_SVC_FAMILIES:
|         KNXnet/IP Core version 1
|         KNXnet/IP Device Management version 1
|         KNXnet/IP Tunnelling version 1
|_        KNXnet/IP Object Server version 1

Requires


Authors:

  • Niklaus Schiess <nschiess@ernw.de>
  • Dominik Schneider <dschneider@ernw.de>

License: Same as Nmap--See https://nmap.org/book/man-legal.html

prerule

prerule (host, port)

Parameters

host
 
port
 

Usage:

nmap --script knx-gateway-discover -e eth0