Results 1 to 6 of 6

Thread: auto ban fake clients

  1. #1
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts

    auto ban fake clients

    anyone have idea for this ? example if there is 5 same ips on server ban automaticly with iptables ?

  2. #2
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    iptable - protection for ddos "getstatus"
    Your problem:
    https://killtube.org/showthread.php?...t=fake+clients
    p.s: WITH LIBCOD!

  3. #3
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    kick is not solution its fucking my traffic and players cant join

  4. #4
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Use the search function and find this
    https://killtube.org/showthread.php?...ke-clients-fix
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  5. #5
    Private First Class
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    37
    Thanked 14 Times in 14 Posts
    you meant this right ?

    PHP Code:
    iptables -N CQUERY-BLOCK
    iptables 
    -A CQUERY-BLOCK -m recent --set --name cblocked-hosts -j DROP
    iptables 
    -N CQUERY-CHECK
    iptables 
    -A CQUERY-CHECK -p udp -m string ! --string "connect" --algo bm --from 32 --to 39 -RETURN
    iptables -A CQUERY-CHECK -m recent --update --name cblocked-hosts --seconds 30 --hitcount 1 -j DROP
    iptables 
    -A CQUERY-CHECK -m hashlimit --hashlimit-mode srcip --hashlimit-name getstatus --hashlimit-above 2/second -j CQUERY-BLOCK
    iptables 
    -A INPUT -p udp --dport 27960:29000 -j CQUERY-CHECK 
    its not blocking sometimes and still 2 fake clients can come.. how can ban auto ? that fucking hosting service makes me mad

  6. #6
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    Iznogod, repost omg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •