Page 7 of 16 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 153

Thread: [CoD2][Tutorial] How to make your cracked server show up in the master list

  1. #61
    Private
    Join Date
    Jun 2013
    Posts
    26
    Thanks
    20
    Thanked 3 Times in 1 Post
    Quote Originally Posted by Mitch View Post
    What version is your iptables? (iptables --version)
    I have Iptables 1.4.7

  2. #62
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by NemanjA View Post
    I have Iptables 1.4.7
    Does 'iptables -m string -help' work? And what does it say? You are probably missing the string filter module for iptables.

    When you do 'cat /proc/net/ip_tables_matches' it should contain atleast string.

    If it isn't in the list try loading it with: modprobe ipt_string.
    Last edited by Mitch; 1st December 2013 at 17:18.

  3. #63
    ... connecting
    Join Date
    Oct 2013
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi, so, which file is, what show the masterserver, and no must waiting 20mins? I use 1.3 cracked linux server, port: 28139

  4. #64
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by botskiller16 View Post
    Hi, so, which file is, what show the masterserver, and no must waiting 20mins? I use 1.3 cracked linux server, port: 28139
    Read the information here: http://killtube.org/showthread.php?1...ull=1#post8293

    Code:
    iptables -A INPUT -p udp -m string --algo bm --string "BANNED_CDKEY" --sport 20700 --dport 28139 -j DROP
    iptables -A INPUT -p udp -m string --algo bm --string "INVALID_CDKEY" --sport 20700 --dport 28139 -j DROP
    Edit: INVALID_CDKEY means that the cd key is in use.
    Last edited by Mitch; 18th December 2013 at 16:43.

  5. The Following User Says Thank You to Mitch For This Useful Post:

    kung foo man (18th December 2013)

  6. #65
    ... connecting
    Join Date
    Dec 2013
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    very nice tutorial.
    is it possible to do the same for CoD4 servers?

  7. #66
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by bigbro View Post
    very nice tutorial.
    is it possible to do the same for CoD4 servers?
    Yes, you only need to fix the delay in binary. (i am assuming that cod4 also uses INVALID_CDKEY and BANNED_CDKEY when the server rejects a connection)

  8. #67
    ... connecting
    Join Date
    Dec 2013
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    iptables strings are not working for me. Only this is working:

    iptables -A OUTPUT -p udp --dport 20700 -j DROP

  9. #68
    ... connecting
    Join Date
    Dec 2013
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    unfortunately if I did this

    iptables -A OUTPUT -p udp --dport 20700 -j DROP
    the servers become invisible in the master list. *SAD*

    This strings are not working at all:

    iptables -A INPUT -p udp -m string --algo bm --string "BANNED_CDKEY" --sport 20700 --dport 28961 -j DROP
    iptables -A INPUT -p udp -m string --algo bm --string "INVALID_CDKEY" --sport 20700 --dport 28961 -j DROP
    no matter ports, destination or source.
    So I did a traffic dump, and I have this UDP stream from port 20700:

    Code:
    ....getIpAuthorize 250977360 7.7.**.** "" 0 PB "???"....ipAuthorize 250977360 deny BANNED_CDKEY 0 ???.
    *??? > replaced some unique ids I believe, related to CDkey and etc... guid or something.

    Conversation is going both ways - in and out between server IP and 63.146.124.40 (cod2master.activision.com has address 63.146.124.40).
    After all that, server sends to client

    Code:
    ....error
    EXE_ERR_BAD_CDKEY
    and that's it.
    Can you help?
    Linux server, ubuntu 13.10, game servers 1.3 CoD2


    ---
    update: If the string IpAuthorize is removed, connection is ok with invalid cdkey,
    "Connecting player #4 has a zero GUID" and "Sending heartbeat to cod2master.activision.com". Server is missing in master list.
    Last edited by bigbro; 31st December 2013 at 07:56. Reason: update

  10. #69
    Global Mossaderator Mitch's Avatar
    Join Date
    Nov 2012
    Posts
    654
    Thanks
    204
    Thanked 450 Times in 305 Posts
    Quote Originally Posted by bigbro View Post
    Linux server, ubuntu 13.10, game servers 1.3 CoD2
    I tested on my own Ubuntu 13.10 (desktop) and I can add the iptables rules there (sudo is required if you are not running it under root)

    You need to change the port to the port you are running your server on:
    Code:
    iptables -A INPUT -p udp -m string --algo bm --string "BANNED_CDKEY" --sport 20700 --dport [your game port] -j DROP
    iptables -A INPUT -p udp -m string --algo bm --string "INVALID_CDKEY" --sport 20700 --dport [your game port] -j DROP
    (sport is master server's port and dport is your own)

    Now you need a modified binary for your game that you can find here:
    http://killtube.org/showthread.php?1...-(1-0-1-2-1-3)
    (you need at least the nodelay)

  11. #70
    ... connecting
    Join Date
    Dec 2013
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Mitch,
    happy new year and thank you for your answer.
    I found a way to fix it. Unfortunately it is not working with ip tables at all.
    Just find getIpAuthoruze in bin file using hex editor and rename it (first one) with something else, so it will not get IP authorization for clients who want to connect to the server. That's it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •