FreeRTOS-Kernel/FreeRTOS-Plus/Demo
Archit Aggarwal 5a4fe788d7
Update coreSNTP demo to avoid issues from open UDP socket (#647)
Issue
There is a possible vulnerability of Denial of Service attack by keeping the UDP socket for the SNTP client task always open in the coreSNTP demo. The Denial of Service attack can occur from receiving multiple server response (duplicated or malicious) for a single SNTP time request sent by the client, and thereby, filing the socket network buffer response packets that affect future time requests.

Solution
This PR fixes this vulnerability by updating the demo to keep a UDP socket open only for the time period of waiting for server response, closing the socket on either receiving a server response or experiencing server timeout, and re-creating a UDP socket for the next polling try. This PR also adds another security functionality using a random port for UDP socket to protect against spoofing attacks from "off-network path" attackers.
2021-07-14 13:21:40 -07:00
..
AWS Updated device-shadow submodule to support named shadow, and updated demo to use named shadow (#636) 2021-07-07 11:15:33 -07:00
Common Merge FreeRTOS 202104.00 to main (#585) 2021-04-29 14:53:40 -07:00
coreHTTP_Windows_Simulator Merge FreeRTOS 202104.00 to main (#585) 2021-04-29 14:53:40 -07:00
coreMQTT_Windows_Simulator Merge FreeRTOS 202104.00 to main (#585) 2021-04-29 14:53:40 -07:00
corePKCS11_MQTT_Mutual_Auth_Windows_Simulator Merge FreeRTOS 202104.00 to main (#585) 2021-04-29 14:53:40 -07:00
corePKCS11_Windows_Simulator Aws only files spell check (#593) 2021-05-13 16:07:56 -07:00
coreSNTP_Windows_Simulator Update coreSNTP demo to avoid issues from open UDP socket (#647) 2021-07-14 13:21:40 -07:00
FreeRTOS_Plus_CLI_with_Trace_Windows_Simulator Merge FreeRTOS 202104.00 to main (#585) 2021-04-29 14:53:40 -07:00
FreeRTOS_Plus_FAT_SL_and_CLI_Windows_Simulator Update to MIT licensed FreeRTOS V10.0.0 - see https://www.freertos.org/History.txt 2017-11-29 16:53:26 +00:00
FreeRTOS_Plus_Reliance_Edge_and_CLI_Windows_Simulator Aws only files spell check (#593) 2021-05-13 16:07:56 -07:00
FreeRTOS_Plus_TCP_Echo_Posix Let vAssertCalled() produce some logging to stdout (#598) 2021-05-14 12:17:47 -07:00
FreeRTOS_Plus_TCP_Echo_Qemu_mps2 Fix data copy address error (#634) 2021-06-29 10:18:00 -07:00
FreeRTOS_Plus_TCP_Minimal_Windows_Simulator Aws only files spell check (#593) 2021-05-13 16:07:56 -07:00
FreeRTOS_Plus_TCP_UDP_Mode_CLI_Windows_Simulator Merge FreeRTOS 202104.00 to main (#585) 2021-04-29 14:53:40 -07:00
FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC FreeRTOS+UDP was removed in FreeRTOS V10.1.0 as it was replaced by FreeRTOS+TCP, 2018-08-23 00:00:20 +00:00
FreeRTOS_Plus_WolfSSL_FIPS_Ready_Windows_Simulator Merge FreeRTOS 202104.00 to main (#585) 2021-04-29 14:53:40 -07:00
FreeRTOS_Plus_WolfSSL_Windows_Simulator Merge FreeRTOS 202104.00 to main (#585) 2021-04-29 14:53:40 -07:00
Also_See_More_FreeRTOS+TCP_and_FreeRTOS_FAT_in_the_lab.url FreeRTOS+TCP: Added ipconfigSOCKET_HAS_USER_WAKE_CALLBACK configuration option so the user can specify a callback to execute when data arrives. 2017-12-12 17:47:56 +00:00
readme.txt Update version numbers to V7.4.1. 2013-04-18 12:58:17 +00:00

Directories:

+ The FreeRTOS-Plus/Demo directory contains a demo application for every most of
  the FreeRTOS+ components.  Lots of the demo applications use the FreeRTOS
  Windows simulator for easy evaluation.  Be aware that FreeRTOS is much slower
  and not deterministic when executed in a simulated environment.

+ See http://www.freertos.org/plus