Default security of TCP ports in MQX

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Default security of TCP ports in MQX

1,042件の閲覧回数
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 返答(返信)

607件の閲覧回数
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 件の賞賛
返信

607件の閲覧回数
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 件の賞賛
返信

607件の閲覧回数
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 件の賞賛
返信