https://github.com/pix/woodstock
Woodstock is designed to aid the task of a sysadmin by providing a log of commands wich uses readline (such as psql for example). Woodstock is completely transparent to the user and applications. It is linked into programs to provide a wrapper around calls to readline(). Logging is done via syslogd, allowing secure offsite logging of activity. Woodstock is based on Snoopy ( http://sourceforge.net/projects/snoopylogger/ )
https://github.com/pix/woodstock
Last synced: 12 months ago
JSON representation
Woodstock is designed to aid the task of a sysadmin by providing a log of commands wich uses readline (such as psql for example). Woodstock is completely transparent to the user and applications. It is linked into programs to provide a wrapper around calls to readline(). Logging is done via syslogd, allowing secure offsite logging of activity. Woodstock is based on Snoopy ( http://sourceforge.net/projects/snoopylogger/ )
- Host: GitHub
- URL: https://github.com/pix/woodstock
- Owner: pix
- License: gpl-2.0
- Created: 2009-06-03T07:57:09.000Z (about 17 years ago)
- Default Branch: master
- Last Pushed: 2009-06-03T12:58:20.000Z (about 17 years ago)
- Last Synced: 2025-03-21T11:32:23.409Z (over 1 year ago)
- Language: C
- Homepage: http://github.com/pix/woodstock/tree/master
- Size: 85.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
- License: COPYING
Awesome Lists containing this project
README
------------------------------------------------------------------------------
Woodstock 1.0
------------------------------------------------------------------------------
moncelier@devlife.org
D E S C R I P T I O N
Woodstock is designed to aid the taks of a sysadmin by providing a log of
line read by readline. Woodstock is completely transparent to the user
and applications it hooks in as a library providing a wrapper around calls
to readline() calls. Logging is done via syslogd and written to user
allowing offsite logging of activity, generally the user is
stored as /var/log/user.log.
U S A G E
Woodstock is able to log all users or just root, this functionality is
configured at compile through the woodstock.h header, #define ROOT_ONLY 1
will restrict logging to root activities. Installation is as follows:
make
make install
Woodstock 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/woodstock.so
before loading the application. For example:
export LD_PRELOAD=/lib/woodstock.so
lynx http://linux.com/
unset LD_PRELOAD
To remove woodstock later, simply edit /etc/ld.so.preload and remove the
reference to woodstock.so and delete /lib/woodstock.so.
M O R E I N F O R M A T I O N
Woodstock is based on Snoopy by marius and mbm (More info at
http://sourceforge.net/projects/snoopylogger