Oracle Solaris Networking (MOSC)

MOSC Banner

Rate-Limiting UDP packets to STUN (coTURN) server

Dear all,

we are running Solaris 11.4 SRU 59 on Intel architecture. We run the most recent STUN/TURN server coTURN [1] version within a Solaris zone. STUN is by its nature susceptible to UDP reflection/amplification attacks. One can spoof the source IP address and send STUN requests to our server with a data rate of x bytes/second. Our server replies to the spoofed IP address with 2x to 5x bytes/second. The size of the amplification factor depends on the configuration of coTURN. The more STUN features I enable, the higher the number gets.

What I intend to do to mitigate such an attack is to rate-limit the number of packets I process for a given (maybe spoofed) source IP address. When a (maybe spoofed) source sends more packets per time window than a certain limit allows, I would like to drop the excess packets before they reach coTURN - or even ban an IP address for a certain amount of time.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center