硬汉嵌入式论坛

 找回密码
 立即注册
查看: 675|回复: 0
收起左侧

[NetX] ThreadX NetXDUO升级至V6.3.0,增加实时传输RTP,RTCP和RTSP支持(2023-11-01)

[复制链接]

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106660
QQ
发表于 2023-11-1 10:28:38 | 显示全部楼层 |阅读模式
论坛下载:

https://www.armbbs.cn/forum.php?mod=viewthread&tid=97925

Github下载:
https://github.com/azure-rtos/netxduo/releases


[C] 纯文本查看 复制代码
  Files are added to support new protocols: Real Time Transport Protocol (RTP), RTP Control Protocol (RTCP), and Real Time Streaming Protocol (RTSP)
        addons/rtp/nx_rtp_sender.c
        addons/rtp/nx_rtp_sender.h
        addons/rtsp/nx_rtsp_server.c
        addons/rtsp/nx_rtsp_server.h

    Files are modified to improve the internal logic for finding a free port:
        common/src/nx_tcp_free_port_find.c
        common/src/nx_udp_free_port_find.c

    Files are modified to improve packet length or buffer length verification:
        common/inc/nx_icmpv6.h
        common/src/nx_icmpv6_packet_process.c
        common/src/nx_icmpv6_process_na.c
        common/src/nx_icmpv6_process_ns.c
        common/src/nx_icmpv6_process_packet_too_big.c
        common/src/nx_icmpv6_process_redirect.c
        common/src/nx_icmpv6_process_ra.c

    Files are modified to support random IP id:
        common/inc/nx_api.h
        common/inc/nx_user_sample.h
        common/src/nx_ip_create.c
        common/src/nx_ip_header_add.c
        common/src/nx_ipv6_fragment_process.c

    Files are modified to fix typo in the comments:
        crypto_libraries/src/nx_crypto_3des.c
        crypto_libraries/src/nx_crypto_aes.c
        crypto_libraries/src/nx_crypto_des.c
        crypto_libraries/src/nx_crypto_drbg.c
        crypto_libraries/src/nx_crypto_ecdh.c
        crypto_libraries/src/nx_crypto_ecdsa.c
        crypto_libraries/src/nx_crypto_ecjpake.c
        crypto_libraries/src/nx_crypto_hkdf.c
        crypto_libraries/src/nx_crypto_hmac.c
        crypto_libraries/src/nx_crypto_hmac_md5.c
        crypto_libraries/src/nx_crypto_hmac_sha1.c
        crypto_libraries/src/nx_crypto_hmac_sha2.c
        crypto_libraries/src/nx_crypto_hmac_sha5.c
        crypto_libraries/src/nx_crypto_md5.c
        crypto_libraries/src/nx_crypto_pkcs1_v1.5.c
        crypto_libraries/src/nx_crypto_rsa.c
        crypto_libraries/src/nx_crypto_sha1.c
        crypto_libraries/src/nx_crypto_sha2.c
        crypto_libraries/src/nx_crypto_sha5.c
        crypto_libraries/src/nx_crypto_tls_prf_1.c
        crypto_libraries/src/nx_crypto_tls_prf_sha256.c
        crypto_libraries/src/nx_crypto_tls_prf_sha384.c
        crypto_libraries/src/nx_crypto_tls_prf_sha512.c

    File is modified to fix packet buffer overrun:
        nx_secure/src/nx_secure_tls_send_certificate.c

    File is modified to check length before sending:
        nx_secure/src/nxe_secure_tls_session_send.c

    File is modified to fix the logic of handling close notify packet from peer:
        nx_secure/src/nx_secure_dtls_session_end.c

    Files are modified to avoid duplicate packet release when DTLS send fails:
        nx_secure/src/nx_secure_dtls_send_record.c
        nx_secure/src/nx_secure_dtls_server_handshake.c
        nx_secure/src/nx_secure_dtls_session_receive.c

    Files are modified for Azure IoT:
        nx_azure_iot*                                      Corrected the include order for IoT security module.
                                                           Added error state in notification callback to let user application have the chance to retry new update for Azure Device Update.
                                                           Reported the result of each step for Azure Device Update.
                                                           Improved the code to ignore null file url for Azure Device Update.
                                                           Added the PnP check for Azure Device Update.
                                                           Added sha256 in driver preprocess command for Azure Device Update.
                                                           Fixed multiple proxy update issue for Azure Device Update.
                                                           Added support for skipping failed step/update for Azure Device Update.
                                                           Corrected the packet allocation for MQTT over WebSocket.
    Other modified files:
        common/src/nx_ipv4_packet_receive.c                Validated packet length for fragments. Make sure length of packet with more bit flag is multiple of 8.
        common/src/nx_igmp_packet_process.c                Unified checksum calculation by function call.
        common/src/nx_tcp_packet_process.c                 Validated TCP header buffer to avoid span in multiple packets.
        common/src/nx_tcp_socket_state_data_check.c        Corrected the acked packet count.

        addons/bsd/nxd_bsd.h                               Added options to disable OS BSD APIs overriding.
        addons/bsd/nxd_bsd.c                               Support random IP id.
                                                           Used new APIs/structs naming.

        addons/dhcp/nxd_dhcp_client.c                      Support random IP id.
                                                           Corrected caller checking for the function _nxe_dhcp_state_change_notify.
        addons/dhcp/nxd_dhcp_server.c                      Fixed local variable type issue for the function _nx_dhcp_server_extract_information under strict aliasing compiling option.
                                                           Corrected the logic of verifying the incoming packet length.
        addons/dhcp/nxd_dhcpv6_server.c                    Fixed server not update client record issue when continuous CONFIRM message received.
                                                           Corrected server for ignoring both preferred-lifetime and valid-lifetime in client request message(s).

        addons/dns/nxd_dns.c                               Reset the receive status for mismatch ID to avoid processing and releasing null packet.

        addons/ftp/nxd_ftp_client.c                        Corrected the length of packet buffer to avoid write overflow.
                                                           Fixed packet double release issue in _nx_ftp_client_file_write.
        addons/ftp/nxd_ftp_server.c                        Set packet pointer to NULL after released to fix duplicate packet release issue.
                                                           Avoided duplicate creation for data socket when previous command is not finished.
                                                           Fixed data length underflow when TCP MSS is less than 255.
                                                           Removed deletion of control socket in stop API which is only needed in delete API.

        addons/mdns/nxd_mdns.h                             Corrected mDNS symbols check for NX_MDNS_ENABLE_IPV6.

        addons/mqtt/nxd_mqtt_client.c                      Improved internal logic for MQTT packet allocation.

        addons/nat/nx_nat.c                                Fixed packet double release issue in _nx_nat_process_packet.

        addons/ppp/nx_ppp.c                                Supported processing compressed data.
        addons/ppp/nx_ppp.h                                Supported processing compressed data.

        addons/smtp/nxd_smtp_client.c                      Set nx_smtp_server_packet to NULL to avoided duplicate packet release in _nx_smtp_utility_read_server_code.

        addons/snmp/nxd_snmp_.c                            Combined the functions of processing snmp v1 and v2.
                                                           Improved packet length or buffer length verification.
                                                           Fixed packet double release issue.
        addons/snmp/nxd_snmp_.h                            Combined the functions of processing snmp v1 and v2.

        addons/sntp/nxd_sntp_client.c                      Dropped packet chain for SNTP data to avoid write overflow.


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-4-29 07:37 , Processed in 0.158834 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表