mtree vs tripwire

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Jan 14 10:25:49 PST 2004


In message <20040114182154.GA22444 at sheol.localdomain>, D J Hawkey Jr writes:
>On Jan 14, at 07:09 PM, Jesper Louis Andersen wrote:
>> 
>> > This might seem really naive, but can mtree be used effectively as
>> > a native-to-core-OS tripwire equivalent? Would it be as efficient in
>> > terms of time-to-run and resource requirements?
>> 
>> Pro: distributed with base
>> Con: Only available for *BSD architectures as far as my knowledge goes.
>
>I'm aware of both, yes; hence my question. FreeBSD is all I'm dealing
>with, where my question is concerned.
>
>Is your reply from personal experience, or is it the same "Hey, it
>could..." as is my question? If the former, would you elaborate on the
>implementation details?

Mtree works as well if not slightly better (knows about file-flags)
on FreeBSD.

I'm using mtree a lot for various purposes, including a
contents-addressable archive system I've been using to make backups
of my home-dir for a couple of years.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-security mailing list