Skip to content

hobby-dev/udm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is prototype of UDP filtering proxy. It's purpose is DDoS mitigation for UDP application servers.

Usage

  1. Put your UDP application servers inside secure network
  2. Place (cheap) boxes with udm_proxy instances facing clients (world)
  3. Each udm_proxy instance serves only one UDP application server
  4. Use more instances to better utilize CPU / network
  5. configure your system limits properly (each client consumes 1 socket FD + some memory)

Implementation

  • 2 threads: from world -> server, from server -> world

Read more

Prerequisites

  • Modern Linux kernel
  • CMake 3.5
  • clang / gcc (edit build.sh to select gcc)
  • libevent
  • libavl
  • libenet (for /test client & server)

Troubleshooting

If you have troubles linking, try updating your ld path with $sudo ldconfig

License

GPL Version 3

Releases

No releases published

Packages

No packages published