Sergio R. Caprile
58297a7871
remove obsolete example
2025-07-24 11:25:11 -03:00
Sergio R. Caprile
18a530048c
Increase MQTT connect expected time
2025-07-24 10:15:09 -03:00
Sergio R. Caprile
f9ed75d6b3
attempt to get reasons
2025-07-23 10:53:00 -03:00
Sergio R. Caprile
3c1f41e575
disable scheduled run
2025-07-23 10:33:51 -03:00
Sergio R. Caprile
c772936dd1
enable manual run
2025-07-23 10:31:07 -03:00
Sergio R. Caprile
79b7accc55
disable hw tests on quick test
2025-07-23 10:26:34 -03:00
Sergio R. Caprile
d31d064d5e
fix sh not being bash
2025-07-22 17:01:01 -03:00
Sergio R. Caprile
467fbf4bb4
Fix ignoring SEQ on FIN
2025-07-22 14:16:35 -03:00
Sergio R. Caprile
94fce72ade
Fix misc warnings and nits
2025-07-18 17:08:32 -03:00
Sergio R. Caprile
eacc64bdd1
fix missing def
2025-07-18 16:44:38 -03:00
Sergio R. Caprile
fa841916c1
assorted nit picks
2025-07-18 11:19:58 -03:00
Sergio R. Caprile
7234121835
Avoid trashing VC++'s own propropietary restrict-like keyword
2025-07-15 16:47:06 -03:00
Sergio R. Caprile
3aafc073d8
unbreak after #8a9b1d9
2025-07-15 13:42:48 -03:00
Sergio R. Caprile
cd86559685
Move tests to bash scripts and Makefiles
2025-07-15 11:24:09 -03:00
Sergio R. Caprile
f67e843be6
fix tests
2025-07-15 11:24:09 -03:00
Sergio R. Caprile
c6ee909aa4
uint16_t always >= 0
2025-07-14 15:12:50 -03:00
Sergio R. Caprile
8bf9d09d96
fix SNTP through proper protocol handler setup
2025-07-11 16:56:12 -03:00
Sergio R. Caprile
67255ce8f5
fix broken links
2025-07-10 09:48:53 -03:00
Sergio R. Caprile
2c7f58aed2
test checksum primitives, enforce rx frag test
2025-07-08 13:57:03 -03:00
Sergio R. Caprile
b3ee71acbe
make TCP/IP C89-friendly
2025-07-08 11:15:32 -03:00
Sergio R. Caprile
52ab6bc499
make it C89-friendly
2025-07-07 15:15:31 -03:00
Sergio R. Caprile
85df6a6131
select() minimum wait is now 1ms
2025-07-07 14:40:18 -03:00
Sergio R. Caprile
a8c2ce544e
fix tests
2025-07-07 11:32:31 -03:00
Sergio R. Caprile
8c45a9d2c9
remove false positive
2025-07-03 10:53:59 -03:00
Sergio R. Caprile
ccd2b2699f
fix memory leaks in RSA verification function
2025-07-02 16:40:36 -03:00
Sergio R. Caprile
0b5c0c9889
mg_send now honors UDP failures
2025-07-02 10:04:24 -03:00
Sergio R. Caprile
aa27fde9d0
fix unix detection in wrong place
2025-07-01 16:28:13 -03:00
Sergio R. Caprile
e854585802
Improve Zephyr support
2025-06-30 10:35:53 -03:00
Sergio R. Caprile
806ee0f2cb
Improve Zephyr support
2025-06-27 14:11:04 -03:00
Sergio R. Caprile
f5e2c68c8b
update examples
2025-06-24 16:26:31 -03:00
Sergio R. Caprile
2fc56dd1d0
Allow KA from erroneous implementations
2025-06-17 15:14:30 -03:00
Sergio R. Caprile
a5ebe71394
Avoid chacha20 header leaking its redefinitions
2025-06-17 12:12:48 -03:00
Sergio R. Caprile
acf217601b
Add Keep-Alive ACK
2025-06-11 14:25:05 -03:00
Sergio R. Caprile
b0d0fbfd9f
clarify bridging for Wi-Fi
2025-06-11 09:31:24 -03:00
Sergio R. Caprile
d7d7ebf99a
Add Wi-Fi example for RW-612
2025-06-06 18:26:27 -03:00
Sergio R. Caprile
d6fdfe5b1b
avoid ASAN reporting read overflows
2025-06-05 17:26:56 -03:00
Sergio R. Caprile
58f1533779
expand test coverage
2025-06-05 14:24:03 -03:00
Sergio R. Caprile
f4a49829ea
unbreak FreeRTOS ( #3158 )
2025-06-05 14:03:26 -03:00
Sergio R. Caprile
0459d9e106
Unbreak MbedTLS ( #3148 ), rollback debugging leftovers
2025-06-04 09:05:27 -03:00
Sergio R. Caprile
98e744a9ad
fix error introduced in #3149
2025-06-03 15:29:28 -03:00
Sergio R. Caprile
650caface3
fix duplicates
2025-05-30 10:03:01 -03:00
Sergio R. Caprile
b197a674e1
fix memory leak in fuzz test itself
2025-05-28 13:56:04 -03:00
Sergio R. Caprile
08f6b99b13
remove conditionals from CIfuzz
2025-05-28 11:57:27 -03:00
Sergio R. Caprile
d8a3b90cad
Add Portenta H7 STM32CubeIDE example
2025-05-27 17:26:26 -03:00
Sergio R. Caprile
1b06403a19
Add support for SDIO
...
Add support for SDIO in CYW driver
Add Portenta H7 example
2025-05-26 10:04:44 -03:00
Sergio R. Caprile
b740c80855
set is_tls at mg_listen and mg_connect level
2025-05-26 09:42:48 -03:00
Sergio R. Caprile
1f48b1ca65
flush TLS buffer
2025-05-23 14:04:59 -03:00
Sergio R. Caprile
fadf28adb4
Make built-in TLS play fair to TCP
...
Handshake functions in Mongoose TLS assumed data was being fully sent
after calling mg_io_send(). This was in fact the case with the usual 1460-bytes MSS, but not with the default 536-bytes MSS.
This PR removes all those calls from individual handshake functions, actual send is done at the main handshake function, keeping track of the amount of data sent, and so handling small MTUs/MSSs and possible MG_IO_WAITs when running over a socket layer.
2025-05-22 14:45:46 -03:00
Sergio R. Caprile
a801160bc0
collaterals #3140
...
We prepend current path to the URI, so a tilde could not be the first
char in a path. However, the same would happen for double dots, and
since we're already checking for that, it doesn't hurt to be on the safe
side for future's sake.
2025-05-21 10:43:14 -03:00
Sergio R. Caprile
ccfe7e0724
update version
2025-05-21 09:46:14 -03:00
Sergio R. Caprile
8061a41b38
workaround
2025-05-19 09:22:59 -03:00
Sergio R. Caprile
54d4611eb6
call mg_tcpip_free from mg_mgr_free()
2025-05-15 17:37:40 -03:00
Sergio R. Caprile
f3fafb6759
make clang happy
2025-05-15 17:09:29 -03:00
Sergio R. Caprile
0372c97ff5
add fuzz
2025-05-15 16:48:16 -03:00
Sergio R. Caprile
ac3d41fb79
add fuzz tests
2025-05-15 16:32:42 -03:00
Sergio R. Caprile
14be42c868
INFO -> VERBOSE
2025-05-15 15:50:36 -03:00
Sergio R. Caprile
1ef6c6aeb5
Handle TCP options
2025-05-13 16:27:50 -03:00
Sergio R. Caprile
cc8ecc5a42
stronger bounds checking
2025-05-12 18:13:41 -03:00
Sergio R. Caprile
ae8422e304
fix broken TCP closure
2025-05-08 13:40:02 -03:00
Sergio R. Caprile
f618fe125c
Fix lwIP builds
...
fixes #3119
lwIP does not export ip_mreq by default, it requires enabling support for IGMP by setting LWIP_IGMP, with the associated extra stuff. Mongoose will print an error if mg_multicast_add() is called with no multicast support in lwIP.
2025-04-29 19:24:17 -03:00
Sergio R. Caprile
8ab514fabc
make hexdump send CRLF
2025-04-28 12:33:31 -03:00
Sergio R. Caprile
143b0ac126
fix
2025-04-24 11:04:43 -03:00
Sergio R. Caprile
1d2a768184
refactor the rest of the drivers
2025-04-22 13:59:03 -03:00
Sergio R. Caprile
dceb4beb09
Refactor MIP strategy and first driver (CMSIS)
2025-04-22 12:55:21 -03:00
Sergio R. Caprile
8e0212c3db
Fix not reading last TLS small record with fast closure
...
Fixes #3104
MbedTLS API fairplay
2025-04-22 09:56:49 -03:00
Sergio R. Caprile
df07426e78
Fix handling of FIN segments carrying data
2025-04-14 11:11:48 -03:00
Sergio R. Caprile
f2fe47e9f7
workaround causing TLS libs to return zero
2025-04-11 14:42:15 -03:00
Sergio R. Caprile
fbc1708000
Add support for RM2 with STM32F (429, 746)
2025-04-11 09:20:40 -03:00
Sergio R. Caprile
07b410447b
fix missing weird types
2025-04-10 10:02:20 -03:00
Sergio R. Caprile
08091d02e5
allow other stack than WinSock in Windows
2025-04-09 12:05:01 -03:00
Sergio R. Caprile
6f2dcf92a7
no VLA
2025-04-09 10:55:54 -03:00
Sergio R. Caprile
ec0fe66a17
unbreak pico[2]W auto init
2025-04-07 15:56:11 -03:00
Sergio R. Caprile
189bef61d3
Add support for AP in Pico 2 W (valid for Pico W)
2025-03-24 17:49:40 -03:00
Sergio R. Caprile
7d94f9f61b
Add Pico + RM2 Wi-Fi example
2025-03-24 17:41:12 -03:00
Sergio R. Caprile
e37a0b9056
Add CYW driver
2025-03-24 17:03:05 -03:00
Sergio R. Caprile
0b57b23951
Add support for Wi-Fi chip drivers
2025-03-24 17:02:50 -03:00
Sergio R. Caprile
900b0acf7a
keep up with Wizard dir structure
2025-03-12 17:08:36 -03:00
Sergio R. Caprile
c1849c2b19
fix IO_WAIT on send for builtin TLS and MbedTLS
2025-03-11 16:14:12 -03:00
Sergio R. Caprile
4eadf3699f
unbreak C89
2025-03-11 16:00:42 -03:00
Sergio R. Caprile
90a23fe230
Add support for Wi-Fi chip drivers
2025-03-07 16:41:33 -03:00
Sergio R. Caprile
065027843e
Change driver API: up(ifp) -> poll(ifp, 1second)
...
Add misc extras required by Wi-Fi drivers (in progress)
2025-03-07 14:14:16 -03:00
Sergio R. Caprile
782896b5d3
remove memcpy from htons/l
2025-03-05 17:20:35 -03:00
Sergio R. Caprile
537ba64a54
add test for ESP32
2025-03-05 12:34:22 -03:00
Sergio R. Caprile
21266e9a45
fix Arduino tests
2025-03-04 16:20:18 -03:00
Sergio R. Caprile
61fc480850
Rename conflictive macros, refactor crypto tests
2025-03-04 11:55:57 -03:00
Sergio R. Caprile
306c0b6096
move examples -> tutorials
2025-02-28 13:55:57 -03:00
Sergio R. Caprile
b5a9ba8390
move vendors -> tutorials
2025-02-28 10:01:51 -03:00
Sergio R. Caprile
bf23a0def7
move Zephyr -> tutorials
2025-02-27 10:57:08 -03:00
Sergio R. Caprile
b0385f47af
move ESP32 device dashboard -> tutorials
2025-02-26 14:14:08 -03:00
Sergio R. Caprile
6e569110d2
integrate reference-projects intto existing tutorials
2025-02-26 12:00:46 -03:00
Sergio R. Caprile
b3f5d11275
move MicroPython and dashboards -> tutorials
2025-02-26 11:31:01 -03:00
Sergio R. Caprile
005c8170d4
move file-transfer -> tutorials
2025-02-25 16:52:16 -03:00
Sergio R. Caprile
76769fb4d5
move ESP8266 -> tutorials
2025-02-25 16:10:28 -03:00
Sergio R. Caprile
72a45d2f6a
move Arduino examples -> tutorials
2025-02-25 15:48:09 -03:00
Sergio R. Caprile
0a86bc0af2
update version
2025-02-19 10:21:27 -03:00
Sergio R. Caprile
9e16a0ae42
add TLS support
2025-02-18 16:20:39 -03:00
Sergio R. Caprile
d59f84fbbc
Fix Windows returning IO_RESET
2025-02-18 16:04:13 -03:00
Sergio R. Caprile
985276665d
no LDRD in v6-M
2025-02-17 10:18:51 -03:00
Sergio R. Caprile
eb5752f41b
Fix Pico-SDK aggressive optimization breaking OTA
2025-02-06 10:27:13 -03:00
Sergio R. Caprile
ef8e7419fa
...
2025-02-02 19:41:54 -03:00