Ultimate Antibot-反机器人、反代理以及其他的优质保护方案 - 服务端插件 - Minecraft(我的世界)中文论坛 -.html

Ultimate Antibot-反机器人、反代理以及其他的优质保护方案 - 服务端插件 - Minecraft(我的世界)中文论坛 -

Minecraft(我的世界)中文论坛

 找回密码
 注册(register)

!header_login!

只需一步,立刻登录

查看: 470|回复: 1
打印 上一主题 下一主题

[转载插件] Ultimate Antibot-反机器人、反代理以及其他的优质保护方案

[复制链接]
MC豹哥 当前离线
积分
292
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2021-10-6
查看详细资料

来自:福建

跳转到指定楼层
楼主
发表于 2023-5-22 20:48:17 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
服务端插件
英文名称:Ultimate Antibot
中文名称:
插件来源:转载
适用服务端:Spigot BungeeCord 
插件类型:管理 安全 
语言支持:简体中文 English 
适用版本:1.19.X 1.18.X 1.17.X 1.16.X 1.15.X 1.14.X 1.13.X 1.12 1.11 1.10 1.9 1.8 1.7.10 1.7.2 
前置Mod|插件:无前置插件
下载地址:https://www.spigotmc.org/resources/ultimate-antibot-%E2%9A%A1-firewall-anti-**-%E2%9A%A1-bungeecord-spigot-600-servers.93439/
原帖地址:https://www.spigotmc.org/resources/ultimate-antibot-%E2%9A%A1-firewall-anti-**-%E2%9A%A1-bungeecord-spigot-600-servers.93439/
插件Logo:
插件简介:-

您尚未登录,立即登录享受更好的浏览体验!

您需要 登录 才可以下载或查看,没有帐号?注册(register)

x
本帖最后由 MC豹哥 于 2023-5-22 20:50 编辑

插件简介


这是一个在BungeeCordSpigot上都可使用的插件!
请记住,它只是一个插件,不能创造奇迹!
如果您的服务器硬件配置较低或使用免费主机,请不要期望出色的性能!
此外,虽然我们已经引入了Spigot支持,但请记住,对于处理大规模攻击来说,BungeeCord是更好的选择,在Spigot上可能会导致速度变慢!
安装插件时,请记住,如果您有一个BungeeCord服务器,您只需将插件放置在BungeeCord插件文件夹中!如果您只使用Spigot,您需要将插件放置在Spigot插件文件夹中,然后重新启动服务器!

GEYSER 的支持
该插件支持通过Geyser玩家进入服务器,但您需要在配置文件中进行一些更改以确保没有问题!
首先,您需要关闭数据包检查,然后您需要修改合法名称检查,使其允许带有Geyser添加到Minecraft基本名称中的字符的玩家进入,如果该字符是句点("."),则您无需进行任何操作,否则您需要修改正则表达式(您可以通过在作者的Discord服务器上开启一个工单来寻求帮助)

保护功能

  • 快速加入保护
  • 慢速加入保护(可绕过)
  • Ping攻击保护
  • 综合保护
  • 恶意数据包保护(仅限于BungeeCord和其衍生版本)

功能特点
  • 全面可定制(配置和消息)

  • VPN系统用于检测慢速攻击

  • 钩子到IPSet和IPTables用于处理大规模攻击

  • 多种检查方式,以尽可能检测出更多的机器人

  • 智能过滤器仅在攻击期间激活,避免过滤重要的服务器错误

  • 针对非机器人玩家的简易验证系统,在攻击期间使用

  • 基于ID的黑名单系统,可更轻松地管理黑名单

  • 攻击时自动通知

  • 自动攻击记录系统

  • 自动清除黑名单、白名单和攻击日志的自动清理程序


命令列表


  • /uab help - 显示帮助信息

  • /uab toggle actionbar/title/bossbar - 切换通知设置

  • /uab stats - 显示反机器人统计信息

  • /uab clear blacklist/whitelist - 清除其中一个名单

  • /uab whitelist add/remove <ip> - 管理白名单

  • /uab blacklist add/remove <ip> - 管理黑名单

  • /uab logs list/info <id> - 管理攻击日志

  • /uab cache status/clear - 管理反机器人缓存

  • /uab firewall - 显示防火墙统计信息

  • /uab check <ID> - 检查是否为黑名单玩家

  • /uab reload - 重新加载消息

  • /uab dump - 用于获取支持帮助


权限列表
(前十个是对于指令的权限,后两个主要是功能的权限)

  • /uab help - uab.command.help

  • /uab toggle actionbar/title/bossbar - uab.command.toggle

  • /uab stats - uab.command.stats

  • /uab clear blacklist/whitelist - uab.command.clear

  • /uab whitelist add/remove <ip> - uab.command.whitelist

  • /uab blacklist add/remove <ip> - uab.command.blacklist

  • /uab firewall - uab.command.firewall

  • /uab check <ID> - uab.command.check

  • /uab reload - uab.command.reload

  • /uab dump - uab.command.dump

  • 自动通知 - uab.notification.automatic

  • 反VPN绕过权限 - uab.bypass.vpn



配置文件config.yml
  1. [hide][spoiler]<font _mstmutation="1" style="background-color: rgb(255, 255, 255); color: rgb(0, 0, 0); font-family: Consolas, " courier="" new",="" courier,="" monospace;="" font-size:="" 13.3333px;="" text-align:="" left;="" white-space:="" nowrap;"="">version: 4.3
  2. #   _    _ _ _   _                 _                        _   _ _           _
  3. #  | |  | | | | (_)               | |           /\         | | (_) |         | |
  4. #  | |  | | | |_ _ _ __ ___   __ _| |_ ___     /  \   _ __ | |_ _| |__   ___ | |_
  5. #  | |  | | | __| | '_ ` _ \ / _` | __/ _ \   / /\ \ | '_ \| __| | '_ \ / _ \| __|
  6. #  | |__| | | |_| | | | | | | (_| | ||  __/  / ____ \| | | | |_| | |_) | (_) | |_
  7. #  \____/|_|\__|_|_| |_| |_|\__,_|\__\___| /_/    \_\_| |_|\__|_|_.__/ \___/ \__|
  8. #
  9. #For any question / problem please open a ticket on my discord server,
  10. #here is the link: https://discord.gg/vgsjmbXez3

  11. # (!) DEBUG MODE (!)
  12. #Setting it to true will allow me to help you better during the assistance however
  13. #it results in a spam of useless messages in the console :(
  14. debug: false

  15. #UltimateAntibot V4 brings with it great improvements, ways of adapting the antibot
  16. #to the performance of the machine based on its performance have been created.
  17. detect-server-performance: true

  18. # (!) WARNING (!)
  19. # If set to true it will be able to calculate the time that the server takes to do all its operations!
  20. # This involves creating a thread that could burden low-powered servers!
  21. # It is recommended to use it only in dedicated servers or in vps with more than 8 cores!
  22. # Use it at your own risk!
  23. enable-latency-thread: false

  24. # (!) NOTIFICATION (!)
  25. #Enable bossbar notification on attack (1.9+)
  26. enable-bossbar-automatic-notification: true
  27. #Disable notifications after an attack?
  28. disable-notifications-after-attack: false

  29. # (!) DISABLE CONSOLE ATTACK MESSAGE (!)
  30. #
  31. #If set to true, when you receive an attack on your server the
  32. #console will not write any warning messages (referring only to UAB messages)
  33. disable-console-attack-message: false

  34. # (!) AUTO-PURGER (!)
  35. #By default all auto-purge checks are performed maximum once every 5 minutes according to the set conditions below
  36. auto-purger:
  37.   #in the current case, when the blacklist goes up 15k+ IPs and there is no attack it will be cleared
  38.   #in the second case (AFTER_ATTACK), after an attack if the blacklist contains 15k+ IPs will be cleared
  39.   blacklist:
  40.     type: LIMIT #AFTER_ATTACK
  41.     value: 15000 #amount of ip
  42.     enabled: true
  43.   #same as blacklist
  44.   whitelist:
  45.     type: LIMIT
  46.     value: 2500 #amount of ip
  47.     enabled: false
  48.   #It will delete logs older than 15 days
  49.   logs:
  50.     value: 15 #days
  51.     enabled: true

  52. #Antibotmode has the utility of mitigating the attack, blacklisting + ip possible,
  53. antibotmode:
  54.   #Duration of the anti-botmode when activated
  55.   keep: 15 #seconds
  56.   #If there are 10 connections in 1 second the antibot mode will be activated!
  57.   trigger: 10
  58.   #Slowmode duration
  59.   keep-slow: 25
  60.   #disconnect joined players
  61.   disconnect: true

  62. #Pingmode allows player connections to your server!
  63. pingmode:
  64.   #Duration of the ping-mode when activated
  65.   keep: 10
  66.   #How many pings in 1 second does it take to activate the protection?
  67.   trigger: 100
  68.   #MotdKiller Protection
  69.   #Send the server logo during a ping attack?
  70.   send_info: false

  71. #Works Only on Bungeecord Waterfall ect...
  72. packetmode:
  73.   #Duration of handshakemode
  74.   keep: 15
  75.   #How many blocked packets in 1 second for enable?
  76.   trigger: 15
  77.   #if the handshake has an invalid protocol do I have to blacklist it?
  78.   blacklist-invalid-protocol: true

  79. #Minimum online time to be whitelisted
  80. playtime_for_whitelist: 10 #minutes

  81. taskmanager:
  82.   clearcache: 60 #seconds
  83.   auth: 300 #seconds
  84.   register: 120 #seconds
  85.   update: 15 #seconds

  86. checks:
  87.   firstjoin:
  88.     #enable firstjoin
  89.     enabled: true
  90.   #This check checks the number of accounts entered by the same ip within 60 seconds during antibot mode
  91.   namechanger:
  92.     #Clear cache time
  93.     time: 200
  94.     #max accounts to blackist
  95.     limit: 3
  96.     #enable?
  97.     enabled: true
  98.   #If an ip joins 35 times in 300 seconds
  99.   superjoin:
  100.     #Clear cache time
  101.     time: 300
  102.     #max joins in 300 seconds to get blacklisted
  103.     limit: 35
  104.     #enable?
  105.     enabled: true
  106.   auth:
  107.     #Clear cache time
  108.     time: 300
  109.     #Allows users to whitelist
  110.     #Through min-max ping
  111.     ping: 4-7
  112.     #Min max TimerCheck
  113.     timer: 3-7
  114.     #When the time for verification runs out,
  115.     #you have 1.3 second to join
  116.     between: 1300 #milliseconds
  117.     #BlackList enable condition
  118.     percent: 90
  119.     #If player fail this check 25 times will be blacklisted
  120.     maxfails: 25
  121.     #If a player has to ping the verification,
  122.     #the non-verifying players will have a counter of the times they pinged the
  123.     #server to enter!
  124.     #On bungeecord will use protocol name
  125.     #On spigot will use the motd
  126.     #Editable in messages.yml
  127.     ping_interface: true
  128.   legalname:
  129.     #All nicknames with a length less than or equal to 16 and containing
  130.     #characters such as "_" and "." the point is supported for geyser players to enter the server
  131.     #If you use a different character such as a "," just substitute it at the point in the expression below!
  132.     name-regex: "[a-zA-Z0-9_.]*"
  133.     enabled: true
  134.   invalidname:
  135.     #If a player who enters contains one of the following strings in his name he will be blocked!
  136.     invalid:
  137.       - "MCSTORM_IO"
  138.       - "MC_BOT_IO"
  139.     blacklist: true
  140.     enabled: true
  141.   strange-register:
  142.     #The second string after the command will be taken as the password
  143.     listen:
  144.       - "/register"
  145.       - "/reg"
  146.       - "/l"
  147.       - "/login"
  148.     limit: 3 #if 3 players uses the same password will be blacklisted
  149.     blacklist: true
  150.     antibotmode: true
  151.     enabled: true
  152.   slowjoin:
  153.     #This check will check if a player sends a certain packet,
  154.     #which the bots do not send, to 5 bots that do not send it
  155.     #in 60 it will perform the various actions
  156.     #WARNING
  157.     #If you see any abnormal kicks on your server it is recommended to disable it!
  158.     packet:
  159.       time: 120 #seconds
  160.       trigger: 5
  161.       #dev only
  162.       condition: 0
  163.       blacklist: false
  164.       kick: true
  165.       antibotmode: true
  166.       enabled: true
  167.     #if from same ip 4 accounts are online
  168.     #will perform the various actions
  169.     account:
  170.       time: 0 #ignored here
  171.       trigger: 4
  172.       condition: 0 #ignored here
  173.       blacklist: true
  174.       kick: true
  175.       antibotmode: true
  176.       enabled: true


  177. ######################################
  178. #               FIREWALL             #
  179. ######################################
  180. #This is the firewall section, to work correctly it requires the IPSet and IPTables service,
  181. #otherwise the hook will not be activated.
  182. #It will only work if the start script has permissions to execute the commands, it may not
  183. #work on sites that offer minecraft servers as a pterodactyl panel (aternos, elixirnode, server.pro, etc ...)

  184. #Removing / changing one of these commands in case you don't know what
  185. #you are doing is highly discouraged and could cause lag problems.
  186. #
  187. #Positive points:
  188. #After about 5 minutes of attack the number of connections per second will be lowered to 50/100
  189. #The time depends on the number of IPs to be blacklisted
  190. #
  191. #Negative points:
  192. #Slower on spigot!
  193. #There will be an increase of CPU usage during ip blacklisting (Especially on low-powered servers)
  194. firewall:
  195.   enabled: false
  196.   #Unique name of IPSet
  197.   ip-set-id: "uab_blacklist"
  198.   #The duration of the blacklist for each ip
  199.   timeout: 0 # seconds, 0 = cancels on server restart or on blacklist clear (with command)
  200.   #Also clear the firewall blacklist when the blacklist is reset by command?
  201.   reset-on-blacklist-clear: true
  202.   #Commands executed to load the hook
  203.   setup-commands:
  204.     - "sudo ipset create %set% hash:ip %options% %t%"
  205.     - "sudo iptables -N UltimateAntiBot"
  206.     - "sudo iptables -F UltimateAntiBot"
  207.     - "sudo iptables -A UltimateAntiBot -p tcp -m set --match-set %set% src -j DROP"
  208.     - "sudo iptables -A INPUT -p tcp -j UltimateAntiBot"
  209.   shutdown-commands:
  210.     - "sudo iptables -F UltimateAntiBot"
  211.     - "sudo iptables -D INPUT -p tcp -j UltimateAntiBot"
  212.     - "sudo iptables -X UltimateAntiBot"
  213.     - "sudo ipset destroy %set%"
  214.   #Command executed to blacklist an ip
  215.   blacklist-command: "sudo ipset add %set% %ip%"
  216.   un-blacklist-command:
  217.     - "sudo ipset del %set% %ip%"

  218. #######################################
  219. #                 VPN                 #
  220. #######################################

  221. #Another anti vpn check (free) provided by: https://ip-api.com/
  222. #Disable this check if you are using proxycheck.io
  223. ip-api:
  224.   enabled: true

  225. #This check allows you to verify your users during bot attacks!
  226. #The site offers a free plan that you can access by signing up which gives you access to 1k requests per day.
  227. #Each check will cost you 1 request and at the end of the daily requests you will have to wait for the next day,

  228. #provided by: https://proxycheck.io/
  229. proxycheck:
  230.   #if key is not valid proxycheck is disabled (without errors in console (unless you have active debugging!))
  231.   api-key: "enter-here-your-key"

  232. #######################################
  233. #              FILTER                 #
  234. #######################################

  235. #This is to hide messages when players are kicked by the antibot
  236. #usually it's best to keep it turned on to remove spam from the console but
  237. #you can turn it off in case you need to debug something or if you want to see these message.
  238. hide-spigot-disconnect-message: true

  239. #Custom Message filter only works during a bot/packet/ping attack
  240. attack-filter:
  241.   - "Another plugin has cancelled the connection for" #luckperms on spigot
  242.   - "The UUID the player is connecting with now is NOT Mojang-assigned" #luckperms on bungeecord

  243. #Custom message console filter (works 24h/7)
  244. persistent-filter: []</font>
  245. <span style="color: rgb(0, 0, 0); font-family: Consolas, " courier="" new",="" courier,="" monospace;="" font-size:="" 13.3333px;="" text-align:="" left;="" white-space:="" nowrap;="" background-color:="" rgb(251,="" 251,="" 251);"=""> </span>[/spoiler][/hide]
复制代码
相关视频展示






如果喜欢这个插件,请到原帖下支持原作者!!!!


原帖地址:Ultimate Antibot - ⚡ FIREWALL & ANTI-VPN ⚡ - Bungeecord & Spigot - 600+ Servers | SpigotMC - High Performance Minecraft


帖子永久链接: 

Minecraft中文论坛 - 论坛版权1、本主题所有言论和图片纯属会员个人意见,与本论坛立场无关
2、本站所有主题由该帖子作者发表,该帖子作者享有帖子相关版权
3、其他单位或个人使用、转载或引用本文时必须同时征得该帖子作者的同意
4、帖子作者须承担一切因本文发表而直接或间接导致的民事或刑事法律责任
5、本帖若有内容转载自其它媒体,不代表本站赞同其观点和对其真实性负责
6、若本帖涉及任何版权问题,请立即告知本站,本站将及时予以删除并致以最深的歉意
7、Minecraft(我的世界)中文论坛管理员和版主有权不事先通知发贴者而删除本文

夜雨晨风丶 当前离线
积分
6108
帖子
主题
精华
贡献
爱心
钻石
人气
下界之星
最后登录
1970-1-1
注册时间
2022-4-4
查看详细资料

来自:广东

沙发
发表于 2023-5-22 21:50:32 | 只看该作者
终极反假人压测 - ⚡ 防火墙 & 反代理 ⚡ - Bungeecord & Spigot - 700用量
https://www.mcbbs.net/thread-1212504-1-1.html
(出处: Minecraft(我的世界)中文论坛)

这插件不是已经有搬运了?有授权或者二次授权?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册(register)

本版积分规则

Archiver|小黑屋|Mcbbs.net ( 京ICP备15023768号-1 ) | 京公网安备 11010502037624号 | 手机版

GMT+8, 2024-1-14 00:46 , Processed in 0.046069 second(s), Total 18, Slave 17 queries, Release: Build.2023.11.27 0934, Gzip On, Redis On.

"Minecraft"以及"我的世界"为美国微软公司的商标 本站与微软公司没有从属关系

© 2010-2023 我的世界中文论坛 版权所有 本站内原创内容版权属于其原创作者,除作者或版规特别声明外未经许可不得转载