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
70uint32_t kerberos_output_keytype(
void);
74int kerberos_rm_to_reclen(
unsigned 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)
93typedef struct _enc_key_t {
94 struct _enc_key_t *next;
97 uint8_t keyvalue[KRB_MAX_KEY_LENGTH];
98 char key_origin[KRB_MAX_ORIG_LEN+1];
101 char id_str[KRB_MAX_ID_STR_LEN+1];
125 const char *account_name;
126 const char *account_domain;
127 const char *account_sid;
128 const char *device_sid;
130 struct _enc_key_t *same_list;
132 struct _enc_key_t *src1;
133 struct _enc_key_t *src2;
135extern enc_key_t *enc_key_list;
157extern bool krb_decrypt;
167#define KERBEROS_APPLICATIONS_TICKET 1
168#define KERBEROS_APPLICATIONS_AUTHENTICATOR 2
169#define KERBEROS_APPLICATIONS_ENCTICKETPART 3
170#define KERBEROS_APPLICATIONS_AS_REQ 10
171#define KERBEROS_APPLICATIONS_AS_REP 11
172#define KERBEROS_APPLICATIONS_TGS_REQ 12
173#define KERBEROS_APPLICATIONS_TGS_REP 13
174#define KERBEROS_APPLICATIONS_AP_REQ 14
175#define KERBEROS_APPLICATIONS_AP_REP 15
176#define KERBEROS_APPLICATIONS_KRB_SAFE 20
177#define KERBEROS_APPLICATIONS_KRB_PRIV 21
178#define KERBEROS_APPLICATIONS_KRB_CRED 22
179#define KERBEROS_APPLICATIONS_ENCASREPPART 25
180#define KERBEROS_APPLICATIONS_ENCTGSREPPART 26
181#define KERBEROS_APPLICATIONS_ENCAPREPPART 27
182#define KERBEROS_APPLICATIONS_ENCKRBPRIVPART 28
183#define KERBEROS_APPLICATIONS_ENCKRBCREDPART 29
184#define KERBEROS_APPLICATIONS_KRB_ERROR 30
185int 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_);
186int 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_);
187int 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:43
Definition tvbuff-int.h:35