Dmitry Novikov
0d1bdbab67
Implemented reduction of impact caused by zip-bomb exploit ( #994 )
...
* Implemented reduction of impact caused by zip-bomb exploit
Added network security CVars:
- sv_net_incoming_decompression (0-1) Enables or disables incoming data decompression
- sv_net_incoming_decompression_max_ratio (0.0 - 100.0) Sets max allowed ratio between compressed and decompressed data. (A ratio close to 90 indicates large uncompressed data with low entropy)
- sv_net_incoming_decompression_max_size (16-65536) Adjusts max size of output data after decompression.
Added CVar sv_net_incoming_decompression_punish for ban
* Fix missing reg CVar sv_net_incoming_decompression_punish
2024-04-14 01:04:03 +07:00
s1lentq
61ee4f9269
Netchan_CreateFileFragments: Fixed a hang connection on verifying resource stage, when precached file exists but is absolutely empty
2024-04-10 12:30:59 +07:00
Sergey Shorokhov
b870de768b
fix: README badges
...
[skip ci]
2024-04-06 22:09:47 +03:00
s1lentq
3c282b435c
Draw_ValidateCustomLogo: Fixed incorrect offset to palette size
2024-03-26 20:41:53 +07:00
s1lentq
ec47e4d978
Do not propagate custom logos according to sv_send_logos cvar
2024-03-18 22:17:23 +07:00
s1lentq
462fe55fb8
SV_CreateCustomizationList: spew logs in only dev mode
2024-03-18 22:12:01 +07:00
s1lentq
f26ad71aba
Do not send customizations list on duplicate or missing resource
2024-03-18 22:09:18 +07:00
s1lentq
59ed3f6867
SV_ParseResourceList: Do not uploading according to sv_allowupload cvar
2024-03-18 22:04:02 +07:00
s1lentq
516bb93627
HPAK_ResourceForHash: Remove message with missing custom.hpk
2024-03-18 21:59:18 +07:00
s1lentq
174414db81
Draw_ValidateCustomLogo: Minor refactoring & cleanup
2024-03-18 21:57:57 +07:00
anzz1
05f4a279f9
Add steamcmd instructions to readme ( #1021 )
2024-03-02 22:24:04 +07:00
s1lentq
58391b6ee5
SV_WriteEntitiesToClient: Reset movetype if the aiment index is invalid
2024-02-20 03:18:36 +07:00
s1lentq
498d7e0d18
Fix crash when the entity with aiment doesn't have a model
2024-02-14 19:23:16 +07:00
s1lentq
a7b60451f3
TEX_InitFromWad: Fix reversing mistake (Don't add file handle before check)
2024-01-31 15:41:00 +07:00
s1lentq
63fde229c9
MSG_WriteBitAngle: Cap the precision check from 32 to 22 to avoid overflow issues when representing angles with more than 22 bits because the multiply by 'shift' may result in overflow
2024-01-26 07:50:09 +07:00
s1lentq
9b0dbe8dd2
Host_Status_f: Fixed incorrect player index to output
2024-01-25 18:36:03 +07:00
s1lentq
41c5186b2c
RCON: Fixes redirect print and minor refactoring
2024-01-22 05:48:34 +07:00
s1lentq
90cb97ddae
Update README.md
2024-01-18 21:50:33 +07:00
s1lentq
76cbd2c140
Implemented optional CVar sv_tags for sets a string defining the "gametags" for this server to allows users/scripts to filter in the matchmaking/server-browser interfaces based on the value
2024-01-18 21:46:25 +07:00
s1lentq
f29d6c5769
Update README.md
2024-01-18 00:56:32 +07:00
s1lentq
355172d6db
Fix unit-test
2024-01-18 00:46:45 +07:00
s1lentq
62407e0dd6
Implement commands rcon_adduser,rcon_deluser,rcon_users to allow use RCON only by known user IPs ( Resolves #796 )
...
SV_Rcon: Minor refactoring
2024-01-18 00:40:16 +07:00
s1lentq
1d6c6826db
fix build
2024-01-14 00:24:33 +07:00
s1lentq
5002ff9abe
Prevent crash "Cache_UnlinkLRU: NULL link" on client-side if aiment with sprite model will be to render as a studio model
2024-01-14 00:18:08 +07:00
s1lentq
32857e7785
Fix no exec config file when exceed limit text buffer
2024-01-12 22:32:15 +07:00
s1lentq
93f5775ac2
Reworked AlertMessage
2023-12-14 07:40:45 +07:00
s1lentq
0af97d98bb
Add reg cvar r_cachestudio
2023-11-28 18:21:53 +07:00
s1lentq
ffb65795dd
Update workflows/build.yml
...
Fixes #1004
2023-11-22 23:41:21 +07:00
Alibek Omarov
3f19bc1d3e
engine: add sv_allow_autoaim cvar for HL25 DLL compatibility ( #1000 )
...
add sv_allow_autoaim cvar for HL25 DLL compatibility
2023-11-21 08:35:36 +07:00
s1lentq
7fcec97af4
Add support cheats command god,notarget,noclip
2023-10-09 01:57:11 +07:00
Hamdi
b7f6eb8023
Minor refactor ( add BoundsIntersect function ) ( #986 )
2023-09-28 00:41:37 +07:00
Francisco Muñoz
5ec8c29185
Update world.cpp ( #985 )
2023-09-25 03:40:50 +07:00
s1lentq
6f031901cf
Added cvarhook from latest HLDS build
...
Making mapcyclefile/sv_cheats work in realtime
Resolve #868
2023-09-25 02:08:04 +07:00
s1lentq
de3679f039
Host_Motd_f: Fixed viewing motd when motdfile is not specified
2023-09-20 21:00:44 +07:00
s1lentq
2ba27d409c
Fixed reversing mistake, missing checking string for null
2023-09-03 15:08:30 +07:00
Sergey Shorokhov
f955b07b69
Revert "change destinition folder for linux build ( #842 )" ( #977 )
...
This reverts commit 9508c8376b
.
2023-07-03 22:02:28 +03:00
s1lentq
918612fa23
GetBonePosition: Added bone index bounds check
2023-07-04 01:39:26 +07:00
s1lentq
8841ba4aec
GetAttachment: Added attachment index bounds check
2023-07-04 01:33:41 +07:00
s1lentq
0c5ce53666
Allow the clients to connect on the server of different game Fixed #975
...
Client should be use "setinfo _gd <game>"
2023-07-02 03:47:05 +07:00
Sergey Shorokhov
a680f18ee1
SV_BuildSoundMsg: fix '\n' in args check
...
- fix #965
2023-05-08 12:24:16 +03:00
Hamdi
1796459953
Add SV_AllowPhysent hook ( #951 )
...
* Add SV_AllowPhysent hook
2023-02-11 07:03:53 +07:00
s1lentq
5e8b0ba616
Increased limit leafs MAX_MAP_LEAFS up to 32767
2022-12-07 19:17:09 +07:00
s1lentq
14b56e0514
Added more check for possible numleaf overflow
...
Minor refactoring
2022-12-07 19:15:08 +07:00
Adrian Cirstea
d6ebe82833
API
: Implement *_Precache_*
, ClientPrintf
, CheckUserInfo
and AddResource
hooks (#903 )
...
* Added SV_CheckUserInfo hook
* Implemented PF_precache_* hooks
- PF_precache_sound_I
- PF_precache_model_I
- PF_precache_generic_I
* Added EV_Precache and SV_AddResource hooks
and update API minor version
* Added SV_AddResource_internal and fixed pointers
* Added SV_AddResource_hook, fixed chain EV_Precache
* Reworked SV_AddResource for Rehlds API
* Reverted RehldsFuncs_t's SV_AddResource API
* Updated chains
* Update rehlds_api_impl.h
* Implement `SV_ClientPrintf` hook
* Changed `SV_ClientPrintf` chain type to void
* Revert `SV_ClientPrintf` code refactor
* Removed `const` string type
in order to resize the string.
* Changes according to var type
* Fixing function's functionality
* Moved vars declaration after `host_client` check
* revert variable naming in SV_ClientPrintf
* `SV_ClientPrintf_internal`: more safe string copy
Co-authored-by: wopox1337 <wopox1337@ya.ru>
2022-09-19 14:20:33 +03:00
s1lentq
d76b06dcc2
Netchan_CreateFileFragments: Fixed a very old and rare bug with dlfile while downloading direct from server, when content of resource size is less than header size first fragment
2022-08-25 00:01:33 +07:00
s1lentq
e9045e3b63
Fixed: StripUnprintableWorker did not count the null terminator
2022-07-10 15:47:56 +07:00
s1lentq
be0e1c843b
Fix null or empty input string in COM_LoadFile (FS_Open with input empty string "" will succeed on some POSIX systems)
...
Resolved #919
2022-05-25 18:39:14 +07:00
s1lentq
3dc9f8c92d
Fixed typo ZONE_DYNAMIC_SIZE
2022-04-17 00:45:13 +07:00
s1lentq
815da982a0
Update workflows/build.yml Set windows job container as windows-2019 instead of windows-latest which now run on windows-2022
...
https://github.com/actions/virtual-environments/issues/4856
Fixes windows build
2022-04-10 03:46:52 +07:00
s1lentq
4e0a3f312a
Fixed case when model name is too long
...
COM_LoadFile: Increase buffer room size
Mod_LoadModel: Use safe version COM_FileBase_s
Agree on the size of loadname[] and model_t::name[] buffers
2022-04-10 03:35:08 +07:00