summaryrefslogtreecommitdiff
path: root/src/server
AgeCommit message (Collapse)Author
2013-01-10- Switch master server protocol to dpmaster for better game separation. ↵Thilo Schulz
Based partly on patch by Zack Middleton - Get rid of ugly cvars sv_heartbeat and cl_gamename and replace with single com_gamename - Remove sv_flatline. Flatlines are ignored by dpmaster and are considered to be insecure because flatlines can be udp-spoofed.
2013-01-10Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes ↵Thilo Schulz
unused-but-set gcc warnings
2013-01-10- Apply parts of Ben Millwood's target bitfield patch (#3787) - Fix Ryan's ↵Thilo Schulz
FIXME and have voip packet buffer on the server dynamically allocated via Z_Malloc and store pointers in a circular buffer - Improve voip target parsing on top of Ben Millwood's patch - Add new "spatial" target where speaker is spatialized in 3d space and can be heard by all clients in hearing range (s_alMaxDistance) (#4467) - Decrease voip sound lengths from 240ms to 80ms per voip packet to mitigate udp packet loss and decrease latency - Protocol version incremented to 71
2013-01-10Bug 4812 - GCC __attribute__ annotations for printf, non-returning functions ↵Thilo Schulz
etc., patch by linux@youmustbejoking.demon.co.uk and Zack Middleton
2013-01-10Fix delta compression breaking due to packet queuingThilo Schulz
2013-01-10Fix legacy protocol with new packet queueingThilo Schulz
2013-01-10Fix compile for USE_VOIP=0Thilo Schulz
2013-01-10Move rate limiting / queued packet sending logic from Com_Frame() to sv_main.cThilo Schulz
2013-01-10Have server send protocol version in challengeResponse so protocol ↵Thilo Schulz
negotiation works. (Where did this one get lost?)
2013-01-10- Revert back to Z_Malloc from Hunk_FreeTempMemory introduced in r2077 as ↵Thilo Schulz
Hunk_FreeTempMemory must be freed in LIFO order (#5079) - Introduce SV_ClientFree() to prevent memory leaks r2077 was supposed to fix
2013-01-10- Forgot to mention: last rev (2077) bumped default protocol version to 70 - ↵Thilo Schulz
Fix queued packet rate control
2013-01-10- Improve snapshot rate and data rate control - Make server send packet ↵Thilo Schulz
fragments and queued packets when server is idle - Voip protocol detection is tied to com_protocol making past-end-of-message reading unncessary - Use Hunk_AllocateTempMemory() for buffering VOIP packets and fix buffering scheme that ryan hates so much - Disable packet scrambling for new protocol as it is useless now - Get rid of the old packet scrambling functions predating latest point release - Use Hunk_AllocateTempMemory() for netchan packet queue to fix memory leak when client gets disconnected with packets in the queue - Use Hunk_AllocateTempMemory() for download blocks to fix memory leak when client gets disconnected with download blocks in the queue - Fix SV_RateMsec to account for udp/udp6 packet lengths
2013-01-10- Implement dual protocol support (#4962) - Fix several UDP spoofing ↵Thilo Schulz
security issues
2013-01-10- Greatly improve UDP downloading speed for clients - Add download rate ↵Thilo Schulz
control cvar sv_dlRate - Don't send snapshots to downloading clients
2013-01-10- Add better protection against DoSing connecting users from connecting - ↵Thilo Schulz
Have Com_sprintf return string length - add STR_LEN macro for static strings
2013-01-10- Improve game_restart: * differing screen resolutions and network settings ↵Thilo Schulz
are now honoured when changing fs_game * Fix hunk memory leak on game_restart * Move cls.state and cls.servername to clc so connection state is fully preserved over game_restart * Revert back to previous fs_game after disconnecting from a server that triggered a game_restart * Fix error dialog popping up after every game_restart if an error happened previously (reported by Ensiform) - Fixed that not all commands added by CL_Init() would be removed by CL_Shutdown()
2013-01-09- Add MASM assembler files for MSVC x64 projects to support vm_x86 in x64 ↵Thilo Schulz
mode - Clean up ftol()/snapvector() mess - Make use of SSE instructions for ftol()/snapvector() if available - move ftol/snapvector pure assembler to inline assembler, this will add x86_64 and improve support for different calling conventions - Set FPU control word at program startup to get consistent behaviour on all platforms
2013-01-09Fix return values for several syscall functions, patch by Zack Middleton (#5018)Thilo Schulz
2013-01-09- Remove Q_strrchr(), replace with standard, portable strrchr() - Add ↵Thilo Schulz
strrchr() to bg_lib.c, patch by DevHC
2013-01-09Remove newlines from Com_Error message format strings, patch by DevHCThilo Schulz
2013-01-09Refactoring patch by DevHCThilo Schulz
2013-01-09- Add HOMEPATH default name define to q_shared.c, patch by uZu (#4973) - ↵Thilo Schulz
Reverted change from (#4972) and implemented the other suggestion to be consistent with cl_cgame.c and cl_ui.c
2013-01-09Do use the SV_Game{Error,Print} functions (#4972)Thilo Schulz
2013-01-09Revert protocol 69 pending further discussion (#4962)Thilo Schulz
2013-01-09- Harden the client and server protocol against UDP spoofing attacks. This ↵Thilo Schulz
will defend ioquake3 against http://aluigi.altervista.org/papers/q3noclient.txt (#3041) - Retains full compatibility to the old but unsecure protocol between clients and servers - Harden the connection process against DoS attacks, possibly connected to UDP spoofing
2013-01-03* Merge ioq3-r1946Tim Angus
2013-01-03* Merge ioq3-r1813Tim Angus
2013-01-03* Merge ioq3-r1765Tim Angus
2013-01-03* Remove unnecessary security code introduced from ioq3 mergeM. Kristall
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Remove sv_www* cvars, which were in mgdev for 1.1 client compatibility and ↵Christopher Schwarz
shouldn't be in trunk
2013-01-03* Server- and client-side tab completion for commands handled by the game moduleM. Kristall
* Admin commands are just like all other commands now: no more ! ("!map" was renamed to "changemap" since "map" already exists) * Text in the chat ui beginning with / or \ is treated as a command unless ui_chatCommands = 0 (default 1)
2013-01-03* Merge ioq3-r1680Tim Angus
2013-01-03* Merge ioq3-r1666Tim Angus
2013-01-03* Fix restart causing a crash due to the new configstrings code (kevlarman, ↵Christopher Schwarz
Rezyn)
2013-01-03* (bug #3836) Add [SV|trap]_SetConfigstringRestrictions which prevents someTim Angus
clients receiving a config string * Move BG_ClientList* to Com_ClientList* * Split CS_STAGES into CS_ALIEN_STAGES and CS_HUMAN_STAGES
2013-01-03* Remove some experimental code accidentally introduced during the mergeChristopher Schwarz
2013-01-03* Merge ioq3-r1637Tim Angus
2013-01-03* Convert master address resolution to IPv6-compatible APIBen Millwood
* MOTD parsing should use the whole string rather than just arg1
2013-01-03* Make sv_dlUrl default to use the official downloads repository (Khalsa)Christopher Schwarz
2013-01-03* Merge ioq3-r1498, by popular demandTim Angus
2013-01-03* Move some server commands into game and refactor game commandsM. Kristall
2013-01-03* (bug 3416) Overlapping strings with strcpy (thanks Jacques Boscq)M. Kristall
* (bug 3576) Allow % since people promise it is safe (/dev/humancontroller)
2013-01-03Fix server-side team voip checkBen Millwood
2013-01-03 * Experimental cg_voipTeamOnly handling on the serverBen Millwood
2013-01-03* Your wish is my command, AmanieuTim Angus
2013-01-03* Remove sv_rankings.c, which the ioq3 merge resurrectedTim Angus
* Remove NSIS reference from Makefile
2013-01-03* Merge ioq3-r1423Tim Angus
+ IPv6 + VoIP + Stereo rendering + Other minor stuff
2013-01-03* (bug 3517) connect.menu isn't properly opened on connectionTim Angus
* Partially revert 772 * Strip off trailing '\n' from server denial messages
2013-01-03Found a stray bit of tjw's patch that didn't make it in, and removed extra ↵Ben Millwood
newline on console say