This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

What is tns.port?

0

I was looking at the sqloracle dissector (packet-sqloracle.c) and I noticed that it doesn't register a TCP port; instead, it registers tns.port, as follows:

dissector_add_uint("tns.port", TCP_PORT_TNS, sqloracle_handle);

What is tns.port?

Is this dissector able to be used, or is it there "in case someone wants to use it in the future"?

asked 07 Mar '13, 14:05

moshe's gravatar image

moshe
21125
accept rate: 0%

edited 07 Mar '13, 14:05


One Answer:

2

AFAIK: it's there in case someone wants to try to use it as the base for creating an sqloracle dissector.

See:

EMail 1 and EMail 2

answered 07 Mar '13, 14:41

Bill%20Meier's gravatar image

Bill Meier ♦♦
3.2k1850
accept rate: 17%

edited 07 Mar '13, 14:42

I had found the same emails when I googled. Given that they're more than five years old, I'm hoping for something slightly more authoritative, and if there have been any updates since then.

(07 Mar '13, 17:12) moshe

AFAIK no one has done any work on this (or at least no one has submitted any patches on this).

(07 Mar '13, 17:21) Bill Meier ♦♦

I contacted the wireshark devs - it appears that TNS is something that may run on top of TCP/UDP, specifically for Oracle SQL traffic. This dissector was removed in r48349 and was the only occurrence of tns.ports use. You can read more at the bug report I filed.

(23 May '13, 11:34) moshe