Skip to content

Updates and changes and stuff

denNorske requested to merge github/fork/nickdodd25/master into master

Created by: nickdodd25

Rewrote a good chunk of this. Probably made it worse, but it does work. So......

Basically the proxy now runs along with the server, not infront of the server anymore. The server runs as usual accepting sync packets only. So no need to try to edit/tamper with sync packets with this script. The iptable rules just forward query packets to this proxy (idk if this is even considered a proxy now) and then the proxy returns cached results back to the client. The python script querys the server once every two seconds (could be changed to anything really...) and then caches the results.

This was my first time actually playing around with python code, only took me a week to make this....someone could probaly make this better and also add the rate limiting directly into the code, i tried to do ratelimiting and it was so slow the code would not send clients anything back.

Merge request reports