X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fconfig%2Frootcheck-config.h;h=a365305bda0fee14730d5f8666ea92b70fd05350;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=988be6cd77bad84d0dccc862fc7559027cdaf6f3;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/config/rootcheck-config.h b/src/config/rootcheck-config.h old mode 100755 new mode 100644 index 988be6c..a365305 --- a/src/config/rootcheck-config.h +++ b/src/config/rootcheck-config.h @@ -1,24 +1,19 @@ -/* $OSSEC, rootcheck.h, v0.1, 2005/10/03, Daniel B. Cid$ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation */ - #ifndef __CROOTCHECK_H - #define __CROOTCHECK_H #include -typedef struct _rkconfig -{ - char *workdir; +typedef struct _rkconfig { + const char *workdir; char *basedir; char *rootkit_files; char *rootkit_trojans; @@ -35,11 +30,35 @@ typedef struct _rkconfig int scanall; int readall; int disabled; + short skip_nfs; + +#ifdef OSSECHIDS + unsigned int tsleep; +#endif /* OSSECHIDS */ int time; int queue; -}rkconfig; + struct _checks { + short rc_dev; + short rc_files; + short rc_if; + short rc_pids; + short rc_ports; + short rc_sys; + short rc_trojans; + +#ifdef WIN32 + short rc_winaudit; + short rc_winmalware; + short rc_winapps; +#else + short rc_unixaudit; #endif -/* EOF */ + } checks; + +} rkconfig; + +#endif /* __CROOTCHECK_H */ +