Skip to content

fiddyschmitt/udp_dedupe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDP Dedupe

This program inspects network packets and drops any which are duplicates.

Download

Download from the releases section.

Usage

Edit settings.json. The Filter specifies what packets to inspect.


Example 1 - Inspect all UDP packets

{
  "Checks": [
    {
      "Filter": "udp",
      "TimeWindowInMilliseconds": 5000
    }
  ]
}

Example 2 - Inspect incoming IPV4 UDP packets with destination port 15000

{
  "Checks": [
    {
      "Filter": "inbound && !ipv6 && udp && udp.DstPort == 15000",
      "TimeWindowInMilliseconds": 5000
    }
  ]
}

More info about the WinDivert Filter Language here.


Run the program

udp_dedupe.exe

How does it work?

The program uses the WinDivert library to capture the packets specified in the filter. If it sees the same payload in a certain window of time, it will drop the packet.