I use a proxy with whitelists, Firefox choose a random mirror to update. It's possible to force Firefox to update from mozilla.com?
My company wanted to restrict free Internet access. I have solved setting an internal proxy server and forced all computers to access the Internet through it. But I cannot put in the white lists all the mirrors, so I would like to force Firefox to update from Mozilla.com or either from a internal server.
All Replies (8)
hello, it is possible to set up a local update server, but the procedure seems to be rather complicated: https://developer.mozilla.org/en/Setting_up_an_update_server.
the update request always goes to mozilla.org first but which mirror is getting used afterwards is determined on the server side, so i think it is not possible to influence that step. here's a list of all official release mirrors: http://www.mozilla.org/community/mirrors.html. i think they are chosen by the region your ip address is coming from, so you might also try only to whitelist the primary mirros of region.
Hi,
I have exactly the same problem. I have tryed to use app.update.url.override parameter with value http://mozilla.cdn.leaseweb.com/, so that firefox would be forced to download updates from there. But should the link end with .../update.xml ?! Who know what is exact link?
hello veix, this won't work - the update.url has to be the default update server, which will redirect the request to one of mirrors like http://mozilla.cdn.leaseweb.com/ (or you set up your own as described in the link above).
Hey! Thanks. But should it be possible to automate original question by downloading XML file into my webserver. Running script for replacing link in line URL="http://download.mozilla.org/?product=firefox-13.0-partial-12.0&os=win&lang=en-US&force=1"" with some specific mirror?
yes, ideally this should work, although i've never tried it myself (this is what i originally meant with running an own update server, sorry if i was a bit unclear on terminology). so please test it thoroughly, before you roll it out...
Ok thx, but I think I cannot figure out correct link for http://download.mozilla.org/?product=firefox-13.0-partial-12.0&os=win&lang=en-US&force=1 to transform into http://mozilla.cdn.leaseweb.com/firefox/releases/13.0/update/win32/en-US/firefox-12.0-13.0.partial.mar Probably it can be done with a scipt, but I leave it as it is...
Hi Guys, 1st time on the board so hope i dont screw anything up ^^
Veix, just a reply on the "local update server", Im busy playing around with some pretty nifty linux firewall software, it has an update accelerator addon that 'captures' updates from specified sources, meaning - if an update has been downloaded once each recurring update will be drawen from the proxy cache, also u can setup the code that it uses wildcards for all parts of your url eg [http|ftp|https]. 'sub'.'domain'.'werever' - i hope this of some use, it cud be helpful if you bash at it a little. IPCOP with the update accelerator addon 2.2.0 - Sourceforge is where u can get it. btw: im running this and it works. KEEP UP THE GREAT WORK MOZILLA!!!
Hi guys, heads up, read through some documentation, and it turns out that the update accelerator wont work with mozilla updates.. works like a charm with all other updates >..< sori.. -RANT