Skip to content

A2S_INFO, A2S_PLAYER and A2S_RULES cacher with proxy for other packets.

Notifications You must be signed in to change notification settings

0x280/steam-query-cacher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam Query Cacher build/test

Proxy that lazy caches steam source server queries to prevent dos using A2S_INFO attacks. On windows you can set up a proxy for specific ports using the netsh portproxy interface, on linux you can use iptables.

⚠ Disclaimer ⚠

  • Only caches A2S_INFO, A2S_PLAYER and A2S_RULES queries (others will get proxied without caching) with the simple response format!
  • Tested on Squad dedicated servers under Windows.
  • Not a ready-to-use project
  • No Goldsource support!
  • No support given, feel free to contribute tho
  • Code is by no way considered "clean" as it's a hacked together project to suit specific needs

TODO

  • Temporary ip blacklisting for invalid queries
  • Ip based ratelimiting
  • Make logs more concise as they are very messy and dont follow a clean guideline atm
  • Code refactoring in general

About

A2S_INFO, A2S_PLAYER and A2S_RULES cacher with proxy for other packets.

Topics

Resources

Stars

Watchers

Forks

Languages