Whitelist Server
#1

I have been working on a gamemode for only a little while, but I was thinking of making it whitelist only. Meaning only players that are on the whitelist can join (opposite of a blacklist).

Are there any ways to exclude IPs from a ban range or maybe another way to initiate a whitelist?

I know I can just kick any player who doesn't join with an approved name or IP, but I don't want players who have been previously removed from the whitelist to know that the server is still functional (to reduce DDoS attempts).

If players have a non-static IP, then there can be an option on the forum for the player to update their current IP.


This thread is to speak of methods of achieving aforementioned whitelist feature.
Reply
#2

So you want them not to be able to actually see the server at all. Well, the only way I see that being possible is performing checks on the server itself. If you'd have your dedicated or even VPS, you can easily install software to help you with the standard, very powerfull Linux firewall. I personally have used CSF before (http://configserver.com/cp/csf.html) which combined with a free control panel like Webmin (http://webmin.com/) is very easy to use and configure.

It allows you to specify IP's or ranges that are banned but also to always allow or ignore a specific IP.
Reply
#3

Hmm, I hadn't considered third party sources. I'll have to look into that.
Reply
#4

You could just use iptables and do something like:
Code:
#Whitelist
-A INPUT -p all --dport 7777 -s 1.2.3.4 -j ACCEPT
-A INPUT -p all --dport 7777 -s 5.6.7.8 -j ACCEPT

# When you do DROP the server will appear completely dead
-A INPUT -p all --dport 7777 -j DROP
Reply
#5

Infact i wanted to do this so badly but am not sure how to make it.
Reply
#6

Quote:
Originally Posted by Slice
View Post
You could just use iptables and do something like:
Code:
#Whitelist
-A INPUT -p all --dport 7777 -s 1.2.3.4 -j ACCEPT
-A INPUT -p all --dport 7777 -s 5.6.7.8 -j ACCEPT

# When you do DROP the server will appear completely dead
-A INPUT -p all --dport 7777 -j DROP
That's a good solution, I suppose the whitelisting will be manual anyway for peer review of applications.
Reply
#7

Forum application, mostly.
Reply
#8

Why would you actually want this?
Reply
#9

Quote:
Originally Posted by Jochemd
View Post
Why would you actually want this?
Exclusivity, reduce hackers, trolls, and rule breakers, and allows for control of traffic.
Reply
#10

Quote:
Originally Posted by Joe Staff
View Post
Exclusivity, reduce hackers, trolls, and rule breakers, and allows for control of traffic.
At the cost of less players. (But in a good way)
Reply
#11

Quote:
Originally Posted by seanny
Посмотреть сообщение
At the cost of less players. (But in a good way)
I've ran a server before that had a minimal amount of people. Names were known and events were logged. That is a much better gaming experience than a clusterf*ck of people with too much money and people who don't know what the rules are so they just go around killing people.
Reply
#12

Southclaw? D:
Reply
#13

Quote:
Originally Posted by Joe Staff
Посмотреть сообщение
Exclusivity, reduce hackers, trolls, and rule breakers, and allows for control of traffic.
Have you ever tried making a better anti-cheat (for the hackers part)?
Reply
#14

Quote:
Originally Posted by Cell_
Посмотреть сообщение
Have you ever tried making a better anti-cheat (for the hackers part)?
I have and it works fine, but hackers aren't my problem. I just want a more quality server that meets my own criteria.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)