[Tutorial] Building your own IP BAN Feature for GunZ Server.

Results 1 to 22 of 22
  1. #1
    Account Upgraded | Title Enabled! RedMG is offline
    MemberRank
    Feb 2006 Join Date
    Viêòt NamLocation
    749Posts

    [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] ****


  2. #2
    DRGunZ 2 Creator wesman2232 is offline
    MemberRank
    Jan 2007 Join Date
    Erie, PALocation
    4,872Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    hmm interesting. I'll have to try this out sometime.

  3. #3
    Account Upgraded | Title Enabled! Bartjehh is offline
    MemberRank
    Oct 2008 Join Date
    The netherlandsLocation
    448Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Nice tut 8/10 P:

  4. #4
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    tyvm realy needed this

  5. #5
    Unleashed jumparound is offline
    MemberRank
    Feb 2008 Join Date
    UtrechtLocation
    499Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Now every hacker will be ip banned from mocrogunz yay =)

  6. #6
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Quote Originally Posted by jumparound View Post
    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.

  7. #7
    Account Upgraded | Title Enabled! RedMG is offline
    MemberRank
    Feb 2006 Join Date
    Viêòt NamLocation
    749Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Quote Originally Posted by Wizkidje View Post
    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.

  8. #8
    Member xrufio45 is offline
    MemberRank
    Feb 2009 Join Date
    Ur assLocation
    72Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    oh this is much better than the way im dooing ty

  9. #9
    Account Upgraded | Title Enabled! JuanMedina is offline
    MemberRank
    Feb 2009 Join Date
    VenezuelaLocation
    227Posts

    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%

  10. #10
    Account Upgraded | Title Enabled! Kyuma is offline
    MemberRank
    Aug 2008 Join Date
    At HomeLocation
    350Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Thanks alot :P

  11. #11
    wololololo omgisavedu is offline
    MemberRank
    Mar 2009 Join Date
    in batch fileLocation
    343Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    well done, I used this like back in a million year ago

  12. #12
    Account Upgraded | Title Enabled! Creativity is offline
    MemberRank
    Feb 2009 Join Date
    127.0.0.1Location
    492Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Thanks, gona be usefull :p

  13. #13
    Account Upgraded | Title Enabled! CobraCom is offline
    MemberRank
    Jul 2008 Join Date
    382Posts

    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.

  14. #14
    Account Upgraded | Title Enabled! Creativity is offline
    MemberRank
    Feb 2009 Join Date
    127.0.0.1Location
    492Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    not a bad idea also

  15. #15
    Account Upgraded | Title Enabled! Guy is offline
    MemberRank
    Apr 2009 Join Date
    919Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Quote Originally Posted by CobraCom View Post
    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.

  16. #16
    Proficient Member lapochier is offline
    MemberRank
    Oct 2008 Join Date
    153Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Ip Ban Are Useless, Make Crash Your Internet, Change Ip Well Done You Can Play Again ;)

  17. #17
    Account Upgraded | Title Enabled! Guy is offline
    MemberRank
    Apr 2009 Join Date
    919Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Quote Originally Posted by lapochier View Post
    Ip Ban Are Useless, Make Crash Your Internet, Change Ip Well Done You Can Play Again ;)
    That's only true for environments with DHCP; and, you wouldn't "make crash your Internet" - requesting an IP address assignment usually works out fine.

  18. #18
    Novice raulh123 is offline
    MemberRank
    Jan 2009 Join Date
    3Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Dynamic, nuff said.

  19. #19
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Quote Originally Posted by lapochier View Post
    Ip Ban Are Useless, Make Crash Your Internet, Change Ip Well Done You Can Play Again ;)
    Most providers give out dynamic IP's because it saves them money. (For example, they don't need to log all the IP's that have been assigned to a customer / phone number.)

    VPN or SOCKS proxy would do, but that's where the hardware bans are kicking in.

  20. #20
    Account Upgraded | Title Enabled! Guy is offline
    MemberRank
    Apr 2009 Join Date
    919Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Quote Originally Posted by Wizkidje View Post
    Most providers give out dynamic IP's because it saves them money. (For example, they don't need to log all the IP's that have been assigned to a customer / phone number.)

    VPN or SOCKS proxy would do, but that's where the hardware bans are kicking in.
    1) Didn't you quit RageZone?
    2) It's a matter of time being wasted, not so much money.
    3) Having access to more than a few IP addresses per VPN is a rarity, and most SOCKS proxies don't have the speed/bandwidth to play a game as intensive on bandwidth as Gunz.
    4) Hardware bans are very limited, and pose many problems (e.g. If a machine is sold and the new owner also plays Gunz, users with multiple machines, spoofing checked hardware IDs, etc).

  21. #21
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Quote Originally Posted by gWX0 View Post
    1) Didn't you quit RageZone?
    2) It's a matter of time being wasted, not so much money.
    3) Having access to more than a few IP addresses per VPN is a rarity, and most SOCKS proxies don't have the speed/bandwidth to play a game as intensive on bandwidth as Gunz.
    4) Hardware bans are very limited, and pose many problems (e.g. If a machine is sold and the new owner also plays Gunz, users with multiple machines, spoofing checked hardware IDs, etc).
    1) Yep, just got bored and decided to log in one more last time.
    2) There's no time affected. Making a dynamic IP costs more time than a non-dynamic since the DHCP needs to be configured in the first case.
    3) Relakks has 2 ranges I believe. 254 * 254 => enough. Therefore, it almost covers your own line speed, and it rarely costs something. (Like 10$ a month)
    4) That's true in the way you're viewing it. However, it's still not as limited as IP bans. Second hand pc's are mostly bought by older people that don't need (or can't pay) a Quad Core, 4 Gb of RAM and Tb's of storage.

  22. #22
    Apprentice kerim55 is offline
    MemberRank
    Dec 2009 Join Date
    20Posts

    Re: [Tutorial] Building your own IP BAN Feature for GunZ Server.

    Nice!
    But I've got a question. How does my admin know what the ip-adress is from the hacker/cheater?



Advertisement