IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


Release Notes – SC2x3 @CHIP-RTOS-PPC V1.50

The tickets are grouped by component and then sorted by type and ticket number.


RTOS - Ethernet
Ticket: #431
Component: RTOS - Ethernet
Type: defect
Summary: Hash check of individual unicast addresses is turned on erroneously
Description: The Ethernet controllers hash check of individual unicast addresses is turned on erroneously. This leads to the potential reception of Ethernet frames other than to the own MAC address and broadcasts.
In conjunction with IP forwarding turned on, this makes the chip forward these packets. This could result in illegal packets on the network and a high network load.
Solution: Fixed.




RTOS - FTP server
Ticket: #396
Component: RTOS - FTP server
Type: defect
Summary: FTP server working path problem
Description: The FTP server returns the wrong working directory in some case. The main problem was that changing the directory to just '.' was not correctly handled in all cases.
Solution: Fixed.



Ticket: #408
Component: RTOS - FTP server
Type: defect
Summary: Malfunction if ROOTDIR is given without DRIVE entry
Description: The FTP server does not set his working directory correctly when only the ROOTDIR CHIP.INI entry is given and the DRIVE entry is missing. The documentation says that drive A: will be assumed, but this is not the case.
Solution: Fixed.




RTOS - File system
Ticket: #399
Component: RTOS - File system
Type: defect
Summary: findfirst() / findnext() problems
Description: 1) When a final slash or backslash is specified on the path used for findfirst(), BIOS_LFN_Findfirst() or BIOS_Fast_Findfirst() the contents of that directory will not be reported.

2) The BIOS_LFN_Findnext() (when 'lock_the_node' parameter to BIOS_LFN_Findfirst() was FALSE) or findnext() API fail when a drive's root directory is scanned.

Note: These bugs were introduced by changes made for @Chip-RTOS-PPC version 1.40.
Solution: Make @Chip-RTOS append the *.* for case 1), and a code correction was made for case 2).



Ticket: #411
Component: RTOS - File system
Type: defect
Summary: Format command and alignment requirements for SD cards
Description: SD cards require some special alignment. Without it the performance and endurance can suffer.
Solution: Read out logical block address of sector zero from the EXTSD driver. Use this partition offset value to assure that clusters are aligned to the SD card's internal flash pages when formatting the drive.




RTOS - IPsec/IKE/Crypt
Ticket: #410
Component: RTOS - IPsec/IKE/Crypt
Type: defect
Summary: IPsec IKE crashing when both the @Chip and peer are behind a NAT
Description: IKE negotiations will not succeed when peer is behind a NAT due to extra logic that was present to prevent the peer port switch from IKE port 500 over to NAT-IKE port 4500 when the @Chip was the IKE initiator.

This logic must be removed.
Solution: Correct the switch over from IKE port 500 to IKE-NAT port 4500. Now this switch is done irrespective of whether or not the peer is behind a NAT.



Ticket: #433
Component: RTOS - IPsec/IKE/Crypt
Type: defect
Summary: PKI certificate 4096 bit RSA keys are not working
Description: This system supports RSA key sizes up to 4096 bits, but the signature signing and verification with 4096 bit keys is failing. It can hang forever in some cases.

Likewise, the Crypt_BN_Mod_Exp() API's implementation will not give correct results when the big numbers approach 4096 bits size.
Solution: Big number overflow within the cryptography modular exponentiation has been corrected.



Ticket: #401
Component: RTOS - IPsec/IKE/Crypt
Type: enhancement
Summary: Add SHA-256 hash method
Description: The SHA-256 hash method shall be added for use by TLS certificates and IPSec.

API functions shall also be made available.
Solution: Added SHA256 hash support for PKI, IPsec, SSL. (SHA256 is not yet implemented on system's SSH).



Ticket: #426
Component: RTOS - IPsec/IKE/Crypt
Type: enhancement
Summary: Add RSA API functions
Description: The RTOS should provide API functions for RSA signature and verification.
Solution: Added new C-Library functions Crypt_RSA_Sign(), Crypt_RSA_Verify() and Crypt_RSA_GetKeySize().




RTOS - System
Ticket: #412
Component: RTOS - System
Type: defect
Summary: RTX_Sleep_Time() and RTX_Sleep_Fine() API should return 0 normally
Description: After the specified sleep period has expired, the RTX_Sleep_Time() and RTX_Sleep_Fine() API should return a zero instead of the -27 error code.

For invalid negative time delay parameter, these API should return error code -48 instead of -27.
Solution: API functions corrected so that the proper error codes are returned.



Ticket: #423
Component: RTOS - System
Type: defect
Summary: Race condition in sniff command
Description: The sniff command leaks a race condition during initial creation of the capture file. In rare conditions the created .cap file name can be corrupted.
Solution: Fixed.



Ticket: #427
Component: RTOS - System
Type: defect
Summary: SSL not working with Firefox version 34 or newer.
Description: Firefox refuses connection on @Chip-RTOS-PPC HTTPS Web server due to security reasons with message like:

"Firefox cannot guarantee the safety of your data on xxx because it uses SSLv3, a broken security protocol."
Solution: Fixed.



Ticket: #429
Component: RTOS - System
Type: defect
Summary: Fix return code of RTX_Get_Task_State()
Description: On success function RTX_Get_Task_State() should return task ID instead of value zero.
Solution: Fixed.




RTOS - TCP/IP
Ticket: #404
Component: RTOS - TCP/IP
Type: defect
Summary: Interface information does not include correct PPP remote address
Description: The function Dev_Get_IfaceEntries() respectively Get_Iface_Entries_Ext() do not set the remote IP address in the devDestIpAddr field correctly.
Solution: Fixed.



Ticket: #407
Component: RTOS - TCP/IP
Type: defect
Summary: Ping_Open() returns hardly meaningful error code
Description: In case of an error the function Ping_Open() always returns the hardly meaningful error code -1. This should be improved.
Solution: Fixed.



Ticket: #415
Component: RTOS - TCP/IP
Type: defect
Summary: UDP Multicast does not work
Description: UDP Multicast has some problems:
1) AddMulticastIPv4() API does not work properly when recommended NULL pointer for the macAddress parameter is used.
2) sendto() API does not do the required handling for class D multicast IPv4 addresses.
Solution: Corrected some @Chip-RTOS bugs that prevented UDP multicast to work.



Ticket: #416
Component: RTOS - TCP/IP
Type: defect
Summary: Some valid PKI certificates are not accepted by SSL
Description: Certificates that do not include the optional NULL algorithm parameters in the signature are not accepted by the @Chip-RTOS.
Solution: Tolerate the omitted NULL algorithm parameters argument, as called for by RFC-4055.



Ticket: #417
Component: RTOS - TCP/IP
Type: defect
Summary: TCP/IP memory leak in device drivers that use DHCP
Description: When a TCP/IP device driver is closed and later opened again, a 450 byte block of TCP/IP memory used by DHCP will be lost.
Solution: Revised the Dev_Open_Interface() implementation to avoid this memory loss when an existing device is reopened.



Ticket: #425
Component: RTOS - TCP/IP
Type: defect
Summary: Issue with SSL client authentication
Description: When the SSL server requests a client certificate and the client does not have a client certificate installed, the client should send an empty certificate message to the server. Currently, this is not the case, instead the client closes the connection with SSL handshake error.
Solution: Modify SSL handshake so that an empty certificate list is sent to server when we have nothing better to send.



Ticket: #418
Component: RTOS - TCP/IP
Type: enhancement
Summary: Support SSL Server Name Indication
Description: Should support the SSL Server Name Indication. It's an extension (extension: server_name) in the SSL Client Hello message, that indicates to what hostname the client is attempting to connect.

This allows a server to present multiple certificates on the same IP address and port number and hence allows multiple secure (HTTPS) websites to be served off the same IP address without requiring all those sites to use the same certificate.
Solution: Implemented.




RTOS - Web server
Ticket: #400
Component: RTOS - Web server
Type: defect
Summary: No error response is sent when an unknown method is given
Description: If the browser uses an unknown HTTP method in his request, the web server does not answer with an error response, instead the request times-out. The web server should answer with a 501 error message in such a case.
Solution: Fixed.



Ticket: #405
Component: RTOS - Web server
Type: defect
Summary: Realm string should be quoted
Description: For a protected URL the web server sends the realm string in his Www-Authenticate header field without quotes. Some browsers might not parse this header field correctly if the quotes are missing.
Solution: Send the realm string as quoted-string.



Ticket: #409
Component: RTOS - Web server
Type: defect
Summary: Memory leak in conjunction with CGI_FLAG_CALL_AGAIN
Description: The web server shows a memory leak if the StreamCGI example is used and the page is refreshed constantly. The problem is related to the CGI_FLAG_CALL_AGAIN option.
Solution: Fixed.



Ticket: #432
Component: RTOS - Web server
Type: defect
Summary: Wrong content-encoding header
Description: Files can be transmitted by the web server with the wrong content-encoding header. This happens if a file is transmitted that has a special content-encoding, like *.SVGZ files, which use the "gzip" encoding. The next file transmitted might erroneously also use the same content-encoding header.
Solution: Fixed.



Ticket: #406
Component: RTOS - Web server
Type: enhancement
Summary: Maximum BODY_SIZE value should be increased
Description: The maximum value of the BODY_SIZE CHIP.INI parameter should be increased.
Solution: Increased the maximum adjustable value for BODY_SIZE from 32768 to 65280.



Ticket: #421
Component: RTOS - Web server
Type: enhancement
Summary: More users for web upload
Description: It should be possible to define more than a single user name and password for the web server upload feature.
Solution: Up to 10 user/password pairs can now be defined for the web server upload.



Ticket: #424
Component: RTOS - Web server
Type: enhancement
Summary: Additional web server upload path
Description: Should add the possibility to specify a second upload path for the web server.
Solution: Implemented, add UPLOAD_PATH2 CHIP.INI entry.




RTOS - Command shell
Ticket: #419
Component: RTOS - Command shell
Type: enhancement
Summary: Time-out in CGISTAT command
Description: The CGISTAT shell command should use a time-out when waiting for the CGI semaphore. If a CGI function is hanging in an endless loop, the CGI semaphore will never become available. Using a time-out will prevent the shell from hanging, too.
Solution: Implemented.



Ticket: #420
Component: RTOS - Command shell
Type: enhancement
Summary: Ping command should also show resolved IP address
Description: If a DNS name is given to the "ping" shell command, the output should also show the resolved IP address for the given name.
Solution: Implemented.








Top of page | Main page

Copyright © 2009 Beck IPC GmbH