wireshark-lua icon indicating copy to clipboard operation
wireshark-lua copied to clipboard

Any plans to support Currenex ITCH protocols

Open chughes2020 opened this issue 8 months ago • 3 comments

Hi, Do you have any plans to add the Currenex ITCH protocols?

Please find links to the latest specs below:-

  • https://www.currenex.com/content/6-support/documentation/currenex/ITCH-Spec.pdf
  • https://www.currenex.com/content/6-support/documentation/currenexnow/Currenex_NOW_Itch_Specification.pdf

Thanks Chris

chughes2020 avatar Jun 10 '25 15:06 chughes2020

We have a working binary data model but this is a new protocol structure. Can you please provide a pcap for testing/verification?

Open-Markets-Initiative avatar Jun 13 '25 14:06 Open-Markets-Initiative

Can I share this securely or just provide the payload data?

chughes2020 avatar Jun 17 '25 15:06 chughes2020

Thanks - I can see Currenex has been added and going through testing. I currently get the following decoder errors:-

User Datagram Protocol, Src Port: 40100, Dst Port: 42705
<Wireshark Lua fake item>
Currenex Forex Esp Citch 9.0 (43 Bytes)
Lua Error: ...lua\Currenex\Currenex_Forex_Esp_Citch_v9_0_Dissector.lua:1570: attempt to call a nil value (field 'itch_soh')
    [Expert Info (Error/Undecoded): Lua Error: ...lua\Currenex\Currenex_Forex_Esp_Citch_v9_0_Dissector.lua:1570: attempt to call a nil value (field 'itch_soh')]
        [Lua Error: ...lua\Currenex\Currenex_Forex_Esp_Citch_v9_0_Dissector.lua:1570: attempt to call a nil value (field 'itch_soh')]
        <Message: Lua Error: ...lua\Currenex\Currenex_Forex_Esp_Citch_v9_0_Dissector.lua:1570: attempt to call a nil value (field 'itch_soh')>
        [Severity level: Error]
        [Group: Undecoded]
Lua Traceback
[Community ID: 1:Fz6tFGnvVKMAvgIZ8ISE08G14fY=]

Currenex ITCH is also available over TCP, once the UDP decoder is working is it possible to develop a TCP one also?

chughes2020 avatar Jun 30 '25 16:06 chughes2020

It would be very hard to debug this over GitHub. While we do our best to generate directly from the pdf specifications, the reality is that we only understand the actual parsing rules of the protocols through trial and error. Please post a pcap or send us one at contact at openmarketsinitiative dot com. We will fix any issues and regenerate.

We can generate TCP also (please include a test pcap). Additionally, shortly we will post dissectors for ESP and Ouch; test pcaps for these protocols will be much appreciated.

Thanks.

Open-Markets-Initiative avatar Jul 03 '25 14:07 Open-Markets-Initiative

Please try again. We found an issue with the ESP dissector when working on OUCH.

Open-Markets-Initiative avatar Jul 08 '25 16:07 Open-Markets-Initiative