DEV Community

Grace Mihiral
Grace Mihiral

Posted on

Day 3: Connecting an interface with Wireshark

Welcome back to another day where we did not hit 167 lloc but we came close. Regardless of the lines of code today (I did not check what I started at today) I did want to share a pretty cool milestone.

Today I worked on getting a monitoring interface to display what my switch was forwarding on Wireshark. I'll go more in depth into it cause I thought it was pretty cool to see everything connect so easily but its almost midnight so another day!
After that though I modified the Monitor class I made to allow for the filtering and sampling of packets so not every forwarded packet needs to wait on an additional syscall to sent the packet out of a second interface. Now that that's working I really should write some testcases but we'll see if that happens.

Thanks for reading! >:D

Top comments (0)