summaryrefslogtreecommitdiff
path: root/src/server
AgeCommit message (Collapse)Author
2016-04-07sayto cmd with player name completionPan7
2015-03-17Fix case where interval overflows (thanks jackeri)Tim Angus
[17:58] <Jacker> hey, you might be interested in checking out this https://github.com/etlegacy/etlegacy/commit/4da5a397b5994bfe5fddb9dad35bef5ddbea64c9#diff-acaedc9d8b492f9af8966ae68597392cR615 [17:58] <Jacker> its related to the ddos protection code you wrote [17:59] <Jacker> in continuation to: ab9b08e5845b0ff19814c996ad0cfb1dccab2790 [17:59] <Jacker> in a case if the client has in the past connected to the server days/weeks earlier and time wraps the client wont be able to connect [18:00] <Jacker> since in that case if the bucket of that clients ip still exists it wont get checked correctly
2014-06-17Fix sending pk3 download error messages to clientsZack Middleton
Disabled in e52a492f615e1245d6d22a84d2cc100c6d2f9f88.
2014-06-17restart the renderer after the hunk mark has been setAnthony Pesch
2014-06-17Remove extra client_t::csUpdated[] slotZack Middleton
sv.configstrings[] is limited to 0 to MAX_CONFIGSTRINGS-1, make client_t::csUpdated[] the same.
2014-06-17Remove unused models from server_tZack Middleton
2014-06-17Rate limit getchallengeTim Angus
2013-05-31reduce the amount of compiler warnings for variable shadowing/dev/humancontroller
2013-02-16Update copyright noticesTim Angus
2013-02-16Unify/cleanup max snapshot entities on client and serverZack Middleton
2013-01-15Remove a bunch of LEGACY_PROTOCOL blocksTim Angus
2013-01-12Fix clients being able to reset their player state and respawn using donedl.Zack Middleton
2013-01-12Fix server ignoring client move commands if voip data is included.Zack Middleton
2013-01-12Add length check here as well, thanks EnsiformThilo Schulz
2013-01-12Change more operator commands to require sv_running to be usable. Patch by ↵Zack Middleton
Ensiform.
2013-01-12prevent using getinfo as an amplifier for DDOS attacks (#5678). Patch by DevHCThilo Schulz
2013-01-12Fixed comment in server.h (ent->v.absmax to ent->r.absmax).Zack Middleton
2013-01-12fix some typosZack Middleton
From /dev/humancontroller.
2013-01-12add a missing '\n', remove some unwanted onesZack Middleton
From /dev/humancontroller.
2013-01-12Add the new ioquake3 master server as standard for sv_master2Thilo Schulz
2013-01-10<Ensiform> Thilo: http://pastebin.com/2UUmSCQK fixes point contents on the ↵Thilo Schulz
server side related to the cg fix with moving water. Dunno why s.origin and s.angles was ever used, the rest of sv_world.c always uses r.currentOrigin and r.currentAngles [18:58:10] <Thilo> mhm [18:58:15] <Thilo> Ensiform: it doesnt break anything? [18:59:20] <Ensiform> nah
2013-01-10Allow VM_Restart to load unpure qagame.qvm so that local server won't crash ↵Thilo Schulz
after map_restart if server operator has qagame.qvm residing outside pak file (#5196) Thanks to "rg3" for providing a shell account
2013-01-10Require gamename if not supporting legacy protocol.Zack Middleton
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