aboutsummaryrefslogtreecommitdiffstats
path: root/code/server/sv_client.c
Commit message (Collapse)AuthorAgeFilesLines
* fix STANDALONE challengeResponse (#4000)ludwig2009-03-021-5/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1505 edf5b092-35ff-0310-97b2-ce42778d08ea
* security fix: prevent command injection via callvoteludwig2009-01-171-0/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1493 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Rename voip cvar to cl_voiptma2008-07-071-7/+7
| | | | | | | | | * s/#if USE_VOIP/#ifdef USE_VOIP/ * Add generalised runtime cvar range checking, currently on [sv|cl]_voip, dedicated and a bunch of r_ variables git-svn-id: svn://svn.icculus.org/quake3/trunk@1420 edf5b092-35ff-0310-97b2-ce42778d08ea
* Changed the protocol for VoIP packets to support legacy clients.icculus2008-06-031-1/+23
| | | | | | | | | | | | | Previously, a legacy client wouldn't get a VoIP packet, but if they did, they'd panic and disconnect. Now they ignore them and continue on. This also gives us the framework to add other features legacy clients can ignore. Oh, this also has the benefit of allowing us to store incoming VoIP for playback in recorded demos. They'll play the chatter on VoIP clients, and be ignored on legacy ones. Huge win. git-svn-id: svn://svn.icculus.org/quake3/trunk@1361 edf5b092-35ff-0310-97b2-ce42778d08ea
* More VoIP work: treat voip/sv_voip cvars as protocol version numbers.icculus2008-06-021-1/+3
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1358 edf5b092-35ff-0310-97b2-ce42778d08ea
* Initial patch for in-game VoIP support!icculus2008-06-011-0/+202
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1348 edf5b092-35ff-0310-97b2-ce42778d08ea
* One minor comment fixthilo2008-04-121-2/+2
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1314 edf5b092-35ff-0310-97b2-ce42778d08ea
* - fix a potential file descriptor leak in server side of pak downloadingthilo2008-04-121-1/+94
| | | | | | | - add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods. git-svn-id: svn://svn.icculus.org/quake3/trunk@1312 edf5b092-35ff-0310-97b2-ce42778d08ea
* Add com_standalone cvar for at-runtime handling of mods that do not require ↵thilo2008-04-101-2/+5
| | | | | | the original quake3 game data. git-svn-id: svn://svn.icculus.org/quake3/trunk@1309 edf5b092-35ff-0310-97b2-ce42778d08ea
* Include #ifdef to make it easier to create a stand-alone binary.thilo2008-04-091-4/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@1307 edf5b092-35ff-0310-97b2-ce42778d08ea
* Basic IPv6 support. Some inspiration from the patches by Lubos Dolezel and ↵thilo2008-04-041-39/+49
| | | | | | JF Tremblay at https://bugzilla.icculus.org/show_bug.cgi?id=2355. git-svn-id: svn://svn.icculus.org/quake3/trunk@1290 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Merge unified-sdl to trunktma2007-09-051-6/+0
| | | | | | | * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3027) don't trust the "ip" value in the userinfo string since a clienttjw2007-02-141-16/+32
| | | | | | | | | could set this. disconnect (or disallow connection for) a client that has a userinfo string that's too full for "ip" to be added properly. (Richard Stanway) git-svn-id: svn://svn.icculus.org/quake3/trunk@1043 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 3014) my revision 935 broke the sending of the kick/clientkick messagetjw2007-02-011-2/+3
| | | | | | | | since SV_DropClient() tried to set the client's state to CS_ZOMBIE prior to sending the message. git-svn-id: svn://svn.icculus.org/quake3/trunk@1038 edf5b092-35ff-0310-97b2-ce42778d08ea
* - Fix loads of format string bugsthilo2007-01-241-10/+10
| | | | | | | - Fix locally looping sounds, thanks to Timbo git-svn-id: svn://svn.icculus.org/quake3/trunk@1037 edf5b092-35ff-0310-97b2-ce42778d08ea
* fix buffer overflow and format string bug in auth server responseludwig2006-12-311-5/+2
| | | | | | | processing git-svn-id: svn://svn.icculus.org/quake3/trunk@1025 edf5b092-35ff-0310-97b2-ce42778d08ea
* - tag more functions with gnu format attributeludwig2006-12-301-1/+1
| | | | | | | - fix format string bugs. still some left git-svn-id: svn://svn.icculus.org/quake3/trunk@1023 edf5b092-35ff-0310-97b2-ce42778d08ea
* * (bug 2784) help to prevent reliable command overflow in cases when a slowtjw2006-10-131-0/+4
| | | | | | | | | | | client is loading the map on a busy server. Specifically, hold back all configstring update commands while the client is CS_PRIMED. Once the client goes from CS_PRIMED to CS_ACTIVE, send the cleint commands for updating each of the configstring indexes which were updated while the client was CS_PRIMED. git-svn-id: svn://svn.icculus.org/quake3/trunk@935 edf5b092-35ff-0310-97b2-ce42778d08ea
* * add cURL support for HTTP/FTP downloading (bug 2661)tjw2006-09-111-2/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@898 edf5b092-35ff-0310-97b2-ce42778d08ea
* * sv_minRate (from R1CH)tma2006-06-171-0/+6
| | | | | | | * [cl|sv]_packetdelay (from tjw) git-svn-id: svn://svn.icculus.org/quake3/trunk@808 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fixed missing initialization of idPack and missionPack variables which may ↵thilo2006-05-151-1/+1
| | | | | | result in failure to autodownload files from the server even if legitimate. git-svn-id: svn://svn.icculus.org/quake3/trunk@781 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix bug that permits download of arbitrary files from a download enabled ↵thilo2006-05-081-7/+45
| | | | | | server by checking requested file name against the list of loaded pk3 files. See CVE-2006-2082 git-svn-id: svn://svn.icculus.org/quake3/trunk@777 edf5b092-35ff-0310-97b2-ce42778d08ea
* Fix "Net_CompareAdr: Bad address type" error message when starting a new map ↵thilo2006-05-021-1/+1
| | | | | | with bots. git-svn-id: svn://svn.icculus.org/quake3/trunk@736 edf5b092-35ff-0310-97b2-ce42778d08ea
* Replaced various "baseq3" strings with the centrally defined BASEGAME macro.thilo2006-04-261-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@724 edf5b092-35ff-0310-97b2-ce42778d08ea
* 64bit fix: VM_Call return value is a pointerludwig2006-02-181-1/+1
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@549 edf5b092-35ff-0310-97b2-ce42778d08ea
* * General decrufting:tma2005-10-291-1/+1
| | | | | | | | | | * Removed Q3_STATIC and associated defines * Removed MAC_STATIC * Replaced __LCC__ with Q3_VM * Removed bspc and splines directories git-svn-id: svn://svn.icculus.org/quake3/trunk@201 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Added STATUStma2005-10-291-1/+1
| | | | | | | | | | | * Updated TODO * Moved ChangeLog to root * Updated ChangeLog * s/Foobar/Quake III Arena Source Code/ * Biggest patch EVAR. I wonder how many mail boxes this will fill... git-svn-id: svn://svn.icculus.org/quake3/trunk@196 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Fix to https://bugzilla.icculus.org/show_bug.cgi?id=2454tma2005-10-281-0/+7
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@192 edf5b092-35ff-0310-97b2-ce42778d08ea
* * Cap the maximum snaps a client can request at the server framerate rathertma2005-10-191-2/+2
| | | | | | | | | | | | than a hard-coded 30 (from misantropia). I'm slightly nervous about this since it changes the behaviour versus 1.32b in that a client requesting e.g. 25 snaps will actually get 20 (default sv_fps) with this patch applied. I'm not sure why anyone would want this though -- it may even destablise their inter/extrapolation. I'll leave the bug (2422) open for a while and if no one complains it can be closed. git-svn-id: svn://svn.icculus.org/quake3/trunk@167 edf5b092-35ff-0310-97b2-ce42778d08ea
* remove svn:executable propertyludwig2005-08-281-0/+0
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@24 edf5b092-35ff-0310-97b2-ce42778d08ea
* Ludwig's 1st diff: Some 64bit fixes for x86_64. Also fixes Makefile build.zakk2005-08-271-5/+5
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@7 edf5b092-35ff-0310-97b2-ce42778d08ea
* newlines fixedzakk2005-08-261-1531/+1531
| | | | git-svn-id: svn://svn.icculus.org/quake3/trunk@6 edf5b092-35ff-0310-97b2-ce42778d08ea
* Itsa me, quake3io!zakk2005-08-261-0/+1531
git-svn-id: svn://svn.icculus.org/quake3/trunk@2 edf5b092-35ff-0310-97b2-ce42778d08ea