wangtao@espressif.com
da39fcebc4
feat(wifi): fix SPIRAM_IGNORE_NOTFOUND releated config
2024-12-24 15:15:31 +08:00
Abhik Roy
6d18437d56
fix(lwip): Fixed active DNS entries before clearing cache
2024-12-16 11:03:38 +01:00
David Cermak
dec5fe5ce2
fix(lwip): Fix ping_v6 receiving to accept only echo replies
...
This fixes a bug where we ping our own IP and the request itself
bounces back to the raw receive function and is incorrectly treated as
reply. (this bug was discovered when fixing ICMPv6 pings with incorrect
checksums, while the ping request was dropped in icmpv6.c due to wrong
checksum, but was also fed to raw layers where it was treated as
"correct" response, so the PINGv6 to ourselves still worked)
2024-12-11 09:50:59 +01:00
David Cermak
9b129db0cb
fix(lwip): Fix IP6 raw socket checksum in IPv6-only configuration
2024-12-11 09:50:58 +01:00
David Cermak
33a3722788
fix(lwip): Limit active TCP PCBs and recycle them faster
...
* Update submodule: git log --oneline c816f0ee..a587d929
Detailed description of the changes:
- test: Add tcp-pcb recycle test (espressif/esp-lwip@a587d929 )
- tcp: Apply faster PCB recycling in FIN_WAIT_1 or FIN_WAIT_2 state (espressif/esp-lwip@3bfc85d2 )
- test: Add tcp alloc limitation test (espressif/esp-lwip@0c9c39a9 )
- memp: Employ TCP-PCB allocation limit if libc malloc used (espressif/esp-lwip@9cb96ac1 )
Closes https://github.com/espressif/esp-idf/issues/9670
Closes https://github.com/espressif/esp-lwip/pull/63
2024-12-09 15:46:39 +08:00
zwx
c3ad441895
feat(lwip): add a config to set the size of ND6 table cache
2024-10-28 12:21:33 +08:00
Jiang Jiang Jian
2fb4424db0
Merge branch 'example/ping_invalid_ip6_fix_v5.3' into 'release/v5.3'
...
fix(example): Fixed updating recv addr for invalid packets (v5.3)
See merge request espressif/esp-idf!32989
2024-10-28 12:15:56 +08:00
Jiang Jiang Jian
0deebec285
Merge branch 'feat/lwip_more_sockets_v5.3' into 'release/v5.3'
...
change(lwip): bump max sockets in lwip Kconfig (GItHubPR) (v5.3)
See merge request espressif/esp-idf!34151
2024-10-25 21:02:55 +08:00
Rodrigo Silva
c52114bb0b
change: bump max sockets in lwip Kconfig
...
Tested under ESP32S3, running 50 tasks, each with a client, and a server
listening to one client, totalizing 150 sockets/files open, forwarding
data from PPP to Ethernet and vice versa.
Reasoning for 255 total sockets/files is VFS local_fd_t being a uint8_t.
Since FD_SETSIZE is defined at tool level, a CMakeLists user definition
is needed in cases above 64 (the default value).
Merges https://github.com/espressif/esp-idf/pull/13866
2024-10-25 17:50:10 +08:00
David Cermak
4831eee72c
fix(lwip): Add default IPv6 input filter to drop traffic if ipv6 not assigned
...
* Makes LWIP_HOOK_IP6_INPUT default to LWIP_HOOK_IP6_INPUT_DEFAULT
* Updated the stub hook implementation to actually filter out all IPv6
packets if the input netif has no link local address.
2024-10-25 17:49:22 +08:00
WanqQixiang
0c8074b318
feat(openthread): Replace netconn external resolve hook with dns external hook
2024-09-13 17:59:15 +08:00
WanqQixiang
4eac78f675
feat(lwip): Add DNS external hook in TCPIP context(v5.3)
2024-09-13 17:59:15 +08:00
Abhik Roy
a84d136002
fix(lwip): Fixed incorrect handling of 0.0.0.0 in dns (v5.3)
...
LWIP submodule update: git log --oneline e8d05138..bced058f
- dns: Fixed incorrect handling of 0.0.0.0
(espressif/esp-lwip@bced058f )
2024-08-23 11:38:03 +02:00
David Cermak
1237b8c669
feat(lwip): Add support for PPP Auth using mbedTLS (v5.3)
...
LWIP submodule update (v5.3): git log --oneline 3a3d1fb3..e8d05138
- PPP/Auth: Add mbedtls includes if lwip uses it
(espressif/esp-lwip@e8d05138 )
Closes https://github.com/espressif/esp-idf/issues/13597
2024-08-23 11:37:09 +02:00
David Cermak
cf65f557cc
fix(esp_netif): Restore DNS servers per netif when setting it default(5.3)
...
Introducing config option `CONFIG_ESP_NETIF_SET_DNS_PER_DEFAULT_NETIF`
to overcome LWIP limitation of using global DNS server info.
This config option enables LWIP callbacks to collect per netif DNS
server info and then restores global DNS servers of whichever network
interface is selected as default.
LWIP submodule update v5.3: git log --oneline f1746813..3a3d1fb3
- dns: Allow storing dnsserver per netif (espressif/esp-lwip@3a3d1fb3 )
- api_msg: Fix unused local variable if LWIP_NETCONN_SEM_PER_THREAD=1
(espressif/esp-lwip@aa4f6e78 )
- lwip: fix gcc -fanalyzer warnings (espressif/esp-lwip@4297782b )
2024-08-23 11:35:36 +02:00
Abhik Roy
0f08a5b123
feat(lwip): Added multiple dns ip support (v5.3)
...
LWIP submodule update on v5.3: git log --oneline f7922143..f1746813
- feat(lwip): Added multiple dns ip support
(espressif/esp-lwip@f1746813 )
- api_msg: Fix crash to fail-safe error if cannot get semaphore
(espressif/esp-lwip@a1bd9e44 )
2024-08-23 11:33:44 +02:00
Abhik Roy
cd3c60e8c3
fix(example): Fixed updating recv addr for invalid packets for ping
...
Closes https://github.com/espressif/esp-idf/issues/14197
2024-08-21 20:37:56 +10:00
Abhik Roy
ca967c9f96
fix(lwip): Fixed compilation error referencing undefined POSIX interface API
...
Closes https://github.com/espressif/esp-idf/issues/13577
2024-07-30 19:36:18 +08:00
zhangyanjiao
561146f52b
fix(lwip): fixed the dhcp pool error on dhcp server
2024-06-24 14:21:28 +08:00
laokaiyao
65b1fd33d3
ci(esp32c5mp): disable the unsupported tests
2024-04-07 12:13:29 +08:00
Jiang Jiang Jian
fde8c8d0f8
Merge branch 'feat/sntp_init_delay' into 'master'
...
feat(lwip): SNTP: Add support for adjusting startup delay
Closes IDF-8790
See merge request espressif/esp-idf!29688
2024-04-01 17:16:28 +08:00
David Cermak
199d416bc5
feat(lwip): SNTP: Add support for adjusting startup delay
2024-03-15 16:58:54 +01:00
Jakob Hasse
4d629be602
refactor(linux): Unified libbsd handling
...
* Users can now use libbsd string.h and sys/cdefs.h functionality
(e.g., strlcpy, containerof) on Linux by just including
string.h or sys/cdefs.h. In other words, the includes are the same
on the Linux target as well as on chips targets (ESP32, etc.).
* libbsd linking is done by the linux component (belongs to common
components) now instead of handling it separately in each component
2024-03-08 12:26:54 +08:00
David Cermak
c30f2825d5
fix(netif): Add missing SNTP get-reachablitiy API
2024-02-29 23:37:45 +08:00
Marius Vikhammer
ffd62352de
Merge branch 'ci/test_limit_main_cleanup' into 'master'
...
ci(test_apps): limit dependencies for misc test_apps
See merge request espressif/esp-idf!29088
2024-02-21 09:26:25 +08:00
Marius Vikhammer
1f7c666701
ci(test_apps): limit dependencies for misc test_apps
...
Only pull in direct dependencies for the test apps, reducing build time
as well making it possible for CI to determine if the test should run or not
when dependencies are changed.
2024-02-18 16:01:58 +08:00
Roland Dobai
1a80217af5
Merge branch 'bugfix/kconcheck_file_checks' into 'master'
...
bugfix: Fixed KConfig files that were not succesfully checked
Closes IDF-9028 and IDF-9027
See merge request espressif/esp-idf!28385
2024-02-07 19:12:25 +08:00
Jakub Kocka
0b00e49ac5
fix: Fixed KConfig files that were not succesfully checked
2024-02-02 14:13:45 +01:00
Chen Jian Xing
c6405bda6a
Merge branch 'bugfix/fix_log_format_resulting_in_compilation_failure_issue' into 'master'
...
fix(lwip): fix log format resulting in compilation failue issue
Closes IDFGH-11897
See merge request espressif/esp-idf!28494
2024-02-02 16:55:50 +08:00
Abhik Roy
35fe20da84
change(lwip): Remove 'experimental' from NAPT in kconfig, update lwIP doc
2024-02-01 20:09:08 +11:00
David Čermák
bc7e87b416
Merge branch 'feat/lwip_ppp_more_opts' into 'master'
...
lwip: PPP configs to enable/disable: Server side, IP header compression
See merge request espressif/esp-idf!27799
2024-01-30 20:17:50 +08:00
Jiang Jiang Jian
307c53d4ff
Merge branch 'feature/add_fall_back_dns_config_in_menuconfig' into 'master'
...
feat(lwip):add fall back dns config in menuconfig
See merge request espressif/esp-idf!27292
2024-01-30 16:01:29 +08:00
xueyunfei
4f96d04c9e
feat(lwip): add fall back dns config in menuconfig
...
Closes https://github.com/espressif/esp-idf/issues/12530
2024-01-23 10:49:53 +08:00
David Cermak
63e8e01646
feat(lwip): Added PPP config option to control VJ header compression
2024-01-18 14:20:39 +08:00
David Cermak
18ff62017a
feat(lwip): Add support for PPP server
...
Added support PPP_SERVER option in LWIP
Added support for configuring preferred addresses of PPP endpoints.
2024-01-18 14:20:39 +08:00
Abhik Roy
7004c07e3f
fix(lwip): Corrected NAPT dependency text
2024-01-17 23:42:31 +11:00
muhaidong
85a03b22a7
fix(lwip): fix log format resulting in compilation failue issue
...
Closes https://github.com/espressif/esp-idf/issues/12982
2024-01-17 10:47:10 +08:00
Mahavir Jain
c0bd52898f
Merge branch 'contrib/github_pr_12915' into 'master'
...
docs: Correct coap IPV6 support requirement comments (GitHub PR)
Closes IDFGH-11821
See merge request espressif/esp-idf!28297
2024-01-08 11:29:59 +08:00
Jon Shallow
35f553f84d
docs: Correct coap IPV6 support requirement comments
...
coap (libcoap) can now be built with or without IPV6.
2024-01-05 12:35:41 +05:30
Jiang Jiang Jian
83241cab72
Merge branch 'bugfix/change_default_value_for_ip_ttl' into 'master'
...
Fix(lwip):bugfix for change default value for ip ttl
Closes AUD-5018
See merge request espressif/esp-idf!28139
2024-01-04 14:03:17 +08:00
Abhik Roy
0c99a58ff6
Merge branch 'lwip/acceptmbox_config' into 'master'
...
change(lwip): Added macro to configure TCP accept mailbox size
See merge request espressif/esp-idf!27276
2024-01-03 15:55:12 +08:00
xueyunfei
f6575f7e3a
Fix(lwip):bugfix for change default value for ip ttl
2024-01-02 11:00:41 +08:00
Abhik Roy
01797231f9
fix(lwip): Fixed debug format, added ci test config
...
* Update submodule: git log --oneline 542ba299..f5c43549
Detailed description of the changes:
- lwip_debug: Fixed string format error in ip6 and napt (espressif/esp-lwip@f5c43549 )
- dns: fix init with only ipv4 enabled (espressif/esp-lwip@5aab73d7 )
2023-12-20 18:52:16 +11:00
Abhik Roy
0c41c4e1da
change(lwip): Added macro to configure TCP accept mailbox size
2023-12-15 21:11:44 +11:00
Paul Guyot
336c0946fa
Add missing configuration for DEFAULT_ACCEPTMBOX_SIZE ( fix #12509 )
...
Signed-off-by: Paul Guyot <pguyot@kallisys.net>
2023-12-15 21:04:26 +11:00
Xue yun fei
8da974aef4
optimize(lwip):when psram is enable the number of ooseq is not limited
2023-12-14 12:39:44 +00:00
Shu Chen
195d4013a2
Merge branch 'fix/lwip_na_packets_router_flag' into 'master'
...
feat(lwip): support NA router farwording flag set
See merge request espressif/esp-idf!27132
2023-11-30 17:48:42 +08:00
zwx
da3107a159
feat(lwip): support NA router farwording flag set
...
* Update submodule: git log --oneline
4a8286ab8bcf983f22421e3d4be650837b5eb277..542ba2997f6cc14fe9c3d781bf9b0d890cd70bb1
- fix router forwarding flag set (espressif/esp-lwip@542ba299 )
2023-11-16 20:21:06 +08:00
David Čermák
0d12732b4c
Merge branch 'bugfix/dhcp_opts_vsi_vci' into 'master'
...
lwip: Fix receiving of DHCP vendor info (GitHub PR)
Closes IDFGH-10591
See merge request espressif/esp-idf!25043
2023-11-14 22:36:10 +08:00
sonika.rathi
9c82ad06c3
fix(vfs/uart): add UART VFS select callback in IRAM
...
UART VFS select callback is placed in IRAM when CONFIG_UART_ISR_IN_IRAM is enabled
2023-11-08 11:34:22 +01:00