Archive

Archive for the ‘Firefox’ Category

Please do yourself a favor and quit using Bing, Yahoo, Google, and AOL.

July 20, 2012 Leave a comment

LOL!

I see a lot of Google, Bing, Yahoo, and AOL search users. When I log on to my WordPress account, I see things about you (yes, you) that I shouldn’t know, because your search engine is telling me.

They spy on you. They have a history of turning over the information they save about you to marketers, profilers, advertisers, and law enforcement without a warrant. You really don’t want them saving information on what you searched for and what you clicked on and associating it with your Internet Protocol address (or even worse, your Google Account if you have logged in.). This information is ripe for abuse.

What’s worse is that most of your searches go out unencrypted, in plain view (although Firefox 14 fixed this problem, at least with Google), which makes your searches plainly visible to your ISP and subject to alteration/censorship at your ISP’s level. This is one reason why you should install HTTPS Everywhere.

I deleted Bing, Yahoo, Amazon, Twitter, and EBay out of my Firefox search list a while back and added IxQuick, Startpage, and DuckDuckGo instead. (I left Google in there but moved it to the bottom of the list.)

None of these three record any information about you.

Startpage is a subsidiary of IxQuick, and it gives Google results to you behind their proxy, which keeps Google from knowing who is doing the searching. IxQuick is a metasearch engine with the same privacy policy. DuckDuckGo can be useful, they have their own unique features (like Zero Click boxes) and search index.

Each one of them has a link to add their search engine to your browser, it’s really easy to do, and the only thing you’ll miss is your current search engine spying on you/”bubbling” you.

See more about how most search engines “track” and “bubble” you at these sites created by DuckDuckGo: http://donttrack.us/  and http://dontbubble.us/ (Startpage, IxQuick, and DuckDuckGo don’t track or bubble you.)

One last note for AOL and Yahoo users: Yahoo is just Bing with another layer of privacy issues and AOL Search is just Google with another layer of privacy issues. In fact, AOL once publicly released a bunch of personally-identifiable (but somewhat obscured) information that they had stored about user searches.  That link I added takes you to a searchable database of all that information that AOL collected about those people. Much attention was paid to a User 927, who searched for things like “skin mold”, “tranny bondage”, and how to make sangria.

The Wikipedia article about the AOL search data leak has this to say about the now-infamous User 927:

User 927

One product of the AOL scandal was the proliferation of blog entries examining the exposed data. Certain users’ search logs were identified as humorous, disturbing, or even dangerous.

Consumer watchdog website The Consumerist posted a blog entry by editor Ben Popken identifying the anonymous user number 927as having an especially bizarre and macabre search history. The blog posting has since been viewed nearly 4,000 times and referenced on a number of other high-profile sites.In addition to sparking the interest of the Internet community, User 927 inspired a theatrical production, written by Katharine Clark Gray in Philadelphia. The play, also named User 927, has since been cited on several of the same blogs that originally discovered the real user’s existence.As time has passed, more artistic renderings of individual user logs have appeared. A series of movies on the web site Minimovies.org called “I Love Alaska” puts to voice and imagery to user 711391which the authors have labeled as “an episodic documentary”.

Don’t be a user 927, ditch your current search engine in favor of one that isn’t spying on you and install HTTPS Everywhere today.

Firefox 14 brings 14 security fixes

July 17, 2012 Leave a comment

Firefox 14 is out *yawn*

Other than 14 security issues fixed, there’s not much going on here, folks.

https://www.mozilla.org/security/known-vulnerabilities/firefox.html

They’ve got 5 critical, 4 high, and 5 moderate severity issues patched. As is usual lately, many of them were actually fixed by Google for Chromium and got merged into Firefox. (They both use many of the same Free/Open Source libraries.)
Elsewhere, we see that there’s some progress with memshrink.

https://blog.mozilla.org/nnethercote/2012/06/27/memshrink-progress-week-53-54/

https://blog.mozilla.org/nnethercote/2012/06/15/memshrinks-1st-birthday/

http://blog.mozilla.org/nnethercote/2012/06/13/memshrink-progress-week-51-52/

https://blog.mozilla.org/nnethercote/2012/05/30/memshrink-progress-week-49-50/
These aren’t as easy to sort, due to the ongoing nature of the memshrink project. Some users who have been using older Firefox versions have seen improvements in memory usage because Mozilla has been leaning on extension developers to fix broken extensions that use memory stupidly. These tend to be proprietary extensions from big companies that are not known for quality software design. (McAfee and Microsoft are big offenders) If you do have crappy extensions like these, get rid of them.

This problem mainly affects Windows users because you guys tend to have Firefox extensions installed in “drive-by incidents” when you install unrelated software or when Microsoft feels like taking a shit all over your browser. Take a minute to look through your add-ons and make sure that you are only using ones you actually want. There are uninstall and disable buttons for the rest. The problems that incompetent extensions create tend to be blamed on Firefox even though Mozilla has nothing to do with them.  Alternatively, you can just get rid of Windows and install something like Kubuntu where this stuff never happens.

Moving on, we bust out the magnifying glass and see what new features we have.

I only noticed two that were worth mentioning.

1. There’s a click to load plug-ins feature now. It is off by default and hidden under about:config. It breaks a few sites, but this sort of thing is badly needed, as plug-ins like Adobe Trash tend to be 99% obnoxious and 1% useful.

2. The HTTP Pipelining system seems to have been reworked, that too is under about:config and off by default.
Ho hum…

Antivirus software company admits antivirus is useless. Flame malware signed with Microsoft keys.

June 4, 2012 Leave a comment

Two interesting stories on The H Online regarding the Flame malware for Windows.

Antivirus company F-Secure has had samples of Flame since 2010, other antivirus companies have as well, yet they were unable to detect Flame until recently.

This means that Flame has been out there for over two years and no antivirus software has done anything about it.

Flame was signed with a forged Microsoft cryptographic key.

The forgery was simple to pull off since Microsoft’s Certificate Root doesn’t keep proper track of their keys and uses weak DES which most e-commerce sites haven’t bothered to use since the EFF demonstrated that it could be easily cracked using commodity PC hardware from 1998.

This demonstrates a couple things I’ve been saying all along.

1. Why do browser makers not bother to make sure that “Trusted” certificate roots can actually be, you know….trusted? You have Mozilla, Google, and Opera conspiring to keep CACert out, but all of them would trust insecure Microsoft keys from Microsoft’s certificate authority. What’s more disturbing is that Windows apparently recognizes Microsoft’s DES keys. I doubt that it would allow you to sign a kernel module with them, but it would be sufficient to suppress the security warning that pops up that says the software isn’t signed.

2. Antivirus software is pointless. It has marginal effectiveness against common malware, and no effectiveness at all with more sophisticated malware. It’s hard to tell whether this is incompetence or because the US government and Israel write malicious Windows software all the time, and they’d rather that users of Windows not be protected from it.

Should Mozilla support h.264? It depends.

March 14, 2012 Leave a comment

There’s news that Mozilla is considering supporting the patent-encumbered and dangerous MPEG-4 formats known as “h264″ and “aac”. LINK (As reported by The H Online)

It’s unfortunate that it has come to this, but I am in favor of doing it in the way they have described. Albeit unenthusiastically…

We know that there is a dangerous and criminal organization out there called the “MPEG-LA” that doesn’t innovate or produce anything, but acts as a “patent pool” to sue victims who try to implement media codecs without their permission. They “own” several thousand “essential” patents (meaning that you can’t implement the spec without violating them) describing what h264 with aac does.

Microsoft and Apple, which are also criminal cartels, are also members of the MPEG-LA, and are trying to wipe out the open and unencumbered VP8 and Ogg Vorbis combination known as WebM by refusing to support it in Safari and Internet Explorer.

Mozilla and Opera have so far not implemented MPEG codecs because they would be gouged by the MPEG-LA’s innovation tax.

The problem for the user, which is caught in the middle, is that sites that are out there today and insisting on MPEG-4, such as Vimeo, won’t work in Firefox or Opera in HTML 5 mode, and require the proprietary binary blob with gazillions of security problems known as “Adobe Flash” to play their content.

Mozilla is not proposing to ship the offending codecs themselves, but to just use the ones on the system, if any. On Windows, they can hook into DirectShow, on OS X they can hook into Quicktime, and on Linux they can hook into and use anything Gstreamer can play. Of course Android,  iOS, and Windows Phone (with all three people who have one) all have their own media codecs.

The problem with this is that it shifts the responsibility to the user to make sure they have codecs. In most cases, the platform in question is promoted by some big company that sees the MPEG-LA siphoning their profits as a cost of doing business, but the codecs are there nonetheless and Firefox is currently not making use of them. It’s the case where a person uses free and open source software, such as a Linux distribution,  and doesn’t want top be gouged and run nonfree MPEG Cartel-sponsored gstreamer codecs (from Fluendo), that they have to make a choice about whether to use the codecs that infringe US patents (such as the free and open source gstreamer codecs). In the case of proprietary software, the choice was already made for them, as most choices usually are.

Therefore, my position is… With the objection to the MPEG-LA cartel even being allowed to exist at all. That Firefox should use whatever the user has installed. Refusing to play formats for which the user already has codecs is ridiculous. The user should ideally be using software that respects his or her freedom (such as the gstreamer-bad and gstreamer-ugly codecs, which is where ones with patent problems end up). Even more ideally, the laws should be changed to invalidate every last software patent out there so that the user is free to do what they wish with their own computer, and programmers are free to make software that can compete with established monopolies like Microsoft and Apple. Until then, a couple of minority browsers ignoring those codecs won’t make those codecs go away any more than some Linux distributions not officially providing MP3 codecs has made MP3 go away. Those sites are out there, and users should not feel compelled to use proprietary software such as Internet Explorer, Safari, and Google Chrome to simply view them. Just as users who encounter MP3s, while this is unfortunate, should not have to use proprietary software to play those MP3s.

As a second point for this position, we know Microsoft slips trojan horses into competing browsers on Windows, and so if Mozilla doesn’t do it, Microsoft will wedge in another broken plug-in that is full of security problems to Firefox users on Windows. By making the change in Firefox, they can preempt Microsoft infecting Firefox with more things the user may not have approved of.

It’s unfortunate that this method will make it the user’s problem to decide if they care about using untaxed codecs, but you can thank Microsoft and Apple that someone is going to be stuck with the check.

Google is being sued by some idiot using Safari on a Mac. US Congress critters investigate.

February 19, 2012 Leave a comment

I noticed this yesterday and decided to comment.

There’s a big stink going on right now. Someone found out that Google was setting “third party cookies” (for their advertising servers) in Apple’s Safari browser, which defaults to not loading third party cookies (which I’ll get to in a moment).

Now it appears that someone using Safari on a Mac that expected privacy somehow, is suing Google. (The PC World article on the first link has a more accurate technical description of what’s going on)

In short, someone found a bug in Safari, and now Google is being sued and is under investigation by Congress. We know how much Congress can be expected to know about the internet based on their hilarious to horrifying attempts to regulate it as many of them uttered things like “I don’t know how this here internet thing works, but they tell me….” or the late Senator Ted Steven’s infamous “series of tubes” comment. To say nothing of the fact that Congress flip flops between mandatory tracking for all and bullshit “consumer privacy concerns” such as this one. (For those concerned with the former, the bill is called HR 1981, but a more fitting name would be HR 1984)

If this was a bug in Firefox, it would be fixed. If it was a bug in Chrome, it would be fixed.

Somehow, Microsoft and Apple users seem to think they can use proprietary secret software when they’re not allowed to know how it works and have privacy at the same time. Software which has a history of many bugs,  with vendors that typically take weeks/months/years to patch them once they’re made public. These companies also slip back doors into the software for various government agencies.

Apple was recently caught with a back door that they put into iTunes, it remained there for 3 years, undetected, which facilitated man in the middle attacks. (A government could use this to run a counterfeit iTunes server and load malicious software onto the victim’s computer. The article calls it a flaw, but we know what was really going on, and that it was likely just moved.).

There’s no way you can trust Microsoft or Apple’s software to protect your privacy. Anyone who has actually read the EULA for Windows (especially XP, Vista, and 7) should know that there are at least several dozen Windows components that phone home to Microsoft with your personal information. Most do it over an encrypted connection so that the user has a very hard time telling what is actually being sent to them. Apple isn’t any better.

Let’s get back to cookie controls. They’re a red herring. They’re totally bogus. They don’t do anything for you. Every browser has them, even Internet Explorer 6. They don’t do anything to protect you because cookies are passe. Tracking and spyware sites have developed data mining techniques that work well even if the user clears every cookie they ever set.

One method is to associate IP addresses with log ins. Facebook, Google, and Microsoft all do that. Even after you log out, it’s possible for them to track you personally. There’s other methods. Browsers like Firefox and Chrome are just now starting to implement watered down privacy controls for Adobe’s Flash software (which is proprietary software and a frequent cause of cross platform/cross browser security problems).

Flash has “supercookies”, or what is more technically known as Local Storage Objects. Flash LSO’s can be up to 150 KB (which is 37.5 times larger than a cookie), a site can store as many as they want on your computer (just like a cookie), and (unlike cookies), most browsers do very little to nothing about them. Silverlight has something similar, users of Windows where Silverlight is sneaked over the fence by Windows Update should take notice of that.

The take home message here is that it was ludicrous for this guy to expect any kind of enhanced privacy just because Safari has some lame cookie controls which are a piss poor clone of something Mozilla introduced well over 10 years ago. I really doubt that will stop this frivolous lawsuit, and I fully expect the anti-Google interests called Microsoft and Apple to play this up for all the drama it’s worth.

Microsoft hired the scumbags over at  Waggener Edstrom a while back to launch a smear campaign against Google, and Microsoft is already jumping on this Safari problem like a dog in heat. (I won’t link since I can’t seem to find an article that is telling people the truth about where the anti-Google smear is coming from. Waggener Edstrom specializes in astroturfing and attack ads. They’ve worked for companies like BP and Walmart, and for many a corrupt politician. (When you see that disgusting outrageous pants-on-fire “GMail Man” attack ad, that’s who made it).

If you’d like to know more about these people, Techrights has occasionally blogged about what they’re up to and who they work for.

So now that we’ve covered the facts about Microsoft and Apple, IE and Safari’s lack of real privacy controls, and why cookie controls do nothing.

There’s a number of things you CAN do to really prevent or limit how sites track you. Here’s some suggestions.

Firefox users can use Adblock Plus (just remember to opt out of the “acceptable ads nonsense). Delete Easylist’s filter subscription, and add these instead.

Better yet, use Chrome/Chromium with Chrome Adblock, remove Easylist, and use these instead. (Chrome Adblock is better than Adblock Plus for Chrome, the two are unrelated)

Firefox or Chrome 17+ users can install HTTPS Everywhere (The Chrome version is an alpha for the time being, but it does work)

Opera users can use Opera’s content blocker to block advertising and stat/tracking sites. Pre-made lists here. Remember to manually update them now and then or skip the process and let Opera Adblock do the same thing for you if you have Opera 11 or later.

Firefox and Chrome can also block Flash applets from automatically loading, saving you bandwidth and making flash applets that track you or load malicious software less effective. Firefox has Flashblock, Chrome users can enable the Click to Load option in the advanced settings for plug-ins.

Weaker protection for users who insist on inferior browsers with government spyware built in.

Internet Explorer 9 supports “tracking protection lists”, which are a small/watered down subset of true content blocking. Pre-made TPLs for IE here.

Safari users can use Safari Adblock, it’s from the same guy that made Chrome adblock. I’ve never used that one, but if it comes with Easylist, rip it out and add these.

The bottom line is that the only way to protect yourself from tracking servers is to not connect to or run applets from them to begin with.

Trueblock Plus gives users Adblock Plus without the “Acceptable Ad$”

January 27, 2012 Leave a comment

Just a quick note.

I was (and still am) outraged that Wladimir Palant sneaked into people’s browser preferences and turned on some ads for big companies and parking page parasites that were paying him the big bucks.

There’s now another option; a fork of Adblock Plus called Trueblock Plus. It is derived from Adblock Plus code and is under the same Mozilla Public License as Adblock Plus. Both are free and open source software.

The freedoms that make up “free software” include using the software for any purpose and being able to modify, improve, and redistribute it. In other words, the freedom to “fork” if the upstream dies off, becomes unresponsive to new features that people want, or in the case of Adblock Plus, start to add malicious features that nobody really asked for. (Or for any other reason.)

Right now, the only real modifications to Trueblock Plus are to re-brand it (The name and logos that Adblock Plus uses are trade marks, and are not covered by the free software license of the source code) and to turn off that annoying “Acceptable Ads” antifeature that Wladimir Palant cooked up.

There are also some rough edges in Trueblock Plus. The author of the fork notes that there’s going to have to be some more purging of Adblock Plus branding before Trueblock Plus can progress beyond “preliminary review” status at Mozilla Add-Ons.  For example, the Contribute button still links to Adblock Plus’s website. I’m not sure if that’s intentional or not but it says “Contribute to Trueblock Plus”, so I am thinking he may have just searched for and renamed each occurrence of Adblock Plus.

The other problem is that the “Acceptable Ads” code is still there, just disabled by default. Since this code is hardly vital to the operation of the extension, it might be better if Trueblock Plus were to simply revert the commit that added it in the first place. More code in a program means more potential for bugs and security issues, plus the only reason it’s there is so Wladimir Palant can make money by allowing spyware and tracking garbage through by silently switching it on without the user’s consent upon “upgrading” to Adblock Plus 2.0 or later. It is doubtful that any user would opt into something that directly counters the problem that led them to install the software in the first place.

Users who pay attention can still uncheck Wladimir’s Acceptable Ad$ , but he even admits on his website that he’s banking on people not doing that since most people don’t like to tinker and may not even notice what has changed that is allowing ads to get through.

If you have less computer literate friends or relatives, or if you personally don’t want any more nasty surprises from Mr. Palant, then Trueblock Plus might be the way to go.

Homepage

Mozilla Add-Ons site (I always recommend installing add-ons from here in every possible case.) Install for Firefox. / Install for Seamonkey

AT&T finds another way to mug their customers…

December 30, 2011 Leave a comment

Bandwidth caps:

Or “If I had only known then what I know now, I may not have left Comcast”

I just checked my more or less abandoned Hotmail account the other day because I needed to retrieve a license key for a particular piece of software I bought a long time ago (and they only send the key to the email address you gave them when you bought it).

While I was digging, I noticed a letter from AT&T. The letter was very unprofessional because it didn’t even mention what service that it was in regards to. My mother, who is computer-illiterate, had them send her cell phone account info to that email address because she needed it in order to get “rebates” on her cell phone plan. Ever since then I’ve resigned myself to the fact that anything I see from AT&T that lands there is hers. I couldn’t get them to stop because it’s her account, she can’t get them to stop because she called one day, spent a typical AT&T hour on hold, got someone that said he fixed it and didn’t. (Again, everything I’ve come to expect out of AT&T).

So I get something from AT&T that said I went over my “data plan”. I didn’t notice, but AT&T has had a DSL cap of 150 GB a month since March. I figured my DSL didn’t have a cap, because it was “unlimited” when I started subscribing to it. So I figured it was talking about her cell phones. So I called over to their house, told my step dad that they might want to watch how much data they use over there and inadvertently started a fight that hasn’t let up between them yet. As soon as I found out that this was not about them, but was about AT&T DSL, I have never felt so pissed off in my life. I started World War III over there over something AT&T did to screw me over that has nothing to do with them.

Now that I’ve gotten that out of the way, here goes the obvious rant about data caps:

The nature of the DSL system makes it very very cheap for AT&T to solve congestion problems. Likely a few upgrades to DSLAMs here and there would clear up any problems (if there are any). For a company that makes record profits and gets to overcharge so much already due to being a near monopoly in the United States, these upgrades would be peanuts.

What is really happening, obviously, is that someone at AT&T noticed that if they can extract $10 a month extra here and there from their existing customers, that’s pure profit. Some of them may even not notice right away due to AT&T’s tendency to use cram methods so you never know quite what you’re paying for, and I doubt anyone is going to sue over $10-$20 in overage. Another fact, like in my case (where I got the two warnings this year), is that I changed email services quite some time ago and AT&T had an old Hotmail address I was barely using. Why aren’t they sending this crap to my ATT.NET email account? That’s my official AT&T email account. They sent those hilarious and absurd warnings about IRC being Windows malware to that address earlier this year. I do check it now and then to see if there are any account notices. Not quite as often as I could, but anyone who relies on ISP email is stupid. It is instant lock-in. If you ever leave that ISP, like I likely will with AT&T in the coming months, then they simply delete your email address and give you no forwarding options. Yet the fact remains that it is the official email address tied to my account and they should be using it in all official communications with me.

Now that we’re past the parts where AT&T made me to be an asshole and inadvertently start a war between my mother and step-father, then almost surprised me with a whopping bill full of overages, let’s talk a little about Adblock Plus and other ad blocking, like Privoxy or host files or Chrome Adblock or Opera’s content filter…or……you get the point.

I looked at my monthly usage for the last year, ad blocking the entire time. and I noted that there would have been an additional ~5-6 times that I got so close to either the 150 GB cap or the next cap (they sell you additional 50 GB chunks at $10 each), that I would have essentially paid AT&T another $50-$100 over the last year if I had turned my ad blocker off.

Note to website owners: Sure I feel for you, but I am not going to turn my ad blocking off and pay another $10-$20 a month in overage fees for the bandwidth that your 10 foot tall Microsoft ads in flash (the example I used was Phoronix.com at one point). If you would like to replace them with ONLY static ads or Google text ads, which do not chew bandwidth, and then apologize and promise on your site to never resort to that behavior again, then I promise to consider whitelisting your site. As it is though, I don’t feel like paying highway robbery to get Microsoft ads in flash and “buzzing mosquitoes” and “shoot-the-monkeys”.

In the kind of networks where there really are congestion issues by design, such as cable, it’s likely that this abusive advertising is what is actually “clogging the pipes”.

 

 

 

 

 

Microsoft to auto-destroy many copies of Windows with IE “upgrade”

December 16, 2011 Leave a comment

U INFECTED BRO?

Today on The Heise Online, they mention that Microsoft is set to automatically download and install the latest version of Internet Explorer that manages to run on the particular Windows version installed. Since XP is the oldest thing they support, those users will get the obsolete Internet Explorer 8 browser, and Windows 7 users will no doubt get IE 9, which is only barely an improvement over IE 8.

I have no idea how they plan on updating Windows Vista users, but that will no doubt be another surprise for anyone foolish enough to actually be using it. There is IE 9 support for Vista (Which is where they will cut off support), but to get it you need a humongous “platform update” full of select backported crap from Windows 7.

Regardless of what version of Windows the user has, an Internet Explorer update is always dangerous since Microsoft continues to claim it is a system component and not a web browser. It means that at best, you need to reboot your computer, and if the upgrade goes wrong it can mean anything from Internet Explorer not working to the Windows shell failing in inappropriate ways. Internet Explorer installations and upgrades have had a significant number of cases of destroying the operating system beyond being salvageable since at least Windows 95.

No decent operating system claims the web browser is an integrated component that can’t be removed. The Internet Explorer situation is a continuing monopoly abuse and Internet Explorer itself is a relic from the 1990s, when Microsoft tried killing Netscape by forcibly installing their own web browser into Windows.

While we’re on the topic, most other operating systems don’t need to reboot after the user updates their web browser, file manager, media player, email client…..

This “almost comical if so many Microsoft victims weren’t suffering through it” situation makes me wonder what kind of a contrived setup those Microsoft funded “studies” used to get “99.999% uptime”. As soon as you apply any patch or update for Windows, it needs rebooted before the new files are used. Even if the user doesn’t want to reboot. Windows will pester them until they do or better yet, start a countdown and reboot the computer without regard to any work the user has left open and unsaved.

This was one factor, out of many, that frustrated me enough to leave Windows. Another factor is that they routinely triage security patches and frequently leave critical flaws open until the next month, like they did with BEAST this month.

That graph is funny, isn’t it? It’s not that Windows has gotten safer, it’s simply that Microsoft is stretching to classify updates that once would have rated critical as “important” based on the factors of “security improvements” in Windows that are often ineffective. (ASLR not being as random as it could be. NX/DEP being off by default for 32-bit software, many applications don’t bother using stack smashing protection because it exposes their programming flaws and causes them to crash, etc.) In many cases the user is left less than protected by what passes as Windows “security improvements” which is why malware is still rampant.

How can any human being tolerate this?

Help yourself to a decent operating system or at least a decent web browser. Firefox Chrome Opera

Another alternative to Adblock Plus. Just use Opera.

December 11, 2011 3 comments

Continuing to mention alternatives to the corrupt Adblock Plus people, takes me to Opera.

I myself don’t use Opera much because it is proprietary software. Although one thing that Opera doesn’t do that Adblock Plus (which is not proprietary) is doing now, is override what the user has told it to block and show garbage and malware links anyway.

Sadly, Privoxy seems to be the only real option for blocking ads in Firefox other than Adblock Plus, I covered it in my last post, but it is unwieldy and as the kind of shit that only Internet Explorer users would have had to do back in 2001 when more than a few Opies were using it (most of them, unwillingly). Now that Wladimir Palant has abused his monopoly to enrich himself by selling paid exceptions to the user’s ad blocking rules under the table, the only option beyond Privoxy is switching browsers. There’s Chrome/Chromium, and I will mention it and its limitations in a follow up post, but you’re actually worse off with Chrome than you are with Firefox, and so I’ve decided to do Opera first.

Opera has had “content blocking” for quite some time. Unlike Firefox which depends on a monkey patch called Adblock Plus., and unlike Chrome whose extension support is still a complete joke. Opera also supports user scripts and user style sheets without the need for cumbersome add-ons like Firefox depends on for this.

Opera’s content blocker is so simple a caveman could do it. Plop in a urlfilter.ini file with rules and a user style sheet to kill whitespace and hide crap that is otherwise difficult to remove. (yes, I’m talking about Google’s search result ads that frequently lead to phishing and malware again. Get your XP Super Duper Antivirus 2012 Edition while they’re hot! Guaranteed to find made-up malware and “remove” it for the low low price of $30 wired to India. Comes loaded with spelling and grammar mistakes! *except in Nebraska! *No Reversi *All sales final *Credit card subject to being maxed out before you can call to dispute the charges!)

One such list that is well maintained and thorough is Fanboy’s List. The author of this list expressed some opposition to the so-called “acceptable advertisements” idea in “Adblock Sometimes”. (New name!).

Fanboy’s Opera adblock stuff and instructions here: https://secure.fanboy.co.nz/adblock/opera/

Other than that, there’s not a lot to say about blocking ads in Opera except that it is better than “Adblock Sometimes”. The one downside to this is that you need to manually update your lists from time to time or they will become old and less effective. It isn’t hard, just download the new files and save them over the old ones.

Update: There’s an Opera Adblock extension which basically manages filter subscriptions using the built-in content blocking and user style sheet functionality. Unlike Adblock Sometimes for Bloatzilla Firechrome, it does not sneak around and turn some of the ads back on in defiance of the user. Imagine that…

Installing Privoxy 3.0.18 in Ubuntu Oneiric or derivatives

December 11, 2011 2 comments

Since Adblock Plus sold out and can no longer be considered trustworthy, I have decided to explore other options.

Short story: Adblock Plus 2.0 development branch has added a new “feature” they call “acceptable advertising” and flipped it on by default without asking the user. The default whitelist is so far only including advertising from networks like Google with suspiciously deep pockets, leading me to believe that money has probably changed hands somewhere along the way. You can opt out of this through a rather unwieldy process, but most people won’t. I find “acceptable ads” to be unacceptable because even Google Adwords is well known for profiling the user even if they only use non-Google sites and they’ll let anyone with enough money take out an ad, even if it leads to phishing sites or Windows malware. Most definitely NOT acceptable. (But hey, it’s your computer and if you like XP AntiVirus Super Duper 2012 Edition, I think you’re beyond my help.

Privoxy is powerful but has a daunting (not terrible, but compared to Adblock Plus, rather involved) setup if you want it to work as best it can, so I have decided to document the entire process here that I used.

Step 1: Remove Adblock Plus from Firefox. The only reason we’re going to switch to Privoxy is because Adblock Plus is no longer trustworthy.

Open the add-ons menu. Either by clicking the Firefox button followed by Add-Ons, or if you use the classic menu, then Tools followed by Add-Ons.

Find Adblock Plus. Click “Remove”. Firefox will want to restart.

Step 2: Install Privoxy.

Ubuntu Oneiric comes with 3.0.17, which is now outdated and has some serious bugs that have been fixed in 3.0.18. The packages from the development branch of Ubuntu (codenamed Precise) work fine and provide version 3.0.18.

Go to this page: http://packages.ubuntu.com/precise/privoxy

Under Download Privoxy, choose the package for your architecture. Mine is AMD64, but you might be using the i386 version of Ubuntu. Choose whichever applies to your system.

Click on any mirror you want, it will offer you the DEB file. Once the DEB file has finished downloading, either double click on it in the Downloads or open your file manager and go to where you downloaded it and double click (single click for Kubuntu users) on it to launch the package installer. Install the package.

NOTE: Installing packages from other versions of Ubuntu is not always a great idea. Privoxy just happens to be really small with no dependencies that can’t be satisfied by Oneiric. DO NOT make a habit of doing this! :)

Step 3: Make sure the Privoxy daemon (service) is running. It probably is, but this can’t hurt.

Open a terminal.

sudo service privoxy start

Step 4: Configure your proxy settings to route through Privoxy (Privoxy operates as a local non-caching proxy server).

In GNOME or KDE or whatever you use, set HTTP and HTTPS to use 127.0.0.1 on port 8118 (where Privoxy listens). Do this again in Firefox’s Network preferences. It should pick up your global settings but it is Firefox and you know how things that should happen on Firefox for Linux sometimes don’t. :P

Firefox/Preferences/Preferences/ or Edit/Preferences followed by Advanced then the Network tab, click Configure How Firefox connects to the Internet, and use 127.0.0.1 and port 8118 for HTTP and HTTPS.

(Yo dawg, I heard you liked Preferences so I gave you Firefox so you can have Preferences with your Preferences!)

Step 5: Configuring Privoxy.

Privoxy is actually a pain in the ass to configure with text files by hand. It does have a web browser-based GUI setup for filtering operations, but it must be enabled in a configuration file. There is no need to restart Privoxy after modifying anything since the daemon (service) notices a few seconds later that the settings changed and applies them immediately.

Press Alt+F2, this brings up a run dialog under pretty much any desktop environment worth using. Remember this is for Ubuntu derivatives, others tend to use gksu and kdesu, but since Ubuntu does not set up the root user by default, it uses gksudo and kdesudo instead. Fedora KDE also seems to come with kwrite instead of kate, so Fedora KDE users would use kwrite. I use Nano but I am striving to make this as painless as possible for users accustomed to a GUI.

GNOME/UNITY: gksudo gedit /etc/privoxy/config

KDE: kdesudo kate /etc/privoxy/config

Now we can edit the main config file. Note. Make sure any lines I say to edit don’t have a hash symbol in front of them (one of these #) or Privoxy will interpret them as a comment and fail to parse the rule.

Go to section 4.5, titled enable-edit-actions. Scroll down. Find the line that says:

enable-edit-actions 0

change it to

enable-edit-actions 1

Go to section 4.8, titled buffer limit.

It defaults to 4096 with a line such as:

buffer-limit 4096

I find it runs better with a 16 MB buffer. I have lots of RAM. Yay RAM. I change it to:

buffer-limit 16384

Go to section 6.4, titled keep-alive-timeout.

It’s set to 5 I find it works best with 300.

So I change this:

keep-alive-timeout 5

to this:

keep-alive-timeout 300

Save the file and exit.

Step 6: Close Firefox if you still had it open, and restart it.

Step 7: Type this into the location bar and hit enter:

config.privoxy.org

(Privoxy intercepts this and redirects it to its own configuration page, if Privoxy is not running,  you get a page on Privoxy.org telling you it is not running, if this happens, try clearing your history and trying again.)

You should get something like this on the page that comes up:

This is Privoxy 3.0.18 on localhost (127.0.0.1), port 8118, enabled

Step 8: Configure the filtering rules. (We’re almost done)

On the config page, click the link “View & change current configuration”, then under “Actions Files” there should be “/etc/privoxy/match-all.action” as the first listing. Click the Edit button next to it.

Under “Actions” set to “Cautious”, it should provide a minimal template from which to work without stupid filters that don’t apply to Linux users. (At least, I don’t think many of us need a filter to block some common Internet Explorer 6 vulnerabilities) ;)

Now, to the left of the Cautious button, click the Edit button. What follows is how to get the setup I use. Some filters look tempting but actually break some sites. If you want to experiment with them later, do it one at a time and turn them off if they break something you use.

fast-redirects, click green button to enable, check decode entire url.

filter refresh-tags, green to enable, check “Decode URL before checking”

filter img-reorder, green to enable

filter banners-by-size, green to enable

filter banners-by-link, green to enable

filter webbugs, green to enable

filter no-ping, green to enable

filter google, green to enable

hide-from-header, red to disable (No browser since the mid 90s that I know of sends out your email address to every page you visit. This one is stupid.)

hide-referrer, green to enable, check “Forge referrer if host has changed, but don’t touch in-site referrers.”

set-image-blocker, green to enable, check “Send a 1×1 transparent GIF” to reduce page clutter.

Click submit.

Step 9: Privoxy doesn’t handle pop-ups and unders that well since there’s a lot of sneaky ways to load them. We can deal with this problem from within Firefox itself. Note: Adblock Plus was only blocking most pop-ups because it had explicit rules for them which needed a lot of complicated filtering and still missed some.

In Firefox’s location bar, type this, and hit enter.

about:config

If necessary, click the do not show me this again thing that comes up and jokes about “voiding your warranty”.

In the filter box type popup and locate dom.popup_allowed_events and double click it. Remove everything. Sites now have no way of loading pop-ups. The “Firefox has blocked a pop-up” thing will appear when one tries and you can use that to load the pop-up anyway or whitelist that site for next time. (My bank uses them, sigh).

Step 10 (Optional): While in about:config, let’s toggle some other nonsense that Firefox has done by default.

In the filter bar, search general.autoscroll, double click it to change it to true. Mouse wheel scrolling on Linux instead of the stupid X11 clipboard ftw.

In the filter bar, search for trim, locate browser.urlbar.trimURLs and double click to change it to false. This will revert Firefox to the traditional behavior of telling you what protocol the loaded site is using in the address bar and fixes the problem (on Linux anyway) of occasionally copy pasting a URL without the http:// or https:// or ftp:// or whatever bits.

Congratulations. Privoxy should now be set up. It’s a shame that Adblock Plus decided to take on an anti-user stance in exchange for Google’s money and that we have to block ads in Firefox now with a local proxy server like it was 1999 all over again if we want to avoid the abuse I’m sure is coming from Wladimir Palant and “Rick752″ and friends.

Until next time, this is DaemonFC reminding you that the only “acceptable” ad is a dead ad.

Follow

Get every new post delivered to your Inbox.