Thilo Schulz
8c3f320504
( #3767 ) Some protection from malicious qvms - patches and ideas by Amanieu d'Antras and Ben Millwood
2011-03-08 01:39:34 +00:00
Thilo Schulz
0a6f873999
Add g_humansplayers (found by server) and g_needpass (cvar) to serverinfo ( #4702 )
2011-03-07 23:12:16 +00:00
Thilo Schulz
0387b8002e
Add cvar "protocol" so user can change protocol version on command line, for standalone games. Most of the patch by Simon McVittie with a few minor modifications by myself
2011-03-05 19:10:23 +00:00
Tim Angus
ab9b08e584
* Fix Sys_Milliseconds wrapping causing the flood protection code to
...
malfunction and block all traffic (reported by bubu^)
2011-02-18 23:46:02 +00:00
Thilo Schulz
67a8b273c2
- Add cvars cl_gamename, sv_heartbeat, sv_flatline so standalone games can customise their messages to the master server
2011-02-04 13:25:51 +00:00
Thilo Schulz
e5dbce839a
- Use select() to sleep when idle as opposed to busy waiting.
...
- Introduce com_busyWait cvar to go back to old behaviour
2011-02-02 16:46:23 +00:00
Thilo Schulz
bf07014b1d
Make this change so standalone developers will know to change the HEARTBEAT game string for their versions, too.
2011-01-24 18:09:20 +00:00
Thilo Schulz
8243a77c0e
Revert changes because dpmaster doesn't work that way.
2011-01-24 01:24:07 +00:00
Thilo Schulz
7861cde4a2
Make it use the correct game name in getserversExt queries
2011-01-24 00:21:33 +00:00
Ludwig Nussel
1434fd1845
fix typo
2010-06-21 07:11:52 +00:00
Tim Angus
fc05ba7f46
* Fix some compiler warnings
2010-01-03 22:37:14 +00:00
Tim Angus
4056c90358
* Rate limit getstatus and rcon connectionless requests
2010-01-03 22:12:20 +00:00
Thilo Schulz
5fec4498f1
Add received rcon command string to server log, see https://bugzilla.icculus.org/show_bug.cgi?id=3748
2009-09-17 16:54:01 +00:00
Thilo Schulz
948f7a6015
- fix typo in previous commit to net_ip.c
...
- Make servers send heartbeats to master servers in ipv4 as well as ipv6 if master server has both protocols
2009-06-23 00:59:47 +00:00
Thilo Schulz
18cc7c1ed3
Make servers echo challenge codes from client getchallenge commands
2009-06-01 05:28:47 +00:00
Thilo Schulz
50ca55702f
- Introduce new NET_CompareBaseAdrMask for easy comparison of ip address ranges
...
- Overhaul of the new banning functions:
* basic check for redundant bans/exceptions
* introduction of sv_banFile to make it possible to configure the file where to read bans and exceptions from
* bans can now be deleted by giving address ranges, too.
2009-05-24 16:58:08 +00:00
Ludwig Nussel
eff87e9524
SV_ReplacePendingServerCommands is unused
2009-05-08 09:48:49 +00:00
Ludwig Nussel
bbd9f02d08
mark functions static ( #4010 )
2009-05-08 09:48:45 +00:00
Ludwig Nussel
8536a42dd5
gamename is already a cvar with CVAR_SERVERINFO
...
do not set gamename to different values in getstatus and getinfo responses
2009-01-11 18:42:50 +00:00
Tim Angus
47ee177430
* Supply specific identifier to the master server (Mathieu Olivier)
2008-09-15 20:24:04 +00:00
Thilo Schulz
9dd887b2ea
- Add scope id to ipv6 addresses.
...
- Clean up a few other ipv6 issues like removing the seemingly unnecessary MacOSX workaround.
- Bring ipv6 master server up to speed for dpmaster
Thanks go out to Mathieu Olivier for this work.
2008-08-31 19:54:29 +00:00
Tim Angus
de8131938c
* Fix server info string voip setting
2008-07-08 16:23:06 +00:00
Tim Angus
37d664d4b2
* Rename voip cvar to cl_voip
...
* 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
2008-07-07 22:31:39 +00:00
Tim Angus
6b572920a9
* Remove silly range check on sv_voip during initialisation
...
* Changed dedicated binary dedicated cvar to CVAR_INIT and remove runtime check
2008-07-06 01:35:01 +00:00
Tim Angus
7fe9a02d91
* In the dedicated binary, prevent setting dedicated cvar to 0
2008-07-06 01:00:00 +00:00
Ryan C. Gordon
1e4fa5a54c
Treat sv_voip cvar as a version number (0 == off, 1 == version 1 protocol).
...
Don't publish it to server's info string if set to zero.
2008-06-02 19:41:09 +00:00
Ryan C. Gordon
12326a9eac
Initial patch for in-game VoIP support!
2008-06-01 07:51:23 +00:00
Thilo Schulz
f8d8a1c2f7
- fix a potential file descriptor leak in server side of pak downloading
...
- add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods.
2008-04-12 17:00:18 +00:00
Thilo Schulz
9a8cc99a93
- Revamp in-game server browser: you can now scan for games on multiple master servers, while retaining compatibility with old QVMs.
...
- Make Master server reporting/server queries ipv6 capable.
2008-04-11 18:39:03 +00:00
Thilo Schulz
b3822d03e2
Include #ifdef to make it easier to create a stand-alone binary.
2008-04-09 23:43:30 +00:00
Thilo Schulz
5d63a38ad9
Basic IPv6 support. Some inspiration from the patches by Lubos Dolezel and JF Tremblay at https://bugzilla.icculus.org/show_bug.cgi?id=2355 .
2008-04-04 23:22:22 +00:00
Tony J. White =
e46fe24426
* rewrite of the win32 dedicated console:
...
1) NET_Sleep() no longer watches for input, Sys_Sleep() added for waiting
on input.
2) Added "CtrlHandler" for trapping Ctrl-C and other quit methods not
handled by signals on windows
3) Added history support
4) Added tab completion
5) Removed automatic cursor/scroll adjustment (too problematic)
6) Enable mousewheel scrolling
7) Stop using the InputBuffer for editing
This seems to work pretty well now, but I jumped the gun on a previous
commit message by saying you can scroll now without locking up your server.
That was only true up until the point that a server tried to print to
the console, at that point it will hang until you release the scroll bar :(
It may be possible to get around this by using a seperate thread for
console output, but that's a whole new can of worms.
2007-09-15 02:22:58 +00:00
Tim Angus
672cfbf16f
* Merge unified-sdl to trunk
...
* Bump Q3_VERSION to 1.35
2007-09-05 18:17:46 +00:00
Tony J. White =
7d13d6cd3b
* (bug 3066) rcon rate-limiting was not compatible with the eventual
...
integer overflow in Com_Milliseconds() (R1CH)
2007-05-10 01:39:58 +00:00
Tony J. White =
189e8b33f3
* (bug 2784) help to prevent reliable command overflow in cases when a slow
...
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.
2006-10-13 19:44:52 +00:00
Thilo Schulz
bea6fcff13
Correctly handle 0 timescale
2006-08-26 12:43:38 +00:00
Thilo Schulz
fb18a4b2e4
- compensate sv_fps for timescale value.
...
- Add a non-dirty-hack fix for client hanging when unpausing a game.
2006-08-26 01:45:27 +00:00
Thilo Schulz
5e88acf217
Fix 100% CPU usage on idle dedicated servers.
2006-08-18 01:50:51 +00:00
Tim Angus
7d657ba62f
* sv_minRate (from R1CH)
...
* [cl|sv]_packetdelay (from tjw)
2006-06-17 19:19:34 +00:00
Tim Angus
d475dfef97
* Yet another tweak to the long server uptime bug fix
2006-04-28 17:31:02 +00:00
Tim Angus
131fb9933f
* Fix to bug involving the port value of master server heartbeats (from Thilo
...
Schulz)
2006-04-14 20:28:28 +00:00
Tim Angus
4ec0c94828
* Displace the '\n's passed to SV_Shutdown
2006-02-28 23:01:23 +00:00
Tim Angus
d5509dcd35
* Fix to a bug where servers with long uptimes (~27 days) would consume 100%
...
CPU if the running game did not set the nextmap cvar. This patch instead uses
the mapname server cvar, which is guaranteed to be defined.
2006-02-23 23:10:54 +00:00
Tim Angus
05e8ab9538
* Added STATUS
...
* 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...
2005-10-29 01:53:09 +00:00
Tim Angus
33a48a0336
* Fix to multiple buffer overflow bugs in CL_Rcon_f
...
* Fix to COM_ParseExt 1 byte overwrite bug
* Fixed some missing calls to trap_FS_FCloseFile
* Fixed q3msgboom and q3infoboom bugs
* Fixed some qboolean type confusion
* Above fixes from http://www.quakesrc.org/forums/viewtopic.php?t=5374
2005-09-19 17:45:29 +00:00
Zachary Slater
4bee7b4134
Patch from Tim Angus, to fix a longstanding bug
...
in the server, wherein running the server for
more than 24 hours would cause the game to
exhibit weirdness as described here:
http://forums.wireheadstudios.org/index.php?act=ST&f=11&t=2749
That page would also indicate that more work
needs to be done if the map isn't going to change
for more than 24 hours.
2005-09-17 01:36:38 +00:00
Zachary Slater
01da6d757b
https://bugzilla.icculus.org/show_bug.cgi?id=2356
...
Remotely exploitable Infostring Crash
2005-09-01 02:13:47 +00:00
Zachary Slater
06c73f5e59
First diff from Andreas Schneider:
...
here are gcc4 signedness fixes for latest svn :)
2005-08-31 18:00:00 +00:00
Ludwig Nussel
5ae70d54b0
remove svn:executable property
2005-08-28 17:54:51 +00:00
Zachary Slater
59cce31e75
newlines fixed
2005-08-26 17:39:27 +00:00