Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » Trouble getting SCTP to work with IPL4
Trouble getting SCTP to work with IPL4 [message #1821670] Tue, 18 February 2020 12:08 Go to next message
Andre Puschmann is currently offline Andre PuschmannFriend
Messages: 6
Registered: February 2020
Junior Member
Hi guys,

I am currently in the process of refactoring some binary protocol between the DUT and the tester. I've used TCP over the IPL4 test port previously but would like to use SCTP instead.

In theory this should be straight forward, shouldn't it? But I can't seem to get it to work. The autoconnect wouldn't succeed. Below are the testport parameters.

[TESTPORT_PARAMETERS]
system.E_SRB.debug                     := "yes" //or "no"
system.E_SRB.defaultListeningPort      := "0"
system.E_SRB.map_behavior              := "connect"
system.E_SRB.RemotePort                := "2226" // SUT port for E_SRB
system.E_SRB.RemoteHost                := "127.0.0.1"   // SUT - IP
system.E_SRB.lazy_conn_id_handling     := "yes"
system.E_SRB.map_protocol              := "sctp"
system.E_SRB.sctp_stack                := "kernel"


I am running a ncat listener like this
ncat --sctp -l -p 2226


The Titan logs look like this:
13:03:53.523609 PARALLEL NasEmu.ttcn:689(function:f_NASEMU_MainLoop) Mapping port 4:SYS_SRB to system:E_SRB.
13:03:53.523693 PORTEVENT NasEmu.ttcn:689(function:f_NASEMU_MainLoop) Port SYS_SRB was mapped to system:E_SRB.
13:03:53.523757 PORTEVENT NasEmu.ttcn:689(function:f_NASEMU_MainLoop) Port E_SRB was started.
13:03:53.523799 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: debug, value: yes)
13:03:53.523836 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: defaultListeningPort, value: 0)
13:03:53.523855 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: map_behavior, value: connect)
13:03:53.523867 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: RemotePort, value: 2226)
13:03:53.523878 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: RemoteHost, value: 127.0.0.1)
13:03:53.523903 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: lazy_conn_id_handling, value: yes)
13:03:53.523917 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: map_protocol, value: sctp)
13:03:53.523928 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::set_parameter: enter (name: sctp_stack, value: kernel)
13:03:53.523941 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: IPL4asp__PT_PROVIDER::user_map(SYS_SRB): enter
13:03:53.524232 PORTEVENT NasEmu.ttcn:689(function:f_NASEMU_MainLoop) entering f__IPL4__PROVIDER__connect: :0 -> 127.0.0.1:2226 / SCTP
13:03:53.524262 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: f__IPL4__PROVIDER__connect: enter
13:03:53.524327 DEBUG NasEmu.ttcn:689(function:f_NASEMU_MainLoop) E_SRB: f__IPL4__PROVIDER__connect: create new socket: :0 -> 127.0.0.1:2226
13:03:53.524493 ERROR NasEmu.ttcn:689(function:f_NASEMU_MainLoop) Dynamic test case error: IPL4asp__PT_PROVIDER::user_map(SYS_SRB): Autoconnect: Can not connect: -1  
13:03:53.524575 VERDICTOP NasEmu.ttcn:689(function:f_NASEMU_MainLoop) setverdict(error): none -> error


I am using R25A of the IPL4asp.

Any idea whats going on here?

Thanks
Andre
Re: Trouble getting SCTP to work with IPL4 [message #1821697 is a reply to message #1821670] Tue, 18 February 2020 19:51 Go to previous message
Andre Puschmann is currently offline Andre PuschmannFriend
Messages: 6
Registered: February 2020
Junior Member
Sorry for the double post. Can an admin please delete this topic? Thanks
Previous Topic:test port for stdio of external tool?
Next Topic:Using JSON in TTCN-3 and Titan Part I: Testing REST / JSON web services:
Goto Forum:
  


Current Time: Thu Apr 25 23:27:56 GMT 2024

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

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

Back to the top