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

Not able to get IP(CYW4373 (Type 2BC), STM32L4, ThreadX, and netXduo) #285

Open
uttamsingh-kritikal opened this issue Sep 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@uttamsingh-kritikal
Copy link

uttamsingh-kritikal commented Sep 23, 2024

I am writing to seek assistance regarding issues I am encountering with my project, specifically in connecting to an Access Point using the combination of CYW4373 (Type 2BC), STM32L4, ThreadX(2.0.0), netXduo(6.2.0) and Wi-Fi stack given by Murata.

We're experiencing issues with the DHCP client. We've found workarounds that seems to be effective, but we want to confirm that it's safe to use.

Bug 1/2 Not able to get IP.
Root Cause:
24-byte difference in packet length compared to expected length.
image

Workaround
We've discovered a 24-byte difference, so we added an extra 24 bytes to the NX_IPv4_PACKET length, and this appears to be working.
image

Bug 2/2 Not able to get IP (if DHCP offer packet have extra padding bytes).
24-byte difference in packet length compared to expected length.
Screenshot (10)

Due to the extra padding bytes in the OFFER message, the DHCP client was failing the check and consequently releasing the DHCP offer packet.
image

Workaround
Commented out the length check, and now it’s processing the DHCP packets and successfully obtaining the IP address.

@uttamsingh-kritikal uttamsingh-kritikal added the bug Something isn't working label Sep 23, 2024
@WasifKSPL
Copy link

In this project, v6.2.0 of NetX Duo is being used.

As per NIST, the version 6.2.0 is outdated and vulnerable. We should use 6.3.0 or newer. But in STM32CubeIDE, only version 6.2.0 is available.

https://nvd.nist.gov/vuln/detail/CVE-2023-48692#range-12992536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants