Ch0wW / goldsrc-fake-servers-firewall

Fight these fake servers bloating the VALVe's Masterserver!
https://baseq.fr
2 stars 0 forks source link

compatibility with older windows and linux #2

Open Ballganda opened 1 week ago

Ballganda commented 1 week ago

I have not tested but I have wanted to see if using the hosts file would work for getting these servers blocked.

hosts file would be available on more systems. Thoughts?

Ch0wW commented 1 week ago

That's honestly a good question... But as far as I know, the hosts file cannot block IPs... Only domain resolutions. That's why I made a Windows Firewall rule automated through Powershell, so that these fake servers can be blocked through their IPs.

Since STEAM supports Windows 10 and onward, I did not bother to include compatibility with older Windows releases (people would go through NO-Steam distributions instead that isn't powered by SteamPipe, and thus, would include custom masterservers that are usually cleaner than the bloated mess that VALVe maintains).

However, For Linux support, I'd have to investigate a bit more and create a iptables chain so that updating them would be quite trivial to do. The #1 goal would be to support the Steam Deck and it's not an easy task at all. I'm unsure about Mac support however.

Ballganda commented 1 week ago

Maybe I can't recall all the capability of hosts entries. I also worked on a firewall solution in cmd prompt script until I found out about port 0 workaround for src games.

If I had any ability to make a master server alternative I would do that. That is beyond my capabilities by a lot. I used to use Setti master server some back circa 2006. That seems to be gone. Not sure what all the non steam versions are using now for master server.

I've done some automation work on getting spammer IPs but really need help from somebody that knows how to code to rewrite what I've done and make it easier to use for any appid. All in power shell...let's be honest chatgpt did what I asked in 10-11 separate script files.