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_KEY_LENGTH 32
85#if defined(HAVE_HEIMDAL_KERBEROS) || defined(HAVE_MIT_KERBEROS)
86typedef struct _enc_key_t {
87 struct _enc_key_t *next;
90 uint8_t keyvalue[KRB_MAX_KEY_LENGTH];
118 const char *account_name;
119 const char *account_domain;
120 const char *account_sid;
121 const char *device_sid;
123 struct _enc_key_t *same_list;
125 struct _enc_key_t *src1;
126 struct _enc_key_t *src2;
128extern enc_key_t *enc_key_list;
150extern bool krb_decrypt;
160#define KERBEROS_APPLICATIONS_TICKET 1
161#define KERBEROS_APPLICATIONS_AUTHENTICATOR 2
162#define KERBEROS_APPLICATIONS_ENCTICKETPART 3
163#define KERBEROS_APPLICATIONS_AS_REQ 10
164#define KERBEROS_APPLICATIONS_AS_REP 11
165#define KERBEROS_APPLICATIONS_TGS_REQ 12
166#define KERBEROS_APPLICATIONS_TGS_REP 13
167#define KERBEROS_APPLICATIONS_AP_REQ 14
168#define KERBEROS_APPLICATIONS_AP_REP 15
169#define KERBEROS_APPLICATIONS_KRB_SAFE 20
170#define KERBEROS_APPLICATIONS_KRB_PRIV 21
171#define KERBEROS_APPLICATIONS_KRB_CRED 22
172#define KERBEROS_APPLICATIONS_ENCASREPPART 25
173#define KERBEROS_APPLICATIONS_ENCTGSREPPART 26
174#define KERBEROS_APPLICATIONS_ENCAPREPPART 27
175#define KERBEROS_APPLICATIONS_ENCKRBPRIVPART 28
176#define KERBEROS_APPLICATIONS_ENCKRBCREDPART 29
177#define KERBEROS_APPLICATIONS_KRB_ERROR 30
178int 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_);
179int 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_);
180int 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