Filtrage Web/ Web Filter

Ruby code

Thursday 27 April 2006 by ClarK

The program made in Ruby has been used as the prototype language. Though, it is functionnal enough.

The necessary packages are:

  • ruby (1.8)
  • libdb-ruby (libdb4.2-ruby1.8)
  • libgmp-ruby : http://raa.ruby-lang.org/project/libgmp-ruby/
  • ruby1.8-dev : if, when executing ./extconf.rb to install libgmp, there is an error message saying mkmf is missing (Debian based distributions).

The code can be found on the project hosting savannah, in Download section for tarballs or in CVS section.

— > HERE <—

To execute it ./filter.rb -h will display the help and options.

It is then possible to write scripts in order to retrieve the internet addresses of the web pages logged thanks to a proxy (or whatever) in order to use them as input of the program. Thanks to the result, it is then possible to add the necessary one into a blacklist.

If you develop such scripts, feel free to send them to me so that I can add them on the website.


-->

Forum

Home page | Contact | Site Map | Private area | visits: 4468

RSS RSSen

Site created with SPIP 1.8.3 + ALTERNATIVES