# FilterProxy Configuration file. # # Be aware that FilterProxy will automatically rewrite this file. # It will also automatically reload this file if it detects that it # has been modified, so there is no need to kill FilterProxy when # editing by hand. # # This is a normal perl file, and will be eval'ed by FilterProxy # to load it's configuration. I recommend that initially, you use # the forms interface to add stuff, and then look at this file to # see its structure. $FilterProxy::CONFIG = { 'filters' => { 'http://slashdot.org' => { 'BlockBanner' => { 'adregexp' => [ 'http://209\\.207\\.224' ] } }, 'http://(\\w+\\.)?linux\\.org' => { 'BlockBanner' => { 'adregexp' => [ '/perl-bin/invoke' ] } }, 'http://[a-z]+.go.com' => { 'BlockBanner' => { 'adregexp' => [ 'ngads\\.go\\.com' ] } }, 'http://(\\w+\\.)?space\\.com' => { 'BlockBanner' => { 'adregexp' => [ 'store.astronauts.org', 'http://www.space.com/entertainment/spacequiz/index.php3', 'avantgo', 'stk\\.com' ] } }, 'http://([a-z]+.)?freshmeat.net' => { 'BlockBanner' => { 'adregexp' => [ 'http://ads\\.freshmeat\\.net', 'http://209\\.207\\.224' ] } }, '.*' => { 'BlockBanner' => { 'adregexp' => [ '/ads?/', 'adserv', 'adlink', 'adclick', 'blipverts?', 'adverts?', 'promo', 'sponsor', 'http://(?:ad\\.|ads\\.|adserver\\.)', 'width\\s*=\\s*"?468"?', 'linkexchange\\.com', 'flycast\\.com', 'clicktrade\\.com', 'doubleclick\\.net', 'avenuea\\.com', 'blockstackers\\.com', 'mediaplex\\.com', 'ads[0-9]+\\.focalink\\.com', 'valueclick\\.com', 'imgis\\.com', 'bfast\\.com', 'admaximize\\.com', 'eads\\.com', 'http://192\\.41\\.13', 'datais\\.com', 'commission-junction\\.com', 'pennyweb\\.com', 'linkbuddies\\.com', 'preferences\\.com', 'dimeclicks\\.com', 'futurenet\\.com', '247media\\.com', 'netadsrv\\.iworld\\.com', '/event\\.ng/' ] }, 'Compress' => {} }, 'http://(\\w+\\.)?alphalinux.org' => { 'BlockBanner' => { 'adregexp' => [ '/banners/' ] } }, 'http://(\\w+\\.)?arstechnica\\.com' => { 'BlockBanner' => { 'adregexp' => [ 'yahoo.com/cgi-bin/clink', 'www\\.maximumpc\\.com' ] } } }, 'logfile' => 'FilterProxy.log', 'mime_types' => [ 'text/html' ], 'filtering' => 1, 'first_time' => '0', 'debug' => 1, 'timeout' => 600 }; $FilterProxy::BlockBanner::CONFIG = { 'order' => 4, 'mime_types' => [ 'text/html' ] }; $FilterProxy::Compress::CONFIG = { 'order' => 9, 'mime_types' => [ 'text/html', 'text/plain', 'application/postscript', 'application/pdf', 'application/x-javascript' ], 'min_size' => 2048 }; $FilterProxy::Skeleton::CONFIG = { 'order' => 4, 'mime_types' => [ 'text/html', 'text/plain' ] }; 1;