summaryrefslogtreecommitdiff
path: root/FreeRTOS-Plus
Commit message (Collapse)AuthorAgeFilesLines
* Move out using mbedtls and fix impacted projectsreorg_network_transportAndy Sun2021-11-1836-132/+152
|
* Move out modules non-regarding using_mbedtlsAndy Sun2021-11-1714-28/+30
|
* Updated HTTP S3 download demo to show SigV4 usage (#696)tianmc12021-11-167-1676/+2777
| | | | | | | | | | | | | | | | | * Updated HTTP S3 download demo to show SigV4 usage * Fixed missing config in demo_config * Added dynamic sha256 payload compute * Fixed some compiler warnings * Fixed some comments * remove unused code * Spell check updates * Core check fix
* Fix build warning due to log configuration. (#715)andysun20152021-11-164-0/+120
|
* [AUTO][RELEASE]: Bump file header version to "202111.00"aggarg2021-11-13332-332/+332
|
* Update manifest and submodule pointer of TCP (#712)Aniruddha Kanhere2021-11-121-0/+0
|
* [P3 Release] Update submodule Pointers of the spoke repos in P3 (#707)Shivangi2021-11-1111-0/+0
| | | | | | | | | | | * Updating submodule except OTA * Update Manifest file * Update Manifest file * Updating Ota pointer * Manifest Update
* Update FreeRTOS-Cellular-Interface (#705)andysun20152021-11-121-0/+0
| | | | | * Update FreeRTOS-Cellular-Interface * manifest file update
* Update file header and cellular lib commit (#704)andysun20152021-11-1122-74/+94
|
* Add cellular library submodule path and demo (#695)andysun20152021-11-10139-14758/+45820
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Cellular] Add cellulr lib submodule and demo app * [Cellular] Fix memory violation in transport layer and add using LoggingPrintf * Update FreeRTOS Cellular Interface * Change the mbedtls usage in FreeRTOS-Plus * [Cellular] Fix missing spell * [Cellular] Add manifest.yml * Fix missing spell * Update manifest.yml * [Cellular] Add integration test * Modify the demo log level to LOG_INFO * Update cellular interface * The modification of the folder structure for cellular library * Rename the naming of demo * Adjust the location of using_mbedtls and socket_wrapper * Adjust project setting for relocating using_mbedtls and socket_wrapper * Turn off PSM mode * Add start marker for CI validation. * The modification for mbedtls platform send/recv function for cellular * Change the project file due to the changes of mbedtls platform send/recv function for cellular * Fix missing newline and remove unused file * Add missing configuration. * Make cellular and freertos tcp plus use the same transport implementation * Add comment for the macro MBEDTLS_SSL_SEND and MBEDTLS_SSL_RECV * Make changes from the github comment.
* Remove non-ASCII characters (#701)Gaurav-Aggarwal-AWS2021-11-081-1/+1
| | | Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Update Submodule Pointer in P3 Repo (#699)Shivangi2021-11-031-0/+0
| | | | | | | * changing submodule * manifest file update Co-authored-by: Paul Bartell <pbartell@amazon.com>
* Include path update (#698)Shivangi2021-10-281-1/+1
|
* pkcs11 util changes (#694)Shivangi2021-10-262-2/+10
|
* Fix possible null pointer dereference in Log (#677)chinglee-iot2021-09-111-1/+1
| | | Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
* Update submodule pointers (#680)Gaurav-Aggarwal-AWS2021-09-0212-0/+0
| | | | | | | | * Update submodule pointers This is needed to address doxygen failures (Which are already fixed in the submoduled repos). Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Added 'extern "C"' to FreeRTOS-CLI header file. (#674)JD2021-08-091-0/+12
| | | Co-authored-by: JD Scott <jscott@hotstart.com>
* [AUTO][RELEASE]: Bump file header version to "202107.00"tianmc12021-07-24284-284/+284
|
* Updated submodule libraries to latest release (#667)tianmc12021-07-2312-2/+2
| | | | | | | | | | | | | | | | | | * Updated submodule libraries to latest release * Updated pointer for FreeRTOS-Plus-TCP * Updated README about SNTP * Updated link for coreSNTP on freertos.org * Updated corePKCS11 to 'update-pkcs11submodule' branch for testing * Update corePKCS11 version in manifest.yml * Updated corePKCS11 pointer to v3.1.0 Co-authored-by: Oscar Michael Abrina <abrinao@amazon.com> Co-authored-by: Archit Aggarwal <architag@amazon.com>
* Replace library links with the application-protocols one (#665)lienng_aws2021-07-231-11/+6
| | | | | | | | | | | | | | | | * Replace library links with the application-protocols one The ReadMe.txt refers to library link on FreeRTOS.org which will not be available until after the library is released in github. Instead, use top level page https://www.freertos.org/application-protocols.html which lists all the libraries in this directory which is also easy for user to navigate and could avoid this issue when releasing new library. * Update FreeRTOS-Plus/Source/Application-Protocols/readme.txt Co-authored-by: Archit Aggarwal <architag@amazon.com> * Update FreeRTOS-Plus/Source/Application-Protocols/readme.txt Co-authored-by: Paul Bartell <pbartell@amazon.com> Co-authored-by: Archit Aggarwal <architag@amazon.com> Co-authored-by: Paul Bartell <pbartell@amazon.com>
* Hygiene changes of old Demo folders and temporary removal of submodules (#666)Archit Aggarwal2021-07-238-11/+10
| | | | | | | * Remove submodules of community and partner contribution repos, and stale directory of FreeRTOS+UDP * Obselete NTP demo and rename of HTTP server demo folder * Update manifest.yml
* [P3] SubModules pointer update of was libraries to latest commits (#663)Shivangi2021-07-223-0/+0
| | | | | | | * Updating device shadow to latest commit * updating jobs pointer * Updating device-defender pointer
* Remove duplicate error.c in WIN32.vcxproj.filters files (#662)Oscar Michael Abrina2021-07-2213-39/+0
|
* Some changes for upcoming release (#657)Archit Aggarwal2021-07-202-3/+3
| | | Update mbedTLS submodule to v2.26.0 and update History.txt
* CorePKCS11 Muthual Auth demo fix (#656)Shivangi2021-07-192-0/+11
|
* Defender demo cleanup (#651)tianmc12021-07-195-241/+242
|
* Remove redundant mbedtls error sources (#654)Oscar Michael Abrina2021-07-1952-1491/+85
| | | | | Since `mbedtls_error.c` is already part of the mbedTLS submodule, the duplicate files are removed from this repository. Co-authored-by: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
* Fix clock drift issue in SNTP demo (#655)Archit Aggarwal2021-07-193-92/+66
| | | | | | | | | | | Issue The existing clock discipline algorithm in the coreSNTP demo yields an inaccurate wall-clock time (in UTC) that is always behind the astronomical UTC time by the chosen polling interval period of the demo. The issue with the clock discipline algorithm was that it was calculating the slew rate to make the system clock be gradually compensated for the previous time synchronization clock drift over the period of the subsequent polling time interval. Thereby, the clock slew rate correction calculated is always lower than it should be (because it does not incorporate possible clock drift that would occur over another period of time polling interval till the next time synchronization attempt). Fix This PR fixes the clock discipline algorithm to make the demo calculate its system time that matches the astronomical UTC time. The fix involves simplifying the clock discipline algorithm to use a combination of step and slew correction approaches where: 1. Step correction is applied on EVERY time successful synchronization with a time server. This immediately corrects the system time to match server time. 2. Slew rate is calculated ONCE (on the second successful time synchronization with server) and applied henceforth, on every time polling interval period to compensate gradually for the system clock drift during the period.
* [P3] Update corePKCS11 demo to read the public key (#652)Shivangi2021-07-164-4/+14
| | | * PKCS11 fix
* Add note in coreSNTP demo about Network Time Security (NTS) (#648)Archit Aggarwal2021-07-152-12/+144
| | | | | | This PR makes the following changes in the coreSNTP demo: To suggest the most secure way of using SNTP communication, we are adding a documentation note about the Network Time Security in the SNTP demo. Hygiene update of using the FreeRTOS/backoffAlgorithm utility library for calculating time polling period interval backoff when time requests are rejected by a time server.
* Cleaned up report_builder in defender_demo_json (#644)tianmc12021-07-142-83/+55
|
* Update coreSNTP demo to avoid issues from open UDP socket (#647)Archit Aggarwal2021-07-141-59/+143
| | | | | | | 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.
* [P3] Submodule pointer update to LTS Libraries (#640)Shivangi2021-07-146-0/+0
| | | | | | | | | | | | | | | | | | | * moved submodule to backoff v1.0.1 * move corehttp module to latest commit * move coremqtt module to latest commit * move coremqtt Agent module to latest commit * move coreSNTP Agent module to latest commit * move coreJSON Agent module to latest commit * move corePKCS11 Agent module to latest commit * Reverting coreHttp to previous commit * Updating coreHttp pointer after fix
* Updated device-shadow submodule to support named shadow, and updated demo to ↵tianmc12021-07-073-60/+85
| | | | use named shadow (#636)
* Fix data copy address error (#634)thomas-coding2021-06-291-2/+3
|
* Update coreSNTP submodule and coreSNTP demo (#631)Archit Aggarwal2021-06-253-32/+85
| | | | | | | | | Update the coreSNTP submodule to the latest commit. Also, make updates to the coreSNTP demo for the new changes in the SNTP library which include the following: 1. Update to the type for packet size from size_t to uint16_t for parameters in the transport and authentication interfaces. 2. Change in the call to Sntp_SendTimeRequest API to pass the new blockTimeMs parameter added to the API. 3. Update to the clock-offfset type from int32_t to int64_t for representing information in milliseconds. To accommodate this update in the SntpSetTime_t interface, the mathematical model for representing system clock has been updated to store slew rate as milliseconds/second (instead of second/second). This change improves the accuracy of the WinSim demo time correction (because the milliseconds of time difference between server and client time is corrected over the entire polling interval which makes a significant difference!). This PR also adds demo config macros for setting the block time values passed to the Sntp_SendTimeRequest and Sntp_ReceiveTimeResponse APIs.
* Add authentication support to coreSNTP demo (#625)Archit Aggarwal2021-06-167-56/+1748
| | | | | | | | Update the coreSNTP demo to showcase use of symmetric key algorithm of authentication scheme for securing SNTP communication between client and server. The demo uses the AES-128-CMAC algorithm for the generating Message Authentication Code for the client on sending the SNTP time request to server as well as validating the server response received by verifying if the payload present authentication code can be generated. Use of an authentication mechanism in SNTP communication protects against server spoofing attacks as well as man-in-the-middle attacks of server response modification. The demo uses corePKCS11 library for the AES-CMAC operations. Also, the demo adds functionality of generating random number, using corePKCS11, for sending as a parameter to the Sntp_SendTimeRequest API. Note: For symmetric key based security mechanism to be protective against malicious, it is IMPORTANT to securely pre-share the symmetric key between client and server.
* Add unauthenticated mode demo for coreSNTP library for time synchronization ↵Archit Aggarwal2021-06-1013-0/+2596
| | | | | | | (#621) Add the FreeRTOS/coreSNTP library as a submodule (along with manifest.yaml file update) and add a demo project to showcase use of the coreSNTP library for having a SNTP client daemon in the system for periodically synchronizing system time with the internet to maintain Coordinated Univeral Time (UTC) in a device. This demo maintains UTC time of system in RAM, thereby, representing systems without a Real-Time Clock (RTC) module in the device. Note: This demo shows use of coreSNTP library for SNTP communication with NTP/SNTP time servers in non-authenticated mode (i.e. without any security mechanism payload beyond the standard 48 bytes of NTP packet exchange between client-server).
* Updated demo_config.h and include paths for OTA demos (#605)jasonpcarroll2021-05-273-1/+7
| | | Co-authored-by: Jason Carroll <czjaso@amazon.com>
* Fix missed variable rename (#600)Archit Gupta2021-05-171-3/+3
|
* Let vAssertCalled() produce some logging to stdout (#598)Hein Tibosch2021-05-141-4/+4
|
* Aws only files spell check (#593)Aniruddha Kanhere2021-05-1318-38/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added spell check * All words * Add a missing word * Fix header checks * Fix header checks v1 * Fix header check v2 * Updated freertos link in header * Fixed afr link in the header * Fix last of header checks * Update the spell check script to check amazon licensed files only * Fixed paths and added comments * Try with modified repo * Add inplace substitute option to sed * Use official repo as the spell checker source * Add vendor file to the ignored list Co-authored-by: root <root@ip-172-31-5-28.us-west-2.compute.internal>
* Merge FreeRTOS 202104.00 to main (#585)Archit Aggarwal2021-04-29268-307/+352
|
* OTA Demos (#573)Prasad Vyawahare2021-04-2635-0/+13738
| | | | | | | | | This change adds the OTA demos and required dependencies and helper components . * Add demos , configs and project files * Add subscription manager * Add HTTP utils * Submodules the OTA LTS 3.0 Library. * Add OTA pal
* Rename MQTT Agent structs and files (#576)Archit Aggarwal2021-04-269-61/+61
|
* Remove unecessary file (#495)alfred gedeon2021-04-211-746/+0
|
* Automate doxygen ZIP creation with GitHub Action (#568)Archit Aggarwal2021-04-211-0/+0
| | | Automate creation of doxygen ZIP output by using the custom doxygen GitHub Action, that has been updated to generate ZIP artifact in PR
* Add feature to set credentials using buffer in MQTT_Mutual_Auth_wolfSSL demo ↵TakayukiMatsuo2021-04-214-94/+231
| | | | | | (#522) * Add feature to set credentials using buffer * Change instructions for giving credential data via buffer
* Change Shadow submodule to point to LTS release tag (#567)Archit Aggarwal2021-04-201-0/+0
|
* Replace multithreading demo with MQTT Agent (#563)Muneeb Ahmed2021-04-2016-2256/+1925
| | | | | | | | | | | | | | * Update MQTT agent submodule * Copy MQTT agent demo files * Remove other demos from connection manager * Update demo config and uncrustify * Update readme files * Fix headers