]> git.sur5r.net Git - freertos/blob - FreeRTOS-Labs/Source/FreeRTOS-Plus-TCP/History.txt
52565cc86b814329943427fbd6882b79f0e85d90
[freertos] / FreeRTOS-Labs / Source / FreeRTOS-Plus-TCP / History.txt
1 Changes between 160919 and 180821 releases:\r
2 \r
3         + Multiple security improvements and fixes in packet parsing routines, DNS\r
4           caching, and TCP sequence number and ID generation.\r
5         + Disable NBNS and LLMNR by default.\r
6         + Add TCP hang protection by default.\r
7 \r
8 We thank Ori Karliner of Zimperium zLabs Team for reporting these issues.\r
9 \r
10 Changes between 160908 and 160919 releases:\r
11 \r
12         + Add a NULL check before attempting to close the DHCP socket.  [Prior to\r
13           160823 the IP task closed the DHCP socket by calling a public API function\r
14           - which checked for the socket being NULL.  This was changed to call a\r
15           local private function, which did not have a NULL check, in place of the\r
16           public API function.]\r
17         + Various [internal only] naming changes to better comply with the FreeRTOS\r
18           naming conventions.\r
19         + Improvements to the Zynq network driver.  DMA transmission buffers now use\r
20           a counting semaphore. When all TX-buffers are in-use, the IP-task will\r
21           block momentarily until a TX-buffer becomes available.\r
22         + Experimental implementation of the TCP window scaling protocol.  The\r
23           scaling option will always be offered, at least with a factor 1. If the\r
24           TCP sliding window size becomes more than 64KB, the factor will increase\r
25           automatically.\r
26         + ipconfigETHERNET_MINIMUM_PACKET_BYTES is now applied for every protocol:\r
27           TCP, UDP, and ARP.\r
28         + Updated the Zynq project to use BufferAllocation_1.c rather than\r
29           BufferAllocation_2.c - which is a requirement with its current\r
30           configuration (due to the alignment requirements on the combined cache and\r
31           DMA configuration).\r
32 \r
33 Changes between 160823 and 160908 releases:\r
34 \r
35         + Use ipconfigZERO_COPY_TX_DRIVER as the xReleaseAfterSend() parameter where\r
36           prvTCPReturnPacket() is called in prvSendData() to prevent unnecessary\r
37           copying of data.\r
38         + Remove the use of the uxGetRxEventCount variable, which was used to give\r
39           priority to incoming messages, but could result in the IP task starving\r
40           application tasks of processing time.\r
41 \r
42 Changes between 160112 and 160823 releases\r
43 \r
44         NOTE:  The 160908 release is a maintenance release for the 160112 single\r
45         interface labs release - not a release of the current development branch.\r
46 \r
47         + Various minor stability enhancements, including the ability to work with\r
48           configTICK_RATE_HZ set to less than 1KHz, closing DHCP sockets directly\r
49           rather than via FreeRTOS_closesocket(), and better handling of unknown\r
50           TCP packets before an IP address has been assigned.\r
51         + ipBUFFER_PADDING is now configurable through the ipconfigBUFFER_PADDING\r
52           constant to improve network buffer alignment handling capabilities (expert\r
53           users/driver writers only).\r
54         + Multiple improvements to the FTP server, including to how read only and\r
55           zero length files are handled.\r
56         + ipconfigFTP_HAS_USER_PROPERTIES_HOOK (to allow each user to have a\r
57           different root directory and access rights) and\r
58           ipconfigHTTP_HAS_HANDLE_REQUEST_HOOK (to handle AJAX style data)\r
59           introduced, although these are not yet fully tested and the constant names\r
60           are likely to change.\r
61         + Introduce ipconfigHAS_TX_CRC_OFFLOADING.\r
62         + ipconfigUSE_DHCP_HOOK is now called ipconfigUSE_DHCP_HOOK, and the name\r
63           of the callback function has also changed.  See the web documentation for\r
64           details.\r
65         + ipconfigTCP_RX_BUF_LEN is now ipconfigTCP_RX_BUFFER_LENGTH, and\r
66           ipconfigTCP_TX_BUF_LEN is now ipconfigTCP_TX_BUFFER_LENGTH, which is\r
67           actually how they have always been documented.\r
68         + Added example TFTP server capable of receiving (not sending) files.\r
69           Intended for bootloader type functionality.\r
70         + Various variable name changes for consistency (mainly ensuring UDP, TCP,\r
71           DNS, etc. always use the same case letters, and type prefixes are correct).\r
72         + Various minor edits to improve types used by internal variables.\r
73         + Simplified mapping of standard library functions to their Visual Studio\r
74           equivalents.\r
75         + Improve robustness of network drivers.\r
76         + Introduce pxResizeNetworkBufferWithDescriptor().\r
77         + Removed obsolete FreeRTOSIPConfig.h constants from\r
78           FreeRTOSIPConfigDefaults.h.\r
79         + Added additional asserts() - predominantly to catch incorrect structure\r
80           packing.\r
81 \r
82 Changes between 160112 and 160111 releases\r
83 \r
84         + Updated the STM32 network driver so checksums are calculated by the\r
85           hardware.\r
86         + Implemented a simple "quit" command in the TCP command console.\r
87 \r
88 Changes between 150825 and 160111 releases\r
89 \r
90         + New device support:  Demo applications and example drivers are provided\r
91           for Atmel SAM4E and ST STM32F4 microcontrollers.\r
92         + Various updates to improve compliance with the FreeRTOS coding standard.\r
93         + Added a command console example that uses TCP/IP for input and output (the\r
94           pre-existing command console example uses UDP/IP).\r
95         + Updated the UDP logging example so it will send log messages to the local\r
96           UDP broadcast address if a specific IP address is not provided.  This\r
97           simplifies configuration, but note not all switches and routers will pass\r
98           broadcast messages.\r
99         + Add TCP echo client and TCP echo server examples to the Zynq demo.\r
100         + Minor updates to the Zynq network driver.\r
101         + Update the Zynq project to use version 2015.4 of the Xilinx SDK.\r
102         + Introduce FreeRTOS_SignalSocket(), which can be used to interrupt a task\r
103           that is blocked while reading from a socket ( FreeRTOS_recv[from] ).\r
104         + Make use of FreeRTOS_SignalSocket() in the FTP and HTTP servers.\r
105         + Major updates to the NTP client, although this is not included in any of\r
106           the pre-configured demo applications yet.\r
107         + Added support for DHCP zero pad option.\r
108         + Added uxGetMinimumIPQueueSpace(), a function to monitor the minimum amount\r
109           of space on the message queue.\r
110         + Better handling of zero length files in the FTP server.\r
111         + Fixed a bug reported by Andrey Ivanov from swissEmbedded that affects\r
112           users of 'ipconfigZERO_COPY_TX_DRIVER'.\r
113 \r
114 \r
115 Changes between 150825 150825 (?)\r
116 \r
117         + Added xApplicationDHCPUserHook() so a user defined hook will be\r
118           called at certain points in the DHCP process if\r
119           ipconfigDHCP_USES_USER_HOOK is set to 1.\r
120         + Added FreeRTOS_get_tx_head() to improve TCP zero copy behaviour - for\r
121           expert use only.\r
122         + RST is no longer sent if only the ACK flag is set.\r
123         + Previously, an immediate ACK was only sent when buffer space was\r
124           exhausted.  Now, to improve performance, it is possible to send an\r
125           immediate ACK earlier - dependent on the ipconfigTCP_ACK_EARLIER_PACKET\r
126           setting.\r
127         + LLMNR and NBNS requests can now be sent to locate other devices -\r
128           previously these protocols would only be replied to, not generated.\r
129         + Added Auto-IP functionality (still in test) in case DHCP fails.  Dependent\r
130           on the ipconfigDHCP_FALL_BACK_LINK_LAYER_ADDRESS and\r
131           ipconfigARP_USE_CLASH_DETECTION settings.\r
132         + Added NTP code and demo.\r
133         + FTP can now STOR and RETR zero-length files.\r
134         + Added LLMNR demo to Win32 demo - so now the Win32 responds to\r
135           "ping RTOSDemo".\r
136 \r
137 Changes between 141019 and 150825\r
138 \r
139         + Added FTP server, which uses the new FreeRTOS+FAT component.\r
140         + Added basic HTTP server, which uses the new FreeRTOS+FAT component.\r
141         + Multiple definitions that are now common with FreeRTOS+FAT have been moved\r
142           into FreeRTOS's ProjDefs.h header file, and so prefixed with 'pd'.\r
143         + Introduced ipconfigZERO_COPY_TX_DRIVER, which defines who is responsible\r
144           for freeing a buffer sent to to the MAC driver for transmission, and\r
145           facilitates the development of zero copy drivers.\r
146         + Introduced the FREERTOS_MSG_DONTWAIT flag.  The flag can be used as a\r
147           simpler and faster alternative to using FreeRTOS_setsockopt() to set the\r
148           send or receive timeout to 0.\r
149         + A few functions that were previously all lower case are now mixed case, as\r
150           lower case function names are only used when they are equivalent to a\r
151           a Berkeley sockets API function of the same name.\r
152         + Introduced uxGetMinimumFreeNetworkBuffers() to return the minimum number\r
153           of network buffers that have ever existed since the application started\r
154           executing.\r
155         + Introduce ipconfigETHERNET_MINIMUM_PACKET_BYTES to allow the application\r
156           writer to set their own minimum buffer size should the hardware not be\r
157           capable of padding under-sized Ethernet frames.\r
158         + vNetworkBufferRelease() renamed vReleaseNetworkBuffer() - just for\r
159           consistency with the names of other functions in the same file.\r
160         + Grouped DHCP status data into a structure.\r
161         + DHCP is now tried both with and without the broadcast flag.\r
162         + Replaced occurrences of configASSERT_VOID() with configASSERT().\r
163         + ipconfigDNS_USE_CALLBACKS introduced to allow FreeRTOS_gethostbyname() to\r
164           be used without blocking.\r
165         + Fix: LLMNR and NBNS behaviour when the reply is in a larger buffer than the\r
166           request, and BufferAllocation_2 was used.\r
167         + Introduced ipMAX_IP_TASK_SLEEP_TIME to allow the application writer to\r
168           override the default value of 10 seconds.\r
169         + Fix:  Correct error in *pxUDPPayloadBuffer_to_NetworkBuffer().\r
170         + FreeRTOS_recv() now recognises the FREERTOS_ZERO_COPY flag, which, when\r
171           set, the void *pvBuffer parameter is interpreted as void **pvBuffer.\r
172         + FreeRTOS_listen() now returns an error code.  Previously it always\r
173           returned 0.\r
174         + Fix:  Previously if a listening socket was reused, and a connection\r
175           failed, the TCP/IP stack closed the socket, now the socket is correctly\r
176           left unclosed as it is owned by the application.\r
177         + Various other formatting and minor fix alterations.\r