黑名单检查
概述
此插件旨在利用公共 DNS 黑名单服务器来检查传入连接,并禁止任何使用已知公共代理的用户进行连接。所使用的 DNSBL 服务器列表是可配置的。
功能
- 在玩家甚至连接之前就阻止破坏行为
- 提高安全性
- (v0.2) 将已知 IP 地址加入白名单,始终允许其连接
- (v0.3) 将整个 IP 子网加入白名单
- (v0.5) 选择直到地址可能验证之前都阻止连接,或者允许连接并在发现其被列入黑名单时将其踢出
配置
插件配置
- DNSBLServers (v0.1) 用于解析被拉黑 IP 地址的 DNS 服务器列表
- Whitelist (v0.2) 始终允许进入且不会针对 DNSBL 服务器进行检查的 IP 地址列表。注意:自 v0.3 版本起,这些地址必须采用 CIDR 表示法。例如,要输入单个 IP 地址请使用 "127.0.0.1/32",若要允许整个 C 类子网请使用 "192.168.1.0/24"。请确保从 v0.2 升级时更新配置文件。
- Debug (v0.3) (布尔值) [默认: false] 指示插件向控制台打印更多信息
- LogDisconnects (v0.4) (布尔值) [默认: true] 指示插件将连接拒绝输出到控制台
- DelayCheck (v0.5) (布尔值) [默认: false] 指示插件允许连接,然后异步进行 DNS 查找。不建议使用此选项,因为在 DNS 查找返回之前,玩家会有一段时间连接到服务器。不过,它不会延迟连接过程。
- DisconnectMessage (v0.5) (字符串) [默认: "Connected from a publicly blacklisted server!"] 随断开连接 / 踢出操作发送的可配置消息。
- LogToFile (v0.6) (布尔值) [默认: true] 指示系统将调试和断开连接消息记录到插件目录下的 BlacklistCheck.log 文件中。
安装
- 要安装此插件,只需将 jar 文件放入 plugins 目录即可
错误 / 已知限制
- 默认服务器列表包含 8 个 DNS 服务器,检查每一个都需要时间。增加此列表会导致客户端超时错误(在未启用 DelayCheck 配置指令的情况下)
- 如果任何一个 DNS 服务器对该地址返回了结果,客户端将被断开连接
未来计划
- 尝试整合任何额外的用户请求。
参见
DNSBL 是一种常用的做法,用于阻止垃圾邮件发送者和其他不受欢迎的流量。如需了解 DNSBL 运作方式的完整描述、可用公共 DNSBL 服务器列表以及其他信息,请使用 Google 搜索。
Blacklist Check
Overview
This plugin is designed to use public DNS Blacklist servers to check incoming connections and disallow anyone using a known public proxy from being able to connect. The list of DNSBL servers used is configurable.
Features
- Stop grief before they even connect
- Increased security
- (v0.2) Whitelist known IP addresses to always allow connections
- (v0.3) Whitelist entire IP subnets
- (v0.5) Choose to block the connection until the address may be verified, or allow the connection and kick if they are blacklisted
Configuration
Plugin Configuration
- DNSBLServers (v0.1) A list of DNS servers that will resolve blacklisted IP addresses
- Whitelist (v0.2) A list of IP addresses that will always be allowed in and will not be checked against the DNSBL servers. NOTE: As of v0.3 these addresses must be in CIDR notation. For example to enter a single IP address use "127.0.0.1/32" to allow an entire class C subnet use "192.168.1.0/24". Please be sure to update the config file when upgrading from v0.2.
- Debug (v0.3) (Boolean) [Default: false] A directive to have the plugin print more information to the console
- LogDisconnects (v0.4) (Boolean) [Default: true] A directive to have the plugin output connection refusals to the console
- DelayCheck (v0.5) (Boolean) [Default: false] A directive to have the plugin allow the connection, then thread the DNS lookups. This option is not recommended, as there will be a period of time when they will be connected to the server until the DNS lookup returns. It will, however, not delay the connection process.
- DisconnectMessage (v0.5) (String) [Default: "Connected from a publicly blacklisted server!"] The configurable message to send along with the disconnect / kick.
- LogToFile (v0.6) (Boolean) [Default: true] A directive to have the system log to the BlacklistCheck.log file in the plugin's directory for debug and disconnect messages.
Installation
- To install the plugin, simply place the jar in the plugins directory
Bugs / Known Limitations
- The default server list contains 8 DNS servers, checking each one takes time. Increasing this list will cause client timeout errors (without the DelayCheck configuration directive)
- The client will be disconnected if even one DNS server returns a result for the address
Future Plans
- Try to incorporate any additional user requests.
See Also
DNSBL is a common practice to block spammers and other unwanted traffic. For a full description about how DNSBL operates, a list of available public DNSBL servers, and other information, use Google.
下载 BlacklistCheck
下载 BlacklistCheck
下载 BlacklistCheck
下载 BlacklistCheck
下载 BlacklistCheck
下载 BlacklistCheck
下载 BlacklistCheck
v0.1
- 首次上传
v0.2
- 新增功能:支持在 Whitelist 配置项中包含特定地址
v0.3
- 新增功能:支持在 Whitelist 配置项中以 CIDR 格式包含子网
- 新增 Debug 配置指令,用于向控制台输出更多信息
v0.4
- 新增配置选项 LogDisconnects,当连接被拒绝时输出到日志文件。
v0.5
- 新增配置选项 DelayCheck,允许对 DNS 查询进行线程化处理(不推荐)
- 新增配置选项 DisconnectMessage,允许自定义断开/踢出消息
- 新增额外的调试和错误处理消息
v0.5.1
- 修正了延迟检查操作
v0.6
- 新增将日志记录到文件的功能
v0.3
- 现有配置文件中的 Whitelist 条目必须更新为 CIDR 格式
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧