Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced function packlen with packsize in knx-gateway-info script #2728



Copy link

@f0rw4rd f0rw4rd commented Oct 23, 2023

The function string.packlen does not exist (similar issue #2727).

Used nmap version:

Nmap version 7.94 ( )
Platform: x86_64-pc-linux-gnu
Compiled with: liblua-5.4.6 openssl-3.1.2 libssh2-1.11.0 libz-1.3 libpcre-8.45 libpcap-1.10.4 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: epoll poll select

The fix was tested against a KNX setup:

Nmap scan report for
Host is up, received arp-response (0.00018s latency).
Scanned at 2023-10-23 07:27:03 CEST for 0s

3671/udp open|filtered efcp    no-response
| knx-gateway-info: 
|   Header: 
|     Header length: 6
|     Protocol version: 16
|     Service type: DESCRIPTION_RESPONSE (0x0204)
|     Total length: 82
|   Body: 
|     DIB_DEV_INFO: 
|       Description type: Device Information
|       KNX medium: KNX TP1
|       Device status: 00
|       KNX address: 15.15.15
|       Project installation identifier: 0000
|       Decive serial: 00010052178f
|       Multicast address:
|       Device MAC address: 00:0e:8c:00:b9:d7
|       Device friendly name: IP-Schnittstelle Secure 
|       KNXnet/IP Core version 2
|       KNXnet/IP Device Management version 2
|       KNXnet/IP Tunnelling version 2
|       KNXnet/IP Remote Configuration and Diagnosis version 1
|       12 version 254
|       0 version 1
|       KNXnet/IP Object Server version 0
|       0 version 14
|       140 version 0
|_      185 version 199
MAC Address: 00:0E:8C:00:B9:C7 (Siemens AG)
Final times for host: srtt: 179 rttvar: 5000  to: 100000

The function string.packlen does not exist
@f0rw4rd f0rw4rd force-pushed the f0rw4rd-patch-script-knx-gateway-info branch from c974286 to dca866c Compare October 25, 2023 20:04
Copy link

Committed as r38737. Thank you for contributing to Nmap!

@nmap-bot nmap-bot closed this in 6814bc4 Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants