mfontanini / libtins

High-level, multiplatform C++ network packet sniffing and crafting library.
http://libtins.github.io/
BSD 2-Clause "Simplified" License
1.91k stars 375 forks source link

Easy way to filter packets based on application. #366

Closed Rietty closed 1 year ago

Rietty commented 5 years ago

Hi, so I was trying to read the documentation about Network Interfaces and this example with streams https://github.com/mfontanini/libtins/blob/master/examples/stream_dump.cpp and I am trying to figure out if it is possible to filter based on what application is sending/receiving the packets?

It would be helpful to get a bit of documentation or some insight/pointer to where to look/how to begin if possible.

Thanks!