diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-10 20:34:10 +0000 |
commit | e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch) | |
tree | 68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-dcerpc-netlogon.h | |
parent | Initial commit. (diff) | |
download | wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip |
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-dcerpc-netlogon.h')
-rw-r--r-- | epan/dissectors/packet-dcerpc-netlogon.h | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dcerpc-netlogon.h b/epan/dissectors/packet-dcerpc-netlogon.h new file mode 100644 index 00000000..faed7fe3 --- /dev/null +++ b/epan/dissectors/packet-dcerpc-netlogon.h @@ -0,0 +1,82 @@ +/* packet-dcerpc-netlogon.h + * Routines for SMB \PIPE\NETLOGON packet disassembly + * Copyright 2001,2003 Tim Potter <tpot@samba.org> + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#ifndef __PACKET_DCERPC_NETLOGON_H +#define __PACKET_DCERPC_NETLOGON_H + +#define NETLOGON_NETRLOGONUASLOGON 0x00 +#define NETLOGON_NETRLOGONUASLOGOFF 0x01 +#define NETLOGON_NETRLOGONSAMLOGON 0x02 +#define NETLOGON_NETRLOGONSAMLOGOFF 0x03 +#define NETLOGON_NETRSERVERREQCHALLENGE 0x04 +#define NETLOGON_NETRSERVERAUTHENTICATE 0x05 +#define NETLOGON_NETRSERVERPASSWORDSET 0x06 +#define NETLOGON_NETRDATABASEDELTAS 0x07 +#define NETLOGON_NETRDATABASESYNC 0x08 +#define NETLOGON_NETRACCOUNTDELTAS 0x09 +#define NETLOGON_NETRACCOUNTSYNC 0x0a +#define NETLOGON_NETRGETDCNAME 0x0b +#define NETLOGON_NETRLOGONCONTROL 0x0c +#define NETLOGON_NETRGETANYDCNAME 0x0d +#define NETLOGON_NETRLOGONCONTROL2 0x0e +#define NETLOGON_NETRSERVERAUTHENTICATE2 0x0f +#define NETLOGON_NETRDATABASESYNC2 0x10 +#define NETLOGON_NETRDATABASEREDO 0x11 +#define NETLOGON_NETRLOGONCONTROL2EX 0x12 +#define NETLOGON_NETRENUMERATETRUSTEDDOMAINS 0x13 +#define NETLOGON_DSRGETDCNAME 0x14 +#define NETLOGON_NETRLOGONDUMMYROUTINE1 0x15 +#define NETLOGON_NETRLOGONSETSERVICEBITS 0x16 +#define NETLOGON_NETRLOGONGETTRUSTRID 0x17 +#define NETLOGON_NETRLOGONCOMPUTESERVERDIGEST 0x18 +#define NETLOGON_NETRLOGONCOMPUTECLIENTDIGEST 0x19 +#define NETLOGON_NETRSERVERAUTHENTICATE3 0x1a +#define NETLOGON_DSRGETDCNAMEX 0x1b +#define NETLOGON_DSRGETSITENAME 0x1c +#define NETLOGON_NETRLOGONGETDOMAININFO 0x1d +#define NETLOGON_NETRSERVERPASSWORDSET2 0x1e +#define NETLOGON_NETRSERVERPASSWORDGET 0x1f +#define NETLOGON_NETRLOGONSENDTOSAM 0x20 +#define NETLOGON_DSRADDRESSTOSITENAMESW 0x21 +#define NETLOGON_DSRGETDCNAMEEX2 0x22 +#define NETLOGON_NETRLOGONGETTIMESERVICEPARENTDOMAIN 0x23 +#define NETLOGON_NETRENUMERATETRUSTEDDOMAINSEX 0x24 +#define NETLOGON_DSRADDRESSTOSITENAMESEXW 0x25 +#define NETLOGON_DSRGETDCSITECOVERAGEW 0x26 +#define NETLOGON_NETRLOGONSAMLOGONEX 0x27 +#define NETLOGON_DSRENUMERATEDOMAINTRUSTS 0x28 +#define NETLOGON_DSRDEREGISTERDNSHOSTRECORDS 0x29 +#define NETLOGON_NETRSERVERTRUSTPASSWORDSGET 0x2a +#define NETLOGON_DSRGETFORESTTRUSTINFORMATION 0x2b +#define NETLOGON_NETRGETFORESTTRUSTINFORMATION 0x2c +#define NETLOGON_NETRLOGONSAMLOGONWITHFLAGS 0x2d +#define NETLOGON_NETRSERVERGETTRUSTINFO 0x2e + + +/* needed to decrypt PAC_LOGON_INFO in kerberos */ +int +netlogon_dissect_PAC_LOGON_INFO(tvbuff_t *tvb, int offset, + packet_info *pinfo, proto_tree *tree, + dcerpc_info *di, guint8 *drep); + +/* needed to decrypt PAC_S4U_DELEGATION_INFO in kerberos */ +int +netlogon_dissect_PAC_S4U_DELEGATION_INFO(tvbuff_t *tvb, int offset, + packet_info *pinfo, proto_tree *tree, + dcerpc_info *di, guint8 *drep); + +/* needed to decrypt PAC_DEVICE_INFO in kerberos */ +int +netlogon_dissect_PAC_DEVICE_INFO(tvbuff_t *tvb, int offset, + packet_info *pinfo, proto_tree *tree, + dcerpc_info *di, guint8 *drep); + +#endif /* packet-dcerpc-netlogon.h */ |