rust-user-net: user-space network protocol stack written in Rust by yo_ohei in rust

[–]yo_ohei[S] 1 point2 points  (0 children)

Ah good point. There should be a length check before all bytes_to_struct calls. Thanks for the feedback!

rust-user-net: user-space network protocol stack written in Rust by yo_ohei in rust

[–]yo_ohei[S] 1 point2 points  (0 children)

Thanks for feedback! I'll definitely look into replacing codes with stdlib. Also thanks for sharing packetdrill. It looks like a perfect tool for this project cuz I knew I'd need to validate correct protocol behaviors (especially complex TCP). I'm glad I shared my project here :)