Default security of TCP ports in MQX

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Default security of TCP ports in MQX

988 次查看
akhil
Contributor III

Hi all,

Is there any default security in the RTCS network stack for the following situation? If yes, how to enable this?

     *     A TCP port (say 7564) is in opened state and the port is waiting for a valid connection.

     *     Then connections are tried from  the unknown sources continuously to that port. This causes the port busy state, which is unexpected.

Thanks

Akhil

标签 (1)
标记 (2)
0 项奖励
回复
3 回复数

553 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Akhil,

what you require is not possible only with RTCS. You may need some estra library such as SSL. Please take a look to the following links.

wolfSSL - Products | wolfSSL Embedded SSL Library

Now Available: CyaSSL for MQX RTCS

How To: Build and run the MQX HTTPS Server example with CyaSSL

Regards,

Carlos

0 项奖励
回复

553 次查看
akhil
Contributor III

Dear Carlos,

Thank you for the information.

But I would like to know the details of basic TCP connection. Is there any inbuilt features like denial of service/connection, to the unwanted connection with the TCP listen port, as the part of  MQX OS/RTCS network stack?

Regards

Akhil

0 项奖励
回复

553 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Akhil,

Unfortunately there is nothing that RTCS can provide to pick up valid connections in socket level (transport layer).

You can develop your own method in application layer level to pick out valid connections and destroy invalid ones. But as I mentioned this is not in transport layer (socket level).

Please take a look to the following application where we identify the message and execute commands depending on message. You can do the same and keep or terminate connection depending on the message you receive.

http://www.freescale.com/files/microcontrollers/doc/app_note/AN4417.pdf

Regards,

Carlos

0 项奖励
回复