--- bfilter-1.1.4.orig/debian/bfilter.default +++ bfilter-1.1.4/debian/bfilter.default @@ -0,0 +1,2 @@ +# User options for bfilter +# DAEMON_OPTS= -n -c ... --- bfilter-1.1.4.orig/debian/bfilter-common.install +++ bfilter-1.1.4/debian/bfilter-common.install @@ -0,0 +1 @@ +debian/tmp/etc/bfilter/* \ No newline at end of file --- bfilter-1.1.4.orig/debian/watch +++ bfilter-1.1.4/debian/watch @@ -0,0 +1,3 @@ +version=3 +#http://sf.net/bfilter/bfilter-([^-]+)\.tar\.gz +http://heanet.dl.sourceforge.net/sourceforge/bfilter/bfilter-([^-]+)\.tar\.gz --- bfilter-1.1.4.orig/debian/FAQ +++ bfilter-1.1.4/debian/FAQ @@ -0,0 +1,42 @@ +Q: Reloading a page after changing the filtering state (from the tray + menu) produces the same page. + +A: Try doing Shift+Reload (Ctrl+Refresh in IE). If it doesn't work, you + will have to clear the browser's cache. BTW, clearing the cache right after + installing bfilter is also a good idea. + +Q: How well does bfilter scale? Can it support NNN concurrent users? + +A: I don't have any real-life figures (I would be interested in those), + but according to my tests it can handle about 20 Mbit/sec data rate on my + Athlon XP 1800. That's not just forwarding, that includes html and + javascript processing and everything else. + +Q: What is the relationship between rules and rules.local files? Do + records in rules.local override the ones in rules or supplement them? + +A: It's a rather complex relationship. I'll show it by example. + Suppose our rules file looks like this: + filter=1 + jsengine=1 + # other parameters are ommited + [regex1] + filter=0 + And our rules.local file looks like this: + jsengine=0 + [regex2] + filter=0 + First of all, the default filter=1 parameter from rules is also implicitly + present in rules.local, as it's not overriden there. Then, although only one + parameter is assiciated with each regex in this example, all of the other + parameters are also implicitly associated with them, and their values are + taken from defaults of the corresponding file. So in reality the [regex1] + record also contains jsengine=1 and the [regex2] record also contains + jsengine=0. + + Now suppose we want to get the jsengine parameter for an URL that matches + regex1. First we look for a matching regex in rules.local. Having found + none, we continue to look in rules. We find the [regex1] record that matches + the given URL. This record has an implicit jsengine=1 parameter which we + were looking for. If our URL doesn't match any of the regexes, we take the + default parameter from rules.local which is jsengine=0. --- bfilter-1.1.4.orig/debian/bfilter-gui.1 +++ bfilter-1.1.4/debian/bfilter-gui.1 @@ -0,0 +1,86 @@ +.\" Man Page for BFILTER-GUI +.\" groff -man -Tutf8 bfilter-gui.1 + +.TH BFILTER-GUI 1 "July 2006" + +.SH NAME +BFilter-gui \- An ad-filtering web proxy using heuristic ad-detection algorithms + +.SH SYNOPSIS +.sp +.B bfilter-gui + +.SH "DESCRIPTION" +.PP +.B BFilter +is a web proxy that uses effective heuristic ad-detection algorithms to remove +banner adverts, popups and webbugs from web pages. The traditional blocklist +based approach is also implemented, but it is mostly used for dealing with false +positives. Unlike other tools that require constant updates of their +blocklists, bfilter manages to remove over 90% of adverts even with an empty +blocklist! +.P +All processing is done on the fly, it doesn't load the whole page or image +before processing. It uses heuristic and regex-based approaches to detect +adverts and webbugs. It also uses a Javascript engine to combat Javascript +generated adverts and popups. +-P +This is version with GUI (Gtk). + +.P +The web proxy supports the following features; +.PP +.B o +HTTP/0.9 - HTTP/1.1 support +.br +.B o +Persistent connections (HTTP/1.1 only) +.br +.B o +Pipelining (HTTP/1.1 only) +.br +.B o +HTTP compression +.br +.B o +Forwarding to another proxy +.P +However, it does +.B not +support CONNECT requests typically used for HTTPS. + +.SH FILES +The default configuration settings (rules and filters) for bfilter-gui +are in files located underneath +the +.B /etc/bfilter. +.PP +.B User configuration is in ~/.bfilter. +.PP +For the base configuration the +.B config +and +.B config.default +files are used. For the URL pattern matching the +.B urls +and +.B urls.local +files are used. For the content filtering the +.B filters/ +directory may contain files specifying groups of filters and whether they +are enabled. + +.SH BUGS +Please report any bugs you may find to: +.P +.B http://sourceforge.net/projects/bfilter + +.SH AUTHOR +Joseph Artsimovich +.br +http://bfilter.sourceforge.net + +This manual page was written by Vedran Furac + +.SH SEE ALSO +bfilter(1), regex(7) --- bfilter-1.1.4.orig/debian/bfilter.manpages +++ bfilter-1.1.4/debian/bfilter.manpages @@ -0,0 +1 @@ +#debian/bfilter.1 --- bfilter-1.1.4.orig/debian/compat +++ bfilter-1.1.4/debian/compat @@ -0,0 +1 @@ +5 --- bfilter-1.1.4.orig/debian/bfilter-gui.install +++ bfilter-1.1.4/debian/bfilter-gui.install @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/bfilter-gui usr/lib/bfilter/ +debian/bin/bfilter-gui usr/bin/ --- bfilter-1.1.4.orig/debian/urls.local.example +++ bfilter-1.1.4/debian/urls.local.example @@ -0,0 +1,880 @@ +# [Adblock Plus 0.7.5] +# ! +# ! Rick752's EASYLIST (general ad-blocking subscription) +# ! -add the optional EasyElement & Tracking Filter subscriptions. +# ! | Last Modified: 05jun2008 | http://easylist.adblockplus.org | +# ! Expires after 5 days +# ! +++++++ *-adspace* +++++++ *&adspace=* +++++++ *=viewAdJs* ++++ *&affiliate=* +++++++ *&ClientType=*&AdID=* +++++++ *&google_adpage=* ++++ *&partner* +++++++ /\?ad_id=/ +++++++ /\?affiliate/ ++++ /\?getad=&/ +++++++ /\?showbanner=/ +++++++ *_ad.aspx* +++++++ *_adbrite* +++++++ *_adfunction* ++++ *_ads/* +++++++ /_ads\.php\?/ +++++++ *_adspace* +++++++ *_banner_ad* +++++++ *_bannerid*random* ++++ *_files/*htm +++++++ *adaffiliate* ++++ *AdIFrame* +++++++ *admentor* +++++++ *ADTECH;cookie=* ++++ *ads.sv.publicus.* +++++++ *adsfac.net* +++++++ *affiliatebrand.* +++++++ *audienceprofiler.* +++++++ *aurora-*marketing.co* +++++++ *banner-ad* +++++++ *bannerad* +++++++ *BannerMangement* +++++++ *banners&id=* +++++++ *blog.tmcnet.*/overlib.js* +++++++ *brandcentral.* +++++++ *Click*Advertiser* +++++++ *clicktag=*/ad* +++++++ *content.search* +++++++ *cppops*nextag* +++++++ *adserving.cpxinteractive* +++++++ *cubics.com/* +++++++ *dbbsrv.com* +++++++ *dgmaustralia.* +++++++ *download-door.search.com/search* +++++++ *dynamicad.* +++++++ *earthlink*/promos* +++++++ *eas.blocket.* +++++++ *engine.awaps.net/* +++++++ *exitexplosion.*/exit.js* +++++++ *expedia_ad.* +++++++ *faireagle.com* +++++++ *favinfo.com/ad.* +++++++ *geocities.com/js_source/* +++++++ *google.com*adfetch* +++++++ *google.com*/promo_* +++++++ *hera.hardocp.* +++++++ *imageshack*tagworld* +++++++ *interclick.* +++++++ *js2.yimg.*_popup_* +++++++ *kanoodle* +++++++ *link_ads* +++++++ *mediacorpsingapore* +++++++ *medrx.sensis.com.au/content/* +++++++ *nebuad.com* +++++++ *network.ninemsn.*/share/* +++++++ *nbjmp.com/* ++++ *openbanner* +++++++ *page.grabclick.* ++++ *phpadsnew* +++++++ *popinads.* ++++ *popunder* +++++++ *popup_ad* +++++++ *precisionclick.* +++++++ *pro-market.* +++++++ *promopop* +++++++ *ptnrcontent* +++++++ *publicidad* +++++++ *quigo.com* +++++++ *rad.live.com/ADSAdClient* +++++++ *rankz.armorbot.* +++++++ *richmedia.*yimg.* +++++++ *sponslink* +++++++ *sponsor.gif* +++++++ *sponsorads* ++++ *sponsoredlink* +++++++ *sponsored_links* +++++++ *sponsors*banner* ++++ *storefronts* ++++ *sys-con.com/common/* +++++++ *targetpoint.com* ++++ *textlink-ads.* +++++++ *themis.yahoo.* +++++++ *trafficlayer.de* +++++++ *vs20060817.com/* ++++ *worsethanfailure.*/Tizes/* +++++++ *www.cb.cl/*banner* +++++++ *www.ad.tomshardware.*=banner* +++++++ *xcelsiusadserver.* +++++++ *yceml.net* +++++++ *yourlayer.de/* +++++++ *.1100i.com/* +++++++ *.188server.* +++++++ *.2mdn.net/* +++++++ *.360ads.* +++++++ *.43plc.com* ++++ *.about.com/0/* +++++++ *.accuserveadsystem.* ++++ *.ad.tomshardware.com/* +++++++ *.ad-flow.* +++++++ *.ad-z.de/* +++++++ *.ad2net.de/* +++++++ *.ad20.net/* +++++++ *.ad4cash.* +++++++ *.adaction.* +++++++ *.adaos-ads.* +++++++ *.adbard.net/ab* +++++++ *.adbrite.com/* +++++++ *.adbureau.* +++++++ *.adbutler.* +++++++ *.adcell.de/* +++++++ *.adcentriconline.* +++++++ *.adchap.* +++++++ *.adengage.* +++++++ *.adfusion.* +++++++ *.adgardener.* +++++++ *.adgine.* +++++++ *.adgroups.* +++++++ *.adhese.* +++++++ *.adicate.* +++++++ *.adition.com/* +++++++ *.adinterax.* +++++++ *.adireland.* +++++++ *.adjuggler.* +++++++ *.admarketplace.* +++++++ *.adnet.biz* +++++++ *.adlink.net* +++++++ *.adnet.ru* +++++++ *.adocean.* +++++++ *.adoperator.* +++++++ *.adpark.* +++++++ *.adpinion.* +++++++ *.adscale.de/* +++++++ *.adserver.* +++++++ *.adservinginternational.* +++++++ *.adsforindians.* +++++++ *.adshopping.* +++++++ *.adshuffle.* +++++++ *.adsmarket.* +++++++ *.adsonar.* +++++++ *.adspeed.* +++++++ *.adtech.de/* +++++++ *.adtext.* +++++++ *.adtmedia.* +++++++ *.adtology3.* +++++++ *.adtrgt.* +++++++ *.adverserve.* +++++++ *.advertarium.* +++++++ *.adverticum.net/* +++++++ *.advertis* +++++++ *.advertlets.* +++++++ *.advertserve.* +++++++ *.adviva.* +++++++ *.afcyhf.* +++++++ *.affiliate.* +++++++ *.affiliatefuel.* +++++++ *.affiliatefuture.* +++++++ *.affiliatesensor.* +++++++ *.affilimatch.* +++++++ *.aim4media.* +++++++ *.akamai.*sponsor* +++++++ *.alphagodaddy.* +++++++ *.anrdoezrs.* +++++++ *.arcadebanners.* +++++++ *.assoc-amazon.* +++++++ *.atdmt.com/* +++++++ *.atwola.* +++++++ *.auspipe.* +++++++ *.awin1.com* +++++++ *.awltovhc.* +++++++ *.axill.com/* +++++++ *.azads.com/* +++++++ *.azjmp.com/* +++++++ *.azoogleads.* +++++++ *.bannerbank.ru/* +++++++ *.bannerconnect.* +++++++ *.bannersmania.* +++++++ *.bbc.co.uk/*/vs.js* +++++++ *.begun.ru/* +++++++ *.belboon.de/* +++++++ *.belointeractive.* +++++++ *.bestofferdirect.* +++++++ *.bidvertiser.* ++++ *.bimedia.net/video/* +++++++ *.blogads.* +++++++ *.bluestreak.* +++++++ *.bravenetmedianetwork.* +++++++ *.bravenet.*/rover/* +++++++ *.bridgetrack.* +++++++ *.btrll.com/* +++++++ *.burstnet.* +++++++ *.c8.net.ua/* +++++++ *.casalemedia.* +++++++ *.cc-dt.com/* ++++ *.centralmediaserver.* +++++++ *.checkm8.* +++++++ *.checkmystats.* +++++++ *.chitika.* +++++++ *.cjt1.net* +++++++ *.clash-media.* +++++++ *.claxonmedia.* +++++++ *.clickad.* +++++++ *.clickbooth* +++++++ *.clickexperts.* ++++ *.clickintext.* +++++++ *.clickthrucash.* +++++++ *.clixgalore.* +++++++ *.connextra.* +++++++ *.contaxe.com/* +++++++ *.contextweb.* +++++++ *.cpaclicks* +++++++ *.cpmstar.* +++++++ *.crashextads.* +++++++ *.crispads.* +++++++ *.decisionmark.* +++++++ *.deepmetrix.* +++++++ *.directorym.* +++++++ *.dl-rms.com/* +++++++ *.domainsponsor.* +++++++ *.doubleclick.* +++++++ *.dpbolvw.* ++++ /\.ebayrtm\.com\/rtm\?RtmCmd&a=inline&/ +++++++ *.ebaystatic.*/adsense.* +++++++ *.edge.ru4.* +++++++ *.empoweredcomms.* +++++++ *.etology.* +++++++ *.euroclick.* +++++++ *.euros4click.* +++++++ *.exponential.* +++++++ *.eyereturn.* +++++++ *.eyewonder.* ++++ *.fairfax.* +++++++ *.falkag.* +++++++ *.fastclick.* +++++++ *.feedburner.com/~a/* +++++++ *.fimserve.* +++++++ *.fixionmedia.* +++++++ *.fmpub.net/* +++++++ *.forrestersurveys.* +++++++ *.ftjcfx.* +++++++ *.fluxads.* +++++++ /\.flyordie\.com\/games\/free\/b\/.*--\?p=/ +++++++ *.funklicks.* +++++++ *.g.akamai.*/ads.* +++++++ *.game-advertising-online.* +++++++ *.gamersbanner.* +++++++ *.geopromos.* +++++++ *.gestionpub.* +++++++ *.gklmedia.* +++++++ *.go.com/*ads.js* +++++++ *.gonamic.de/* +++++++ *.googleadservices.* +++++++ *.grabmyads.* +++++++ *.haymarketmedia.* ++++ *.henwo.com/* +++++++ *.hit-now.* +++++++ *.hosticanaffiliate.* +++++++ *.httpool.* +++++++ *.hypemakers.* ++++ *.hypervre.* +++++++ *.ic-live.* +++++++ *.icdirect.* +++++++ *.imagesatlantic.* +++++++ *.imedia.co.il/* +++++++ *.imglt.com/* +++++++ *.impresionesweb.* +++++++ *.imrworldwide.* +++++++ *.indiads.* +++++++ *.industrybrains.* +++++++ *.inetinteractive.* +++++++ *.infocious.* +++++++ *.intellitxt.* +++++++ *.intensifier.de/js/show_ads.* +++++++ *.interpolls.* +++++++ *.ivwbox.* +++++++ *.jdoqocy.* +++++++ *.jydesign.* +++++++ *.ketoo.com/* +++++++ *.klipmart.* +++++++ *.kontera.* +++++++ *.kqzyfj.* +++++++ *.leadacceptor.* +++++++ *.lduhtrp.* ++++ *.lightningcast.* +++++++ /\.linkads\..*\?/ +++++++ *.linkexchange.* +++++++ *.linkworth.* +++++++ *.litres.ru/static/banner/* +++++++ *.maxserving.* +++++++ *.mb01.com/* +++++++ *.mbn.com.ua/* +++++++ *.medialand.ru/* +++++++ *.mediaonenetwork.* +++++++ *.mediaplex.* +++++++ *.mediavantage.* +++++++ *.mercuras.* +++++++ *.metaffiliation.* +++++++ *.miva.com/* ++++ *.mochiads.com/srv/* +++++++ *.moneymakers.de/* +++++++ *.mootermedia.* +++++++ /\.msn\.com\/\?adunitid/ +++++++ *.myway.com/gca_iframe.* +++++++ *.netavenir.* +++++++ *.newanglemedia.com/clients/* +++++++ *.newsadstream.* +++++++ *.ngads.com/* +++++++ *.northmay.* +++++++ *.ng/*&affiliate=* +++++++ *.nwsource.*/adv.gif* +++++++ *.nyadmcncserve-* +++++++ *.obibanners.* +++++++ *.onenetworkdirect.* +++++++ *.overture.* +++++++ *.oxado.com/* +++++++ *.peelawayads.com/affads/* +++++++ *.perfb.com* +++++++ *.pgpartner.* +++++++ *.pheedo.* +++++++ /\.php\?.*bannerid/ +++++++ /\.php\?adclass/ +++++++ *.platinumadvertisement.* +++++++ *.pointroll.* +++++++ *.predictad.* ++++ *.pricegrabber.* +++++++ *.pricespy.co.nz/adds/* +++++++ *.primaryads.* +++++++ *.pro-advertising.* +++++++ *.probannerswap.* ++++ *.profitpeelers.* +++++++ *.projectwonderful.* +++++++ *.proximic.com/js/widget.js* +++++++ *.pulse360.* +++++++ *.qksrv.net/* +++++++ *.qksz.net/* +++++++ *.questionmarket.* +++++++ *.revresda.* +++++++ *.revsci.* +++++++ *.rmxads.* +++++++ *.rottentomatoes.*size=*x*&dechannel* +++++++ /\.rovion\..*\?AffID=/ +++++++ *.rwpads.* +++++++ *.scanscout.* +++++++ *.schlauli.de/* +++++++ *.shareasale.* +++++++ *.shareresults.* +++++++ *.smartadserver.* +++++++ *.smarttargetting.* ++++ *.snap.com/* ++++ *.snopes.com/*/*ad* +++++++ *.socialmedia.com/* +++++++ *.sonnerie.* +++++++ *.space.com/promo/* +++++++ *.sparkstudios.* +++++++ *.specificclick.* +++++++ *.specificmedia.* +++++++ *.speedsuccess.net/* +++++++ *.sponsorpalace.* +++++++ *.spotplex.*widget* +++++++ *.srtk.net/* +++++++ *.sta-ads.* +++++++ *.survey-poll.* +++++++ *.tacoda.* +++++++ *.targetnet.* +++++++ *.tfag.de/* +++++++ *.tiser.com* +++++++ *.tkqlhce.* +++++++ *.torrentspy.*staticframe* +++++++ *.total-media.net/* +++++++ *.tqlkg.com* +++++++ *.tradedoubler.* +++++++ *.trafficmasterz.* +++++++ *.trafic.* +++++++ *.tribalfusion.* +++++++ *.tripple.at/triadshow.* +++++++ *.typepad.com/sponsors/* +++++++ *.tyroo.* +++++++ *.uimserv.net/* +++++++ *.unicast.* +++++++ *.universalhub.com/bban/* +++++++ *.utarget.* +++++++ *.valuead.* +++++++ *.valueclick.* +++++++ *.vibrantmedia.* +++++++ *.visitorglobe.*record* +++++++ *.vpico.com/* +++++++ *.webads.co.nz* +++++++ *.webmasterplan.* +++++++ *.widgetbucks.* +++++++ *.worlddatinghere.* +++++++ *.xchangebanners.* ++++ *.yimg.com/*seek_* ++++ *.yimg.com/a/1-* +++++++ *.yimg.com/adv/* +++++++ *.zanox.com/* +++++++ *.zanox-affiliate.* +++++++ *.zangocash.*/detectenvironment* +++++++ *.zeads.com/* +++++++ *.zedo.com/* +++++++ */63.225.61.* +++++++ */64.73.24.44* +++++++ */207.67.9.41/* +++++++ */213.239.222.7/ad/* +++++++ */217.15.94.117* +++++++ */.adserv/* +++++++ */a.clearlightdigital.* +++++++ */a.kerg.net/* +++++++ */a.lakequincy.* +++++++ */ab.vcmedia.* +++++++ */abmw.aspx* +++++++ */ad/*promo* ++++ */ad/code* +++++++ /\/ad\.asp\?/ +++++++ /\/ad\.php\?/ +++++++ */ad/frame* ++++ */ad/mercury* +++++++ */ad/serve* +++++++ */ad_*.gif* ++++ */ad_* +++++++ */ad_functions* +++++++ */ad_insert.* +++++++ */ad_refresher.* +++++++ */ad_wrapper* +++++++ */adbanner* ++++ */adbrite* +++++++ */adbrite.* +++++++ */adclick* +++++++ */adcode.js* +++++++ */adcontent.* +++++++ */adcycle/* +++++++ /\/adf\.cgi\?/ +++++++ */adframe.* +++++++ */adframe_* +++++++ /\/adfshow\?/ +++++++ */adgraphics/* +++++++ */adheader* +++++++ */adhoc/js/swfobject.js* +++++++ */AdIFrame.* +++++++ */adimages/* +++++++ */adfunction* +++++++ */adimage.* +++++++ */adinsert.* +++++++ /\/adjs\.php\?/ +++++++ /\/adjsmp\.php\?/ +++++++ */adlabel* +++++++ */adlinks.js* +++++++ */admanagement/* +++++++ */ad_manager.js* ++++ */admanager* +++++++ */admatch-syndication.* +++++++ */adpeeps/* +++++++ */adpeeps.php* +++++++ */Adplayer/* +++++++ */adRelated.* +++++++ */adrevolver/* +++++++ */adrotator* +++++++ */ads/* +++++++ */ads_reporting/* +++++++ */ads.htm* +++++++ /\/ads\.php\?/ ++++ */ads*.php* +++++++ /\/ads2\.php\?/ +++++++ */ads2/* ++++ /\/ADSAdClient31\.dll\?GetAd\?/ +++++++ */adscript* ++++ */adsense_* +++++++ */adserver* ++++ */adsense.* +++++++ */adsfolder/* +++++++ /\/adshow\?/ +++++++ */AdsIframe/* +++++++ */adsimage/* +++++++ */AdsManager/* +++++++ */adspro/* +++++++ */adsonar.* +++++++ */adSwap.js* +++++++ */adsyndication.* +++++++ */adtags/* +++++++ */ADTECH;* +++++++ */adtext.* +++++++ */adtext_* +++++++ */adtraff.* +++++++ /\/adtype\.php\?/ +++++++ */advert_* +++++++ */advert/ms* +++++++ */adverti* +++++++ */adverts_* +++++++ */adverts/* +++++++ */adview.* +++++++ */AdWorks/* +++++++ */adwrapper/* +++++++ */adx.js +++++++ */affiliate*/ad/* +++++++ */affiliates.babylon.* +++++++ */AffiliateWiz/* +++++++ /\/afr\.php\?/ +++++++ */ah.pricegrabber.com/cb_table.php* +++++++ */aj.600z.* +++++++ /\/ajs\.php\?/ +++++++ */anchor.captainad.* +++++++ */annonser/* +++++++ */autoPromo* +++++++ */banimpress.* ++++ /\/banman\.asp\?/ ++++ */banman/* +++++++ */banmanpro/*&ad* +++++++ */banner/Ad* +++++++ /\/banner_db\.php\?/ +++++++ */Banner_Management/* +++++++ /\/banner\.php\?.*http/ +++++++ /\/banner_file\.php\?/ +++++++ */bannermedia/* ++++ */banners/* +++++++ */banners.adultfriendfinder* +++++++ */banners/banner* +++++++ */banner*ClickTag=* ++++ */banners/*.gif* +++++++ /\/bannery\/.*\?banner=/ +++++++ /\/bbccom\.js\?/ +++++++ */bbc.com/script/1/config.js* +++++++ */blogad_* +++++++ */blogads* +++++++ /\/bmp\/banman\.asp\?/ +++++++ /\/bnrsrv\..*\?/ +++++++ */bs.yandex.ru* +++++++ */cas.clickability.com/* +++++++ */clickserv* +++++++ */cm8adam* ++++ */cm8space_call* +++++++ */cms/Profile_Display/* +++++++ */cnnSLads.js* +++++++ */cnwk.*widgets.js* +++++++ */commercials/splash* +++++++ */content.yieldmanager.* +++++++ */ContextAd.* ++++ */csDynamic* +++++++ */ctxtlink/* +++++++ */d.m3.net/* ++++ */de*.myspace.* +++++++ */delivery/a*.php* +++++++ */descPopup.js* ++++ */destacados/* +++++++ */direct_ads.* +++++++ */directads.* +++++++ */dontblockthis/* ++++ */DisplayAds* +++++++ /\/DNSads\.html\?/ +++++++ */dsg/bnn/* +++++++ /\/DynamicAd\?/ +++++++ */dynBanner/flash/* +++++++ /\/eBayISAPI\.dll\?EKServer&/ +++++++ */ecustomeropinions.com/popup/* +++++++ */ekmas.com* +++++++ */eyoob.com/elayer/* +++++++ */flashAds.* ++++ */flashbanner/* +++++++ */flipmedia* +++++++ /\.flux\.com\/.*\?/ +++++++ */freetrafficbar.* +++++++ */fuseads/* +++++++ */gamecast/ads* +++++++ */gampad/google_service.js +++++++ */geizhals.at/b/ad/* +++++++ /\/getad\.php\?/ +++++++ /\/get_ad\.php\?/ ++++ /\/getbanner\.cfm\?/ +++++++ */google_ads/* ++++ */google-adsense* +++++++ */googleAd.js* +++++++ */googleframe.* +++++++ */heisebanner.* +++++++ */hits.europuls.* +++++++ */hits4pay.* +++++++ */hotjobs_module.js* +++++++ */houseads/* ++++ */html.ng/* +++++++ */iframead.* +++++++ */iframed_*sessionid=* +++++++ */images/ad/* +++++++ */index_files/*.htm* ++++ */IndianRailways/* +++++++ */intext.js* +++++++ */invideoad.* +++++++ */itunesaffiliate* +++++++ */js/ysc_csc_* +++++++ */kermit.macnn.* +++++++ */kestrel.ospreymedialp.* +++++++ */launch/testdrive.gif* +++++++ */layer-ads.* +++++++ */LinkExchange/* +++++++ */linkshare/* +++++++ */loadAdWiz.js* +++++++ */logos/adLogo* ++++ */lw/ysc_csc_* ++++ */marketing*partner* +++++++ /\/mac-ad\?/ +++++++ */magic-ads/* +++++++ */media.funpic.*/layer.* +++++++ */mediamgr* +++++++ */medrx.sensis.com.au/* +++++++ */miva_ads.* +++++++ */MNetOrfad.js* +++++++ */mod_ad/* +++++++ */nascar/*/defector.js* +++++++ */network.sportsyndicator.* +++++++ */oas_logic.* ++++ */oasc03.* +++++++ */oascentral.* +++++++ /\/oasisi\.php\?/ +++++++ /\/oasisi-.*\.php\?/ +++++++ /\/openads\/.*\?/ +++++++ */openads2/* +++++++ *.openx.org/a*.php* ++++ */overture/* +++++++ */overture_* +++++++ /\/pagead\/imgad\?/ +++++++ */pageear/* ++++ */pagepeel* +++++++ */partner*rotate* ++++ */partners/* +++++++ */partnership/*affiliate* +++++++ */peel.js ++++ */peelad/* +++++++ */phpads/* +++++++ */phpadserver/* ++++ */play/ad/* ++++ */podimages/* +++++++ */popupjs.* +++++++ */prom.ecato.* +++++++ */promos/*banner.gif* ++++ */promos/*promo* +++++++ */printads/* +++++++ /\/public\/ad\?/ ++++ */publisher.shopzilla.* ++++ */r.mail.ru* +++++++ /\/rad\..*\?GetSAd=/ +++++++ */rok.com.com/* +++++++ */rotateAds.* ++++ */rotating.php* +++++++ /\/rotation\/.*\.php\?/ +++++++ */rtq.careerbuilder.* +++++++ */s7121.vsservers.* +++++++ */shared/promos/* ++++ */showad.* +++++++ */showads.* +++++++ */show_afs_ads.js* +++++++ /\/showbanner\.php\?/ +++++++ */show_deals.js* +++++++ */small_ad.* +++++++ */smd.powerwinning.com/* +++++++ */socialads.js* ++++ */softsale/* +++++++ */Splash/Page_Header/* +++++++ */spinbox.freedom.* +++++++ */sponsImages/* +++++++ */sponsorad.* ++++ */sponsored* ++++ */stats5.lightningcast.com/*brand%* +++++++ */surveyCookie.js* +++++++ /\/textad\?/ +++++++ */textAd.js* +++++++ */tii_ads.js* +++++++ */trusearch.net/affblock/* +++++++ */ttz_ad.js* +++++++ */userbanners/* +++++++ */vendshow/* ++++ */videoad.* ++++ */videoads.* ++++ */videoads/* ++++ */w1.buysub.* +++++++ */webadImg/* +++++++ */webads_* +++++++ /\/whiteglove\.jsp\?/ +++++++ */widget.blogrush.com/show.js* +++++++ */ygames_e/embed/src/embedPlayer.js* +++++++ */ysmads.html* +++++++ *//wrapper.3dgamers.* +++++++ *http://171.66.124.80/* +++++++ *http://196.41.0.207/* +++++++ *http://72.32.71.244* +++++++ *http://a.ads.* +++++++ *http://ad*.emidiate.* +++++++ *http://abm.hothardware.* +++++++ *http://ad-uk.* +++++++ *http://ad.* +++++++ *http://ad0.* +++++++ *http://ad1.* +++++++ *http://ad2.* +++++++ *http://adclient* +++++++ *http://adcreative.* +++++++ *http://adfarm.* +++++++ *http://adimg.* +++++++ *http://adimages.* +++++++ *http://adinterax.* +++++++ *http://adnet.* +++++++ *http://adq.* +++++++ *http://adremote.* +++++++ *http://adonline.* +++++++ *http://ads.* +++++++ *http://ads1.* +++++++ *http://ads2.* +++++++ *http://ads3.* +++++++ *http://ads4.* +++++++ *http://ads5.* +++++++ *http://adsatt.* +++++++ *http://adsearch.* +++++++ *http://adserv* +++++++ *http://adsnew.* +++++++ *http://adsremote.* +++++++ *http://adstream.*.cgi* +++++++ *http://adsvr.* +++++++ *http://adsys.* +++++++ *http://adt.* +++++++ *http://adtology* +++++++ *http://adv.* +++++++ *http://advert.* +++++++ *http://adverts.* +++++++ *http://advision.*/getad* +++++++ *http://adworks.* +++++++ *http://adx.* +++++++ /http:\/\/affiliates\..*\.aspx\?/ +++++++ *http://afimages.* +++++++ *http://almobty.com/* +++++++ *http://altfarm.* +++++++ *http://avpa.* +++++++ *http://banner.* +++++++ *http://banners.*http* +++++++ *http://bin-layer.de/* +++++++ *http://biz28.* +++++++ http://body.imho.ru/* ++++ *http://bwp.* +++++++ *http://cdn.nvero.* +++++++ *http://circads.* +++++++ *http://common.*/slider.js* +++++++ *http://dclk.*.ng/* +++++++ *http://feeds.*/~a/* +++++++ *http://fdads.sv.* +++++++ *http://ffxcam.* +++++++ *http://getad.* +++++++ *http://images.*/banners/* +++++++ *http://jazad.* +++++++ *http://lads.*-gutter-* +++++++ *http://mads.* +++++++ *http://marketing.*http* +++++++ *http://ng3.ads.* +++++++ *http://oas-central.* ++++ *http://pagead2.* ++++ *http://partner.* +++++++ *http://promo.* +++++++ *http://promo2.* +++++++ *http://promote.* +++++++ *http://rcm*.amazon.* +++++++ *http://reklama.* +++++++ *http://richmedia2.* +++++++ *http://rss.*/~a/* +++++++ *http://servedbyadbutler.* +++++++ *http://smartad.* +++++++ *http://stocker.bonnint.* +++++++ *http://synad.* +++++++ *http://ttsrc.aroq.* +++++++ *http://video.flashtalking.* +++++++ /http:\/\/wrapper\..*\/a\?/ ++++ *http://*/partners.* +# ! MALICIOUS: +++++++ */adv598.php* +++++++ *cdpuvbhfzz.com* +++++++ *.defender-scanner.* +++++++ *.malwarecrush.* +++++++ *.spyshredderscanner.* +++++++ */avsystemcare.* +++++++ */bleso.com/* +++++++ */onlinexpscanner.com/* +++++++ *antivirus-scanonline.com/* +# ! +# ! WHITELISTS +ALLOW *1800flowers.com/*/banners/* +ALLOW *.adbrite.gif +--- */adcontent.videoegg.com/crossdomain.xml +ALLOW */adcontent.videoegg.com/eap/* +--- /\/admatch-syndication\.mochila\.com\/viewer\/.*\?/ +ALLOW *ads.ign.com/fod/*.html* +ALLOW *ads.ign.com/*masthead* +--- */ads1.msn.com/ads/*.jpg* +ALLOW *ads1.msn.com/library/dap.js* +--- */ads/video/*.flv* +--- */adserver.yahoo.com/a*LREC* +ALLOW *.adserver.yahoo.com/*=HEAD&* +--- */autoplayer/* +ALLOW *.bbc.co.uk/*/banners/*logo* +ALLOW *.brightcove.com*/viewer/* +ALLOW *.cbc.ca/*/promos/* +ALLOW *.cbsnews.com/*video;* +ALLOW *cdn.fastclick.net/fastclick.net/video/* +ALLOW *cosmos.bcst.yahoo.com/scp_v3/detectomatic/* +ALLOW *.crutchfield.com*/banners/* +ALLOW *despair.com/banners/* +ALLOW *.doubleclick.net/*sect=player;* +--- *.doubleclick.net/pfadx/nbcu.*/video* +ALLOW *doubleclick.net/pfadx/sw.nol/* +--- *.doubleclick.net/*/DartShell* +--- *doubleclick.net/*/videogallery/* +--- *.doubleclick.net/crossdomain.xml* +--- /\/espn360\/banner\?/ +--- *gcirm.gannettvideo.com/*Video* +ALLOW *flyordie.com/*&affiliate* +ALLOW *.forbes.com*/video* +--- *fox*.com*video* +--- *.fox.com/fod/* +--- *.gametrailers.*player* +--- *int1.fp.sandpiper.net/* +--- *judo.salon.com/* +ALLOW /\.js\.yimg\.com\/combo\?.*\/carousel_.*\/sponsored_links/ +ALLOW *js2.yimg.com/us.yimg.com/a/1-/java/promotions/js/ad_eo_1.1.js* +ALLOW */ll.static.abc.go.com/streaming/move/* +ALLOW */mediacenter/*.flv +ALLOW /meevee\.com\/ads\/adIframe\.aspx\?/ +--- *microsoft.com/*/banners/* +--- *.mlb.com/shared/*/video/* +--- *.mlb/homepage* +ALLOW */mp3toys_files/* +--- *NBC*preroll.* +--- */nbcu.nbc/* +ALLOW *.nbl.com.au/*/0*-image.* +ALLOW *newsimg.bbc.co.uk/media/*promo* +ALLOW *nissanusa.com/* +--- */NissanLiveSets_* +ALLOW *nytimes.com/ads/mm* +ALLOW */oascentral.feedroom.com*&* +ALLOW /oascentral\.discovery\.com\/.*\?playerId=/ +ALLOW */podimages/*_tab.* +ALLOW *rad.live.com/*&DPJS* +ALLOW /\/RealMedia\/ads\/adstream_mjx\.ads\/.*\?.*type=video/ +ALLOW *.sears.com/data/* +ALLOW */smh.com.au/images/ads/* +ALLOW *.space.com/flashvideo/* +ALLOW /\.spike\.com\/.*spike-functions\.js\?/ +--- *.stream.aol.com* +--- *thenewsroom.com/mash/options/* +--- *Table_files/* +ALLOW *ticker.cnbc.com/js/s_code.js* +--- *vidavee.net*video* +ALLOW */video/player* +ALLOW *video.on.nytimes.com/* +--- *video.wwe.com* +--- *videos.theonion.* +ALLOW */widget.slide.com/*/preroll.swf* +ALLOW /yahoo\.com\/a\?.*headr/ +ALLOW /\.videogamer\..*\/videoad\.xml\?/ +--- *http://ads.biggerboat.com/* +--- *http://ads1.msn.com*=video* +ALLOW http://*.kidswb.com/video* +ALLOW *http://media*video*.flv +ALLOW *http://media.*.flv +ALLOW *http://*.mlb.com/media/player/* +ALLOW *http://www.nbc.com/*/video/episodes.* +--- /^http:\/\/oascentral\..*Top.*\?$/ +ALLOW http://www.people.com/people/*/photos* +ALLOW /http:\/\/promo\.ebay\..*\?GetCrossPromos/ +ALLOW http://promo.verizon.com/* +ALLOW *http://video.*.flv* +ALLOW *http://*videodetective.com/* +ALLOW http://*.wikimedia.org/wikipedia/* +# ! + --- bfilter-1.1.4.orig/debian/rules +++ bfilter-1.1.4/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +#DEB_AUTO_UPDATE_AUTOCONF := 2.50 + +CFLAGS := -pthread -g -Wall -O2 +CXXFLAGS := -pthread -g -Wall -O2 +CPPFLAGS := -I/usr/lib/xulrunner-devel-$(shell xulrunner --gre-version)/include/ +LDFLAGS := -Wl,--as-needed + +DEB_CONFIGURE_EXTRA_FLAGS += --with-gui --without-builtin-boost +DEB_CONFIGURE_EXTRA_FLAGS += --without-builtin-libjs +DEB_CONFIGURE_EXTRA_FLAGS += LIBS="-L/usr/lib/xulrunner-devel-$(shell xulrunner --gre-version)/lib/ -lmozjs -lboost_program_options-mt -lboost_regex-mt" + +DEB_MAKE_INSTALL_TARGET += install DESTDIR=$(CURDIR)/debian/tmp/ + +DEB_DH_STRIP_ARGS := --dbg-package=bfilter-dbg + +pre-build:: + chmod a+x debian/bin/* --- bfilter-1.1.4.orig/debian/bfilter-common.README.Debian +++ bfilter-1.1.4/debian/bfilter-common.README.Debian @@ -0,0 +1,8 @@ +Bfilter for Debian +------------------ + +After installing you should configure your web browser to use bfilter. +In Mozilla Firefox go to edit->preferences->conection settings->manual proxy configuration. +Under "HTTP proxy" enter localhost and in port field enter 8080. + + -- Vedran Furač , Sat, 25 Jun 2005 01:25:10 +0200 --- bfilter-1.1.4.orig/debian/changelog +++ bfilter-1.1.4/debian/changelog @@ -0,0 +1,255 @@ +bfilter (1.1.4-1ubuntu2) karmic; urgency=low + + * LP: #455517 - supersede firefox 3.0 and xulrunner-1.9 in karmic; + fix binary depends too (previous upload forgot them) + + -- Alexander Sack Tue, 20 Oct 2009 11:31:45 +0200 + +bfilter (1.1.4-1ubuntu1) karmic; urgency=low + + De-libxul-dev'ification (LP: #352968): + * debian/control:drop build-dependency on libmozjs-dev; use xulrunner-dev + instead; explicitly add xulrunner-1.9 binary depends for bfilter and + bfilter-gui package + * debian/rules adjust LIBS and CPPFLAGS accordingly; also use --as-needed + to prevent mozjs being linked in everywhere. + * debian/bin/{bfilter,bfilter-gui}: add wrapper scripts that set LD_LIBRARY_PATH + properly for mozjs + * debian/{bfilter.install,bfilter-gui.install}: install wrapper scripts to usr/bin + and move the wrapped binaries to pkglidir + * debian/rules: make debian/bin/ wrapper scripts executable in pre-build + + -- Alexander Sack Wed, 10 Jun 2009 13:03:30 +0200 + +bfilter (1.1.4-1) unstable; urgency=low + + * New upstream release (Closes: #485487) + - Youtube works again. + - Bypass mode now correctly disables the blocklist. + - Fixed a crash on "disk full" condition. + - The heuristic analizer was improved. + - The JavaScript engine was updated. + - Some new experimental filters where added. + - Minor UI improvements. + + * There is now a bfilter-dbg package + * Added urls.local.example with a number of adblock filters from + http://convoglio.com/bfilter/ + * bfilter-gui added to the menu system + * debian/watch file updated + * Bump Standards-Version to 3.8.0. + * This upload is sponsored by Kari Pahula + + -- Vedran Furač Sun, 08 Jun 2008 01:34:46 +0200 + +bfilter (1.1.3-1) unstable; urgency=low + + * New upstream release + - Fixed a DoS in the Windows version when processing out of range dates. + - JavaScript engine was updated. + + * debian/watch file updated (Closes: #450158) + + -- Vedran Furač Thu, 15 Nov 2007 18:25:36 +0100 + +bfilter (1.1.2-1) unstable; urgency=low + + * New upstream release + - Fixed a (non-exploitable) crash that could happen during cache cleanup. + - Fixed a problem with some pages not loading completely. + + -- Vedran Furač Thu, 08 Nov 2007 20:06:24 +0100 + +bfilter (1.1.1-1) unstable; urgency=low + + * New upstream release (Closes: #442337) + - Fixed a bug leading to false positives that affected YouTube + + -- Vedran Furač Fri, 21 Sep 2007 01:18:34 +0200 + +bfilter (1.1-2) unstable; urgency=low + + * FTBFS on alpha with -Os, revert back to -O2 (Closes: #438066) + + -- Vedran Furač Fri, 17 Aug 2007 02:35:54 +0200 + +bfilter (1.1-1) unstable; urgency=low + + * New upstream release + - BFilter now caches external scripts it fetches for analyzing. + - Filtering accuracy was improved. + - Added a workaround for "Error decompressing response" problem with Opera and some websites. + - JavaScript engine was updated. + + * This upload is sponsored by Kari Pahula + + -- Vedran Furač Sat, 04 Aug 2007 20:21:13 +0200 + +bfilter (1.0.9-2) unstable; urgency=low + + * FTBFS with new boost libraries (Closes: #425070) + * Add libcairomm-1.0-dev to Build-Depends + * This upload is sponsored by Kari Pahula + + -- Vedran Furač Sat, 19 May 2007 13:41:37 +0200 + +bfilter (1.0.9-1) unstable; urgency=low + + * New upstream release (Closes: #409332) + - Fixed a warning about missing forwarding.xml (Gtk GUI, fresh install). + - Fixed the wrong behaviour of Bypass menu item (Windows GUI). + - Fixed a bug that could lead to false positives. + + + Version 1.0.8 + - Support for multiple forwarding configurations. + - Support forwarding to a chain of proxies. + - HTTPS hosts can now be (manually) blocked. + - Improved ad detection accuracy. + - Fixed a crash in the gtk GUI when renaming a filter. + - A man page was added to the source package. + + + Version 1.0.7 + - Fixed a possible deadlock. + - Fixed handling of Expect header. + - Improved ad-detection accuracy. + - JavaScript engine was updated. + - Various minor bugfixes. + + * This and all previous uploads were sponsored by Kari Pahula + + -- Vedran Furač Fri, 2 Feb 2007 13:12:38 +0100 + +bfilter (1.0.6-2) unstable; urgency=low + + * FTBFS: Fails to detect ace/ACE.h. (Closes: #401518). Thanks to Daniel + Schepler and Andreas Henriksson. + * Build-depend on libstdc++6-4.1-dev + * Wikipedia.org added to whitelist + + -- Vedran Furač Mon, 4 Dec 2006 21:21:37 +0100 + +bfilter (1.0.6-1) unstable; urgency=low + + * New upstream release + - New option to remove ads completely, as opposed to subsituting them + with a clickable replacement image. + - Minor bugfixes and improvements. + + * Add LSB info to the init.d script. + + -- Vedran Furač Tue, 12 Sep 2006 02:29:05 +0200 + +bfilter (1.0.5-1) unstable; urgency=low + + * New upstream release + - Fixed crashes in the GUI with certain versions of GTK. + - The HTML parser and the HTTP stream parser were made more permissive. + - Minor improvements and code cleanups. + + -- Vedran Furač Mon, 31 Jul 2006 01:08:22 +0200 + +bfilter (1.0.4-1) unstable; urgency=low + + * New upstream release: + - Support for forwarding to SOCKS proxies. + - Support for HTTPS forwarding (but not filtering). + - Fixed a small bug that could prevent some ads from being detected. + + -- Vedran Furač Thu, 13 Jul 2006 20:16:58 +0200 + +bfilter (1.0.3-1) unstable; urgency=low + + * New upstream release: + - Fixed a crash caused by infinite recursion. + - Fixed a crash in the gtk GUI. + - ads are now handled. + - Improvements for ad-detection heuristics. + + * Added manual pages for bfilter and bfilter-gui + + -- Vedran Furač Thu, 29 Jun 2006 03:37:25 +0200 + +bfilter (1.0.2-3) unstable; urgency=low + + * bfilter binary moved back to /usr/bin + * Removed conflict between bfilter and bfilter-gui + + -- Vedran Furač Sun, 4 Jun 2006 22:41:37 +0200 + +bfilter (1.0.2-2) unstable; urgency=low + + * Moved bfilter binary to /usr/sbin + * Added bfilter-common package (for /etc files) + * Added conflict between bfilter and bfilter-gui + * Run bfiler as nobody/nogroup + * bfilter now writes a pidfile + + -- Vedran Furač Sat, 3 Jun 2006 14:42:05 +0200 + +bfilter (1.0.2-1) unstable; urgency=low + + * New upstream release + * Dynamically link bfilter aganist libboost and libmozjs (libjs) + * Expand debian/copyright + * Don't manage debian/control via CDBS. From CDBS docs: + "This feature is considered broken and packages using it + are not allowed into the Debian archive." + * Added --oknodo option to "start-stop-daemon --stop" in bfilter initscript. + Without it dpkg will fail to upgrade the package if bfilter daemon isn't + running. + * Upload to debian Closes: #295782 + + -- Vedran Furač Fri, 2 Jun 2006 00:12:06 +0200 + +bfilter (1.0-1) unstable; urgency=low + + * New upstream release + * Update policy version to 3.7.2 + + -- Vedran Furač Fri, 19 May 2006 21:34:22 +0200 + +bfilter (0.10.3-2) unstable; urgency=low + + * Rebuild to get rid of references to Xcursor.la / Xrender.la + * Update policy version to 3.7.0.0. + * Lots of changes in build-depends line + + -- Vedran Furač Wed, 3 May 2006 02:31:01 +0200 + +bfilter (0.10.3-1) unstable; urgency=low + + * New upstream release + + -- Vedran Furač Sun, 2 Apr 2006 15:26:45 +0200 + +bfilter (0.10.2-1) unstable; urgency=low + + * New upstream release + + -- Vedran Furač Tue, 20 Dec 2005 23:33:48 +0100 + +bfilter (0.10.1-2) unstable; urgency=low + + * Built Against libace5.4.7c2a and libsigc++-2.0-0c2a + + -- Vedran Furač Thu, 8 Dec 2005 13:52:50 +0100 + +bfilter (0.10.1-1) unstable; urgency=low + + * New upstream release + + -- Vedran Furač Tue, 15 Nov 2005 23:47:26 +0100 + +bfilter (0.10-1) unstable; urgency=low + + * New upstream release + * Switch to CDBS + + -- Vedran Furač Sun, 16 Oct 2005 00:42:23 +0200 + +bfilter (0.9.4-1) unstable; urgency=low + + * Initial release + + -- Vedran Furač Sat, 25 Jun 2005 01:25:10 +0200 + --- bfilter-1.1.4.orig/debian/control +++ bfilter-1.1.4/debian/control @@ -0,0 +1,97 @@ +Source: bfilter +Section: net +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Vedran Furač +Homepage: http://bfilter.sf.net +Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 5.0.34), + zlib1g-dev, libgtkmm-2.4-dev, libsigc++-2.0-dev, libstdc++6-4.2-dev, libace-dev, + libxcursor-dev, libxrender-dev, libxrandr-dev, libxi-dev, libxfixes-dev, + libxext-dev, libx11-dev, libpng12-dev, libpango1.0-dev, libgtk2.0-dev, + libglib2.0-dev, libfreetype6-dev, libfontconfig1-dev, libcairo2-dev, + libatk1.0-dev, libboost-program-options-dev, libboost-regex-dev, + libboost-serialization-dev, xulrunner-dev (>= 1.9.1~), libcairomm-1.0-dev +Standards-Version: 3.8.0.0 + +Package: bfilter +Architecture: any +Depends: ${shlibs:Depends}, bfilter-common, xulrunner-1.9.1 +Description: Simple web filtering proxy + BFilter is a filtering web proxy. It was originally intended for removing + banner ads only, but at some point it has been extended to remove popups and + webbugs. It can't be used as a general purpose filtering proxy because it + was never intended this way. For example you can't just block an arbitary + object, you can only hint the ad detector in its decision making. + The main advantage BFilter has over the similar tools is its heuristic ad + detection algorithm. The traditional blocklist-based approach is also + implemented, but it's mostly used for dealing with false positives. Unlike + other tools that require constant updates of their blocklists, BFilter + manages to remove over 90% of ads even with an empty blocklist! + The javascript generated ads are not a problem for BFilter, as it has a + javascript engine to combat them. + . + BFilter is expected work with any browser that supports proxies (nearly any + browser does), and can forward requests to another HTTP proxy. + +Package: bfilter-gui +Architecture: any +Depends: ${shlibs:Depends}, bfilter-common, xulrunner-1.9.1 +Description: Simple web filtering proxy (GUI) + BFilter is a filtering web proxy. It was originally intended for removing + banner ads only, but at some point it has been extended to remove popups and + webbugs. It can't be used as a general purpose filtering proxy because it + was never intended this way. For example you can't just block an arbitary + object, you can only hint the ad detector in its decision making. + The main advantage BFilter has over the similar tools is its heuristic ad + detection algorithm. The traditional blocklist-based approach is also + implemented, but it's mostly used for dealing with false positives. Unlike + other tools that require constant updates of their blocklists, BFilter + manages to remove over 90% of ads even with an empty blocklist! + The javascript generated ads are not a problem for BFilter, as it has a + javascript engine to combat them. + . + BFilter is expected work with any browser that supports proxies (nearly any + browser does), and can forward requests to another HTTP proxy. + +Package: bfilter-common +Architecture: all +Description: Simple web filtering proxy (common files) + BFilter is a filtering web proxy. It was originally intended for removing + banner ads only, but at some point it has been extended to remove popups and + webbugs. It can't be used as a general purpose filtering proxy because it + was never intended this way. For example you can't just block an arbitary + object, you can only hint the ad detector in its decision making. + The main advantage BFilter has over the similar tools is its heuristic ad + detection algorithm. The traditional blocklist-based approach is also + implemented, but it's mostly used for dealing with false positives. Unlike + other tools that require constant updates of their blocklists, BFilter + manages to remove over 90% of ads even with an empty blocklist! + The javascript generated ads are not a problem for BFilter, as it has a + javascript engine to combat them. + . + BFilter is expected work with any browser that supports proxies (nearly any + browser does), and can forward requests to another HTTP proxy. + +Package: bfilter-dbg +Architecture: any +Section: net +Priority: extra +Depends: bfilter (= ${binary:Version}) +Description: Simple web filtering proxy (common files) + BFilter is a filtering web proxy. It was originally intended for removing + banner ads only, but at some point it has been extended to remove popups and + webbugs. It can't be used as a general purpose filtering proxy because it + was never intended this way. For example you can't just block an arbitary + object, you can only hint the ad detector in its decision making. + The main advantage BFilter has over the similar tools is its heuristic ad + detection algorithm. The traditional blocklist-based approach is also + implemented, but it's mostly used for dealing with false positives. Unlike + other tools that require constant updates of their blocklists, BFilter + manages to remove over 90% of ads even with an empty blocklist! + The javascript generated ads are not a problem for BFilter, as it has a + javascript engine to combat them. + . + BFilter is expected work with any browser that supports proxies (nearly any + browser does), and can forward requests to another HTTP proxy. + . + This package contains the debugging symbols for bfilter --- bfilter-1.1.4.orig/debian/bfilter-gui.manpages +++ bfilter-1.1.4/debian/bfilter-gui.manpages @@ -0,0 +1 @@ +debian/bfilter-gui.1 --- bfilter-1.1.4.orig/debian/bfilter-common.docs +++ bfilter-1.1.4/debian/bfilter-common.docs @@ -0,0 +1,3 @@ +debian/FAQ +debian/urls.local.example +AUTHORS --- bfilter-1.1.4.orig/debian/copyright +++ bfilter-1.1.4/debian/copyright @@ -0,0 +1,880 @@ +This package was debianized by Vedran Furač on +Sat, 25 Jun 2005 01:25:10 +0200. + +It was downloaded from + +=== bfilter +Copyright Holder: 2002-2007 Joseph Artsimovich + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + +=== libjs (part of xulrunner) +Copyright Holder: 1998 Netscape Communications Corporation + +License: + Overall, the xulrunner project is licensed under the terms of the Mozilla + Public License version 1.1 or, at your option, under the terms of the GNU + general Public License version 2 or subsequent, or the terms of the GNU + Lesser General Public License version 2.1 or subsequent. + + On Debian systems, the complete text of the GNU General Public + License can be found in the file /usr/share/common-licenses/GPL' ; + the complete text of the GNU Lesser General Public License can be + found in the file /usr/share/common-licenses/LGPL'. + + The complete text of the Mozilla Public License can be found at + http://www.mozilla.org/MPL/MPL-1.1.html + +=== libjs/fdlibm.h (as above but with one addition) +Copyright Holder: 1993 by Sun Microsystems, Inc. + + Developed at SunSoft, a Sun Microsystems, Inc. business. * Permission to + use, copy, modify, and distribute this * software is freely granted, + provided that this notice * is preserved. + +=== libview +Copyright Holder: 2005 VMware, Inc. + + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +=== stdint.h +Copyright holder: 2005-2007 Paul Hsieh + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + + Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + Redistributions in binary form must not misrepresent the orignal + source in the documentation and/or other materials provided + with the distribution. + + The names of the authors nor its contributors may be used to + endorse or promote products derived from this software without + specific prior written permission. + +=== boost +The boost libraries use various licenses that fall under these guidelines: + +License requirements + + Must be simple to read and understand. + + Must grant permission to copy, use and modify the software for any + use (commercial and non-commercial) for no fee. + + Must require that the license appear on all copies of the software + source code. + + Must not require that the license appear with executables or other + binary uses of the library. + + Must not require that the source code be available for execution + or other binary uses of the library. + + May restrict the use of the name and description of the library to + the standard version found on the Boost web site. + + +The individual copyright and license statements generally appear in +library headers, though a few appear in other files. As of +2003-03-30, the licenses are as follows. The header from which the +license statement was taken is indicated, where applicable. + + + any + ------------------- + +// Copyright Kevlin Henney, 2000, 2001, 2002. All rights reserved. +// +// Permission to use, copy, modify, and distribute this software for any +// purpose is hereby granted without fee, provided that this copyright and +// permissions notice appear in all copies and derivatives. +// +// This software is provided "as is" without express or implied warranty. + + + array + ----------------------- + + * (C) Copyright Nicolai M. Josuttis 2001. + * Permission to copy, use, modify, sell and distribute this software + * is granted provided this copyright notice appears in all copies. + * This software is provided "as is" without express or implied + * warranty, and with no claim as to its suitability for any purpose. + + + bind and mem_fn + -------------------------------- + +// Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd. +// Copyright (c) 2001 David Abrahams +// +// Permission to copy, use, modify, sell and distribute this software +// is granted provided this copyright notice appears in all copies. +// This software is provided "as is" without express or implied +// warranty, and with no claim as to its suitability for any purpose. + + + call_traits + ----------------------------------- + +// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. +// Use, modification and distribution are subject to the Boost Software License, +// Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + compatibility + ------------------------------------- + +The headers are automatically generated. The script which generates them +(libs/compatibility/generate_cpp_c_headers.py in boost source) has the +following license. + +# Copyright (c) 2001 Ralf W. Grosse-Kunstleve. Permission to copy, +# use, modify, sell and distribute this script is granted provided this +# copyright notice appears in all copies. This document is provided "as +# is" without express or implied warranty, and with no claim as to its +# suitability for any purpose. + + + compressed_pair + ------------------------------------------- + +// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000. +// Use, modification and distribution are subject to the Boost Software License, +// Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + concept_check + --------------------------------------- + +// (C) Copyright Jeremy Siek 2000. Permission to copy, use, modify, +// sell and distribute this software is granted provided this +// copyright notice appears in all copies. This software is provided +// "as is" without express or implied warranty, and with no claim as +// to its suitability for any purpose. + + + config + ------------------------- + +// (C) Copyright John Maddock 2002. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + conversion + --------------------------- + +// (C) Copyright boost.org 1999. Permission to copy, use, modify, sell +// and distribute this software is granted provided this copyright +// notice appears in all copies. This software is provided "as is" without +// express or implied warranty, and with no claim as to its suitability for +// any purpose. + + + crc + ------------------- + +// Copyright 2001 Daryle Walker. Use, modification, and distribution are +// subject to the Boost Software License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + date_time + ------------------------------------ + +/* Copyright (c) 2002,2003 CrystalClear Software, Inc. + * Use, modification and distribution is subject to the + * Boost Software License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + dynamic_bitset + ----------------------------------------- + +// (C) Copyright Chuck Allison and Jeremy Siek 2001, 2002. +// +// Permission to copy, use, modify, sell and distribute this software +// is granted provided this copyright notice appears in all +// copies. This software is provided "as is" without express or +// implied warranty, and with no claim as to its suitability for any +// purpose. + + + enable_if + --------------------------------------- + +// Copyright 2003 � The Trustees of Indiana University. + +// Use, modification, and distribution is subject to the Boost Software +// License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + filesystem + -------------------------------------- + +// � Copyright Beman Dawes 2002-2003 +// Use, modification, and distribution is subject to the Boost Software +// License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + format + ------------------------- + +// (C) Samuel Krempp 2001 +// Permission to copy, use, modify, sell and +// distribute this software is granted provided this copyright notice appears +// in all copies. This software is provided "as is" without express or implied +// warranty, and with no claim as to its suitability for any purpose. + + + function + ----------------------------- + +// Copyright Doug Gregor 2001-2003. Use, modification and +// distribution is subject to the Boost Software License, Version +// 1.0. + +Terms of the Boost Software License appear later in this file. + + + functional + --------------------------------- + +// Copyright (c) 2000 +// Cadenza New Zealand Ltd +// +// Permission to use, copy, modify, distribute and sell this software +// and its documentation for any purpose is hereby granted without +// fee, provided that the above copyright notice appears in all copies +// and that both the copyright notice and this permission notice +// appear in supporting documentation. Cadenza New Zealand Ltd makes +// no representations about the suitability of this software for any +// purpose. It is provided "as is" without express or implied +// warranty. + + + graph + ----- + +See Boost.Graph section, below. All Debian modifications to +Boost.Graph are hereby placed in the Public Domain. + + + integer + --------------------------- + +// Copyright Beman Dawes 1999. +// See accompanying license for terms and conditions of use. + +Terms of the Boost Software License appear later in this file. + + + interval + ------------------------------------- + + * Copyright Jens Maurer 2000 + * Copyright Herv� Br�nnimann, Guillaume Melquiond, Sylvain Pion 2002 + * Permission to use, copy, modify, sell, and distribute this software + * is hereby granted without fee provided that the above copyright notice + * appears in all copies and that both that copyright notice and this + * permission notice appear in supporting documentation, + * + * None of the above authors nor Polytechnic University make any + * representation about the suitability of this software for any + * purpose. It is provided "as is" without express or implied warranty. + + + io_state_savers + ---------------------------------------- + +// Copyright 2002 Daryle Walker. Use, modification, and distribution are +// subject to the Boost Software License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + iterators + ----------------------------------------------- + +// (C) Copyright David Abrahams 2002. +// (C) Copyright Jeremy Siek 2002. +// (C) Copyright Thomas Witt 2002. +// Permission to copy, use, modify, +// sell and distribute this software is granted provided this +// copyright notice appears in all copies. This software is provided +// "as is" without express or implied warranty, and with no claim as +// to its suitability for any purpose. + + + lambda + -------------------------------- + +// Copyright (C) 1999, 2000 Jaakko J�rvi (jaakko.jarvi@cs.utu.fi) +// +// Permission to copy, use, sell and distribute this software is granted +// provided this copyright notice appears in all copies. +// Permission to modify the code and to distribute modified code is granted +// provided this copyright notice appears in all copies, and a notice +// that the code was modified is included with the copyright notice. +// +// This software is provided "as is" without express or implied warranty, +// and with no claim as to its suitability for any purpose. + + + math + ------------------------- + +// (C) Copyright boost.org 2001-2002. Permission to copy, use, modify, sell +// and distribute this software is granted provided this copyright +// notice appears in all copies. This software is provided "as is" without +// express or implied warranty, and with no claim as to its suitability for +// any purpose. + + + math/common_factor + ------------------------------------------------- + +// (C) Copyright Daryle Walker 2001-2002. Permission to copy, use, modify, +// sell and distribute this software is granted provided this copyright notice +// appears in all copies. This software is provided "as is" without express +// or implied warranty, and with no claim as to its suitability for any +// purpose. + + + math/octonion + --------------------------------------- + +// (C) Copyright Hubert Holin 2001. Permission to copy, use, modify, sell and +// distribute this software is granted provided this copyright notice appears +// in all copies. This software is provided "as is" without express or implied +// warranty, and with no claim as to its suitability for any purpose. + + + math/quaternion + ------------------------------------------- + +// (C) Copyright Hubert Holin 2001. Permission to copy, use, modify, sell and +// distribute this software is granted provided this copyright notice appears +// in all copies. This software is provided "as is" without express or implied +// warranty, and with no claim as to its suitability for any purpose. + + + math/special_functions + --------------------------------------------------------------- + +// (C) Copyright Hubert Holin 2001. Permission to copy, use, modify, sell and +// distribute this software is granted provided this copyright notice appears +// in all copies. This software is provided "as is" without express or implied +// warranty, and with no claim as to its suitability for any purpose. + + + mpl + ------------------------- + +// Copyright (c) 2000-03 +// Aleksey Gurtovoy +// +// Permission to use, copy, modify, distribute and sell this software +// and its documentation for any purpose is hereby granted without fee, +// provided that the above copyright notice appears in all copies and +// that both the copyright notice and this permission notice appear in +// supporting documentation. No representations are made about the +// suitability of this software for any purpose. It is provided "as is" +// without express or implied warranty. + + + multi_array + ----------------------------------- + +// Copyright 2002 The Trustees of Indiana University. + +// Use, modification and distribution is subject to the Boost Software +// License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + operators + ------------------------------- + +// (C) Copyright David Abrahams, Jeremy Siek, and Daryle Walker 1999-2001. +// Permission to copy, use, modify, sell and distribute this software is +// granted provided this copyright notice appears in all copies. This +// software is provided "as is" without express or implied warranty, and +// with no claim as to its suitability for any purpose. + + + optional + ----------------------------- + +// Use, modification, and distribution is subject to the Boost Software +// License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + pool (libs/pool/doc/copyright.html) + ----------------------------------- + +// Copyright (C) 2000, 2001 Stephen Cleary + + Permission to copy, use, and distribute this software and its + documentation is granted, provided that the above copyright notice + appears in all copies and that that copyright notice appear in + supporting documentation. + + Permission to modify the software and its documentation, and to + distribute modified software and documentation is granted, provided + that: the above copyright notice appears in all copies + AND that copyright notice appears in supporting + documentation, AND a notice that the software was + modified appears with the copyright notice. + + + preprocessor + ------------------------------------- + +# /* Copyright (C) 2001 +# * Housemarque Oy +# * http://www.housemarque.com +# * +# * Permission to copy, use, modify, sell and distribute this software is +# * granted provided this copyright notice appears in all copies. This +# * software is provided "as is" without express or implied warranty, and +# * with no claim as to its suitability for any purpose. +# */ +# +# /* Revised by Paul Mensonides (2002) */ + + + property_map + ------------------------------------- + +// (C) Copyright Jeremy Siek 1999-2001. Permission to copy, use, modify, +// sell and distribute this software is granted provided this +// copyright notice appears in all copies. This software is provided +// "as is" without express or implied warranty, and with no claim as +// to its suitability for any purpose. + + + python + ------------------------- + +// Copyright David Abrahams 2002. Permission to copy, use, +// modify, sell and distribute this software is granted provided this +// copyright notice appears in all copies. This software is provided +// "as is" without express or implied warranty, and with no claim as +// to its suitability for any purpose. + + + random + ------------------------- + + * Copyright Jens Maurer 2000-2001 + * Permission to use, copy, modify, sell, and distribute this software + * is hereby granted without fee provided that the above copyright notice + * appears in all copies and that both that copyright notice and this + * permission notice appear in supporting documentation, + * + * Jens Maurer makes no representations about the suitability of this + * software for any purpose. It is provided "as is" without express or + * implied warranty. + + + rational + ----------------------------- + +// (C) Copyright Paul Moore 1999. Permission to copy, use, modify, sell and +// distribute this software is granted provided this copyright notice appears +// in all copies. This software is provided "as is" without express or +// implied warranty, and with no claim as to its suitability for any purpose. + + + ref + ------------------- + +// Copyright (C) 1999, 2000 Jaakko J�rvi (jaakko.jarvi@cs.utu.fi) +// Copyright (C) 2001, 2002 Peter Dimov +// Copyright (C) 2002 David Abrahams +// +// Permission to copy, use, modify, sell and distribute this software +// is granted provided this copyright notice appears in all copies. +// This software is provided "as is" without express or implied +// warranty, and with no claim as to its suitability for any purpose. + + + regex + ----------------------- + + * Copyright (c) 1998-2002 + * Dr John Maddock + * + * Use, modification and distribution are subject to the + * Boost Software License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + signals + -------------------------- + +// Copyright Doug Gregor 2001-2003. Use, modification and +// distribution is subject to the Boost Software License, Version +// 1.0. + +Terms of the Boost Software License appear later in this file. + + + smart_ptr + ------------------------------- + +// Copyright (c) 1998-2002 boost.org +// Copyright (c) 2003 Peter Dimov +// +// Permission to copy, use, modify, sell and distribute this software +// is granted provided this copyright notice appears in all copies. +// This software is provided "as is" without express or implied +// warranty, and with no claim as to its suitability for any purpose. + + + static_assert + --------------------------------------- + +// (C) Copyright John Maddock 2000. +// Use, modification and distribution are subject to the +// Boost Software License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + spirit + ------------------------- + + Copyright (c) 1998-2003 Joel de Guzman + Copyright (c) 2001-2003 Daniel Nuffer + Copyright (c) 2001-2003 Hartmut Kaiser + Copyright (c) 2002-2003 Martin Wille + Copyright (c) 2002 Juan Carlos Arevalo-Baeza + Copyright (c) 2002 Raghavendra Satish + Copyright (c) 2002 Jeff Westfahl + Copyright (c) 2001 Bruce Florman + Copyright (c) 2003 Giovanni Bajo + Copyright (c) 2003 Vaclav Vesely + Copyright (c) 2003 Jonathan de Halleux + http://spirit.sourceforge.net/ + + Use, modification and distribution is subject to the Boost Software + License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + test + -------------------------------- + +// (C) Copyright Gennadiy Rozental 2001-2003. +// (C) Copyright Ullrich Koethe 2001. +// Use, modification, and distribution are subject to the +// Boost Software License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + thread + ------------------------- + +// Copyright (C) 2001-2003 +// William E. Kempf +// +// Permission to use, copy, modify, distribute and sell this software +// and its documentation for any purpose is hereby granted without fee, +// provided that the above copyright notice appear in all copies and +// that both that copyright notice and this permission notice appear +// in supporting documentation. William E. Kempf makes no representations +// about the suitability of this software for any purpose. +// It is provided "as is" without express or implied warranty. + + + timer + ----------------------- + +// Copyright Beman Dawes 1994-99. +// See accompanying license for terms and conditions of use. + +Terms of the Boost Software License appear later in this file. + + + tokenizer + ------------------------------- + +// � Copyright Jeremy Siek and John R. Bandela 2001. + +// Permission to copy, use, modify, sell and distribute this software +// is granted provided this copyright notice appears in all +// copies. This software is provided "as is" without express or +// implied warranty, and with no claim as to its suitability for any +// purpose. + + + tuple + ----------------------------- + +// Copyright (C) 1999, 2000 Jaakko J�rvi (jaakko.jarvi@cs.utu.fi) +// +// Permission to copy, use, sell and distribute this software is granted +// provided this copyright notice appears in all copies. +// Permission to modify the code and to distribute modified code is granted +// provided this copyright notice appears in all copies, and a notice +// that the code was modified is included with the copyright notice. +// +// This software is provided "as is" without express or implied warranty, +// and with no claim as to its suitability for any purpose. + + + type_traits + ----------------------------------- + +// (C) Copyright John Maddock 2000. +// Use, modification and distribution are subject to the Boost Software License, +// Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + uBLAS + ------------------------------------ + +// Copyright (c) 2000-2002 +// Joerg Walter, Mathias Koch +// +// Permission to use, copy, modify, distribute and sell this software +// and its documentation for any purpose is hereby granted without fee, +// provided that the above copyright notice appear in all copies and +// that both that copyright notice and this permission notice appear +// in supporting documentation. The authors make no representations +// about the suitability of this software for any purpose. +// It is provided "as is" without express or implied warranty. + + + utility + --------------------------- + +// Copyright 1999-2003 Boost.org. Use, modification, and distribution are +// subject to the Boost Software License, Version 1.0. + +Terms of the Boost Software License appear later in this file. + + + value_initialized + --------------------------- + +// Copyright (c) 2003 +// Eric Friedman, Itay Maman +// +// Permission to use, copy, modify, distribute and sell this software +// and its documentation for any purpose is hereby granted without fee, +// provided that the above copyright notice appears in all copies and +// that both the copyright notice and this permission notice appear in +// supporting documentation. No representations are made about the +// suitability of this software for any purpose. It is provided "as is" +// without express or implied warranty. + + + + Boost Software License - Version 1.0 + ------------------------------------ + +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. + + + Boost.Graph Licence + ------------------- + +COPYRIGHT NOTICE: + +Copyright 1997-2000, University of Notre Dame. +Authors: Andrew Lumsdaine, Lie-Quan Lee, Jeremy G. Siek + +The Boost Graph Library "Artistic License" + +Preamble + +The intent of this document is to state the conditions under which a +Package may be copied, such that the Copyright Holder maintains some +semblance of artistic control over the development of the package, +while giving the users of the package the right to use and distribute +the Package in a more-or-less free fashion, plus the right to make +reasonable modifications. + +Definitions + +"Package" refers to the collection of files distributed by the +Copyright Holder, and derivatives of that collection of files created +through textual modification. + +"Standard Version" refers to such a Package if it has not been +modified, or has been modified in accordance with the wishes of the +Copyright Holder as specified below. + +"Copyright Holder" is whoever is named in the copyright or copyrights for the package. + +"You" is you, if you're thinking about copying or distributing this Package. + +"Reasonable copying fee" is whatever you can justify on the basis of +media cost, duplication charges, time of people involved, and so +on. (You will not be required to justify it to the Copyright Holder, +but only to the computing community at large as a market that must +bear the fee.) + +"Freely Available" means that no fee is charged for the item itself, +though there may be fees involved in handling the item. It also means +that recipients of the item may redistribute it under the same +conditions they received it. + +1. You may make and give away verbatim copies of the source form of +the Standard Version of this Package without restriction, provided +that you duplicate all of the original copyright notices and +associated disclaimers. + +2. You may apply bug fixes, portability fixes and other modifications +derived from the Public Domain or from the Copyright Holder. A Package +modified in such a way shall still be considered the Standard Version. + +3. You may otherwise modify your copy of this Package in any way, +provided that you insert a prominent notice in each changed file +stating how and when you changed that file, and provided that you do +at least ONE of the following: + + a. place your modifications in the Public Domain or otherwise make + them Freely Available, such as by posting said modifications to Usenet + or an equivalent medium, or placing the modifications on a major + archive site such as uunet.uu.net, or by allowing the Copyright Holder + to include your modifications in the Standard Version of the Package. + b. use the modified Package only within your corporation or organization. + c. rename any non-standard types and functions so the names do not + conflict with Standard Vibrary, which must also be provided, and + provide a separate documentation for each non-standard type of function + that clearly documents how it differs from the Standard Version. + d. make other distribution arrangements with the Copyright Holder. + +4. You may charge a reasonable copying fee for any distribution of this +Package. You may charge any fee you choose for support of this +Package. You may not charge a fee for this Package itself. However, +you may distribute this Package in aggregate with other (possibly +commercial) programs as part of a larger (possibly commercial) +software distribution provided that you do not advertise this Package +as a product of your own. + +5. The name of the Copyright Holder may not be used to endorse or +promote products derived from this software without specific prior +written permission. + +DISCLAIMER: + +LICENSOR MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. +By way of example, but not limitation, Licensor MAKES NO +REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY +PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE COMPONENTS +OR DOCUMENTATION WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS +OR OTHER RIGHTS. + +The Authors and the University of Notre Dame du Lac shall not be held +liable for any liability nor for any direct, indirect or consequential +damages with respect to any claim by LICENSEE or any third party on +account of or arising from this Agreement or use of this software. + +Any disputes arising out of this Agreement or LICENSEE'S use of the +software at any time shall be resolved by the courts of the state of +Indiana. LICENSEE hereby consents to the jurisdiction of the Indiana +courts and waives the right to challenge the jurisdiction thereof in +any dispute arising out of this Agreement or Licensee's use of the +software. --- bfilter-1.1.4.orig/debian/bfilter.1 +++ bfilter-1.1.4/debian/bfilter.1 @@ -0,0 +1,391 @@ +.\" Man Page for BFILTER +.\" groff -man -Tutf8 bfilter.1 + +.TH BFILTER 1 "March 2006" + +.SH NAME +BFilter \- An ad-filtering web proxy using heuristic ad-detection algorithms + +.SH SYNOPSIS +.sp +.B bfilter +.BI "[-c " directory ] +.BI "[-r " directory ] +.BI "[-u " user ] +.BI "[-g " group ] +.B [-n] +.BI "[-p " file ] +.B [-k] +.B [-h] +.B [-v] + +.SH "DESCRIPTION" +.PP +.B BFilter +is a web proxy that uses effective heuristic ad-detection algorithms to remove +banner adverts, popups and webbugs from web pages. The traditional blocklist +based approach is also implemented, but it is mostly used for dealing with false +positives. Unlike other tools that require constant updates of their +blocklists, bfilter manages to remove over 90% of adverts even with an empty +blocklist! +.P +All processing is done on the fly, it doesn't load the whole page or image +before processing. It uses heuristic and regex-based approaches to detect +adverts and webbugs. It also uses a Javascript engine to combat Javascript +generated adverts and popups. +.P +The web proxy supports the following features; +.PP +.B o +HTTP/0.9 - HTTP/1.1 support +.br +.B o +Persistent connections (HTTP/1.1 only) +.br +.B o +Pipelining (HTTP/1.1 only) +.br +.B o +HTTP compression +.br +.B o +Forwarding to another proxy +.P +However, it does +.B not +support CONNECT requests typically used for HTTPS. + +.SH OPTIONS +.TP +.BI "-c, --confdir " directory +Set custom config directory +.TP +.BI "-r, --chroot " directory +Set chroot directory. This must contain the config directory but if config +directory is not specified then chroot directory is used as config directory. +.TP +.BI "-u, --user " user +Set unprivileged user +.TP +.BI "-g, --group " group +Set unprivileged group +.TP +.B -n, --nodaemon +Disable background daemon mode +.TP +.BI "-p, --pid " file +Write process ID to a file +.TP +.B -k --kill +Kill the running process specified with -p +.TP +.B -h, --help +Show help +.TP +.B -v, --version +Print version + +.SH FILES +The default configuration settings for bfilter are in files located underneath +the +.B /etc/bfilter +.PP +For the base configuration the +.B config +and +.B config.default +files are used. For the URL pattern matching the +.B urls +and +.B urls.local +files are used. For the content filtering the +.B filters/ +directory may contain files specifying groups of filters and whether they +are enabled. + +.SH PROXY CONFIGURATION +.LP +There are two configuration files, +.B config.default +which is shipped with bfilter and is overwritten when upgrading and +.B config +which has a higher priority so it can override rules specified in the config.default +file. The following parameters can be defined in these files. +.PP +.I listen_address = host:port +.br +The address and port to which to bind the proxy. If host is unspecified it will +bind to all interfaces. Multiple address seperated with a comman may be +specified. +.PP +.I client_compression = yes | no +.br +If set to yes, all the textual data with "Content-Type: text/*" will be +compressed before sending it to the client. This option can be useful if you +are on a slow connection and you set up bfilter somewhere on a fast connection. +In other cases, setting this option to yes will just introduce additional +latency to the loading process. +.PP +.I ad_border = rrggbb | none +.br +The default behaviour is to draw borders around removed adverts. You may want +to change the border color or turn the borders off. +.PP +.I try_icon_animation = yes | no +.br +Enable or disable the tray icon animation which indicate traffic is passing +through bfilter (GUI only). +.PP +.I max_script_fetch_size = size_in_kilobytes +.br +Limits the size of external scripts that bfilter fetches for processing. +Browsing with bfilter should feel as fast or faster than without bfilter. +The only thing that can make it feel slower is the necessity to fetch external +scripts to analyze them. A browser can usually cache external scripts but +bfilter would download them each time for analysis. If you have a caching +proxy server between bfilter and the internet, then it will cache scripts +for bfilter otherwise you may want to adjust this parameter. +.PP +.I max_script_eval_size = size_in_kilobytes +.br +Protection against compressed scripts decompressing to very large sizes. +.PP +.I max_script_nest_level = number +.br +Limits the number of nested scripts that bfilter fetches for processing +(similar reasoning to max_script_fetch_size). A smaller value like 3 will +make bfilter faster, while a bigger value like 9 will make it detect more ads. +(However the author has never seen an ad that is generated at levels more +than 6.) Setting this value to 0 will disable script processing. +.PP +.I save_traffic_threshold = size_in_kilobytes +.br +Sometimes bfilter needs to download an image or a flash file to determine if +it's an advert or not. Since bfilter tries to do everything on the fly, it +usually knows the answer before the whole file is downloaded. At that time it +checks how much data is left to be downloaded and if it's more than the value +of this parameter (or if the size is unknown), bfilter will drop the connection +to the server in order to save some traffic. The default value of 15 is good +for most people, but if you use a dialup or a GPRS connection you may want to +lower it to maybe 8 and if you use a satellite connection you may want to raise +it to maybe 40. +.PP +.I report_client_ip = yes | no | fixed_ip +.br +Enable reporting the client IP to servers using the X-Forwarded-For header. +.PP +.I use_proxy = yes | no +.br +.I proxy_host = host +.br +.I proxy_port = port +.br +When use_proxy is set to yes, you may specify a proxy for bfilter to forward +requests onto. +.PP +.I no_proxy_for = host, host, host +.br +When use_proxy is set to yes, you may specify some hosts to be contacted +directly. The separator may be either a comma or a semicolon. If a host starts +or ends with a dot it is assumed that any prefix or suffix can be appended to +it, so for example "no_proxy_for = .mydomain.com, 192.168."). Note however +that .mydomain.com won't cover mydomain.com itself but only its subdomains. +(When matching no_proxy_for hosts, no DNS queries are being made. That means +127.0.0.1 won't act as localhost or the other way around.) + +.SH URL PATTERNS +.LP +BFilter allows you to block an arbitrary URL (web address) and to assign hints +to URL's in order to influence the heuristic analyzer. To do so you assign +a tag to a URL allowing both blocking and hinting (and more). +.PP +There are two configuration files, +.B urls +which is shipped with bfilter and is overwritten when upgrading and +.B urls.local +which has a higher priority so it can override rules specified in the urls +file. +.PP +These files specify a number of rules. Each rule has the following syntax; +.IP +.B +TAG url_pattern +.PP +Where TAG can be one of the following; +.IP +.B FORBID +Output an error page. +.br +.B HTML +Output a blank page. +.br +.B IMAGE +Output a transparent image. +.br +.B FLASH +Output a blank flash file. +.br +.B JS +Output an empty JavaScript file. +.br +.B ALLOW +Cancel any of the above tags. +.br +.B NOFILTER +Don't filter a page or a script. +.br +.B +++ +Be more suspicious about the URL (any number of plus signs). +.br +.B --- +Be less suspicious about the URL (any number of minus signs). +.PP +The last two tags are special. They provide a hint to the heuristic analyzer +and are only considered when we already have an ad suspect. For example, if +we have a clickable image on a page we are going to consider hints for; +.IP +.B o +The image URL. +.br +.B o +The link URL. +.br +.B o +The page URL. +.PP +Sometimes an advert can't be blocked with hints which can happen if bfilter +doesn't see it (probably because of a problem interpreting a script) or doesn't +support that kind of advert (text or hover adverts). In that case you may still +block it using other tags. Note that hints don't intersect with other tags, +when we are looking for a hint we don't consider other tags (and vice versa). +.PP +BFilter supports two types of patterns; +.IP +.B o +Simple strings with wildcards. +.br +.B o +Regular expressions. +.PP +The simple string wildcards are ? and * meaning respectively "any character" +and "any number of any characters". For example; +.IP +FORBID http://ads.somehost.com/* +.PP +This will block any URL starting with "http://ads.somehost.com/". Note that for +broad ad-blocking patterns like this, it is recommended to use IMAGE rather +than FORBID. This sounds wrong as we don't exactly know the type of the object +we are going to replace with an image, but it turns out that IMAGE produces +better results than any other tag. Any other tag results in broken images and +FORBID will additionally cause error pages in place of IFRAME ads. Browsers +accept an image where html was expected just fine and are even smart enough not +to interpret an image where a script was expected. +.PP +Regular expression patterns must be enclosed within two slashes. For example; +.IP +JS /http://(www\.)?somehost\.com/ads/.*\.js/ +.PP +This regex can be interpreted like this: match "http://", optionally match +"www.", match "somehost.com/ads/", match any number of any characters or match +".js". +.PP +As a quick summary, in regular expressions; +.IP +.B . +means any character +.br +.B \e. +means the "." character +.br +.B \e? +means the "?" character +.br +.B .* +means any number of any characters including none +.br +.B (this|that) +means "this" or "that" +.br +.B (something)? +means "something" or nothing +.PP +You may find a tutorial and a complete reference on regular expressions +at http://www.regular-expressions.info. +.PP +Note that both simple and regex patterns are case insensitive. + +.SH CONTENT FILTERS +BFilter allows you to apply regular expressions to page content. This can be +used for things like removing portions of a page, altering scripts or injecting +your own scripts. There are a couple of things that make bfilter's +implementation of this feature unique; +.IP +.B o +Applying a regex doesn't cause buffering of the whole page. +.br +.B o +Replacement expressions can contain JavaScript code. +.PP +Content filter configuration is not currently covered in this man page. Please +view the bfilter web page at http://bfilter.sourceforge.net/doc/content-filters.php +for further information. + +.SH EXAMPLES +All images from known advert domains are replaced with a transparent GIF or +empty flash. +.IP +IMAGE /http://(.*\.)?(doubleclick|fastclick|tradedoubler)\..*/ +.br +FLASH /http://(.*\.)?(doubleclick|fastclick|tradedoubler)\..*/ +.PP +Prevent hover adverts (DHTML pop-ups) from known advert domain. +.IP +FORBID /http://([^/]+\.)?layer-ads\.de/.*/ +.PP +Prevent tooltip adverts from known advert domain. +.IP +JS http://kona.kontera.com/javascript/* +.br +FORBID /http://[^/]+\.intellitxt\.com/intellitxt/.*/ +.PP +Allow images used to count page views for projects hosted on SourceForge. +.IP +ALLOW /(www\\.)?sourceforge.net/sflogo.php\\?.*/ +.PP +Apply hints to suspicious URL's. +.IP +++++++ /http://ads[\d]*\..*/ +.br ++++++ /.*/(ad[sv]?|advert|banners?)[^a-z].*/ +.br +++++ *banners* +.br ++++ *banner* +.br ++++ *click* + +.SH NOTES +If the HTML processor is in doubt about an image or a Flash file, it defers +the decision until the browser has requested that file. The response is then +analyzed (redirects, cookies) as well as the file itself. For an image, the +analyzer checks its dimensions and whether it's animated or not. For Flash +files, the analyzer is trying to find a button that covers most of the object's +area and has a getURL action associated with it. Depending on the results, +the object is either forwarded to the client, or substituted with a generated +replacement. (Unfortunately, analyzing objects that are placed with Javascript +doesn't work, as their URLs in javascript source cannot be altered.) + +.SH BUGS +Please report any bugs you may find to: +.P +.B http://sourceforge.net/projects/bfilter + +.SH AUTHOR +Joseph Artsimovich +.br +http://bfilter.sourceforge.net + +This manual page was written by Alan Swanson + +.SH SEE ALSO +bfilter-gui(1), regex(7) --- bfilter-1.1.4.orig/debian/bfilter-gui.menu +++ bfilter-1.1.4/debian/bfilter-gui.menu @@ -0,0 +1,3 @@ +?package(bfilter-gui):needs="x11" section="Applications/Network/Web Browsing" \ + title="Bfilter" command="bfilter-gui" hints="Web filtering proxy" + \ No newline at end of file --- bfilter-1.1.4.orig/debian/bfilter.install +++ bfilter-1.1.4/debian/bfilter.install @@ -0,0 +1,4 @@ +debian/tmp/usr/bin/bfilter usr/lib/bfilter/ +debian/bin/bfilter usr/bin/ +debian/tmp/usr/share/man/ + --- bfilter-1.1.4.orig/debian/bfilter.init.d +++ bfilter-1.1.4/debian/bfilter.init.d @@ -0,0 +1,75 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: bfilter +# Required-Start: networking +# Required-Stop: networking +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start the bfilter web proxy. +### END INIT INFO + + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/bin/bfilter +DAEMON_OPTS="" +NAME=bfilter +DESC=bfilter + +test -x $DAEMON || exit 0 + +# Include bfilter defaults if available +if [ -f /etc/default/bfilter ] ; then + . /etc/default/bfilter +fi + +DAEMON_OPTS="-u nobody -g nogroup -p /var/run/bfilter.pid $DAEMON_OPTS" + +set -e + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --oknodo --quiet --exec $DAEMON + echo "$NAME." + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + echo -n "Restarting $DESC: " + start-stop-daemon --stop --oknodo --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON + sleep 1 + start-stop-daemon --start --quiet --pidfile \ + /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + echo "Usage: $N {start|stop|restart|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- bfilter-1.1.4.orig/debian/bin/bfilter +++ bfilter-1.1.4/debian/bin/bfilter @@ -0,0 +1,13 @@ +#!/bin/sh + +# (c) 2009 Canonical Ltd. +# License: GPLv2 (or later) +# Author: Alexander Sack + +# this is a sh wrapper that sets the LD_LIBRARY_PATH to the current xulrunner version + +LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/xulrunner-`xulrunner --gre-version`/" +export LD_LIBRARY_PATH + +/usr/lib/bfilter/`basename $0` $@ + --- bfilter-1.1.4.orig/debian/bin/bfilter-gui +++ bfilter-1.1.4/debian/bin/bfilter-gui @@ -0,0 +1,13 @@ +#!/bin/sh + +# (c) 2009 Canonical Ltd. +# License: GPLv2 (or later) +# Author: Alexander Sack + +# this is a sh wrapper that sets the LD_LIBRARY_PATH to the current xulrunner version + +LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/xulrunner-`xulrunner --gre-version`/" +export LD_LIBRARY_PATH + +/usr/lib/bfilter/`basename $0` $@ + --- bfilter-1.1.4.orig/debian/patches/01_bfilter-whitelist.diff +++ bfilter-1.1.4/debian/patches/01_bfilter-whitelist.diff @@ -0,0 +1,4 @@ +--- bfilter-1.0.9.orig/conf/urls.local 2007-02-02 15:55:51.000000000 +0100 ++++ bfilter-1.0.9/conf/urls.local 2007-02-01 21:26:13.000000000 +0100 +@@ -0,0 +1 @@ ++NOFILTER http://*wikipedia.org/* --- bfilter-1.1.4.orig/debian/conf/urls.local +++ bfilter-1.1.4/debian/conf/urls.local @@ -0,0 +1,2 @@ +NOFILTER http://*wikipedia.org/* +NOFILTER http://*wikipedia.org/*