Skip to content

TLS client gives non-compliant if endpoint cannot be reached #317

Closed

Description

@jboddey

Describe the bug
The TLS client test returns a non-compliant result if the device attempts to reach a device securely on port 443 but the device is not reachable. This is because no TLS handshake can occur, and only outbound tcp packets are seen.

To Reproduce
Steps to reproduce the behavior:

  1. Configure device to communicate with a fake external web service on port 443
  2. Run TLS module

Expected behavior
The test module should check if the outbound connection was successful

Error logs
If applicable, provide a log from https://gist.github.com/
image

Activity

  1. added
    test
    on Mar 7, 2024
  2. jhughesoti commented on Mar 7, 2024

    @jhughesoti
    Contributor

    I can't confirm the issue based on that capture file. Even if a handshake wasn't completed, it would still have a client hello packet somewhere if it was a TLS connection. Port 443 alone doesn't mean anything, it's just a default port. Is this scenario described, how was the device setup to make a TLS connection to this fake server?

  3. jboddey commented on Mar 19, 2024

    @jboddey
    ContributorAuthor

    The protocol found was LON/IP. The TLS module only check for connections to the devices subnet locally which is why it has received a non-compliant.

  4. jboddey commented on Mar 26, 2024

    @jboddey
    ContributorAuthor

    This has been resolved in dev. Will be released in v1.2 next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

test

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions