Add a ConVar: *sv_maxuploadsize*, default to something like 2048 bytes, and
restrict uploads to 1 per steam ID. Whitelist extensions: DAT, VTF and VMT,
all downloads MUST go in the *downloads* folder on the server.

Oh wow I fixed the problem and I can probably do all of that with a class
and about 5 lines.

Thanks,
- Saul.


2009/12/8 Majic <[email protected]>

> Hmm... if we could set an upload limit or some sort of check to make
> sure that everything uploaded is different from what came before it so
> people can't spam the same data... and then validate that it can be
> used somewhere, that it's not just random 1s and 0s... Blah complex
> problem is complex.  Blacklisting extensions does sound like a poor
> quick fix though. :\
>
> On Tue, Dec 8, 2009 at 10:32 AM, Kerry Dorsey <[email protected]>
> wrote:
> > They wouldn't want to block future dynamic ad content now would they? ;)
> >
> > --Kerry
> >
> > On Dec 7, 2009, at 9:40 PM, Brian Rak wrote:
> >
> >> Why does this keep getting patched by just blacklisting extensions?
> >> At
> >> what point are you just going to restrict uploads to the sprays
> >> directory, and downloads to a known WHITELIST of file extensions
> >> used by
> >> the game (vdf, vtf, etc)?  Even with the new TF2 patch, I can just
> >> spam
> >> say .1 files to the server long enough, and fill up it's hard drive.
> >> What's stopping valve from fixing this properly?  Nothing I know of
> >> relies on this functionality to do anything else.
> >>
> >> -Brian "devicenull" Rak
> >>
> >> _______________________________________________
> >> To unsubscribe, edit your list preferences, or view the list
> >> archives, please visit:
> >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> >
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to