Dennis Felsing
68e4eb21d5
Add modernize-use-bool-literals
2022-02-15 00:12:52 +01:00
heinrich5991
58533cddef
Fix string functions not to truncate in the middle of a UTF-8 character
...
This makes `str_utf8_copy` obsolete.
2021-12-20 02:34:02 +01:00
Jupeyy
a663799188
uint64 -> uint64_t, int64 -> int64_t
2021-06-24 17:19:17 +02:00
def
d99f1b9340
Allow utf8 ban reasons ( fixes #3329 )
2020-11-18 14:42:12 +01:00
heinrich5991
7663641ed2
Fix some variable name's style
2020-11-08 17:15:48 +01:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
def
b7da058b76
Remove the rudimentary fuzzing since no one uses it anyway
2020-09-05 23:50:31 +02:00
Learath
28905c4659
Disable timeout for 0.7 clients
2020-06-20 19:52:23 +03:00
Tim Schumacher
442148a194
Begin work on 0.7 support
2020-06-19 20:27:15 +03:00
Learath
5b95eddca1
DRY with net_addr_comp_noport
2018-10-08 21:04:04 +03:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
yangfl
1620fc9b0f
Fix typo
2018-02-07 16:10:40 +08:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
Tim Schumacher
46b75886c9
Don't send disconnect on timeout
2016-07-08 17:00:47 +02:00
east
1cbaa0c4ef
copy resendbuffer on timeout protection
2016-05-07 19:28:16 +02:00
heinrich5991
19e9f4e2fb
Only clear the error string if none is given
2015-09-11 11:08:35 +01:00
oy
e91d26b8ac
force vital check on essential cl/srv messages and added additional sequence checking
2015-09-01 13:50:45 +02:00
east
d1c0551546
Don't reset timeout state on rejoin
2015-08-28 12:23:44 +02:00
east
c1cbfcacf4
correctly reset network connection
2015-08-23 18:12:13 +02:00
east
bb58264333
don't send chunks to network connections in timeout state
2015-08-23 12:31:09 +02:00
east
051ec30832
vanilla handshake: ignore unknown sequence
2015-08-14 18:36:13 +02:00
east
a2174bf179
anti spoof for token protocol added
2015-08-14 18:30:12 +02:00
def
5dd83b58ff
Fix security token conversion in a platform independent way
2015-04-18 23:54:19 +02:00
def
0ffa79671b
Get rid of all GCC warnings
2015-04-18 21:33:51 +02:00
eeeee
0dc332c931
fix timeout protection with tokens
...
timeout protection code now transfers the token properly
2015-03-05 22:33:01 -08:00
eeeee
85acfd9d77
added security token to protocol
...
to prevent packet injection from spoofed source ips
2015-03-05 11:07:03 -08:00
def
366f0281ed
Fuzzing options
2014-12-06 16:17:04 +01:00
def
db4d472443
Don't copy string when it's in the right position already
2014-12-02 12:35:28 +01:00
def
5b72302672
Instead of banning players for reconnecting too often, make them wait 3 seconds ( fixes #27 )
2014-09-09 23:27:28 +02:00
def
c9d70ed81b
Try to fix crash related to bad connection and reconnecting
2014-08-18 23:50:24 +02:00
def
ce0eb1a2c2
try fix
2014-08-17 04:20:36 +02:00
def
91bafa82e8
oops
2014-08-16 15:51:25 +02:00
def
a3523a1fde
fix some timeout situation setting (thanks east)
2014-08-16 15:49:45 +02:00
def
2bdc6a1f4d
Some more tries to fix timeout stuff
2014-08-16 15:43:49 +02:00
def
a2195cebb0
oops
2014-08-15 17:49:49 +02:00
def
07862b84c0
Fix: reset timeout situation
2014-08-15 17:47:38 +02:00
def
e90d84b89f
Fix the wrong "Timeout Protection over" error
2014-08-11 22:22:01 +02:00
def
85b7475ae4
remove debug output
2014-08-09 18:13:21 +02:00
def
a39c46ea1d
Only extend timeout when code was entered
2014-08-09 18:08:00 +02:00
def
f04537dee5
Working great
2014-08-09 17:53:24 +02:00
def
f859f350ca
Kind of working with timeout code
2014-08-09 17:25:29 +02:00
def
459c25c656
Some renames
2014-08-09 16:30:12 +02:00
def
a8a247116d
Only on real timeouts
2014-08-09 15:37:10 +02:00
def
127dc1c196
Try timeout
2014-07-28 20:44:17 +02:00
def
3eaad43b6b
Merge remote-tracking branch 'upstream-teeworlds/0.6' into DDRace
...
Conflicts:
bam.lua
data/languages/index.txt
src/engine/server/server.cpp
src/engine/shared/network_server.cpp
src/game/client/components/chat.cpp
src/game/client/components/menus_settings.cpp
src/game/server/entities/character.cpp
src/game/server/gamecontext.cpp
src/game/version.h
2013-12-26 18:02:22 +01:00
def
e871fbbaad
Try to prevent network spamming issues
2013-07-30 22:48:31 +02:00
oy
118d2ac837
show reason for closing a connection within a debug message. Closes #1061
2013-02-24 18:31:30 +01:00
oy
521eaf038b
fixed missing messages when net connection closes
2013-02-24 17:41:39 +01:00
oy
7be3c2e634
fixed resetting the error string of a net connection. Closes #954
2013-02-24 17:35:08 +01:00
oy
f1fc3337f5
prevent that the server uses close messages from clients. Closes #950
2013-02-24 17:32:48 +01:00