naggie / sd01

Minimal service discovery with strict implementation. You should probably use mDNS.
MIT License
6 stars 2 forks source link

Mitigation of DoS attack #19

Open naggie opened 5 years ago

naggie commented 5 years ago

In theory 2^32 IP packets could be spoofed and exhaust the memory of the discoverer. This could be mitigated by:

  1. Filtering private IP ranges only
  2. GC of expired services

Risk is low, as is the priority.