Skip to content

Open URL Filtering Proxy is an URL Filtering Server for N2H2 or Websense compatible devices.

License

Notifications You must be signed in to change notification settings

jeroennijhof/openufp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

22e7125 · May 26, 2014

History

63 Commits
Feb 7, 2013
Dec 7, 2011
Jun 29, 2011
Jul 1, 2013
May 26, 2014
Dec 7, 2011
Sep 12, 2011
Sep 13, 2011
May 23, 2014
Sep 15, 2011
Aug 3, 2013
Sep 18, 2011
Dec 18, 2013
May 23, 2014
Dec 6, 2011
Sep 13, 2011
May 23, 2014
May 23, 2014
May 24, 2014
Aug 3, 2013

Repository files navigation

Openufp

Open URL Filtering Proxy is an URL Filtering Server for N2H2 or Websense compatible devices. It supports multiple back ends like url blacklist file, squidguard and proxy servers like dansguardian. This project has been known as n2h2p.

Install

Just type "make" followed by "sudo make install". Make sure you have libdb and libdb-dev installed, preferable version 5.1 or higher.

Usage

Usage: openufp [OPTIONS] <-n|-w> <BACKEND>

OPTIONS:
   -l PORT   on which port openufp will listen for incoming requests
   -r URL    when url is denied the client will be redirected to this url
   -c SECS   cache expire time in seconds; default 3600; 0 disables caching
   -C URL    remove specified URL from cache
   -d LEVEL  debug level 1-3

FRONTEND:
   -n        act as n2h2 server
   -w        act as websense server
BACKEND:
   -p IP:PORT:DENY_PATTERN   use the proxy backend
             IP is the ipnumber of the proxy server
             PORT is the portnumber where the proxy server is listening on
             DENY_PATTERN is a piece of text that should match the deny page
   -f FILE   use the blacklist file backend
             FILE is a file which contains blacklisted urls
   -g        use the squidGuard backend

Note

The default location of the cache db is /var/cache/openufp/cache.db
When squidguard backend is used be sure that this program has rw permissions to the squidguard db files.