AIDE:Data/src/m4/aide variables settings.m4

From Tom
Jump to: navigation, search

header

divert(-1)
#
# Comments
#
divert(2)dnl
VERSIONID(`$Id: aide_variables_settings.m4 1249 2014-12-23 16:36:39Z aa0026 $')
divert(-1)

default_rules

os_include(`default_rules')dnl

comments

divert(4)dnl

COMMENT(`These are the default rules.')

COMMENT(`u:            user')
COMMENT(`g:            group')

COMMENT(`p:            permissions')

COMMENT(`a:            atime')
COMMENT(`c:            ctime')
COMMENT(`m:            mtime')

COMMENT(`s:            size')
COMMENT(`S:            check for growing size')

COMMENT(`b:            block count')
COMMENT(`i:            inode')
COMMENT(`n:            number of links')

COMMENT(`md5:          md5 checksum')
COMMENT(`rmd160:       rmd160 checksum')
COMMENT(`sha1:         sha1 checksum')
COMMENT(`sha256:       sha256 checksum')
COMMENT(`sha512:       sha512 checksum')
COMMENT(`tiger:        tiger checksum')

COMMENT(`acl:          Access Control Lists')
COMMENT(`selinux       SELinux security context')
COMMENT(`xattrs:       Extended file attributes')

COMMENT(`crc32:        crc32 checksum (MHASH only)')
COMMENT(`gost:         gost checksum (MHASH only)')
COMMENT(`haval:        haval checksum (MHASH only)')
COMMENT(`whirlpool:    whirlpool checksum (MHASH only)')

COMMENT(`R:            p+i+n+u+g+s+m+c+acl+selinux+xattrs+md5')
COMMENT(`L:            p+i+n+u+g+acl+selinux+xattrs')
COMMENT(`E:            Empty group')
COMMENT(`>:            Growing logfile p+u+g+i+n+S+acl+selinux+xattrs')

COMMENT(`You can create custom rules like this.')

ALL_HASHES

ALL_HASHES = _ALL_HASHES_

EVERYTHING

COMMENT(`Everything but access time (Ie. all changes)')

EVERYTHING = R+ALL_HASHES

NORMAL

COMMENT(`Sane, with multiple hashes.')

NORMAL = _NORMAL_

DIRECTORIES

COMMENT(`For directories, do not bother doing hashes.')

STATIC_DIR

STATIC_DIR = _STATIC_DIR_

VARIABLE_DIR

VARIABLE_DIR = _VARIABLE_DIR_

PERMS

COMMENT(`Access control only.')

PERMS = _PERMS_

META_DATA

COMMENT(`The meta attributes of a file not including A/C/M time.')

META_DATA = _META_DATA_

LOG

COMMENT(`Logfile are special, in that they often change.')

LOG = >

LSPP

COMMENT(`Just do md5 and sha256 hashes.')

LSPP = _LSPP_

STATIC_DATA

COMMENT(`Some files get updated automatically with the same data they')
COMMENT(`started with, so the inode, atime, ctime, and mtime change but')
COMMENT(`everything else should stay the same.')

STATIC_DATA = META_DATA+ALL_HASHES

--Tom Stevenson (talk) 12:25, 4 February 2016 (EST)

Help contents:

Reading: Go | Search | URL | Namespace | Page name | Section | Link | Backlinks | Piped link | Interwiki link | Redirect | Variable | Category | Special page
Tracking changes: Recent | (enhanced) | Related | Watching pages | Page history | Diff | User contributions | Edit summary | Minor edit | Patrolled edit
Logging in and preferences: Logging in | Preferences | User style
Editing: Overview | Wikitext | New page | List | Images/files | Image page | Special characters | Formula | Table | EasyTimeline | Inputbox | Template | (p. 2) | Renaming (moving) a page | Editing shortcuts | Talk page | Testing | Export | Import | rlc |