[Tutorial] Building your own IP BAN Feature for GunZ Server.
Hi all members of RZ GunZ Section!
Today i will post a new turorial about "Banning IP". I know there are many ways for you to ban an IP from your server. I don't know much about GunZ Tools in this section because i don't search for them. In my tutorial, i use SYGATE FIREWALL. This software has some advantages for your server. 2 of the best features of SYGATE FIREWALL are:
1/ Sygate firewall provides you with a good firewall :)) (All you know. In my opinion, SF is best)
2/ Providing you an IP BAN feature (I will tell you more in my tutorial).
------ OK! I will stop telling about Sygate to teach you about how to make an IP BAN feature.
A/ All these you need:
1. Sygate Firewall Program: (Download Here)
2. Common sense [Yes, you need it in all your work much] :P
3. A cup of coffee [Yes, you need it in all your work much] :P
B/ Now let's start with me:
1. Installing Sygate Firewall (SF):
After downloading SF program from Rapidshare, you must install it on your PC. It is as easy as a piece of cake so everyone can do. I don't guide you this step.
2. Making an IP BAN feature by using your SF:
a) Run your SF program (Normally it is in Start / Programs / Sygate Personal Firewall / Sygate Personal Firewall.exe)
b) Once SF opens, click Tools / Advanced Rules
c) Then click Add button
d) A new window opens, in the General tab you will see like this:
* In "Rule Description": Put whatever you want here.
* In "Action": Check this option.
Next, click on the Hosts tab.
e) After Hosts tab opens:
- Click "IPAddress(es)" to choose your IP BAN feature.
- Then put one IP or more than one IP in this box (see the picture carefully).
- Click OK to finish.
Congratulations! Your've done your own IP BAN feature,!
I've finished my tutorial about IP BAN. It seems to be very simple and easy to do.
Thanks you for reading my TUT. Hope all of you understand what i wrote because i'm bad at English.
**** Tutorial by RedMG. Credits goes to me [RedMG] ****
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
hmm interesting. I'll have to try this out sometime.
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Now every hacker will be ip banned from mocrogunz yay =)
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Quote:
Originally Posted by
jumparound
Now every hacker will be ip banned from mocrogunz yay =)
SOCKS proxy's are getting in.
To stick ontopic, I prefer pktfilter, since you can make that ban via a PHP script.
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Quote:
Originally Posted by
Wizkidje
SOCKS proxy's are getting in.
To stick ontopic, I prefer pktfilter, since you can make that ban via a PHP script.
Yes. As i said:
Quote:
Originally Posted by RedMG
I don't know much about GunZ Tools in this section because i don't search for them. In my tutorial, i use SYGATE FIREWALL
There are many different ways for you to make your own IP BAN but Sygate is easy to use and it is also a good firewall for your server.:P::ott:
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
oh this is much better than the way im dooing ty
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Most people in Latin America has a dynamic IP addresses, it is for this reason that this system of IP bans do not work 100%
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
well done, I used this like back in a million year ago
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Thanks, gona be usefull :p
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Don't dump old threads. I'll give something else though.
The more firewalls, the crappier the connection. It's better to just ban hacker-accounts, and add an 1-ip-per-database rule on your registration page.
Code:
// See if the current user's ip already exists in the database.
$check_ip = mssql_num_rows(mssql_query("SELECT * FROM Login WHERE LastIP = '".$_SERVER['REMOTE_ADDR']."'"));
// Stop the script and output the message when the current is.
if ($check_ip == 1){
echo "You're already registered under this IP Address";
exit();
}
of course this does not protect against players with dynamic ip addresses, but the firewall doesn't either .
Less resourses, wider bandwidth.
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.
Quote:
Originally Posted by
CobraCom
Don't dump old threads. I'll give something else though.
The more firewalls, the crappier the connection. It's better to just ban hacker-accounts, and add an 1-ip-per-database rule on your registration page.
Code:
// See if the current user's ip already exists in the database.
$check_ip = mssql_num_rows(mssql_query("SELECT * FROM Login WHERE LastIP = '".$_SERVER['REMOTE_ADDR']."'"));
// Stop the script and output the message when the current is.
if ($check_ip == 1){
echo "You're already registered under this IP Address";
exit();
}
of course this does not protect against players with dynamic ip addresses, but the firewall doesn't either .
Less resourses, wider bandwidth.
The firewall doesn't waste bandwidth, and, it actually ignores the specified IP address, where as your method still allows accessing of services for potential abuse.
Anyways, you could use Windows Firewall to accomplish the same; plus, the Windows Firewall provides some other features, such as filtering out packet fragments, fine-tuning of ICMP responses, etc.