Poll

Should they be on by default?

Yes
60 (89.6%)
No
7 (10.4%)

Total Members Voted: 63

Author Topic: Should automatic downloads be on by default in the `next release`?  (Read 28583 times)

+ OPTIMUS +

  • Posts: 1098
  • Turrets: +263/-164
Re: Should automatic downloads be on by default in the `next release`?
« Reply #30 on: September 05, 2008, 12:29:34 am »
The real security issue is that there shouldn't be risks that most of us already has here at 1.1. isn't that a kind of paradoxon? :-)
success is the ability to go from failure to failure without losing your enthusiasm

+PICS+

mooseberry

  • Community Moderators
  • *
  • Posts: 4005
  • Turrets: +666/-325
Re: Should automatic downloads be on by default in the `next release`?
« Reply #31 on: September 05, 2008, 12:52:17 am »
I think it should be on. I don't think that with Tremulous there is very much a risk, and I have been playing games like COD UO and wolfenstien for a long time and not gotten any problems.
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: Should automatic downloads be on by default in the `next release`?
« Reply #32 on: September 05, 2008, 03:13:37 am »
Let me clear up a myth: DLLs can not be loaded from a pk3, the dll must be manually installed into your base folder, and only you can do that. Also, most exploits which allow executing arbitrary code on the client from qvms have been fixed.

Now, about enabling auto-downloads: I vote for enabling them, but with risujin's download prompt. This will allow people to control whether they want to download stuff or not, all while allowing trem to be modded and custom maps to be made.
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

tuple

  • Posts: 833
  • Turrets: +97/-80
Re: Should automatic downloads be on by default in the `next release`?
« Reply #33 on: September 05, 2008, 03:33:23 am »
Also, most known exploits which allow executing arbitrary code on the client from qvms have been fixed.

fixed that for you.  Nothing against the present tremulous and/or ioq3 codebase, but bugs happen.  Security decisions shouldn't be made for the user unless its encourages greater security.  Even if the user doesn't fully understand the decision and/or risks, it is still their decision to make.

Downloading code that is run is a security risk.  As it should be the decision of the user, that decision should be offered to them, not foisted upon them.

tuple

  • Posts: 833
  • Turrets: +97/-80
Re: Should automatic downloads be on by default in the `next release`?
« Reply #34 on: September 05, 2008, 03:45:42 am »
Also, most known exploits which allow executing arbitrary code on the client from qvms have been fixed.

fixed that for you.  Nothing against the present tremulous and/or ioq3 codebase, but bugs happen.  Security decisions shouldn't be made for the user unless its encourages greater security.  Even if the user doesn't fully understand the decision and/or risks, it is still their decision to make.

Downloading code that is run is a security risk.  As it should be the decision of the user, that decision should be offered to them, not foisted upon them.

edit: personally, I would feel much more comfortable with a one or two time prompt that is short and sweet that informs the user that there are inherent security risks with turning on autodownloads, but that the game may be more fun if they do.

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: Should automatic downloads be on by default in the `next release`?
« Reply #35 on: September 05, 2008, 06:38:46 am »
Screenshot of risujin's download prompt:
https://bugzilla.icculus.org/attachment.cgi?id=1334&action-view
I'm adding this to tremfusion for our next release.

Broke the link - got tired of Icculus's self-signed cert whining. --Rocinante
« Last Edit: September 09, 2008, 11:27:55 pm by Rocinante »
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

daenyth

  • Posts: 230
  • Turrets: +21/-26
Re: Should automatic downloads be on by default in the `next release`?
« Reply #36 on: September 05, 2008, 08:27:34 pm »
Very nice! Hmm, maybe it's time I updated my client from the 2006 TJW build...
Quote from: Bullislander05
It's like trying to take apple seeds out of a zebra to plant a giraffe tree.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Should automatic downloads be on by default in the `next release`?
« Reply #37 on: September 05, 2008, 09:03:30 pm »
Very nice! Hmm, maybe it's time I updated my client from the 2006 TJW build...
the download prompt doesn't work with just an updated client.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Should automatic downloads be on by default in the `next release`?
« Reply #38 on: September 06, 2008, 06:27:52 pm »
Let me clear up a myth: DLLs can not be loaded from a pk3, the dll must be manually installed into your base folder, and only you can do that. Also, most exploits which allow executing arbitrary code on the client from qvms have been fixed.

Now, about enabling auto-downloads: I vote for enabling them, but with risujin's download prompt. This will allow people to control whether they want to download stuff or not, all while allowing trem to be modded and custom maps to be made.

And the QVM can write that DLL, it can drop code anywhere on your system, and it can then screw you some more.

Its been proven time and time again that there are retards who hate this community and have the time and resources to hurt it.
IMO It should only download to the base folder, and refuse to load anything from that folder other than maps.  Data / vms can go in the install folder, and mods can be installed by hand / some other more user-involved system.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Posts

  • Posts: 19
  • Turrets: +6/-2
Re: Should automatic downloads be on by default in the `next release`?
« Reply #39 on: September 06, 2008, 07:50:19 pm »
So auto-downloading is by design about more than maps / models / and any other eye candy?

the people who coded it are actually aware that this qvm/scripting-stuff can be downloaded and executed?

has it been confirmed that the developers have actually been informed of the exploits? ioquake3 devs?

btw, this poll is useless as the people who are voting are not fully informed and they might even think that the only way it can be abused is for downloading porn, i read this thread and i still don't feel like i'm qualified to even vote on this, i don't know which opinions are those of experts or trash, there are conflicting opinions. there might be a huge history on patched security problems for this game i don't know about because people are still afraid of talking about it. do things get properly fixed? buried in a changelog or not even included in a change log? does the ioquake3 project get the relevant patches/reports?

On the subject of buffer overflows: there will always be buffer overflows everywhere, the network protocol can be buffer overflowed, on a game with millions of players and autodownloading enabled by default i don't believe there has been a single case of people buffer overflowing through the maps / eye candy. People can buffer overflow you through the forums, with external images, links, flash, internet explorer.

I expect to see a future full of much simpler exploits than buffer overflows, like clients downloading a config with the rcon password, servers downloading files from clients, mods containing back doors, a guid system that never really gets fixed, never ending confusion about mods/qvm/dlls/scripts/security, anti cheat methods backfiring.

On the subject of abusing the download system to ddos people: if the game clients send the game servers IP in the referer variable to the web server, a simple php script or .htaccess file can prevent other servers from using their fast download service.

Multiple security risks? how many? how do we even know which we're talking about? is someone assuming that everyone else knows about an exploit that only that person knows about?

  • All executable code off, but with the option to turn it on (QVMs, etc) with a very stern warning of why it's a bad idea
  • An in-game "Do you want to do this" kind of option which can ask if you really want to trust that QVM you just downloaded
What is the history of autodownloadable QVMs doing good things? aren't the server side only mods capable enough?

I think popping up a question for this is a bad idea, no matter how stern you are the end user is not qualified to make the decision like this, the end user will either be left confused and uncomfortable or carelessly vulnerable. I see this as a bad way of transferring responsibility.
« Last Edit: September 06, 2008, 08:19:35 pm by Posts »

Posts

  • Posts: 19
  • Turrets: +6/-2
Re: Should automatic downloads be on by default in the `next release`?
« Reply #40 on: September 06, 2008, 08:15:45 pm »
Lava Croft: fixed
« Last Edit: September 06, 2008, 08:20:04 pm by Posts »

Lava Croft

  • Guest
Re: Should automatic downloads be on by default in the `next release`?
« Reply #41 on: September 06, 2008, 08:18:03 pm »
Please refrain from double posting and click the 'Modify' link to modify your post and add anything you forgot earlier.

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Should automatic downloads be on by default in the `next release`?
« Reply #42 on: September 06, 2008, 08:41:34 pm »
What is the history of autodownloadable QVMs doing good things? aren't the server side only mods capable enough?

No. One very frequent example is the scoreboard: If any mod has a gametype that isn't humans vs aliens scored on "kills", the scoreboard will not reflect this without a download.

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
Re: Should automatic downloads be on by default in the `next release`?
« Reply #43 on: September 07, 2008, 09:14:04 am »
everything has some risk to it.  maybe tomorrow someone will steal your computer or your house will burn down leaving the fact that you had auto downloads disabled completely pointless.  you might get a few virus on your computer from tremulous or from downloading that torrent.  disabling auto downloading is done only by the devs and smarte people because they know what can be done to there computer through 1 second of auto download they can predict the future and know what pk3s to download in advance they know all. 

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Should automatic downloads be on by default in the `next release`?
« Reply #44 on: September 07, 2008, 01:26:40 pm »
Automatic downloads should be off, but when the player has to download something or disconnect, they should be given the option to do so (and a warning that it may be malicious). Risujin's prompt seems best for this.

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: Should automatic downloads be on by default in the `next release`?
« Reply #45 on: September 08, 2008, 06:53:06 am »
And the QVM can write that DLL, it can drop code anywhere on your system, and it can then screw you some more.
Wrong, wrong, maybe if someone finds another hack in the future, but it will be fixed as soon as possible and someone (if the devs don't) will release a fixed client.

IMO It should only download to the base folder, and refuse to load anything from that folder other than maps.  Data / vms can go in the install folder, and mods can be installed by hand / some other more user-involved system.
That's pretty much killing all the mods that exist. How about you keep your standard qvm, and then have the client download scripts to extend it?

I think popping up a question for this is a bad idea, no matter how stern you are the end user is not qualified to make the decision like this, the end user will either be left confused and uncomfortable or carelessly vulnerable. I see this as a bad way of transferring responsibility.
What solution do you suggest?
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Should automatic downloads be on by default in the `next release`?
« Reply #46 on: September 08, 2008, 07:11:43 am »
Wrong, wrong, maybe if someone finds another hack in the future, but it will be fixed as soon as possible and someone (if the devs don't) will release a fixed client.
Oh great, then the fix will be pushed through the auto-update mechanism and nobody will be able to play until they update their clients, right? Oh wait, actually a really small percent will ever download an updated client, especially if not official. The safety of non-upgraders is still a factor when making decisions like this.

That's pretty much killing all the mods that exist. How about you keep your standard qvm, and then have the client download scripts to extend it?
Client auto-downloads of vms to base produce unpredictable behavior in the current generation of clients because it is assumed that one would never have vms auto-downloads to base. This is because the very concept of having mods to the base game is rather strange. If your mod goes beyond what you can do without changing the vms, it dedidedly shouldn't have fs_game=base. Servers can very happily either force or allow people to use different models/skins/other assets (yes, even within sv_pure), which really is about as far as a mod to base should ever go before it's no longer "base" and shouldn't pretend it is by not changing fs_game.


seeeker

  • Posts: 122
  • Turrets: +19/-5
Re: Should automatic downloads be on by default in the `next release`?
« Reply #47 on: September 08, 2008, 09:24:19 pm »
*removed as this suggestion was made already =P*

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: Should automatic downloads be on by default in the `next release`?
« Reply #48 on: September 09, 2008, 12:07:26 am »
Oh great, then the fix will be pushed through the auto-update mechanism and nobody will be able to play until they update their clients, right? Oh wait, actually a really small percent will ever download an updated client, especially if not official. The safety of non-upgraders is still a factor when making decisions like this.
Well then just get an auto-update system. I will.

Client auto-downloads of vms to base produce unpredictable behavior in the current generation of clients because it is assumed that one would never have vms auto-downloads to base. This is because the very concept of having mods to the base game is rather strange. If your mod goes beyond what you can do without changing the vms, it dedidedly shouldn't have fs_game=base. Servers can very happily either force or allow people to use different models/skins/other assets (yes, even within sv_pure), which really is about as far as a mod to base should ever go before it's no longer "base" and shouldn't pretend it is by not changing fs_game.
But you still said you wouldn't allow any vms downloads, even to another fs_game folder.
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Should automatic downloads be on by default in the `next release`?
« Reply #49 on: September 09, 2008, 01:29:03 am »
Well then just get an auto-update system. I will.
::)

But you still said you wouldn't allow any vms downloads, even to another fs_game folder.
I did? Enlighten me where. You seem to have mistaken my calling you out on your false assumptions to mean I hold the opposite position.

No, I think that vms downloads should be seperate from map downloads, as others have said here. Map downloads should default to on. VMS downloads should have a nice large download/warning prompt.

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: Should automatic downloads be on by default in the `next release`?
« Reply #50 on: September 09, 2008, 01:53:57 am »
IMO vms and game data shouldn't be treated separately. They can both be abused. They can both be exploited if a bug is found in the code which handles them.
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

Syntac

  • Posts: 841
  • Turrets: +118/-104
    • Syntac's Stuff
Re: Should automatic downloads be on by default in the `next release`?
« Reply #51 on: September 09, 2008, 01:57:27 am »
I fail to see how maps can be abused. Sure, you can piggyback a QVM onto one. But if there's code that detects QVMs, the problem is nonexistent.

cactusfrog

  • Posts: 390
  • Turrets: +678/-176
    • tremulous fun server offical site
Re: Should automatic downloads be on by default in the `next release`?
« Reply #52 on: September 09, 2008, 02:21:51 am »

And the QVM can write that DLL, it can drop code anywhere on your system, and it can then screw you some more.

Its been proven time and time again that there are retards who hate this community and have the time and resources to hurt it.
IMO It should only download to the base folder, and refuse to load anything from that folder other than maps.  Data / vms can go in the install folder, and mods can be installed by hand / some other more user-involved system.
That system would work except for mods for them there should be a pop up message asking if you are willing to except the risk like what was was suggested earlier.   

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: Should automatic downloads be on by default in the `next release`?
« Reply #53 on: September 09, 2008, 02:29:56 am »
I fail to see how maps can be abused. Sure, you can piggyback a QVM onto one. But if there's code that detects QVMs, the problem is nonexistent.
A buffer overflow in the loading code and you can run arbitrary code.
That system would work except for mods for them there should be a pop up message asking if you are willing to except the risk like what was was suggested earlier.  
And that wouldn't work anyways since any newer revision of trem prevents writing a DLL.
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

Lakitu7

  • Tremulous Developers
  • *
  • Posts: 1002
  • Turrets: +120/-73
Re: Should automatic downloads be on by default in the `next release`?
« Reply #54 on: September 09, 2008, 09:23:06 am »
Yes executable exploits in non-executable code are possible and do happen, but the odds are far less than with running VM code. Loading a map in Trem isn't any different from loading a jpeg in your browser. Web browsers don't default-off all images because they could exploit an unknown bug in the jpeg parser, but they do warn users when they are downloading executable files.

Yes, exploits in jpegs and mp3s and such have all happened, but it's still incomparable to the risk taken by running executable code on-purpose, and in current computing paradigms that very low level of risk is an acceptable one.

If such a thing happened, there WOULD be an official update release.

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Should automatic downloads be on by default in the `next release`?
« Reply #55 on: September 09, 2008, 10:39:47 am »
But QVM code is more like Java code. It runs in a sandbox. There may be bugs that allow to escape from the sandbox, but it doesn't play in the same league as downloading and running native executable files. IMHO, if there is such a bug it isn't different than a exploitable bug in the jpeg or bsp or whatnot loader.

Amanieu

  • Posts: 647
  • Turrets: +135/-83
    • Amanieu
Re: Should automatic downloads be on by default in the `next release`?
« Reply #56 on: September 09, 2008, 12:39:25 pm »
But QVM code is more like Java code. It runs in a sandbox. There may be bugs that allow to escape from the sandbox, but it doesn't play in the same league as downloading and running native executable files. IMHO, if there is such a bug it isn't different than a exploitable bug in the jpeg or bsp or whatnot loader.
Exactly my point, thank you.
Quote
< kevlarman> zakk is getting his patches from shady frenchmen on irc
< kevlarman> this can't be a good sign :P

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Should automatic downloads be on by default in the `next release`?
« Reply #57 on: September 09, 2008, 02:08:28 pm »
A java program can trash your computer, and so can a QVM.
QVM's were *not* designed with security in mind at all, and as such will *never* get an acceptable level of security without a complete redesign.
Like with java, the aim is compatibility across incompatible systems.

Also, allowing 3rd parties to run code without my interaction would probably be enough to get tremulous classed as malware, and without a good EULA, would (I think) be illegal under UK law.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Should automatic downloads be on by default in the `next release`?
« Reply #58 on: September 09, 2008, 03:28:09 pm »
Im all for user confirmation to *run* any code in the pk3 (with an option to skip the confirmation permanently for selected pk3s), but I think the issue here is the *download* of pk3s. I think it's just as dangerous to run an autodownloaded pk3 as it is to run a map-super-fun.pk3 that I had to manually download from a web server.

As for EULAs, I think all QVM code is GPL'd, so if someone hides a QVM in a map, they have to distribute the source code too, so anyone can quickly check the code for exploits.  :angel:


David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Should automatic downloads be on by default in the `next release`?
« Reply #59 on: September 09, 2008, 03:50:21 pm »
Why waste time downloading something I'm not going to run?
And there's no database of info about the pk3's, so how's it to remember which ones I like?  Or should it prompt about them all every run?
The GPL covers distribution, EULA's cover usage.  There is a massive difference.
Also, you are not required to agree to the GPL to download or use GPL software, the distributor just has to make reasonable effort to make sure you know it exists.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.