Last edited by Mitch; 1st December 2013 at 17:18.
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
Edit: INVALID_CDKEY means that the cd key is in use.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
Last edited by Mitch; 18th December 2013 at 16:43.
kung foo man (18th December 2013)
very nice tutorial.
is it possible to do the same for CoD4 servers?
iptables strings are not working for me. Only this is working:
iptables -A OUTPUT -p udp --dport 20700 -j DROP
unfortunately if I did this
the servers become invisible in the master list. *SAD*iptables -A OUTPUT -p udp --dport 20700 -j DROP
This strings are not working at all:
no matter ports, destination or source.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
So I did a traffic dump, and I have this UDP stream from port 20700:
*??? > replaced some unique ids I believe, related to CDkey and etc... guid or something.Code:....getIpAuthorize 250977360 7.7.**.** "" 0 PB "???"....ipAuthorize 250977360 deny BANNED_CDKEY 0 ???.
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
and that's it.Code:....error EXE_ERR_BAD_CDKEY
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
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:
(sport is master server's port and dport is your own)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
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)
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.