Commit Graph

25 Commits

Author SHA1 Message Date
jruoho
5fe4360942 Fix xref; security(8) -> security(7). 2011-03-18 16:18:45 +00:00
jruoho
39b9362274 Bump date for previous. 2010-04-13 07:16:31 +00:00
jruoho
34aa6cb261 Provide prototypes in SYNOPSIS; use only parameter names in FUNCTIONS. 2010-04-13 07:14:45 +00:00
wiz
d9351635be Expand abbreviation in subsection header. 2009-05-13 22:43:58 +00:00
joerg
1950127a73 Specify all columns in .Bl -column. 2009-03-15 14:14:50 +00:00
joerg
7d0fb7de6b Fix markup. 2009-03-12 12:37:18 +00:00
snj
fa7a018146 Fix a spelling error. 2008-05-28 00:31:10 +00:00
elad
8f8e9e057c Xref security(8) from veriexec(4), veriexec(9), veriexecctl(8), and
veriexecgen(8).

Suggested by Matthew Mondor.
2008-02-10 19:32:23 +00:00
pooka
a307c8e659 boolean_t -> bool sweep 2007-08-11 19:16:21 +00:00
rumble
b9ff3c810f TRUE -> true, FALSE -> false. 2007-06-24 19:26:58 +00:00
christos
38efedca16 catch up with argument shuffle. 2007-05-19 22:13:57 +00:00
elad
6700cfccd6 Some Veriexec stuff that's been rotting in my tree for months.
Bug fixes:
  - Fix crash reported by Scott Ellis on current-users@.

  - Fix race conditions in enforcing the Veriexec rename and remove
    policies. These are NOT security issues.

  - Fix memory leak in rename handling when overwriting a monitored
    file.

  - Fix table deletion logic.

  - Don't prevent query requests if not in learning mode.


KPI updates:
  - fileassoc_table_run() now takes a cookie to pass to the callback.

  - veriexec_table_add() was removed, it is now done internally. As a
    result, there's no longer a need for VERIEXEC_TABLESIZE.

  - veriexec_report() was removed, it is now internal.

  - Perform sanity checks on the entry type, and enforce default type
    in veriexec_file_add() rather than in veriexecctl.

  - Add veriexec_flush(), used to delete all Veriexec tables, and
    veriexec_dump(), used to fill an array with all Veriexec entries.


New features:
  - Add a '-k' flag to veriexecctl, to keep the filenames in the kernel
    database. This allows Veriexec to produce slightly more accurate
    logs under certain circumstances. In the future, this can be either
    replaced by vnode->pathname translation, or combined with it.

  - Add a VERIEXEC_DUMP ioctl, to dump the entire Veriexec database.
    This can be used to recover a database if the file was lost.
    Example usage:

        # veriexecctl dump > /etc/signatures

    Note that only entries with the filename kept (that is, were loaded
    with the '-k' flag) will be dumped.

    Idea from Brett Lymn.

  - Add a VERIEXEC_FLUSH ioctl, to delete all Veriexec entries. Sample
    usage:

        # veriexecctl flush

  - Add a 'veriexec_flags' rc(8) variable, and make its default have
    the '-k' flag. On systems using the default signatures file
    (generaetd from running 'veriexecgen' with no arguments), this will
    use additional 32kb of kernel memory on average.

  - Add a '-e' flag to veriexecctl, to evaluate the fingerprint during
    load. This is done automatically for files marked as 'untrusted'.


Misc. stuff:
  - The code for veriexecctl was massively simplified as a result of
    eliminating the need for VERIEXEC_TABLESIZE, and now uses a single
    pass of the signatures file, making the loading somewhat faster.

  - Lots of minor fixes found using the (still under development)
    Veriexec regression testsuite.

  - Some of the messages Veriexec prints were improved.

  - Various documentation fixes.


All relevant man-pages were updated to reflect the above changes.

Binary compatibility with existing veriexecctl binaries is maintained.
2007-05-15 19:47:43 +00:00
elad
8ed50e44ae veriexec_file_delete() and veriexec_table_delete() now take 'struct lwp *'
too.
2007-01-11 16:24:47 +00:00
elad
867767da66 Add veriexe_openchk(). 2006-12-30 15:32:19 +00:00
elad
ff39342b33 veriexec_lookup() should not return an internal data-structure, but rather
just a boolean value.
2006-12-26 07:50:40 +00:00
elad
2fa3937ffc Markup fix - forgot 'Fn'. 2006-12-20 12:29:09 +00:00
elad
1e92f4ba9c Trailing whitespace... 2006-12-01 16:13:36 +00:00
elad
2f85bad1eb Sync with reality after recent changes. 2006-11-30 16:55:00 +00:00
elad
21bc112176 Implement Veriexec's raw disk policy on-top of kauth(9)'s device scope,
using both the rawio_spec and passthru actions to detect raw disk
activity. Same for kernel memory policy.

Update documentation (no longer need to expose veriexec_rawchk()) and
remove all Veriexec-related bits from specfs.
2006-11-26 20:27:27 +00:00
elad
df07d5d652 I wanted to do this for so long: veriexec_init_fp_ops() -> veriexec_init(). 2006-11-26 16:22:36 +00:00
elad
066231b98f Reference veriexecgen(8). Bump date. 2006-09-16 21:07:36 +00:00
christos
ce0ef6cfc4 Pretending to be Elad's keyboard:
fileassoc.diff adds a fileassoc_table_run() routine that allows you to
pass a callback to be called with every entry on a given mount.

veriexec.diff adds some raw device access policies: if raw disk is
opened at strict level 1, all fingerprints on this disk will be
invalidated as a safety measure. level 2 will not allow opening disk
for raw writing if we monitor it, and prevent raw writes to memory.
level 3 will not allow opening any disk for raw writing.

both update all relevant documentation.

veriexec concept is okay blymn@.
2006-08-11 19:17:47 +00:00
wiz
4783dcb5ed Use Dv for defined values. Add commas between SEE ALSO entries.
Remove trailing whitespace. Punctuation nits.
2006-07-29 23:47:01 +00:00
elad
93c6afe74f document data-structures, defines, and a macro. 2006-07-26 16:30:37 +00:00
elad
71cef668d9 first take at veriexec(9) man page, finally documenting some more
internals.
2006-07-25 21:16:16 +00:00