17 #ifndef __PACKET_KERBEROS_H
18 #define __PACKET_KERBEROS_H
20 #include "ws_symbol_export.h"
26 #ifndef KRB5_KU_USAGE_ACCEPTOR_SEAL
27 #define KRB5_KU_USAGE_ACCEPTOR_SEAL 22
29 #ifndef KRB5_KU_USAGE_ACCEPTOR_SIGN
30 #define KRB5_KU_USAGE_ACCEPTOR_SIGN 23
32 #ifndef KRB5_KU_USAGE_INITIATOR_SEAL
33 #define KRB5_KU_USAGE_INITIATOR_SEAL 24
35 #ifndef KRB5_KU_USAGE_INITIATOR_SIGN
36 #define KRB5_KU_USAGE_INITIATOR_SIGN 25
47 #define KRB_CBTAG_SAFE_USER_DATA 1
48 #define KRB_CBTAG_PRIV_USER_DATA 2
70 guint32 kerberos_output_keytype(
void);
74 gint kerberos_rm_to_reclen(guint krb_rm);
83 #define KRB_MAX_ORIG_LEN 256
84 #define KRB_MAX_KEY_LENGTH 32
90 #define KRB_MAX_ID_STR_LEN (sizeof("18446744073709551615")*2)
92 #if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
93 typedef struct _enc_key_t {
94 struct _enc_key_t *next;
97 guint8 keyvalue[KRB_MAX_KEY_LENGTH];
98 char key_origin[KRB_MAX_ORIG_LEN+1];
101 char id_str[KRB_MAX_ID_STR_LEN+1];
102 struct _enc_key_t *same_list;
104 struct _enc_key_t *src1;
105 struct _enc_key_t *src2;
107 extern enc_key_t *enc_key_list;
129 extern bool krb_decrypt;
139 #define KERBEROS_APPLICATIONS_TICKET 1
140 #define KERBEROS_APPLICATIONS_AUTHENTICATOR 2
141 #define KERBEROS_APPLICATIONS_ENCTICKETPART 3
142 #define KERBEROS_APPLICATIONS_AS_REQ 10
143 #define KERBEROS_APPLICATIONS_AS_REP 11
144 #define KERBEROS_APPLICATIONS_TGS_REQ 12
145 #define KERBEROS_APPLICATIONS_TGS_REP 13
146 #define KERBEROS_APPLICATIONS_AP_REQ 14
147 #define KERBEROS_APPLICATIONS_AP_REP 15
148 #define KERBEROS_APPLICATIONS_KRB_SAFE 20
149 #define KERBEROS_APPLICATIONS_KRB_PRIV 21
150 #define KERBEROS_APPLICATIONS_KRB_CRED 22
151 #define KERBEROS_APPLICATIONS_ENCASREPPART 25
152 #define KERBEROS_APPLICATIONS_ENCTGSREPPART 26
153 #define KERBEROS_APPLICATIONS_ENCAPREPPART 27
154 #define KERBEROS_APPLICATIONS_ENCKRBPRIVPART 28
155 #define KERBEROS_APPLICATIONS_ENCKRBCREDPART 29
156 #define KERBEROS_APPLICATIONS_KRB_ERROR 30
157 int dissect_kerberos_TGT_REQ(
bool implicit_tag _U_,
tvbuff_t *tvb _U_,
int offset _U_,
asn1_ctx_t *actx _U_,
proto_tree *tree _U_,
int hf_index _U_);
158 int dissect_kerberos_TGT_REP(
bool implicit_tag _U_,
tvbuff_t *tvb _U_,
int offset _U_,
asn1_ctx_t *actx _U_,
proto_tree *tree _U_,
int hf_index _U_);
159 int dissect_kerberos_ChangePasswdData(
bool implicit_tag _U_,
tvbuff_t *tvb _U_,
int offset _U_,
asn1_ctx_t *actx _U_,
proto_tree *tree _U_,
int hf_index _U_);
Definition: packet-kerberos.h:49
Definition: packet_info.h:44
Definition: wmem_map.c:44
Definition: tvbuff-int.h:35