Replies: 4 comments 3 replies
-
@kayoub5 IObservable looks like a great fit to simplify the capture API. It's new in 5.0? On managed pcap/pcapng reading I had seen that library a little while back. Agreed on them not solving the problems soon but these are solved in that library? Should we approach the author to join the organization and then leverage the library as a new dependency? I'd also like us to open a ticket or tickets against libpcap with at least some of the requests we have so they are aware of the need. It may be that someone would implement them but there hasn't been the time. Alternatively we could implement them but then we'd also have to wait for the release cycle to make use of them... anyway, I'd still like if you could report the gaps to them if they aren't already aware of them. We are a relatively well known user of libpcap and the devs have been responsive in the past. How to remove the dependency on PacketDotNet for that type while ensuring the type is the same across libraries? Or do we not and instead return a number that has to be cast or something? |
Beta Was this translation helpful? Give feedback.
-
Move that type to its own assembly/package, that way both would depend on a base package that is less likely/frequently to change.
Also valid. |
Beta Was this translation helpful? Give feedback.
-
sounds like a good plan, but I would prefer merging code bases instead of dependency if possible. |
Beta Was this translation helpful? Give feedback.
-
@kayoub5 would the IObservable improve the behavior seen in that recent access exception? |
Beta Was this translation helpful? Give feedback.
-
Remove CaptureDeviceList
The idea is to avoid having stateful non-thread safe singletons
The API would like something like this
Helper Functions
Use IObservable
Managed implementation of PCAP/PCAPNG reading
See example https://github.com/awalsh128/PcapngFile
Remove dependency on PacketDotNet
LinkLayers
enum feels unnecessary.Beta Was this translation helpful? Give feedback.
All reactions