Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » GRE-in-UDP for MCData IP Connectivity
GRE-in-UDP for MCData IP Connectivity [message #1855745] Mon, 31 October 2022 16:39 Go to next message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 128
Registered: November 2018
Senior Member
Hi Titan experts,

I need to implement in our MCX test suite GRE-in-UDP for MCData IP Connectivity 3GPP TS 24.582 Rel 17 section 13 which in turn is based on RFC 8086 over DTLS. Quite a lot of encapsulation!

The application is for secure point-to-point communication for Future Railway Mobile Communication System (FRMCS).

My question is if someone has an example of DTLS usage with Titan to start with.

Thanks for any hints.

Olaf
Re: GRE-in-UDP for MCData IP Connectivity [message #1855763 is a reply to message #1855745] Wed, 02 November 2022 07:48 Go to previous messageGo to next message
Gábor Szalai is currently offline Gábor SzalaiFriend
Messages: 138
Registered: December 2015
Senior Member
The IPL4 test port supports DTLS over UDP.

Basically just connect the UDP socket, and call the StartTLS function.

For UDP server side, use the {dtls:={udp:={}}} proto instead of {udp:={}}
Re: GRE-in-UDP for MCData IP Connectivity [message #1855764 is a reply to message #1855763] Wed, 02 November 2022 07:52 Go to previous messageGo to next message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 128
Registered: November 2018
Senior Member
Wow, thanks, Gábor!
I will investigate.
Olaf
Re: GRE-in-UDP for MCData IP Connectivity [message #1855810 is a reply to message #1855764] Fri, 04 November 2022 08:40 Go to previous messageGo to next message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 128
Registered: November 2018
Senior Member
Hi Gábor,

I experimented with the IPL4 test port.
The code below attached for running client/server TLS between two machines works 50% of the executions but not 100%.

Changing the proto form {ssl:={}} to dtls:={udp:={}}} it should work for DTLS.
But it does not work :-(

Regards,
Olaf
  • Attachment: TLSTest.ttcn
    (Size: 4.98KB, Downloaded 73 times)
Re: GRE-in-UDP for MCData IP Connectivity [message #1855823 is a reply to message #1855810] Sat, 05 November 2022 17:48 Go to previous message
Olaf Bergengruen is currently offline Olaf BergengruenFriend
Messages: 128
Registered: November 2018
Senior Member
Now DTLS transfer works 100% of the executions :-)

Thanks, Gábor for the hint to the excelent IPL4 framework

The cfg at the Client side needed:
*.dtlsPort.ssl_reconnect_attempts := "100" // ??


And the cfg at the Server side:
*.dtlsPort.pureNonBlocking := "yes" // why ??


Regards,
Olaf
Previous Topic:XER: Untagged optional union decoding
Next Topic:XSD anyElement trouble
Goto Forum:
  


Current Time: Sun Dec 22 06:19:21 GMT 2024

Powered by FUDForum. Page generated in 0.02295 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top