-- --**************************************************************************** --* * --* Copyright (c) 2001 * --* by DIGITAL Equipment Corporation, Maynard, Mass. * --* * --* This software is furnished under a license and may be used and copied * --* only in accordance with the terms of such license and with the * --* inclusion of the above copyright notice. This software or any other * --* copies thereof may not be provided or otherwise made available to any * --* other person. No title to and ownership of the software is hereby * --* transferred. * --* * --* The information in this software is subject to change without notice * --* and should not be construed as a commitment by DIGITAL Equipment * --* Corporation. * --* * --* DIGITAL assumes no responsibility for the use or reliability of its * --* software on equipment which is not supplied by DIGITAL. * --* * --**************************************************************************** --******************************************************************************************************************** -- Created: 15-MAR-2001 22:50:31 by OpenVMS SDL EV1-33 -- Source: 19-AUG-1993 11:39:39 $11$DUA933:[LIB_ADA.LIS]CIAOLDDEF.SDL;1 --******************************************************************************************************************** with SYSTEM; use SYSTEM; with STARLET; use STARLET; with CONDITION_HANDLING; use CONDITION_HANDLING; package CIAOLDDEF is -- module $CIAOLDDEF --+ -- CIAOLD - Compound Intrusion Analysis block -- -- Contains information about suspected and known intruders --- CIAOLD_K_TERMINAL : constant := 1; -- Unknown user at terminal CIAOLD_K_TERM_USER : constant := 2; -- Known username at terminal CIAOLD_K_NETWORK : constant := 3; -- Network source CIAOLD_K_USERNAME : constant := 4; -- Username of parent process CIAOLD_M_INTRUDER : constant := 16#00000001#; CIAOLD_K_LENGTH : constant := 152; -- Length of CIAOLD block CIAOLD_C_LENGTH : constant := 152; -- Length of CIAOLD block type CIAOLD_FLAGS_TYPE is -- Breakin type flags record INTRUDER : BOOLEAN; -- Entry is an intruder FILLER_1 : UNSIGNED_15; end record; for CIAOLD_FLAGS_TYPE use record INTRUDER at 0 range 0 .. 0; FILLER_1 at 0 range 1 .. 15; end record; for CIAOLD_FLAGS_TYPE'SIZE use 16; CIAOLD_FLAGS_TYPE_INIT : constant CIAOLD_FLAGS_TYPE := (INTRUDER => FALSE, FILLER_1 => 0); type CIAOLD_TYPE is record FLINK : UNSIGNED_LONGWORD; -- Forward link to next block BLINK : UNSIGNED_LONGWORD; -- Backward link to previous block SIZE : UNSIGNED_WORD; -- Size of block TYP : UNSIGNED_BYTE; -- Structure type SUBTYP : UNSIGNED_BYTE; -- Structure subtype -- Source of breakin attempt FLAGS : CIAOLD_FLAGS_TYPE; -- Breakin type flags COUNT : UNSIGNED_WORD; -- Count of attempts TIME : UNSIGNED_QUADWORD; -- Expiration time of entry DATA : STRING(1 .. 128); -- Data area end record; for CIAOLD_TYPE use record FLINK at 0 range 0 .. 31; BLINK at 4 range 0 .. 31; SIZE at 8 range 0 .. 15; TYP at 10 range 0 .. 7; SUBTYP at 11 range 0 .. 7; FLAGS at 12 range 0 .. 15; COUNT at 14 range 0 .. 15; TIME at 16 range 0 .. 63; DATA at 24 range 0 .. 1023; end record; for CIAOLD_TYPE'SIZE use 1216; CIAOLD_TYPE_INIT : constant CIAOLD_TYPE := (FLINK => 0, BLINK => 0, SIZE => 0, TYP => 0, SUBTYP => 0, FLAGS => CIAOLD_FLAGS_TYPE_INIT, COUNT => 0, TIME => (0, 0), DATA => (others => ASCII.NUL)); end CIAOLDDEF;