There is a keyhash system in the origin servers its just not showing with the bfsm software, you can however still use bfsm to add the key once you found it.
The keyhash can be found in the xml logging or statistics.csv if you have those system activated. The server will display a kicked message at joining.
Re: origin server ban system
Posted: Mon Nov 19, 2012 3:40 pm
by s[sk]
freddy wrote:There is a keyhash system in the origin servers its just not showing with the bfsm software, you can however still use bfsm to add the key once you found it.
The keyhash can be found in the xml logging or statistics.csv if you have those system activated. The server will display a kicked message at joining.
no keyhashes here, not even in xmls
but what's weird, there's a server that's running my patched linux binary and they have keyhashes even in gamespy replies
and they say they didn't modify anything
it's puzzling
can you check gamespy query on your server where you see keyhashes?
echo -n '\status\'|nc -u ip 23000
Re: origin server ban system
Posted: Mon Nov 19, 2012 5:47 pm
by freddy
Hmm i need to pay more attention to details (:
Windows xp machine, using tuia´s patched exe (two exploit fix and 128 players) bfsm v2.0
Adminlog.csv, no keyhashes
statistics.csv, no keyhashes
.xml, show keyhash
it created a slight delay when connecting, maybe some suitable --reject-with would help
this should be server-side patchable too
Re: origin server ban system
Posted: Mon Nov 19, 2012 9:32 pm
by freddy
freddy wrote:Hmm i need to pay more attention to details (:
Again i missed some details, i have this line in place in the linuxbox since some months back -A OUTPUT -d 69.10.30.248 -p udp --dport 29910 -j DROP
For the windows machine so far have only used the inbuilt firewall but no special rules, installed WIPFW yesterday but havent defined any ruleset for it
edit: blocked output to 69.10.30.248 on the windows machine now, curious to see if it the keyhashes will show up in statistics and adminlog now, the product key is the same as the "game key" you can put it into windows registry if you want.
Re: origin server ban system
Posted: Tue Nov 20, 2012 11:05 pm
by tuia
Adding some information, Windows BF1942 server v1.612 doesn't communicate with master.gamespy.com:29910 to check for keyhash validation, but keyhash is sent from the client to the server. They've disabled displaying the keyhash of the clients, in GameSpy queries and "game.listPlayers" command, that's why keyhashes don't show on BFServerManager. I don't understand why they chose to do it, maybe to cripple the free server version. Strangely, as freddy pointed out, keyhashes show in game event logs. Anyway, this can probably be patched.