File: README.class-setup

package info (click to toggle)
stealth 4.04.00-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,540 kB
  • sloc: cpp: 2,759; sh: 151; makefile: 111; ansic: 52
file content (45 lines) | stat: -rw-r--r-- 2,208 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
SyslogStruct:   merely a struct containing the values of --syslog* options. It
            is filled by Options and used by LogUnit

Msg:        m1..m3 insert messages, depending on verbosity level, into imsg,
            mp writes to cout is used for messages related to parsing the
            policy file. M1..m3 are global objects, inserting into imsg.
            The Mstream objects imsg, wmsg and fmsg can also be used, the
            latter two inserting into cout.

Util:       Utility class offering members for making directories and
            determining absolute file names from relative file specifications

StealthEnums: an otherwise empty struct, defining the enum Mode and the `Mode |
            Mode' operator.

PolicyFile: analyzes and stores the information found in the first section of
            the policy file (through its member 'reload'). The second section
            (option specifications) are read by Options::loadPolicyOptions

Options:    singleton, determines and validates all options received either on
            the command line or found in the policy file. Ends the program if
            incompatible options were specified. Initialized by Stealth's
            constructor.

RunMode:    keeps track of the currently active Stealth mode. A mode may also
            be queried, and the name of a mode can be requested. When a mode
            is changed, setMode is used to update RunMode's mode. RunMode
            objects are defined in Stealth, defining d_task for the currently
            active mode, and d_pending for a requested (next) mode.

Report: ostream responsible for inserting information into the REPORT
            file. The object d_stealthReport is defined by the Stealth object.

IntegrityScanner: performs the actual integrity scans. Called from
            Stealth::integrityScan. Main public interface member: run().

LogUnit:    handles all logged messages. Redefinable singleton, with no public
            members other than LogUnit::init. See REAME.messages for
            information about the way it operates.

Stealth:    handles the integrity scan or handles the communication with a
            running stealth daemon.