summaryrefslogtreecommitdiff
path: root/docs/Tox_middle_level_network_protocol.txt
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-06-04 13:28:56 -0400
committerirungentoo <irungentoo@gmail.com>2014-06-04 13:28:56 -0400
commitb44b58cae41ba8da806dc0b6149ab21da252e884 (patch)
treecd0b3e2a88095f5f1be085b9c856c8bd6bdec472 /docs/Tox_middle_level_network_protocol.txt
parentde5a33e8520b99775caee8d4a304703a50ef862e (diff)
Added data packet padding to toxcore.
Data sent as lossless or lossy is now padded with: ((MAX_CRYPTO_DATA_SIZE - data_length) % CRYPTO_MAX_PADDING) bytes in order to reduce the possibility of length related attacks. I set CRYPTO_MAX_PADDING to 8 but it can be changed anytime without breaking network compatibility between tox cores.
Diffstat (limited to 'docs/Tox_middle_level_network_protocol.txt')
0 files changed, 0 insertions, 0 deletions