1 /* packet-dcerpc-bossvr.c
3 * Routines for DCE DFS Basic Overseer Server dissection
4 * Copyright 2002, Jaime Fournier <Jaime.Fournier@hush.com>
5 * This information is based off the released idl files from opengroup.
6 * ftp://ftp.opengroup.org/pub/dce122/dce/src/file.tar.gz file/bosserver/bbos_ncs_interface.idl
8 * Wireshark - Network traffic analyzer
9 * By Gerald Combs <gerald@wireshark.org>
10 * Copyright 1998 Gerald Combs
12 * SPDX-License-Identifier: GPL-2.0-or-later
18 #include <epan/packet.h>
19 #include "packet-dcerpc.h"
21 void proto_register_dcerpc_bossvr(void);
22 void proto_reg_handoff_dcerpc_bossvr(void);
25 static int proto_bossvr
;
26 static int hf_bossvr_opnum
;
29 static int ett_bossvr
;
32 static e_guid_t uuid_bossvr
= { 0x4d37f2dd, 0xed43, 0x0000, { 0x02, 0xc0, 0x37, 0xcf, 0x1e, 0x00, 0x00, 0x01 } };
33 static uint16_t ver_bossvr
;
36 static const dcerpc_sub_dissector bossvr_dissectors
[] = {
37 { 0, "GetServerStatus", NULL
, NULL
},
38 { 1, "CreateBnode", NULL
, NULL
},
39 { 2, "DeleteBnode", NULL
, NULL
},
40 { 3, "SetStatus", NULL
, NULL
},
41 { 4, "GetStatus", NULL
, NULL
},
42 { 5, "EnumerateInstance", NULL
, NULL
},
43 { 6, "GetInstanceInfo", NULL
, NULL
},
44 { 7, "GetInstanceParm", NULL
, NULL
},
45 { 8, "AddSUser", NULL
, NULL
},
46 { 9, "DeleteSUser", NULL
, NULL
},
47 { 10, "ListSUsers", NULL
, NULL
},
48 { 11, "ListKeys", NULL
, NULL
},
49 { 12, "AddKey", NULL
, NULL
},
50 { 13, "DeleteKey", NULL
, NULL
},
51 { 14, "GenerateKey", NULL
, NULL
},
52 { 15, "GarbageCollectKeys", NULL
, NULL
},
53 { 16, "GetCellName", NULL
, NULL
},
54 { 17, "SetTStatus", NULL
, NULL
},
55 { 18, "ShutdownAll", NULL
, NULL
},
56 { 19, "RestartAll", NULL
, NULL
},
57 { 20, "StartupAll", NULL
, NULL
},
58 { 21, "SetNoAuthFlag", NULL
, NULL
},
59 { 22, "ReBossvr", NULL
, NULL
},
60 { 23, "Restart", NULL
, NULL
},
61 { 24, "Install", NULL
, NULL
},
62 { 25, "UnInstall", NULL
, NULL
},
63 { 26, "GetDates", NULL
, NULL
},
64 { 27, "Prune", NULL
, NULL
},
65 { 28, "SetRestartTime", NULL
, NULL
},
66 { 29, "GetRestartTime", NULL
, NULL
},
67 { 30, "GetLog", NULL
, NULL
},
68 { 31, "WaitAll", NULL
, NULL
},
69 { 32, "SetDebug", NULL
, NULL
},
70 { 33, "GetServerInterfaces", NULL
, NULL
},
71 { 0, NULL
, NULL
, NULL
}
75 proto_register_dcerpc_bossvr (void)
77 static hf_register_info hf
[] = {
79 { "Operation", "bossvr.opnum", FT_UINT16
, BASE_DEC
,
80 NULL
, 0x0, NULL
, HFILL
}}
86 proto_bossvr
= proto_register_protocol ("DCE DFS Basic Overseer Server", "BOSSVR", "bossvr");
87 proto_register_field_array (proto_bossvr
, hf
, array_length (hf
));
88 proto_register_subtree_array (ett
, array_length (ett
));
92 proto_reg_handoff_dcerpc_bossvr (void)
94 /* Register the protocol as dcerpc */
95 dcerpc_init_uuid (proto_bossvr
, ett_bossvr
, &uuid_bossvr
, ver_bossvr
, bossvr_dissectors
, hf_bossvr_opnum
);
99 * Editor modelines - https://www.wireshark.org/tools/modelines.html
104 * indent-tabs-mode: t
107 * vi: set shiftwidth=8 tabstop=8 noexpandtab:
108 * :indentSize=8:tabSize=8:noTabs=false: