Skip to content

New UDP probe for DTLS servers#890

Merged
zakird merged 1 commit intozmap:mainfrom
dlenskiSB:add_dtls1.2_UDP_probe
Jul 15, 2024
Merged

New UDP probe for DTLS servers#890
zakird merged 1 commit intozmap:mainfrom
dlenskiSB:add_dtls1.2_UDP_probe

Conversation

@dlenskiSB
Copy link
Contributor

This probe sends a DTLS 1.2 (RFC 6347) ClientHello and solicits a server response, which should be either ServerHello or HelloVerifyRequest. The standard UDP port for DTLS is 443.

Servers that support only DTLS 1.0 should respond as well, although some are buggy and cannot gracefully negotiate a supported version. This includes older Fortinet SSL-VPN servers:
https://gitlab.com/openconnect/openconnect/commit/bfbe33bc081e1015805f6c801a2a116a09bba90e

This probe packet was generated using gnutls-cli v3.7.1 via gnutls-cli --udp --priority 'NORMAL:%NO_EXTENSIONS'. If you want to send a more realistic, or at least less repeated, client random value, then replace the 32 repeating 0xa5 bytes at offset 0x1b with a new random value.

This probe sends a DTLS 1.2 (RFC 6347) ClientHello and solicits a server
response, which should be either ServerHello or HelloVerifyRequest.  The
standard UDP port for DTLS is 443.

Servers that support only DTLS 1.0 should respond as well, although some are
buggy and cannot gracefully negotiate a supported version.
This includes older Fortinet SSL-VPN servers:
https://gitlab.com/openconnect/openconnect/commit/bfbe33bc081e1015805f6c801a2a116a09bba90e

This probe packet was generated using gnutls-cli v3.7.1 via `gnutls-cli
--udp --priority 'NORMAL:%NO_EXTENSIONS'`.  If you want to send a more
realistic, or at least less repeated, client random value, then replace the
32 repeating 0xa5 bytes at offset 0x1b with a new random value.
@zakird zakird merged commit 799a6e2 into zmap:main Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants