can anyone help please?

Discussion in 'Spearhead' started by welshwolf, Feb 1, 2012.

  1. modder Corporal

    Contributions:
    19
    Specialties:
    Scripting, Programming, Pure Gamer
    Processing:
    Graphics:
    Do these dll even work for AA/SH/BT? I think they got originally written for
    RTCW and I'm not sure if our game even recognizes them.

    At least I tested them and the getstatus attacks were still possible!
  2. Doorman scapp.net dummy

    Contributions:
    42
    Specialties:
    Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    Got the first version of the fix ready. I did not thouroughly testing (had not yet the chance to test with a busy server) but it should work.

    This fix works like this: in case of a flood attac with getstatus queries it will block any getstatus request to the server, they won't reach the server and therefor also won't be processed by the server. If the attac stops everything is as before. The Disadvantage of this approach is, during the time of attac also legit getstatus queries will be blocked, though rcon status should still work.

    Here links to the files:
    http://www.scapp.net/forum/index.php?action=downloads;sa=search;type=9
    and here:
    http://www.x-null.net/forums/showthread.php?1006-AntiGetstatusFlood-Flood-Tester&p=9052#post9052
    Trinity and loeri like this.
  3. modder Corporal

    Contributions:
    19
    Specialties:
    Scripting, Programming, Pure Gamer
    Processing:
    Graphics:
    Unfortunately thats not really an option for me because our
    webtool needs getstatus in order to work properly.

    But for some people this fix will do it.

    What about gamespy queries? Wouldnt the server disappear
    from the in game server list when you block all getstatus?
  4. loeri loeri.tk

    Contributions:
    45
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    The flood tool says that it sends 500 queries but in my log i get only 15 off them with your dlls and without the dlls i get the 500 queries.

    So it works, ty for this ;)

    Would this prevent what i had before? And will this also work for other games like cod 4?
  5. LeBabouin Papio anubis

    Contributions:
    419
    Specialties:
    Scripting
    Processing:
    Graphics:
    PREMIUM
    I Donated
    74.91.116.247 one mn ago!
  6. Doorman scapp.net dummy

    Contributions:
    42
    Specialties:
    Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    It does block getstatus only for the time an attac occurs, but in that case it blocks all getstatus queries.
  7. Doorman scapp.net dummy

    Contributions:
    42
    Specialties:
    Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    Not sure what you ment with before. If you need it for cod4 or other games I can modify it, let me know if you need it.
  8. loeri loeri.tk

    Contributions:
    45
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    What i mean with before is: someone used one off my gameservers to make an udp attack to an other ip.

    And one for cod 4 would be awesome ^^
  9. loeri loeri.tk

    Contributions:
    45
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    Eugh lucky your dlls work! Banned them :D

    log is now 90mb in 15 mins.. And it makes lag!



  10. modder Corporal

    Contributions:
    19
    Specialties:
    Scripting, Programming, Pure Gamer
    Processing:
    Graphics:
    I thought the dll should block the attacks, how can ur log be 90 MB still?
  11. Silent*Angel Corporal

    Contributions:
    6
    Specialties:
    Scripting, Programming
    Processing:
    Graphics:
    pffff..mine is almost 200 Mb :D ahah sooo damn bad :)
  12. loeri loeri.tk

    Contributions:
    45
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    i ve blocked the ips in the firewall and restarted the server and now the log is ... 15kb?:rolleyes:
    because i had like 150000 lines with: SV packet 71.170.249.36:25565 : getstatus
  13. Doorman scapp.net dummy

    Contributions:
    42
    Specialties:
    Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    with our without the anti getstatus flood fix running ?

    Under which situation you had lag ? With the fix running and server was under attac ? or also with the fix running and not under attac ?
  14. loeri loeri.tk

    Contributions:
    45
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    i had the dlls placed in the server, i think like ur dll does it makes it only to ~15 max getstatus?
    So if they kept spamming, u ll c in game: slow server and ping thats are normally 48 went to ~95.

    But now i banned those 2 ips and restarted the game server and now its ok
  15. Doorman scapp.net dummy

    Contributions:
    42
    Specialties:
    Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    yes thats how it should work, did you test with the flood tester ? If you still have many thousend lines of same IP in logs then something went or is wrong or I have a bug in the .dll file.
    yes the fix does not prevent from lag, well it should reduce it, but if a server is under heavy attac server will lag.
  16. loeri loeri.tk

    Contributions:
    45
    Specialties:
    Mapper, Scripting, Programming, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    Well before i had the dlls placed they were also spamming and ping was 1000-3000 :confused:

    And yes i tested it with the floodtester, i posted it before here :)
  17. Doorman scapp.net dummy

    Contributions:
    42
    Specialties:
    Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    I'am currently updating to a more advanced version which will ban the attacking Ip's and still allow legit requests.
    Silent*Angel and loeri like this.
  18. LeBabouin Papio anubis

    Contributions:
    419
    Specialties:
    Scripting
    Processing:
    Graphics:
    PREMIUM
    I Donated
    Active a moment ago:
    85.195.86.76
    209.105.247.45
    208.115.227.99
    85.195.86.77
    213.22.229.106
  19. Doorman scapp.net dummy

    Contributions:
    42
    Specialties:
    Scripting, Programming, Pure Gamer, Support
    Processing:
    Graphics:
    PREMIUM
    I Donated
    loeri and modder like this.
  20. modder Corporal

    Contributions:
    19
    Specialties:
    Scripting, Programming, Pure Gamer
    Processing:
    Graphics:
    How does it work? How does it ban IPs? Is that configurable?
    To ask again, it should theoretically work on all distributions of MoHAA (Spearhead, Demo, etc)?

    EDIT:
    I confirm that it works perfectly on AA/BT/SH. I didn't test the Demo versions yet.
    Am I right that it blocks all attacking IPs until I restart the game(server)? After that
    it seems to work again?
    LeBabouin likes this.

Share This Page