Filtering Application protocols

Mar 12, 2013 at 5:02 PM
I want to do something like the following:
using (BerkeleyPacketFilter filter = communicator.CreateFilter("ip and tcp"))
    // Set the filter
However I want to apply my own filter for DIS over UDP.
Now I could just read in all UDP packets and test if the payload are of the DIS type, but I want to know if this is possible at a lower level?
Mar 22, 2013 at 9:45 AM
Hi CrazySi,

I don't know DIS protocol, but in general you can do many custom filtering with BPF.
Just search for BPF examples online and I'm sure you'll find more information.

I hope this helps,