nurkiewicz / nurkiewicz.com

https://nurkiewicz.com
10 stars 6 forks source link

TCP connection #5

Open nowkarol opened 3 years ago

nowkarol commented 3 years ago

What would you like to cover?

What is TCP connection, how it is represented in OS (TCB), and especially why 3 Way Handshake is needed (I have some doubts about that), mechanisms of auto tuning connection parameters (very similar to JIT for me). How it influences application design (connection pools or higher latency).

What is not worth mentioning?

Custom UDP based protocols - separate topic, majority of apps won't use them

Any materials you recommend?

https://lcamtuf.coredump.cx/oldtcp/ http://wiki.cas.mcmaster.ca/index.php/The_Mitnick_attack Those two describe why random initial SEQ numbers are important, and I perceive exchange of random SEQ as one of main reasons for 3 Way Handshake. But I don't understand why moment of connection establishing is crucial why this attack cannot be done later? (resulting in less need for handshake) https://hpbn.co https://books.google.pl/books/about/TCP_IP_Illustrated.html?id=X-l9NX3iemAC&redir_esc=y didn't complete last two but parts I've look at was great