DDOS mitigation in default net/http

I’ve tried some type of ddos attack on my Golang web applications!

what type of problems I’ve faced!

Error: too many open files.
Error: Accept error.
Error: too many open connection.

What are things I am looking for:

  • I have too close every listener for a single time, and after a few time i have to listen again, without restarting the program

Any way to get it?

Oldish, but relevant: https://blog.gopheracademy.com/advent-2016/exposing-go-on-the-internet/

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.