RE: Stanag (s)5066 changing port

"Menno Andriesse" <[email protected]>
Newsgroups gmane.network.ethereal.devel
Organization NATO C3 Agency
Message-ID <001c01c66f6b$526a7490$6970a9c3@MORAINE>
By popular request (sort of...) here is a patch for the S5066 dissector to
enable TCP port preference.

Menno. 

-----Original Message-----

I'll work on that if I can find 30 minutes today.

Menno.

-----Original Message-----

Dear All

I am trying to find the source of the errors with an s5066 IP client using a
port different to the well-known value of 5066. I cannot change this port on
my IP client so is there a method to change the port Ethereal listens to?

I am using Ethereal 0.99.0 (with s5066 inbuilt plugin) to attempt to capture
the 5066 packets but I cant see anything. I think this is related to the
plugin listening to port 5066. I see there may be support for the Rockwell
and Marconi 5066 stacks with non 5066 ports.

Thankyou for any assistance you may be able to provide.

Kind regards
David Lines
System Architect
Thales UK
Email:	[email protected]

_______________________________________________
Ethereal-dev mailing list
[email protected]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

_______________________________________________
Ethereal-dev mailing list
[email protected]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

_______________________________________________
Ethereal-dev mailing list
[email protected]
http://www.ethereal.com/mailman/listinfo/ethereal-dev
s5066.diff (application/octet-stream, 664 B)
Index: epan/dissectors/packet-s5066.c
===================================================================
--- epan/dissectors/packet-s5066.c	(revision 18088)
+++ epan/dissectors/packet-s5066.c	(working copy)
@@ -765,7 +765,11 @@
 		"Whether the S5066 dissector should dissect editon 1 of the STANAG."
 		" This editon was never formally approved and is very rare. The common edition is editon 1.2.",
 		&s5066_edition_one);
-
+	prefs_register_uint_preference(s5066_module, "tcp.port",
+		"STANAG 5066 TCP Port",
+		"Set the port for STANAG 5066. (If other than the default 5066."
+		" This number is registered with IANA.)",
+		10, &global_s5066_port);
 }
 
 void
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.