Abhik Roy
e1951e6f35
docs(lwip): clarify DNS_MAX_HOST_IP range and addr_cnt in Kconfig
2026-07-28 22:05:58 +10:00
David Cermak
defaa2f559
fix(lwip): tcp/ooseq: do not accept empty fin seg (+ other fixes)
...
* Update submodule: git log --oneline 20f8b073..c6f2f878
- test(lwip): add DHCP MTU validation unit test (espressif/esp-lwip@c6f2f878e )
- ppp: fix potential oob read in VJ decompression (espressif/esp-lwip@2ff439e61 )
- ip6-frag: Fix incorrect memcpy size to the actual struct (espressif/esp-lwip@91ad363ba )
- tcp/ooseq: do not accept empty fin seg (espressif/esp-lwip@fe4fb18c1 )
- Address review comments (espressif/esp-lwip@9d2d80412 )
- nd6: add static neighbor cache entry support (espressif/esp-lwip@a05a5cf3b )
- dns: add addr_cnt to DNS resolution to fix multi-IP buffer overflow (espressif/esp-lwip@6233a1561 )
- ci: Add jira sync github workflows (espressif/esp-lwip@a4e2409d0 )
2026-07-13 17:02:40 +02:00
David Cermak
c89a6389ed
fix(lwip): Adds nullchecks after DHCP server alloc'd pools
2026-07-09 16:04:54 +02:00
David Cermak
c8c3a30ec7
fix(lwip): reject invalid DHCP MTU option values
...
Validate MTU from DHCP option 26 against RFC 2132 minimum (68 bytes)
before applying to netif->mtu, preventing rogue DHCP servers from
setting MTU to 0 or other dangerously low values that cause integer
wraparound in IPv4 fragmentation.
2026-07-09 16:04:53 +02:00
David Cermak
9c0809ef21
feat(lwip): Migrate lwip to mbedtls PSA API
...
Update submodule: git log --oneline fd432e4e..20f8b073
- feat(lwip): migrate to to PSA API interface (espressif/esp-lwip@20f8b0739 )
- test: Fix multiple defs of util vars (espressif/esp-lwip@e9b8482e7 )
- ci: Add support for building tests/apps with both gcc and clang (espressif/esp-lwip@2a14051bf )
- try to fix unit test compiling with clang (espressif/esp-lwip@6933a63cb )
- apps/snmp: Remove @retval tags on void methods (espressif/esp-lwip@b6209dcf8 )
- snmp: Mention struct field removal in UPGRADING (espressif/esp-lwip@6659cf1f2 )
- snmp: remove unused prev field from snmp_varbind (espressif/esp-lwip@f32188001 )
- snmp: remove handling of varbind->prev because it is never used (espressif/esp-lwip@46660d5cf )
- snmp: fix dangling pointer in snmp_traps (espressif/esp-lwip@0e3e97f8d )
2026-06-29 16:12:53 +02:00
wangtao@espressif.com
29c12958cf
feat(lwip): dhcp server add support for dhcp inform
2026-05-11 12:01:00 +08:00
David Cermak
315e3361c9
fix(lwip): Fix DHCP server potentially incomplete pbuf copy
...
handle_dhcp: use pbuf_copy_partial for safe chain traversal
The manual two-segment copy loop was replaced with a single call
to pbuf_copy_partial(p, p_dhcps_msg, tlen, 0), which correctly
walks the entire pbuf chain regardless of segmentation.
A return-value check rejects truncated copies.
2026-05-07 09:42:03 +02:00
David Cermak
c8417aca03
fix(lwip): Remove test-only Kconfig options
2026-05-07 09:41:50 +02:00
David Cermak
2321511592
fix(lwip): Trim to max packet size in dhcp server
2026-05-07 07:34:19 +02:00
David Cermak
fd578fd210
fix(lwip): Add pytest to lwip
2026-04-28 17:00:13 +02:00
David Cermak
d70f6a43be
fix(lwip): Add unit test for dhcps opt parsing
2026-04-28 17:00:13 +02:00
David Cermak
fba5f99543
fix(lwip): Fix DHCP servver OOB read issue
2026-04-28 17:00:13 +02:00
David Cermak
1019cb7c19
fix(lwip): Allocate signals/mboxes once to reduce heap frag
2026-04-22 21:05:54 +08:00
Tomáš Rohlínek
ece7bf6af6
feat(storage/vfs): Remove usage of context less VFS APIs
2026-03-23 19:50:28 +01:00
Evgeny Torbin
0070b687b5
ci: remove unused test cases
2026-03-12 12:34:23 +01:00
Tomáš Rohlínek
e3cb10835c
feat(storage/vfs): Make lwip specific API private
2025-12-17 14:00:22 +01:00
Tomáš Rohlínek
1bf8b030e3
feat(storage/vfs): Remove old API usage
2025-12-17 14:00:22 +01:00
Alexey Lapshin
ad7f4b9670
feat(esp_libc): make picolibc default libc
2025-12-06 00:08:35 +07:00
Mahavir Jain
2206242fc8
fix(lwip): allow task stack from SPIRAM except for ESP32 ECO2 and below
...
Closes https://github.com/espressif/esp-idf/issues/17827
2025-11-13 09:41:45 +05:30
David Čermák
4a59e94b4e
Merge branch 'fix/lwip_dhcps_fuzz' into 'master'
...
[lwip]: Fix dhcp server minor issues found when fuzzing
See merge request espressif/esp-idf!42315
2025-10-24 04:41:24 +08:00
David Čermák
406c7f3ec6
Merge branch 'fix/netif_deprecated_inc' into 'master'
...
[lwip]: Removed deprecated headers
Closes IDF-6414
See merge request espressif/esp-idf!41868
2025-10-23 13:51:26 +08:00
David Cermak
4709069e13
fix(lwip): Fix dhcp-server to use callback only if configured
2025-10-23 13:49:21 +08:00
David Cermak
0cc53db591
fix(lwip): Fix dhcp-server to mem_free() items allocated by mem_alloc()
2025-10-23 13:49:21 +08:00
David Čermák
76966b3d8d
Merge branch 'fix/docs_dhcp_acd' into 'master'
...
[lwip]: Clarify and test DHCP conflict detection
Closes IDF-7271
See merge request espressif/esp-idf!42020
2025-10-21 17:28:14 +08:00
David Cermak
18907c2c8f
fix(lwip): Remove deprecated ping wrappers over lwip raw api
2025-10-20 17:51:39 +08:00
David Cermak
a04c5ba9bc
fix(esp_netif): Remove deprecated sntp.h
2025-10-20 17:51:39 +08:00
Marius Vikhammer
a257812e14
feat(stdio): added esp_stdio component
...
esp_stdio contains everything the old esp_vfs_console contained (the vfs stdio glue layer)
as well as other functionality related to stdio (previously referred to as console)
2025-10-16 10:01:59 +08:00
David Cermak
0586066d1b
fix(lwip): Clarify and test DHCP conflict detection
2025-10-14 12:48:58 +02:00
David Cermak
69baa8f998
fix(lwip): Removed unused lwip flags
2025-10-03 14:41:31 +02:00
David Čermák
9063a6c279
Merge branch 'feat/lwip_netif_callbacks' into 'master'
...
[lwip]: Add support for netif link callback
Closes IDFGH-16317
See merge request espressif/esp-idf!42097
2025-10-02 12:37:37 +08:00
David Cermak
16b02aeb7a
feat(lwip): Add support for netif link callback
2025-10-01 17:58:47 +08:00
Nebojša Cvetković
8760e3f38f
feat(lwip): TCPIP_THREAD_NAME "tcpip"
2025-10-01 14:07:18 +08:00
David Cermak
d744d16fb0
fix(lwip): Make lwip alloc/free consistend in port layer
...
Merges https://github.com/espressif/esp-idf/pull/11534
2025-09-30 17:07:44 +08:00
Abhik Roy
d574382d7b
feat(lwip): Remove deprecated LWIP_DHCPS_ADD_DNS Kconfig option
2025-09-29 21:26:01 +08:00
David Cermak
75e0d62739
feat(lwip/dhcps): Add support for reporting clients hostname
2025-09-26 07:54:20 +02:00
Ivan Grokhotkov
0d10158016
Merge branch 'feature/rename-newlib-to-esp_libc' into 'master'
...
change(esp_libc): rename newlib component to esp_libc
Closes IDF-11226
See merge request espressif/esp-idf!41584
2025-09-11 09:34:43 +02:00
wangtao@espressif.com
c2d87d962b
fix(lwip): fix dhcp arp check issue
2025-09-11 13:23:49 +08:00
Alexey Lapshin
9281e78381
change(esp_libc): rename newlib component to esp_libc
2025-09-09 22:00:44 +08:00
Marek Fiala
9d35d63651
feat(cmake): Update minimum cmake version to 3.22 (whole repository)
2025-08-19 14:44:32 +02:00
Marius Vikhammer
bf84ab652a
change(test_utils): moved test_utils component to tools/test_apps/components/
2025-07-21 14:05:50 +08:00
David Čermák
84b969ecea
Merge branch 'feat/menuconfig_for_rio_enable' into 'master'
...
feat(lwip/config): add menuconfig option to enable ND6 RIO support and set the RIO cache size
Closes IDFGH-13888
See merge request espressif/esp-idf!39488
2025-06-26 22:13:57 +08:00
Alexey Lapshin
e82d51a9ee
fix(picolibc): fix missed headers in sources
2025-06-25 18:01:50 +07:00
Frantisek Hrbata
0afcc02c47
Merge branch 'fix/cmake_uninitialized_vars' into 'master'
...
fix(build): do not rely on uninitialized variables and variables set in parent scope
See merge request espressif/esp-idf!39615
2025-06-20 08:30:30 +02:00
chendejin
271532bbf3
feat(lwip/config): add menuconfig to enable ND6 RIO support and set the cache size
2025-06-18 11:19:09 +08:00
David Čermák
d9457b807c
Merge branch 'fix/lwip_dhcp_option_len_assert' into 'master'
...
fix(lwip): Fix appending DHCP option with HW-ID
Closes IDF-13354
See merge request espressif/esp-idf!39749
2025-06-12 15:01:10 +08:00
David Cermak
a39d38994f
fix(lwip): Fix appending DHCP option with HW-ID
2025-06-09 10:29:24 +02:00
Frantisek Hrbata
f50ae95ab5
fix(lwip/cmake): avoid using uninitialized srcs variable
...
Currently, lwip's CMakeLists.txt might use an uninitialized srcs value
if CONFIG_LWIP_ENABLE is disabled. This means it could use a srcs value
set by another component, involving sources that are entirely
unrelated to the lwip component during registration. Perhaps we
should simply exit when CONFIG_LWIP_ENABLE is not enabled and avoid
registering the component altogether.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2025-06-04 19:50:27 +08:00
David Čermák
a74725a31b
Merge branch 'feat/lwip/ipv6_dup_detect_tries' into 'master'
...
feat(lwip/config): add menuconfig option for setting LWIP_IPV6_DUP_DETECT_ATTEMPTS
Closes IDFGH-9320
See merge request espressif/esp-idf!39080
2025-05-26 17:00:47 +08:00
Amitesh Singh
201df702da
feat(lwip/config): add menuconfig option for setting LWIP_IPV6_DUP_DETECT_ATTEMPTS
...
In my network, ipv6 address allocation to esp32 was unreliable.
I'd to disable LWIP_IPV6_DUP_DETECT_ATTEMPTS to 0 to actually make
esp32 ipv6 address assignment work reliably.
Signed-off-by: Amitesh Singh <singh.amitesh@gmail.com >
2025-05-06 10:17:59 +05:30
Tomáš Rohlínek
fccd8d1a5b
feat(network/lwip): Add checks for maximum socket count
2025-04-23 08:36:43 +02:00