Default security of TCP ports in MQX

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Default security of TCP ports in MQX

856 Views
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

Labels (1)
Tags (2)
0 Kudos
3 Replies

421 Views
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 Kudos

421 Views
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 Kudos

421 Views
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 Kudos