loudapet / 42webserv

This project is about writing one's own HTTP server
2 stars 0 forks source link

Server: Block suspiciously large number of connections from one client #2

Closed andreaulicna closed 1 month ago

andreaulicna commented 5 months ago
loudapet commented 3 months ago

getpeername() is disallowed, we need to use accept() info instead

loudapet commented 1 month ago

Subject says nothing about this, would be too risky because we might start refusing connections even when we're not supposed to (e.g. during siege -b)