Projects / Directory Watcher

Directory Watcher

Directory Watcher was written to aid in the discovery of race conditions. It has multiple speed settings, the fastest of which can even catch a successive link() unlink(). It also has the ability to filter files based on user, group, suid bit, and wildcard (*?) file names.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  08 Jul 2001 05:08

    No changes have been submitted for this release.

    Recent comments

    08 Jul 2001 11:25 pedram

    Re: Another one

    > Directory watcher looks a lot like
    > Eliott :
    >

    > http://www.jedi.claranet.fr/eliott/

    >

    > Eliott is more agressive and faster
    > because it uses the dnotify API. But it
    > only works with Linux.


    I had not previously seen/heard of Elliot. However, during a comparison Elliot was unable to detect the following file creations, which is what I originally wrote this program for, to aid me in the hackerslab contest last year.

    #include <stdio.h>
    #include <unistd.h>

    int main(int argc, char **argv)
    {
    unlink("tmp/1");
    symlink("tmp/2", "tmp/1");
    unlink("tmp/1");

    unlink("tmp/a_file");
    symlink("tmp/a_link", "tmp/a_file");
    unlink("tmp/a_file");

    unlink("tmp/another_file");
    symlink("tmp/another_link", "tmp/another_file");
    unlink("tmp/another_file");
    }

    08 Jul 2001 03:44 frankdenis

    Another one
    Directory watcher looks a lot like Eliott :


    http://www.jedi.claranet.fr/eliott/ (http://www.jedi.claranet.fr/eliott/)


    Eliott is more agressive and faster because it uses the dnotify API. But it only works with Linux.

    Screenshot

    Project Spotlight

    OpenStack4j

    A Fluent OpenStack client API for Java.

    Screenshot

    Project Spotlight

    TurnKey TWiki Appliance

    A TWiki appliance that is easy to use and lightweight.