Simon Goldschmidt
583f352f60
altcp_mbedtls: don't ignore return value of mbedtls_ssl_flush_output
...
see bug #64045/task #16283
2023-10-11 21:18:56 +02:00
Simon Goldschmidt
7fd1350802
sockets: fix bug #63898 : allow socket option IPV6_CHECKSUM for both IPPROTO_IPV6 and IPPROTO_RAW
...
See bug #63898
2023-10-10 22:27:03 +02:00
Simon Goldschmidt
c8d9adde0f
win32 port: fix linking x64 with pcap
2023-10-10 22:24:29 +02:00
Simon Goldschmidt
e655b41a49
win32 port: allow "edit-and-continue" by disabling /SAFESEH
2023-10-10 21:58:56 +02:00
Simon Goldschmidt
2e650364fa
win32 port: fix wrong intermediate directories
2023-10-10 20:43:55 +02:00
Simon Goldschmidt
ab1f582043
httpd: fix bug #64458 : When tcp_err() is invoked, tcp_pcb is freed but httpd_post_finished() is not called by httpd.c
2023-10-10 20:40:42 +02:00
Simon Goldschmidt
b5f6720f88
apps/tftp: fix compiling for 64-bit
2023-10-10 20:39:45 +02:00
Simon Goldschmidt
5ec4c1d1f2
ping: fix compiling in dual-stack mode
2023-10-10 20:15:49 +02:00
Simon Goldschmidt
9e2fb2806f
unittests: fix compiling in release mode
2023-10-10 20:14:52 +02:00
Simon Goldschmidt
4323e95dce
win32 port: add x64 configurations
2023-10-10 20:14:16 +02:00
Simon Goldschmidt
66ef250b8c
Fix running IPv6 reassembly unit tests on 64-bit
2023-10-10 19:59:06 +02:00
Simon Goldschmidt
c8f42025ce
ipv6 reassembly: fix detecting holes in reassembled packets
...
Added unit test for reassembly.
See bug #64767
2023-10-10 16:31:16 +02:00
Simon Goldschmidt
16e8ef3145
ipv6: fix ip6_current_header() after reassembly
...
ip6_current_header() should point to the header before the reassembled data,
not to the first received pbuf (not necessarily the same).
See bug #64031
2023-10-10 16:31:09 +02:00
Simon Goldschmidt
76c7ac5cf9
posixlib: fix posixlib/CMakeLists.txt
2023-10-05 20:30:54 +02:00
Simon Goldschmidt
98e63b6acf
apps: http client: improve the HTTP client; ensure connection settings are passed
...
Without connection settings, the caller is not informed of success vs failure of a transfer.
See bug #63554
2023-10-04 22:26:22 +02:00
Simon Goldschmidt
20f6ac7426
msvc: clean up duplicate use of intermediate directories
2023-10-04 21:42:42 +02:00
Simon Goldschmidt
0627c55c51
ping: fix assert in ping_init()
2023-10-04 21:36:00 +02:00
Simon Goldschmidt
732d3411bf
fuzz: count packets for debugging
2023-10-03 21:37:14 +02:00
Simon Goldschmidt
9509acd876
fuzz: fix warning casting u64_t to s32_t/u32_t
2023-10-03 21:11:57 +02:00
Simon Goldschmidt
5fea01a0a8
msvc: add project + sln for fuzz tests
2023-10-03 21:11:26 +02:00
Simon Goldschmidt
f85ed72bac
ipv6: frag: fix bogus icmp6 response on reassembly timeout
...
See bug #63929
2023-10-03 17:50:28 +02:00
Simon Goldschmidt
1ef6189287
pbuf: fix "returns" documentation on pbuf_get_contiguous()
...
See bug #64049
2023-10-03 17:34:53 +02:00
Simon Goldschmidt
ae5a5b99eb
tcp: fix compiling with LWIP_NOASSERT
...
See bug #64734
2023-10-03 17:31:19 +02:00
Maxim Uvarov
de6b0a35f8
ping: do not clear IP address with ping_stop at the init
...
commit 4e6dd9 "ping: add stop function", was corrected
and wrongly added stop function after IP address set up.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2023-10-03 17:15:56 +02:00
Yonggang Luo
dad8c4c72a
guard when data is NULL
...
[build] ../../3rd/lwip/src/include/lwip/opt.h:137:41: error: argument 2 null where non-null expected [-Werror=nonnull]
[build] #define MEMCPY(dst,src,len) memcpy(dst,src,len)
[build] ^~~~~~~~~~~~~~~~~~~
[build] ../../3rd/lwip/src/netif/ppp/fsm.c:791:7: note: in expansion of macro 'MEMCPY'
[build] MEMCPY(outp + PPP_HDRLEN + HEADERLEN, data, datalen);
[build] ^~~~~~
[build] In file included from c:\mentorgraphics\fly380s_8910\prebuilts\win32\gcc-arm-none-eabi\arm-none-eabi\include\sys\time.h:40:0,
[build] from ../../3rd/../src/cat1/arch/cc.h:40,
[build] from ../../3rd/lwip/src/include/lwip/arch.h:50,
[build] from ../../3rd/lwip/src/include/lwip/debug.h:40,
[build] from ../../3rd/lwip/src/include/lwip/opt.h:52,
[build] from ../../3rd/lwip/src/include/netif/ppp/ppp_opts.h:31,
[build] from ../../3rd/lwip/src/netif/ppp/fsm.c:43:
[build] c:\mentorgraphics\fly380s_8910\prebuilts\win32\gcc-arm-none-eabi\arm-none-eabi\include\string.h:31:8: note: in a call to function 'memcpy' declared here
[build] _PTR _EXFUN(memcpy,(_PTR __restrict, const _PTR __restrict, size_t));
[build] ^
2023-09-29 22:21:02 +02:00
Simon Goldschmidt
14444c1c7f
mqtt: support binary Will Message
...
see patch #10049
2023-09-29 22:08:03 +02:00
Simon Goldschmidt
2d6883c432
minor: fix spaces in unix/lib/lwipopts.h
2023-09-29 21:42:02 +02:00
Florian La Roche
0d5db9469e
opt.h: Fix typo
2023-09-28 23:15:53 +02:00
Erik Ekman
339372919a
mem: Include stdio.h
...
Memory overflow checks uses snprintf. Reported in bug #63904 .
2023-09-28 23:04:37 +02:00
Erik Ekman
6f700a157d
nd6: Fix RA link-local address option length check
...
Length field is in units of 8 bytes.
2023-09-28 22:39:14 +02:00
Simon Goldschmidt
2159f84682
httpd: compare client requests case-insensitive
...
Fixes bug #10047 (Fix case-sensitive comparison of Content-Length header for POST requests)
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2023-09-28 22:30:47 +02:00
Erik Ekman
7807f706f3
nd6: Update RA link-local addr option length check
...
lwIP might support different hardware address lengths (when using
Ethernet and 6LoWPAN for instance). Match provided lladdr length
from Router Advertisement to the current network interface instead
of comparing against longest that can be stored.
2023-09-28 22:23:25 +02:00
Erik Ekman
4f78da983f
ci: Bump github action version
...
Fix warning:
"The following actions uses node12 which is deprecated and will be forced
to run on node16: actions/checkout@v2."
2023-09-28 21:06:09 +02:00
Simon Goldschmidt
d8b97bfc5d
icmp: fix bug #64211 (ICMP reply error when using bridge)
...
when reusing an rx pbuf for tx, its if_idx has to be reset or else bridgeif_send_to_port() might drop it
2023-09-27 21:49:24 +02:00
Simon Goldschmidt
f7fe057821
win32 pcapif: fix "heap-use-after-free" on shutdown
2023-09-27 21:28:29 +02:00
Simon Goldschmidt
3792075baf
Fix bug #64637 ("iperf -n 1000 -r" does not work)
2023-09-27 21:01:52 +02:00
Maxim Uvarov
4e6dd9c576
ping: add stop function
...
ping in raw mode does some set up and sets timeout, but clean
up procedure is missing. That is needed for case if PING_RESULT() macro
is used for application exit.
Also implement stop functionality when using sockets.
Running ping is stopped when calling ping_init() again.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2023-09-27 20:56:46 +02:00
Simon Goldschmidt
36cb95c4d2
next release will probably be 2.2.1...
2023-09-27 20:38:41 +02:00
Simon Goldschmidt
0a0452b2c3
Prepare 2.2.0 release
STABLE-2_2_0_RELEASE
2023-09-25 21:25:35 +02:00
Simon Goldschmidt
c0cf130bb7
Prepare changelog for 2.2.0 release
2023-09-22 10:02:18 +02:00
Simon Goldschmidt
3eeda139bc
minor coding style/spelling fixes
2023-09-22 09:54:36 +02:00
Simon Goldschmidt
b92faffaaa
LWIP_VLAN_PCP==1: initialize tci correctly (disabled); add pcb_tci_*() functions to access the tci
2023-09-22 09:53:13 +02:00
Simon Goldschmidt
84fde1ebbf
release: mark 2.2.0 RC1
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
STABLE-2_2_0_RC1
2023-06-29 22:22:19 +02:00
Simon Goldschmidt
2a3711a566
win32: check: adjust check config.h to run with newest check library on VS2022
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2023-06-29 22:14:36 +02:00
Simon Goldschmidt
1a5dffb931
win32: pcapif: ensure we can run with npcap as well
...
By default, npcap keeps its DLLs not in system32 but in system32/npcap.
To load DLLs from there, mark them as "delay load DLLs" and adjust the
DLL search path before using/loading them.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2023-06-29 22:11:55 +02:00
Simon Goldschmidt
bfcbf80221
win32: msvc: fix msvc project files to compile with VS2022; add test_tcp_state
...
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2023-06-29 22:08:45 +02:00
Simon Goldschmidt
657c9735a7
doxygen: dhcp: fix doxygen stumbling over nonexisting define
2023-06-29 21:59:05 +02:00
Simon Goldschmidt
9672405eb9
test: unit: tcp: fix tcp state tests to not break other tests
...
On platform where check cannot fork (win32), the tcp_state tests crashed other tests.
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
2023-06-29 21:32:20 +02:00
Shawn Silverman
e29870c15e
Fix a printf conversion specifier in mdns.c
...
Use U32_F to print a u32_t.
2023-05-11 22:16:49 +02:00
Shawn Silverman
f84076b112
Add missing terminating newlines to LWIP_DEBUGF statements
2023-05-11 22:13:51 +02:00