File: README

package info (click to toggle)
snoopy 1.3-13
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 208 kB
  • ctags: 15
  • sloc: sh: 136; ansic: 92; makefile: 17
file content (47 lines) | stat: -rw-r--r-- 1,687 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
$Id: README,v 1.4 2000/12/10 08:50:49 marius Exp $


------------------------------------------------------------------------------
Snoopy 1.3
------------------------------------------------------------------------------

   marius@linux.com
      mbm@linux.com


D E S C R I P T I O N

  Snoopy is designed to aid the taks of a sysadmin by providing a log of
  commands  executed. Snoopy is  completely transparent  to the user and
  applications it hooks in as a library providing a wrapper around calls
  to execve() calls. Logging is done via syslogd and written to authpriv
  allowing secure offsite logging of activity, generally the authpriv is
  stored as /var/log/auth.log.

N O T E

  execv() calls are now explicitly logged.   Although,  according to the
  man page for execv(),  it is supposed to call execve().   To this date
  the reason why execv()  calls weren't being logged is unknown,  but we 
  are working to find out why.

U S A G E

  Snoopy is  able to log all  users or just root,  this functionality is
  configured at compile through the snoopy.h header, #define ROOT_ONLY 1
  will restrict logging to root activities. Installation is as follows: 

     make
     make install

  Snoopy is placed in /etc/ld.so.preload to trap all occurances of exec,
  if you wish to monitor only certain applications you can do so through
  the $LD_PRELOAD environment variable - simply set it to /lib/snoopy.so
  before loading the application. For example:

     export LD_PRELOAD=/lib/snoopy.so
     lynx http://linux.com/
     unset LD_PRELOAD 

  To remove snoopy later, simply edit /etc/ld.so.preload and remove the
  reference to snoopy.so and delete /lib/snoopy.so.