mavlink-router / mavlink-router

Route mavlink packets between endpoints
Apache License 2.0
448 stars 278 forks source link

DTLS support #160

Open anandbhaskaran opened 5 years ago

anandbhaskaran commented 5 years ago

Hello. Thanks for this tool. It is really helpful.

Do you plan to implement encryption support (perhaps DTLS)? This would be a really nice addon to this tool and could transport messages more securely.

Thanks in advance.

lucasdemarchi commented 5 years ago

For IP it's a solved problem: make the transport use encryption.

Over radio, you need support on the flight stack side.

anandbhaskaran commented 5 years ago

Thanks for the quick response. Can you please point me to the documents or libraries to make the transport layer of Mavlink router to use encryption.

Should I extend the library with DTLS libraries like (Python DTLS) or is there any readymade solution that can forward the UDP mavlink over DTLS?

Thanks in advance.

lucasdemarchi commented 5 years ago

Can you clarify what you are trying to accomplish? Where are you routing the mavlink to/from? Is mavlink-router on the drone/ground/cloud?

anandbhaskaran commented 5 years ago

I am trying to use mavlink-router on the companion computer of the drone, that has connectivity to a remote server on the network. My goal is to make this communication as secure as possible.

jbeyerstedt commented 3 years ago

I would agree with Lucas, that it's not part of the scope of mavlink-router to ensure transport-layer security. If you want to have a secured link, you should rather think about adding a VPN between your companion computer and server then. But you have to search by yourself, which VPN protocol is suitable for your application.