Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ANN] ruby-dazuko 0.1.0

0 views
Skip to first unread message

Aredridel

unread,
Mar 27, 2005, 4:13:15 AM3/27/05
to
I'd like to announce ruby-dazuko 0.1.0.

Dazuko is a kernel module for FreeBSD and Linux letting an userspace
program monitor accesses to files and optionally deny access, for
implementing on-access virus scanning and other tasks. You can read more
at http://www.dazuko.org/

ruby-dazuko is a binding to the library that comes with Dazuko. A piece
of code like

Dazuko.register("MyApp", "r+") do |session|
session.include("/directory")
session.access_mask = Dazuko::ON_OPEN
session.run do |event|
if event.filename =~ /bad/ then false else true end
end
end

will deny all attempts to open files in /directory that contain "bad"
in their filename.

You can download the extension at
http://theinternetco.net/projects/ruby/dazuko-ruby

Have fun!

Ari


vruz

unread,
Mar 27, 2005, 10:28:23 AM3/27/05
to
> ruby-dazuko is a binding to the library that comes with Dazuko. <snip>
> Ari

great stuff !

Also, for the uninitiated, could you please explain how does this
dazuko extension compare to the FAM one ?


Aredridel

unread,
Mar 27, 2005, 11:04:17 AM3/27/05
to

FAM has ugly limits, and requires a daemon to do monitoring: You can't
monitor a deep structure of 100,000 files, for example, with FAM.

With Dazuko, your ruby program -is- the daemon, so things are pretty
tight.

Ari

0 new messages