Only one IP but as I said, its not completely excluded that there wont be more, or this one is changed, I was bored and thought to make this prettier and more future proof, but I guess I am overcomplicating it.
I thought it would be easy to just load a txt file with whitelisted IP/s at server start something like TS3 does, anyways thanks for your time and suggestions.

I have one more question, my server was once ddosed with about 150Kpps small useless NTP packets, and the server would respond to them with ffffdisconnect at a 42Kpps rate with about the same bandwidth, can anything be done with libcod, why is the server responding to that in the first place