Everybody probably knows how cracked servers work. They do not use the master list so everybody can join their server. This causes that everybody gets 0 as guid including players who do have an original key. Cracked servers won't show up in the master list because they do not use it.
There is a way to make a cracked server only cracked for the players who cannot join servers that are original. The workaround has two steps.
First you gotta block the packets that the master list sends to the server that say that the player that is connecting isn't allowed to join the server, because he is banned or has an invalid key. This is done by blocking it using the firewall.
In this case iptables:
Code:
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
If your server has a other port, change the dport to the port your server uses or remove it to make it drop every packet.
Now there is one problem left. There is a ~30 minute delay for cracked before you can join them. So if a player joins he will keep connecting for a long time.
You can fix this by patching (hexing) the binary like is done in the latest cracked binary. I compared the original and the cracked binary and this is how they solve this issue:
Original (address 45429h) (patch 1.3)
Patched
This is binary i patched for 1.3: cod2_lnxded.rar
Now cracked players can join your original server and you will still have your guid. Also your server will show up in the master list =].