Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    Far from simple as a rule, have a look at the Wireshark codebase. Commented Mar 23, 2011 at 0:55
  • Your best bet of achieving this would be C++/CLI or C# Commented Mar 23, 2011 at 0:55
  • @Orbling: Thanks for the pointer, but my understanding is that Wireshark is based on WinPCap which is a sniffer, not a filter (ie, it cannot shape traffic, only collect statistics and log traffic). I will edit my question to make it clearer what my needs are. Commented Mar 23, 2011 at 1:04
  • 1
    In which case, I would suggest having a look at the PeerBlock code. Commented Mar 23, 2011 at 1:08