Why does my client send like 1000 null bytes in the beginning of the connection to my local server? Seems like a waste of bandwith
13:23
or am i reading that wrong?
13:26
yea no i confirmed with tcpdump that looks like waste
13:27
13:27
the first three packets of client and server. It starts with a bunch of nullbytes from the client with a smol response from the server and yet another big chunk of nullbytes from the client. Whats the use of that?
ChillerDragon: I don't know if all the null bytes are intended, but some of them are for amplification protection
13:37
the problem with initial UDP packets is the potential for amplification attacks using spoofed attacks
13:37
since the server only responds to large packets (I think >512 bytes) with small packets (<50 bytes), the amplification factor is like 1/10, so no attacker is going to use that for attacking other servers