Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2020-02-10 00:00:00Z and 2020-02-11 00:00:00Z
Avatar
Send custom messages to people when they join the server: https://github.com/d3fault/ddnet/tree/onjoin-messages --- rushed as fuck sloppy code dgaf
DDraceNetwork, a mod of Teeworlds. Contribute to d3fault/ddnet development by creating an account on GitHub.
Avatar
pro coder
Avatar
wow ur ugly
Avatar
cfee5e6 Update 2020 server costs - def-
Avatar
'r_anal_get_function_at’ was not declared in this scope Someone wasn't thinking while naming their functions
Avatar
radare2 is full of that
Avatar
did you see r2ghidra?
18:04
radare2 ghidra and cutter make such a nice combo
Avatar
r2ghidra? no
18:06
I heard that ghidra is the much better disassembler
18:06
what's r2ghidra? some sort of brdige between r2 and ghidra?
Avatar
It allows you to use ghidras decompiler in r2, so yes
Avatar
uh nice
Avatar
I'm really loving r2 and cutter
18:12
It might not be as fully featured as some of the other tools but it's very capable
Avatar
I like that its interface is much slimmer than all these other tools'
Avatar
ChillerDragon 2020-02-10 18:32:40Z
what r u guys using these tools for?
Avatar
reverse engineering
Avatar
ChillerDragon 2020-02-10 18:44:26Z
hm what stuff do you reverse engineere?
18:45
Uhm im not sure if i should open a issue but there was something wrong with the server for sure
18:49
there were many Error sending data disconnects.
18:49
it is a known issue for sending votes but there were no vote changes so its something new
Avatar
aaaaaaa
19:23
its the votes
19:23
yea
19:24
if players have bad connection packets often get dropped
19:24
but they are vital
19:24
so they get resent
19:24
and that overloading the buffer
Avatar
ChillerDragon 2020-02-10 19:27:59Z
no its not the votes
19:35
thats how votes would look like in the logs
Avatar
@ChillerDragon I like looking at teeworlds bots
Avatar
ChillerDragon 2020-02-10 19:51:14Z
oh nice
19:51
sounds fun
19:51
do you have a specific process that you use? Do you diff against the unmodified base src?
Avatar
I like to work backwards from strings
20:16
e.g. I know --silent is a string somewhere in the tw code, and what references that is the main function
Avatar
how to anti-re-protect against @Learath2 in 5 easy steps
Avatar
If you remove all the strings, sure 😛
20:20
Should store all strings encrypted, that should slow me down
20:21
To be even more annoying, encrypt them all with different keys
20:21
r2ghidra is sadly not good enough yet 😦
Avatar
in what way?
20:23
have you tried using ghidra's SLEIGH before btw?
Avatar
haven't really used ghidra yet
20:24
r2ghidra is having trouble mapping the types between ghidras decompiler and r2
Avatar
ChillerDragon 2020-02-10 20:39:35Z
@heinrich5991 and what do you use these tools for or do you keep that secret o.O?
20:40
@Learath2 so it’s mostly Windows executables that you look at? Any easy/interesting bots for me to start? I am kinda lazy but I would love to learn it a bit. Such a useful and interesting skill.
Avatar
tried looking at some old games, nowadays doing ctf challenges, mostly
20:42
also looked at teeworlds servers occasionally
20:44
try some easy challenges first, maybe? I don't know how to start
Avatar
@ChillerDragon windows, linux, doesn't really matter much
Avatar
also wanted to reverse-engineer the aoc "binaries" with ghidra
20:44
but didn't get around to that yet
Avatar
You can grab crackme's from a lot of places they come in a lot of different difficulties
20:46
There was that one teeworlds server with a hidden backdoor rcon password, you can try that
Avatar
@ChillerDragon thats how votes look like in the log when they got added, yes
20:47
Not when they get sent to the client
20:48
it's also ironic that the NSA is giving a talk at blackhat 😛
Avatar
what's that?
20:49
the talk
Avatar
Introduction to ghidra and the motivation behind how/why they made it
Avatar
ChillerDragon 2020-02-10 21:13:07Z
There was that one teeworlds server with a hidden backdoor rcon password, you can try that
@Learath2 lol like a teeworlds ctf? Where?
21:14
@fokkonaut aren’t they sent to the client after the server type changed and thus they get added?
21:14
they get added (loaded from a config)
21:14
and then sent to the clienzs
Avatar
ChillerDragon 2020-02-10 21:14:37Z
Yes
Avatar
but also sent on connect
Avatar
ChillerDragon 2020-02-10 21:14:48Z
So the Crash I found was not on connect or vote
Avatar
it can also happen after connect ofc
Avatar
ChillerDragon 2020-02-10 21:15:12Z
When?
Avatar
bad Internet -> more resends
Avatar
ChillerDragon 2020-02-10 21:15:20Z
Hm
Avatar
because more drop
Avatar
ChillerDragon 2020-02-10 21:15:43Z
It was a bunch of people
21:15
well
21:15
that doesnt matter
Avatar
ChillerDragon 2020-02-10 21:16:20Z
So you assume it’s the known Vize issue?
Avatar
when the buffer is full, which can happen with thousands of votes + resends etc, then also other people receiving packets like emote can drop
Avatar
ChillerDragon 2020-02-10 21:16:37Z
I see
21:16
Do votes get send multiple times?
Avatar
(I guess, this is afaik about the networking)
Avatar
ChillerDragon 2020-02-10 21:17:01Z
I thought only once
Avatar
no, but they get resend if failed to send (vital)
21:17
like any vital packet
Avatar
ChillerDragon 2020-02-10 21:17:32Z
Idk anything about this stuff
21:17
So vital packets get resend until they get a ok response?
Avatar
ChillerDragon 2020-02-10 21:18:42Z
That would mean a bunch of people play a while and all the time the votes failed to send and then something happend that caused to much traffic and all those players get a disconnect?
Avatar
everybody can in this case
21:19
not only those who receive the packet i think
21:19
because there is traffic at all time, to every client
21:20
This is a problem for rainbow in 0.7, which I couldnt find a solution for yet
21:20
Because rainbow in 0.7 can not be handled in the snap anymore, instead is sent as a net object
21:20
(skin change)
21:21
increasing the buffer, which i did, is of course a solution, but it only increases the time until the buffer is full, so disconnects still happen, but a bit later mostly
21:22
i had a player with 200+ ping on my server, and gave rainbow to myself only. This caused multiple people to disconnect (error sending data), not only him. But when there were only people with ~40 ping, it was possible to give rainbow to multiple people, as they do not have to get resent
21:23
-> not filling the buffer
Avatar
ChillerDragon 2020-02-10 21:23:31Z
Ah interesting
21:23
Ok really all seems to be one issue
21:24
That’s why I asked before opening a GitHub issue 🙂 thanks for explaining and sharing your experience @fokkonaut
Exported 108 message(s)