News for hackers. Stuff that matters.
Re:Firefox/Normandy/PreferenceRollout by hexo on Saturday May 04, 2019 @08:14AM (#19825963)
I don't get it. Is someone going (and I don't really care if is from mozilla or microsoft) to RECONFIGURE my browser without my consent? This is unacceptably bad idea.
Re:Firefox/Normandy/PreferenceRollout by Althorion on Saturday May 04, 2019 @08:22AM (#19825991)
Yes, sort of. The change is made to _default_ configs, so if you changed something, it won’t touch it. And while I get that changes to that can be annoying, I also find them necessary to keep the application easy to use and productive and cannot think of any piece of software that never have changed their defaults.

The reason for Normandy to exist is to allow the developers to check if some change to that defaults is production ready yet. For example, you can start enabling by default hardware video acceleration for some people and compare the number of browser crashes they experience compared to the general public and use that knowledge to know when this feature is stable enough to be enabled for all.

Re:Firefox/Normandy/PreferenceRollout by lifthrasiir on Saturday May 04, 2019 @08:37AM (#19826043)
It should be mentioned that Mozilla had once wrecked their reputation by allowing a corporate-supported study [1] (yeah, Mr. Robot one). It was a really bad PR disaster for Mozilla, and I think Mozilla has at least learned their lesson by not abusing the studies system in such way (as far as I know).

[1] https://drewdevault.com/2017/12/16/Firefox-is-on-a-slippery-...

Re:Firefox/Normandy/PreferenceRollout by philipwhiuk on Saturday May 04, 2019 @08:42AM (#19826064)
So they'll put it directly in Normandy instead of wrecking Studies?
Re:Firefox/Normandy/PreferenceRollout by lifthrasiir on Saturday May 04, 2019 @09:09AM (#19826192)
Not sure, but Mozilla had taken another PR risk by sponsored contents to the Packet integration [1]. So we need to keep our eyes to Mozilla.

On wrecking Normandy, you can actually see all enabled recipes [2] and nothing seems smoky. It even seems that the hotfix (id=721) was used to unbreak Office 365, supporting the positive uses of this system. But I strongly agree that there should be more approachable list of them.

[1] https://blog.mozilla.org/futurereleases/2018/01/24/update-on... (HN discussion: https://news.ycombinator.com/item?id=16229927)

[2] https://normandy.cdn.mozilla.net/api/v1/recipe/

Re:Firefox/Normandy/PreferenceRollout by Phobophobia on Saturday May 04, 2019 @09:54AM (#19826445)
Between the several HN threads on this, this is just what I was missing. Thanks for clarifying it is the defaults which change. That is completely acceptable. It's like any other feature or aspect of FF that a developer can change.
Re:Firefox/Normandy/PreferenceRollout by Althorion on Saturday May 04, 2019 @10:23AM (#19826626)
I don’t think restricting the changes to default settings is enough, you can still do quite a lot of malicious or just plain annoying things with that—for example, I didn’t change the default browser theme, but that doesn’t mean that I wouldn’t be pissed if it changed to an advertisement of any sort.

It gives the developers a great power—they can change applications behaviour outside typical venues for this. Most users expect an update to change things, but if my browser would start to behave erratically and I knew I haven’t updated it for a while, it would have send me on a wild goose chase for other things that I might have done that make my Firefox crash or whatever. It wouldn’t have occurred to me that some change to my settings was pushed without my knowledge.

We can only hope FF devs will use that power responsibly. It can be a nice feature or a complete nightmare. And I for one would very much welcome some kind of pushed notification about that (‘hey, there was a problem with this and that, so we changed that and this; here’s how you can revert the change if needed’).

Re:Firefox/Normandy/PreferenceRollout by tssva on Saturday May 04, 2019 @08:52AM (#19826107)
In this case it is being used to push a new certificate which goes beyond the ability to change default preferences and therefore raises questions regarding the full capabilities available to Mozilla through Normandy.
Re:Firefox/Normandy/PreferenceRollout by dralley on Saturday May 04, 2019 @10:18AM (#19826595)
Apparently the expiration date of the certificate ends up as a pref at some point. I don't remember what the name of the pref is, but someone posted it.
Re:Firefox/Normandy/PreferenceRollout by chaz6 on Saturday May 04, 2019 @08:46AM (#19826079)
Maybe everyone should set app.normandy.user_id to "anonymous".
Re:Firefox/Normandy/PreferenceRollout by badsectoracula on Saturday May 04, 2019 @12:02PM (#19827271)
> compare the number of browser crashes they experience compared to the general public

I'm sure the users who experience said crashes without doing anything in their browsers are happy about this :-P

Re:Firefox/Normandy/PreferenceRollout by ajross on Saturday May 04, 2019 @09:54AM (#19826450)
That "someone" is the author of the browser you installed in the first place, and which you know is going to push whole software updates on a regular basis. That's right, "someone" isn't going to just RECONFIGURE your browser, they're going to REPLACE it! Quarterly!

That concern just doesn't parse. If you don't trust Mozilla to give you working software, why are you running their software in the first place?

There are circumstances and concerns where you might want to limit things like software and preference updates. And both of those are and remain under your control. But the default is to allow updates, for obvious reasons.

Re:Firefox/Normandy/PreferenceRollout by zzzcpan on Saturday May 04, 2019 @10:12AM (#19826551)
On my system authors of software can't push updates to me at all. Instead the software is packaged, there is at least some oversight over what is packaged and plenty of user control over packages.
Re:Firefox/Normandy/PreferenceRollout by ajross on Saturday May 04, 2019 @10:41AM (#19826734)
Yeah, so like the other poster your point reduces to "I trust Fedora to build Mozilla code more than I trust Mozilla to build Mozilla code". Which is nonsensical. At some point you're still trusting "someone" (the scary "someone" from upthread, even!) to give you software, so what's the complaint exactly?
Re:Firefox/Normandy/PreferenceRollout by Althorion on Saturday May 04, 2019 @11:34AM (#19827082)
> Yeah, so like the other poster your point reduces to "I trust Fedora to build Mozilla code more than I trust Mozilla to build Mozilla code". Which is nonsensical.

I don’t think it is. That way, you have two authorities checking things over instead of just one.

Re:Firefox/Normandy/PreferenceRollout by ptx on Saturday May 04, 2019 @11:03AM (#19826850)
It's not nonsensical. I trust the distribution maintainers to maintain and update a cohesive system composed of thousands of third-party packages. This is entirely different from trusting those thousands of third-party authors to directly update whatever they want on my system whenever they feel like it.

Edit: I'm not implying anything about the capabilities of this preference-updating system; the subject was software updates and who is trusted to deploy them.

Re:Firefox/Normandy/PreferenceRollout by ChrisSD on Saturday May 04, 2019 @11:19AM (#19826963)
That's hyperbolic. Mozilla can't directly update whatever they want via this system. According to the article they can only "change the default value of a preference" within Firefox.
Re:Firefox/Normandy/PreferenceRollout by ajross on Saturday May 04, 2019 @11:22AM (#19826992)
> trusting those thousands of third-party authors to directly update whatever they want on my system

You have completely misunderstood what Normandy does.

Re:Firefox/Normandy/PreferenceRollout by ptx on Saturday May 04, 2019 @11:52AM (#19827191)
The comment I was replying to was about something much broader than Normandy: "trusting [Mozilla] to build Mozilla code" and "to give you software".
Re:Firefox/Normandy/PreferenceRollout by mlthoughts2018 on Saturday May 04, 2019 @11:26AM (#19827018)
How so? Rolling out changes to default settings in an unannounced, automatic way based on users being automatically enrolled in that preference update program, with difficult to understand opt out settings changes required, sounds _absolutely_ like third party authors able to make unrestricted (and unannounced) modifications to my system.

I cannot understand how anyone could think otherwise of Normandy.

Re:Firefox/Normandy/PreferenceRollout by Arkanosis on Saturday May 04, 2019 @07:14PM (#19829973)
How is that nonsensical? Trusting someone does not imply trusting anybody, and even less everybody.

I trust my mother; it does not mean I trust you, and even less the entire crowd here on HN.

I've stopped using Windows years ago because I didn't trust Microsoft anymore. I'm having minor trust issues with Canonical and Mozilla. I still trust Debian and Arch.

Trust is personal. Hard to get and easy to lose.

Re:Firefox/Normandy/PreferenceRollout by dredmorbius on Saturday May 04, 2019 @12:48PM (#19827594)
Some systems (e.g., Debian, and derived Linux distros) make an exceptional effort not to randomly change user or system settings (via debconf, and governed by Policy).

This has some limits -- it largely applies to systemwide, not user settings, user dotfiles are generally outside of scope (though are also typically unmolested), and some packages, including Firefox, manage to introduce their own configuration management schemas and misbehaviours.

But yes, the general idea that software updates do treat user and local configuration as sacrosanct is well-established, decades-old practice, in at least some parts. And goes a long way to establishing and sustaining user trust in those systems and their update processes.

Mozilla face numerous challenges, including a large multiplatform largely non-expert userbase operating in an overtly hostile environment. The whole browser extension regime is a very unsatisfactory compromise itself. There remain lessons which might be applied from Debian.

Re:Firefox/Normandy/PreferenceRollout by nyuszika7h on Saturday May 04, 2019 @02:08PM (#19828128)
Normandy only changes default preference values, not ones changed by users.
Re:Firefox/Normandy/PreferenceRollout by robocat on Saturday May 04, 2019 @01:36PM (#19827909)
When Firefox updates, if there are problems, then I am likely to hear about it (e.g. on hn).

I know when my Firefox updates, so I can expect changes.

My Firefox is vetted by my Linux distribution.

This is the first time I have heard about Normandy, and I certainly would not turn it on, because I prefer my work machine to be a laggard than an early adopter.

Re:Firefox/Normandy/PreferenceRollout by hexo on Saturday May 04, 2019 @10:16AM (#19826578)
You must be Windows or OSX user, sir.
Re:Firefox/Normandy/PreferenceRollout by ajross on Saturday May 04, 2019 @10:38AM (#19826717)
Not for multiple decades, no. Though I'll admit that given the tone of your response I was assuming you were.

Only the trustee changes, so I still can't parse your concern. You don't trust Mozilla to RECONFIGURE (!) or REPLACE (!!) your software unbidden. You trust Canonical or Red Hat or whoever. And that changes what?

Re:Firefox/Normandy/PreferenceRollout by kgwxd on Saturday May 04, 2019 @11:21AM (#19826989)
A third-party is less likely to have the first-party's motives, which makes a huge difference. Something blatantly stupid happens, there's a better chance of putting a stop to it before it can cause any harm and maybe even gives a little leverage to get the first-party to revert.
Re:Firefox/Normandy/PreferenceRollout by nebopolis on Saturday May 04, 2019 @08:28AM (#19826013)
Is it an unacceptably bad idea to allow auto updates as well? Anything potentially problematic here could also be done with a code change, but at least this contains a flag to opt-out.
Re:Firefox/Normandy/PreferenceRollout by user17843 on Saturday May 04, 2019 @08:16AM (#19825968)
modern software (especially browsers) with auto-update = SAAS.

What you experience is a synced remote interface, you don't own your software anymore.

Granted, the secret lies in providing such an excellent and subtle service that the majority of users actually either endorse or not even notice the dependency.

Which means changes should be subtle and consistent.

Re:Firefox/Normandy/PreferenceRollout by zzzcpan on Saturday May 04, 2019 @08:48AM (#19826087)
Vendor controlled auto-update is worse than SaaS. It's effectively a control over your machine. Your entire security depends on a random employee of a random organization you entrusted with this control to not get compromised, not compelled by the government, not made shady deals with other parties to ship a backdoor to you.

But if speaking about the issue. Why Mozilla even need so much control over extensions? Seems like they built an infrastructure to be able to disable any installed extension remotely. That's just evil.

Re:Firefox/Normandy/PreferenceRollout by orbital-decay on Saturday May 04, 2019 @11:05AM (#19826862)
> Your entire security depends on a random employee of a random organization you entrusted with this control to not get compromised, not compelled by the government, not made shady deals with other parties to ship a backdoor to you.

As opposed to what? How do you test for all that with manual updates, as an individual or a small organization? Even for a huge organization which reviews most of the updates it installs, critical updates should be applied immediately, to avoid the lag.

Re:Firefox/Normandy/PreferenceRollout by deno on Saturday May 04, 2019 @08:44AM (#19826075)
Firefox is fully open source. Runs locally and even works offline. How is it SaaS exactly?

The auto-update mechanism exists almost exclusively for the benefit of Windows users. None of the Linux distros use it.

Re:Firefox/Normandy/PreferenceRollout by Althorion on Saturday May 04, 2019 @08:52AM (#19826103)
I guess the application changing it’s behaviour remotely, as is the case with Normandy, can be somewhat reasonably considered SaaS.
Re:Firefox/Normandy/PreferenceRollout by deno on Saturday May 04, 2019 @08:54AM (#19826118)
Changing a default setting is SaaS?
Re:Firefox/Normandy/PreferenceRollout by Althorion on Saturday May 04, 2019 @09:00AM (#19826148)
Changing a default setting _remotely_. That is a huge field of possibilities, from not SaaS-y at all to very SaaS-y.

Like for example you could make it so the script to be run when a browser encounters a pdf file is put directly in the settings. Thus changing that setting changes what the browser does—you can add, remove or change an in-browser pdf viewer that way.

It’s not what Normandy currently does, but it is something it’s at least theoretically capable of. And hitting that extreme would, in my opinion, made it reasonable to start calling it SaaS.

Re:Firefox/Normandy/PreferenceRollout by deno on Saturday May 04, 2019 @09:04AM (#19826170)
You could do all that with a regular update as well.
Re:Firefox/Normandy/PreferenceRollout by Althorion on Saturday May 04, 2019 @09:07AM (#19826182)
No, not with the _regular_ update. Only with the _remote_ update, which is a part of what makes SaaS SaaS.
Re:Firefox/Normandy/PreferenceRollout by deno on Saturday May 04, 2019 @09:15AM (#19826221)
What is a “remote update”? All updates are remote until you download them.
Re:Firefox/Normandy/PreferenceRollout by mlthoughts2018 on Saturday May 04, 2019 @10:23AM (#19826620)
The distinction is between auto-update and user-chosen update. Some users strongly prefer all software running on their owned hardware is incapable of auto-updating in a way that bypasses explicitly requiring the user to choose to update each time.

It may come across as a nasty dark pattern if a user must opt out of auto-updates (which is loosely what Normandy is, if you extend “auto-update” to also mean tacit enrollment in an experiment).

Instead it should be off by default, with a clear and unambiguous description of the functionality on a menu page if a user wants to opt in.

For example, I am a very privacy-focused browser user, relying on many special settings & extensions. Despite frequently reading about browser updates, I had no idea Normandy functioned like this, nor that it was enabled by default, until reading into this current Firefox certificate bug.

Upon learning what Normandy is and that it is opt-out by default with unclear connections to the traditional privacy dropdown menus to disable experiments or usage stat sharing, I feel that Mozilla violated my trust in a profound and deeply upsetting way.

Re:Firefox/Normandy/PreferenceRollout by Althorion on Saturday May 04, 2019 @09:29AM (#19826311)
The one that is remotely done for you, without any action on your part.

Typically, a user has to click the installer or use package manager or something to get the update, it’s their decision they make locally. If a setting is in place where this decision can be made somewhere else, it’s now a remote thing, a remote update. Quite useful thing in some cases and one of the things that make SaaS possible in the first place.

Re:Firefox/Normandy/PreferenceRollout by hexo on Saturday May 04, 2019 @08:28AM (#19826011)
Firefox is not SAAS. Is it? If it is, show me where it is disclosed. So we can finally migrate away from it.

There should be exactly zero change to it UNLESS I said so, because I am admin of my machines - not someone from Mozilla, nor Microsoft, nor Apple. Is it that hard to understand?

And stop talking about "owning" anything, you clearly do not understand ownership rights - your idea of it does not apply to whole world AND this is not USA.

I'm too old for this "word plays". It seems like there is a need to pay someone, to not listen to mozilla and finally strip firefox from it's newly introduced "features".

Re:Firefox/Normandy/PreferenceRollout by kevingadd on Saturday May 04, 2019 @08:21AM (#19825984)
Nah, it's an experiment/testing system that's configurable in settings. I don't remember whether it's opt-in or opt-out. It's usually used for things like user studies but I guess it is also used for hotfixes.

If it's opt-out I guess it's not "consent"? I recall opting into it, but I can't be sure they didn't change it.

Re:Firefox/Normandy/PreferenceRollout by Althorion on Saturday May 04, 2019 @08:56AM (#19826123)
`app.normandy.enabled` has a default setting of `true`, at least on my machine, so yeah, it’s now opt-out.
Re:Firefox/Normandy/PreferenceRollout by kevingadd on Monday May 06, 2019 @08:21PM (#19845265)
That pref doesn't matter. If you turn off the visible checkbox in settings, normandy turns off. This is true for many feature flags. You can try it yourself, I tested it - unchecking the box in settings disabled the hotfix in my user studies tab (all of them were marked as complete).
Re:Firefox/Normandy/PreferenceRollout by bassman9000 on Sunday May 05, 2019 @02:01PM (#19834040)
And you have to go via about:config, which is a no-go for the majority of the users.
Re:Firefox/Normandy/PreferenceRollout by kevingadd on Monday May 06, 2019 @08:22PM (#19845268)
You need about:config for that flag, but that flag isn't the only way to turn off Normandy.
Re:Firefox/Normandy/PreferenceRollout by lifthrasiir on Saturday May 04, 2019 @08:32AM (#19826023)
You are using a web application named the Hacker News (among others) that always reconfigures and changes without your consent. You probably want to avoid the entire web.

EDIT: In addition, think hard about the update strategy of applications that need to support that moving web.

Re:Firefox/Normandy/PreferenceRollout by hexo on Saturday May 04, 2019 @08:57AM (#19826129)
Simple "I want this feature to be enabled" button in settings (!) is enough. And I mean setting NOT HIDDEN somewhere behind tons of * in about:config.

I'm using (linux) distribution with pretty nice way to deliver software updates. (At least from my point of view) There is no need to have redundant malware entry channel into system.

I very well do understand needs to support moving web.

Auto update is something completely different than remote messing with users settings. I cannot help myself this reminds me of "windows support" scammers from last years.

Re:Firefox/Normandy/PreferenceRollout by hexo on Saturday May 04, 2019 @08:39AM (#19826050)
You need to understand difference between something installed on my computer (run by ME, i pay my HW, electricity bills and connectivity) and a website (run by someone ELSE, doesnt pay my HW or electric energy AND forces me to watch ADS for which I PAY for bandwidth).
Re:Firefox/Normandy/PreferenceRollout by lifthrasiir on Saturday May 04, 2019 @08:46AM (#19826080)
I have already edited, but to elaborate:

> In addition, think hard about the update strategy of applications that need to support that moving web.

If you want the web and accept that the web is moving and you can't do anything about that, then it should be recognized that the web browser is hard time catching up. I actually hate most auto update things, but it had been too hard to use any web browser without such facilities. I use Firefox because at least I can see---and have a non-zero probably to alter---what happens to this moving platform.

Re:Firefox/Normandy/PreferenceRollout by geofft on Saturday May 04, 2019 @08:57AM (#19826137)
I take it you don't run any JavaScript or CSS that you haven't audited, either, and you have a download cap on each web request?
Re:Firefox/Normandy/PreferenceRollout by hexo on Saturday May 04, 2019 @09:24AM (#19826279)
Heard of no-script? Heard of application sandboxing? Do you actually understand WHY we run web via HTML, JS and CSS and not as actual compiled applications randomly downloaded from internet? Seems like you do not. Do not ask manipulative c* until you make sure you REALLY know what you are talking about.
Re:Firefox/Normandy/PreferenceRollout by geofft on Saturday May 04, 2019 @09:37AM (#19826356)
> Heard of no-script?

Yes. I have friends that use it. They rarely run it on the entire web; they use it by default on unknown sites but they allow sites they use regularly to run unaudited JS so they can get things done. (The whole point of using NoScript instead of the config option to disable JavaScript is so that you can run some scripts.) This seems equivalent to not running random applications but letting trusted vendors ship you automatic updates.

> Heard of application sandboxing?

Yes. I even briefly worked on it in grad school before I left to join a company that was selling sandboxing for corporate desktops. But you were worried about "HW, electricity bills and connectivity," none of which application sandboxing helps: sandboxing helps which APIs you call but not how much resources you use, and application-level controls don't affect what an individual website uses. Regular ulimit-style limits work for limiting CPU usage. That was why I asked whether you have resource limits on requests from individual websites.

> Do you actually understand WHY we run web via HTML, JS and CSS and not as actual compiled applications randomly downloaded from internet?

I do—but again, that's about the API surface available to applications, not about the CPU or bandwidth resources available to applications, which is what you said you care about.

I am 100% sure of what I'm talking about. That's why I'm asking whether you are. I'm not being manipulative, just trying to figure out if you have a coherent threat model or not.

Re:Firefox/Normandy/PreferenceRollout by hexo on Saturday May 04, 2019 @10:30AM (#19826665)
I'd love mozilla to implement resource limits, yes that would be excellent. I tried to implement something similar to ulimit, i even did complete disabling of tabs (using SIGSTOP, that didn't work nicely as you might have guessed).

"HW and electricity bills" are just examples, to tell you they're messing with someone elses stuff. Is it OK for someone from SAMSUNG to come to your kitchen and mess with TV settings? Or from IKEA to take your sheets and maybe give you something completely else? Also clerk would have keys, because using security cams they took picture of your keys while you were shopping and made "backups for you". You wondering what happened they would calmly tell you that it was OPT-OUT and you agreed to it by entering the shop. For me this is equivalently illegal.

Re:Firefox/Normandy/PreferenceRollout by zzzcpan on Saturday May 04, 2019 @09:46AM (#19826397)
> This seems equivalent to not running random applications but letting trusted vendors ship you automatic updates.

That would be equivalent only if you were running applications from trusted vendors each in a sandboxed VM that can't access anything on your system and only provide narrow functionality, not platform-like stuff.