In this 4th episode of Fan Request Roulette, we look at the code for lwIp, a lightweight TCP/IP implementation targeting embedded devices.
Unfortunately, my audio cuts out from 1:15:25 to 1:22:35! I'll leave the segment in because you can at least see the code I'm looking at, but my audio commentary is lost. Most of that time I was trying to understand the flow of the tcp_input function around various special cases. I didn't quite figure out what all the special cases were, but the code is well-commented so perhaps my audio wasn't essential :)
Useful links:
- Code: https://git.savannah.nongnu.org/cgit/lwip.git
- Site: https://www.nongnu.org/lwip/2_1_x/index.html
- A buffer overflow CVE in lwIP allowing access to sensitive information: https://nvd.nist.gov/vuln/detail/CVE-2020-22284
Related videos:
- Let's read the Linux TCP source code: https://www.youtube.com/watch?v=8PVufdYi2zs
8 Comments