Commit Graph

6832 Commits

Author SHA1 Message Date
WanqQixiang 3a393c9b57 dns: Add support for external resolve hook in TCPIP context
2.1.3-esp: 0606eed9 feat(lwip): Add DNS external resolve hook
2024-09-11 16:29:30 +02:00
zwx 0deed15b03 nd6: Handle NS packets without LL opt to send NA response
2.1.3-esp: 6bc36ec0 ND6: reply NS without LL opt
2024-09-11 16:29:30 +02:00
David Cermak fbce255b84 ppp: Add mbedtls includes to PPP auth methods if lwip uses it
2.1.3-esp: e8d05138 PPP/Auth: Add mbedtls includes if lwip uses it
2024-09-11 16:29:30 +02:00
David Cermak ab2870dbbd dns: Add support to set dnsserver() with netif if enabled
2.1.3-esp: 3a3d1fb3 dns: Allow storing dnsserver per netif
2024-09-11 16:29:30 +02:00
Abhik Roy dcb01b9121 dns: Add support for multiple DNS/IP records
2.1.3-esp: f1746813 feat(lwip): Added multiple dns ip support
2.1.3-esp: bced058f dns: Fixed incorrect handling of 0.0.0.0
2024-09-11 16:29:30 +02:00
David Cermak 6e7c96f5fd api_msg: Fix unused local variable if LWIP_NETCONN_SEM_PER_THREAD=1
2.1.3-esp: aa4f6e78 api_msg: Fix unused local variable if LWIP_NETCONN_SEM_PER_THREAD=1
2024-09-11 16:29:30 +02:00
David Cermak fb0faa4dce api_msg: Add fail-safe error handling for semaphore allocation failure
2.1.3-esp: a1bd9e44 api_msg: Fix crash to fail-safe error if cannot get semaphore
2024-09-11 16:29:30 +02:00
Alexey Lapshin 3380732a7e Fix gcc -fanalyzer warnings in icmp6.c and udp.c
2.1.3-esp: 4297782b lwip: fix gcc -fanalyzer warnings
2024-09-11 16:29:30 +02:00
zwx 0199ba3b65 nd6: Add support to force router forwarding flag in NA
2.1.3-esp: 542ba299 fix router forwarding flag set
2024-09-11 16:29:30 +02:00
David Cermak 9aae28d074 api_msg: Fix potential tcp_abort() thread safety issue
2.1.3-esp: 10197b21 api_msg: fix tcp_abort thread safety
2024-09-11 16:29:30 +02:00
David Cermak 353e8ff2da timers: Conditionally enable ACD timer per DHCP ARP check (2.2.0) 2024-09-11 16:29:30 +02:00
David Cermak 6091d39eca ci: Remove invalid/non-unicode chars (2.2.0) 2024-09-11 16:29:30 +02:00
Christoph Baechler c7c3996488 dns: Fix fallback server init config with preferred IP4
2.1.3-esp: 5aab73d7 dns: fix init with only ipv4 enabled
2.1.3-esp: f7922143 feat(lwip):add fall back dns config in menuconfig
2024-09-11 16:29:08 +02:00
xueyunfei b58c9660f2 tcp: Fix retransmission timeout handling for TCP connections in SYN_RCVD state
2.1.3-esp: 6bf7044c bugfix for optimize tcp connection
2024-09-11 09:10:14 +02:00
Deomid "rojer" Ryabkov 3462f21a38 napt: Fixes and improvements (2.2.0)
2.1.3-esp: fadb9109 napt: Fixes and improvements (2.1.3)
2.1.3-esp: 5c4f899f napt: restore to the initial state in deinit
2.1.3-esp: d65ad241 napt: Fix ip_portmap_add() to keep only one port mapping
2.1.3-esp: 7033e26f napt: Fix clean compilation
2.1.3-esp: bc78df87 napt: Fix IP forwarding when forward netif enable NAPT
2.1.3-esp: b55e64ae napt/stats: Move some napt counters to stats module
2.1.3-esp: a7e0a50c ip_napt_maint: Fix timestamp overflow handling (2.1.3)
2.1.3-esp: partially f5c43549 lwip_debug: Fixed string format error in ip6 and napt
2024-09-11 09:04:46 +02:00
David Cermak faa7ff4f43 Add sbom descripton file for Software BOM
2.1.3-esp: f07097d7 Add sbom descripton file for Software BOM
2024-09-11 09:00:09 +02:00
xiaqilin 0a1828f74e nd6: Add support to enable/disable ND6 protocol
2.1.3-esp: 7896c6ca lwip: add LWIP ND6 config
2024-09-11 08:59:18 +02:00
David Cermak a5b12956da Fix printf format warnings with strict -Wformat
2.1.3-esp: 894e387f Fix print format issues repored for -Wformat
2.1.3-esp: partiallly f5c43549 lwip_debug: Fixed string format error in ip6 and napt
2024-09-11 08:53:01 +02:00
David Cermak 46c037d52c test: Fix test apps linux port alloc size
2.1.3-esp: d6b00609 test: Fix test apps linux port alloc size
2024-09-11 08:52:46 +02:00
zhangwenxu 966a90af26 ip6: Add hook for IP6 source address selection
2.1.3-esp: 57c29648 ip6: add a hook for ip6 source address selection
2024-09-11 08:28:59 +02:00
xueyunfei 3a924184ec netdb: Fix getaddrinfo() bug returning NULL on IP4 mapped address
2.1.3-esp: dafc8225 netdb:fixed bug for getaddrinfo returns null when IPV4 mapped address
2024-09-11 08:27:52 +02:00
xueyunfei a1a9b0346b tcp_in/ooseq: Fix incorrect segment trim when FIN moved
2.1.3-esp: 9e62afff tcp_in/ooseq: Fix incorrect segment trim when FIN moved
2024-09-11 08:27:28 +02:00
Abhik Roy d6a2a9c022 netdb: Fix addrtype and length in gethostbyname
2.1.3-esp: aee6b3ed netdb:fixed addrtype and length in gethostbyname
2024-09-11 08:21:32 +02:00
Abhik Roy b79877bd32 napt: Add support to enable/disable NAPT port mapping
2.1.3-esp: 6fba06a7 lwip/napt: Added option to enable or disable Port mapping in NAPT.
2024-09-11 08:20:48 +02:00
Abhik Roy a278990b9b napt: Add support to enable/disable NAPT using netif handle
2.1.3-esp: 280c3d61 lwip/napt: Added api to enable/disable napt based on lwip netif.
2.1.3-esp: 90009cc2 lwip/napt: Added necessary #include to lwip_napt.h
2024-09-11 08:15:19 +02:00
xueyunfei 15e29ca9d4 dhcp: Fix on-demand fine timer on more dhcp clients
2.1.3-esp: 705dd71d dhcp:init fine timer when dhcp start
2.1.3-esp: 86df9f44 lwip/dhcp: Fixed ondemand fine timers bug, that allowed only one dhcp client to run at a time without issue.
2.1.3-esp: d5e56d06 dhcp: Fix dhcp_fine_tmr() not to use netif after free
2.1.3-esp: 8dad8d3e Fix: Added check to ensure safe restart of dhcp fine timer
2024-09-11 08:06:33 +02:00
xueyunfei b1ceb9d082 ip6: Add on-demand timer config for IP6 reassembly timer
2.1.3-esp: 9813ea9a lwip:optimization lwip ip6 reassembly timer
2024-09-11 08:05:51 +02:00
xueyunfei 2dcdc98eb4 ip4: Add on-demand timer config for IP4 reassembly timer
2.1.3-esp: ce1a7099 optimization lwip ip4 reassembly timer
2024-09-11 08:04:53 +02:00
xueyunfei 3d8cbaa9ce dns: Add on-demand timer config for DNS timer
2.1.3-esp: 6b0bfc2e lwip:optimization lwip dns timer
2024-09-11 08:04:06 +02:00
zhangyanjiao 03060d3296 dhcp: Reduce discover and request retry backoff time
2.1.3-esp: 33912690 reduce the DHCP Request timeout
2.1.3-esp: 269a58f1 lower the dhcp discover and request retry backoff time
2024-09-11 07:57:35 +02:00
xueyunfei 65dd329f0c dhcp: Add on-demand timer config for dhcp fine timer
2.1.3-esp: 2c6482ba lwip timer:optimization dhcp fine timer
2.1.3-esp: c3e9aa1c lwip:Bugfix for get ip fail when stress test
2024-09-11 07:50:24 +02:00
David Cermak 3f6b4280d4 tcp/close: Fix clean socket closure when lingering
2.1.3-esp: 316cfc17 tcp/close: Fix clean socket closure when lignering
2024-09-11 07:40:19 +02:00
David Cermak 88136ab186 tcp_in: Fix incomplete closure if linger active
2.1.3-esp: 8b599aa1 tcp_in: Fix incomplete closure if linger active
2024-09-10 16:57:41 +02:00
David Cermak 731f5248c3 dhcp: Add logging of DHCP state changes
2.1.3-esp: 1343f47b dhcp: Add dhcp state debug info
2024-09-10 16:54:34 +02:00
xueyunfei 620c58d61c napt: Fix PBUF_REF type to clone the pbuf before forwarding
2.1.3-esp: 4a05f397 napt: Fix PBUF_REF type to clone the pbuf before forwarding
2.1.3-esp: e9704b8a test/napt: Add unit test for IP forward with PBUF_REF
2024-09-10 16:53:14 +02:00
xueyunfei 2ba900e2fe timeout: Add function for deinit system timers
5446609a timeout: Add function for deinit system timers
2024-09-10 16:45:55 +02:00
yuanjm 85ca28b8a9 sntp: Fix KOD packet reception causing MEMP_SYS_TIMEOUT pool not be freed
e8c46a56 sntp: Fix client receive KOD packet that make pool MEMP_SYS_TIMEOUT not be freed
2024-09-10 16:44:20 +02:00
yuanjm 5861ff08f3 dns: Fix server_idx overflow to DNS_MAX_SERVERS triggering LWIP_ASSERT
9247429e dns: Fix server_idx increasing to DNS_MAX_SERVERS and trigger the LWIP_ASSERT
2024-09-10 16:43:13 +02:00
David Cermak c97293f55c tcp_in: Flag the pcb as closing if TCP_EVENT_CLOSED refused
2.1.3-esp: 223101f1 tcp_in: Flag the pcb as closing if TCP_EVENT_CLOSED refused
2024-09-10 16:42:24 +02:00
Rob Connolly 8185cbce04 slip: Fix SLIP RX linked list append.
2.1.3-esp: 84e02732 slip: Fix SLIP RX linked list append.
2024-09-10 16:41:27 +02:00
xueyunfei 814c00f51a tcp_in: Fix for potential segment overflow
2.1.3-esp: 9d6459ec tcp_in: Fix for potential segment overflow
2024-09-10 16:41:03 +02:00
ChenJianxing 73a598fcd8 nd6: Return ERR_MEM if ND6 queue is full
2.1.3-esp: a46014d2 nd6: Queue IPv6 packets while ND6 inprogress
2024-09-10 16:38:59 +02:00
xiehang 37b10cbdec arp: Return ERR_MEM if ARP queue is full
2.1.3-esp: 00585644 arp: Return ERR_MEM on ARP queue full
2024-09-10 16:37:35 +02:00
xueyunfei 318512828c ip_frag: Drop IPv6 packets larger than MTU
2.1.3-esp: 70d46d23 ip_frag: Drop IPv6 packets larger than MTU
2024-09-10 16:30:55 +02:00
xiehang ffe6efe909 ip_frag: Drop IPv4 packets larger than MTU
2.1.3-esp: 83edc198 ip_frag: Drop IPv4 packets larger than MTU
2024-09-10 16:30:21 +02:00
xueyunfei 7496451d6c ipv6: Support IPv4/IPv6 mapped PCBs
2.1.3-esp: c0fa16fb ipv6: Support IPv4/IPv6 mapped PCBs
2024-09-10 16:30:21 +02:00
David Cermak b025ebb77f autoip: Make max-conflics and rate-limit configurable
2.1.3-esp: 9752eb5f autoip: Make max-conflics and rate-limit configurable
2024-09-10 16:30:21 +02:00
yuanjm 4f4eb5677a dns: Add API to clear dns cache
2.1.3-esp: 95048339 dns: Add API to clear dns cache
2024-09-10 16:30:21 +02:00
xueyunfei bb71a46bfb dns: Support for fallback DNS server
2.1.3-esp: 771421c8 dns: Support for fallback DNS server
2024-09-10 16:30:21 +02:00
Sachin Parekh 112f1255c2 igmp/mld6: Add on-demand timers config
2.1.3-esp: 7d3b07fd igmp/mld6: Add on-demand timers config
Signed-off-by: Sachin Parekh <sachin.parekh@espressif.com>
Co-Authored-By: Axel Lin <axel.lin@gmail.com> (espressif/esp-lwip@b1eec77b)
2024-09-10 16:30:21 +02:00