Add support for SSH over SCTP.

svn path=/trunk/; revision=41556
This commit is contained in:
Michael Tüxen 2012-03-15 08:23:26 +00:00
parent 49009428ca
commit 34d5241775
3 changed files with 5 additions and 1 deletions

View File

@ -329,7 +329,7 @@ static const value_string chunk_type_values[] = {
/*
* Based on http://www.iana.org/assignments/sctp-parameters
* as of November 10th, 2010
* as of March 15th, 2012
*/
static const value_string sctp_payload_proto_id_values[] = {
{ NOT_SPECIFIED_PROTOCOL_ID, "not specified" },
@ -377,6 +377,7 @@ static const value_string sctp_payload_proto_id_values[] = {
{ PROTO_3GPP_RNA_PROTOCOL_ID, "3GPP RNA" },
{ PROTO_3GPP_M2AP_PROTOCOL_ID, "3GPP M2AP" },
{ PROTO_3GPP_M3AP_PROTOCOL_ID, "3GPP M3AP" },
{ SSH_PAYLOAD_PROTOCOL_ID, "SSH" },
{ 0, NULL } };

View File

@ -52,6 +52,7 @@
#include <epan/packet.h>
#include <epan/conversation.h>
#include <epan/emem.h>
#include <epan/sctpppids.h>
#include "packet-tcp.h"
#include <epan/prefs.h>
@ -1339,4 +1340,5 @@ proto_reg_handoff_ssh(void)
dissector_add_uint("tcp.port", TCP_PORT_SSH, ssh_handle);
dissector_add_uint("sctp.port", SCTP_PORT_SSH, ssh_handle);
dissector_add_uint("sctp.ppi", SSH_PAYLOAD_PROTOCOL_ID, ssh_handle);
}

View File

@ -75,5 +75,6 @@
#define PROTO_3GPP_RNA_PROTOCOL_ID 42
#define PROTO_3GPP_M2AP_PROTOCOL_ID 43
#define PROTO_3GPP_M3AP_PROTOCOL_ID 44
#define SSH_PAYLOAD_PROTOCOL_ID 45
#define M2TP_PAYLOAD_PROTOCOL_ID 99 /* s-link */
#endif /* sctpppids.h */