櫻花射手 发表于 2024-4-25 22:55:06

基岩版服务器UDP端口攻击解决方案(适用于BDS/LLBDS/LL3/NK等一系列基岩版

<br /><br /><font size="3"><font color="#006400"><strong>前言:最近,针对于基岩版服务器的端口攻击案例越来越多,而防御插件甚少,防御措施较为缺乏,本教程因此而诞生。</strong></font></font><br /><font size="1"><font color="#ff0000"><strong>观前提醒:请用电脑/电脑UA/<a href="https://klpbbs.com/thread-134445-1-1.html?mobile=no" target="_blank">论坛电脑版模式</a></strong></font></font><strong><font size="1"><font color="#ff0000">阅读以获取最佳体验</font></font><br /></strong><font size="5"><font color="#006400"><strong><br /><br />本教程适用对象:</strong></font></font><br /><strong><font size="4"><font color="#000080">BDS/LLBDS/Nukkit等一系列依赖UDP端口运行的</font><font color="#ff8c00">受到</font></font></strong><a href="https://info.support.huawei.com/info-finder/encyclopedia/zh/UDP+Flood.html" rel="external nofollow" onClick="saya_extlink_golink('https://info.support.huawei.com/info-finder/encyclopedia/zh/UDP+Flood.html');return false;" target="_blank"><font size="4"><strong>UDP端口攻击</strong></font></a><strong><font size="4"><font color="#ff8c00">的</font><font color="#000080">基岩版服务器腐竹</font></font></strong><br /><strong><font size="3"><font color="#2e8b57">本教程采取手把手教学,内含20余张详细的流程介绍图片,尽可能做到清晰易懂</font></font></strong><br /><font size="3"><font color="#2e8b57"><strong>本教程全程无需用到第三方付费内容,靠系统自带的组件和服务器插件实现防御,如果您财大气粗,花钱去找专业人士和购买专业防御包来解决问题或许更有效果<br /></strong></font></font><strong><font size="3"><font color="#2e8b57">本教程共约2000汉字,加上排版总计1.3万余字节</font></font></strong><br /><strong><font size="3"><font color="#2e8b57">本教程整个流程预计需要10-20分钟</font></font></strong><br /><font size="3"><font color="#2e8b57"><strong>如果遇到了不懂的地方,欢迎回帖提问,我将尽我所能予以回答</strong></font></font><br /><font size="3"><strong><font color="#8b0000">由于缺少样本,且大都为本人亲历总结,</font></strong></font><br /><strong><font color="#8b0000"><font size="3">因此本教程</font></font><font size="4"><font color="#ff8c00">可能</font></font><font color="#8b0000"><font size="3">对超大流量的UDPFlood攻击</font></font></strong><strong><font color="#8b0000">、分布式的</font></strong><strong><font color="#8b0000">UDPFlood</font></strong><strong><font color="#8b0000">攻击并没有显著作用,需要进一步获取样本资料研究并予以判定</font></strong><br /><strong><font color="#8b0000">如果您看完本教程</font><font color="#006400">得以解决</font><font color="#8b0000">/</font><font color="#ff0000">未解决</font><font color="#8b0000">问题,都希望您能在回帖区发布您的宝贵经验,谢谢。</font></strong><br />————————————————————————————<br /><br /><strong>需要用到的工具:</strong>BDS防火墙插件<a href="https://github.com/ShrBox/BDSFirewall/tree/0.2.0" rel="external nofollow" onClick="saya_extlink_golink('https://github.com/ShrBox/BDSFirewall/tree/0.2.0');return false;" rel="external nofollow" onClick="saya_extlink_golink('https://github.com/ShrBox/BDSFirewall/tree/0.2.0');return false;" target="_blank">ShrBox/BDSFirewall at 0.2.0 (github.com)</a>2.15.0的LLBDSv2<a href="https://github.com/LiteLDev/LiteLoaderBDSv2/releases" rel="external nofollow" onClick="saya_extlink_golink('https://github.com/LiteLDev/LiteLoaderBDSv2/releases');return false;" rel="external nofollow" onClick="saya_extlink_golink('https://github.com/LiteLDev/LiteLoaderBDSv2/releases');return false;" target="_blank">Releases · LiteLDev/LiteLoaderBDSv2 (github.com)</a>1.20.11的BDS <a href="https://www.minebbs.com/bds/version/19837/download" rel="external nofollow" onClick="saya_extlink_golink('https://www.minebbs.com/bds/version/19837/download');return false;" rel="external nofollow" onClick="saya_extlink_golink('https://www.minebbs.com/bds/version/19837/download');return false;" target="_blank">https://www.minebbs.com/bds/version/19837/download</a>服务器Windows操作系统环境(本教程的操作系统以Windows服务器操作系统为主)<br />————————————————————————————<br /><strong><font size="4"><font color="#8b0000"><u>服务器端口攻击,服务器是什么症状?</u></font></font></strong><font size="3">首先,打开服务器的任务管理器,选择上方栏【性能】,查看网络<br />在服务器软件关闭的情况下,服务器会有1Mbps甚至多得多的下行带宽占用(不典型)<br /><strong>在服务器软件开启的情况下,即使服务器里面没有人,服务器也会有3Mbps甚至多得多的上行带宽占用(典型)</strong></font><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="B578B313B9890489E8C167CD30C02499.jpg" onerror="study_killerrpic(this)" aid="384218" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/210524r6n0ej8h80nn2j46.jpg" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/210524r6n0ej8h80nn2j46.jpg" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384218" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br /><font size="3">其次,当在服务器配置文件中把端口<strong>改成其他端口后,服务器开启后的异常上行流量将消失</strong>。</font><br /><font size="3"><br /></font>————————————————————————————<br /><br /><font size="4"><font color="#8b0000"><strong><u>服务器端口攻击,客户端是什么症状?</u></strong></font></font><br /><font size="3">最典型的,<strong>在服务器列表界面能显示服务器的MOTD,但加入服务器时卡在正在加入服务器,无反应直至正在与服务器断开连接。</strong></font><br /><br />————————————————————————————<br /><br /><font size="4">总的来说,<strong>UDP端口攻击有着两个典型特征:</strong><br /><font color="#4b0082"><strong>①服务器开启后的明显异常上行带宽</strong><br /><strong>②客户端列表能显示Motd,但无法正常进入服务器</strong></font></font><br /><br />————————————————————————————<br /><br /><font size="4"><strong>受到UDP端口攻击的危害:</strong></font><br /><font size="4"><strong><font color="#a0522d">威胁服务器网络安全</font>,<font color="#8b0000">导致玩家很难正常进入服务器</font>、<font color="#808000">经常掉线</font>。</strong></font><br /><font size="4"><strong><font color="#000000">由于UDP端口攻击的成本较低、攻击效果较好,</font></strong></font><br /><font size="4"><strong><font color="#000000">故近期</font><font color="#ff0000">较为容易</font><font color="#000000">受到此类型的攻击</font>!</strong></font><br /><br />————————————————————————————<br /><br /><font size="4"><strong>那么,如果确认是端口攻击,有什么办法防御吗?</strong></font><br /><font size="4"><font color="#2e8b57"><strong>本教程将给出一个本人总结的可行的方案。</strong></font></font><br /><font size="3">首先,基岩版服务器端口攻击最头疼的问题</font><br /><font size="3">是</font><strong>几乎没有软件能够有效的检测、阻止。</strong><br /><font size="3">这时候,我们必须借助一些针对性质的工具对其进行防御。</font><br /><font size="3"><br /></font><font size="4"><strong><font color="#2e8b57">很幸运</font></strong>,LL<strong>(曾)</strong>有过大佬制作过这种网络攻击防御的插件<br /><strong><font color="#ff0000">但很不幸的是</font></strong>,这个插件仅发布过一版本就<strong><font color="#ff0000">停止了更新</font></strong>。<br /><font color="#ff8c00"><strong>但不幸中的万幸是</strong></font>,该插件的防御逻辑在现行基岩版服务器仍然是<strong>有利用价值的</strong>(获取攻击者的IP)</font><br /><font size="3"><br />这也是本期教程的目的,</font><strong><font size="4"><font color="#800080">教你使用这个插件配合Windows自带的本地安全策略来防御网络攻击。</font></font></strong><font size="4"><font color="#800080"><br /></font></font><br /><font size="4"><font color="#000000">————————————————————————</font><br /></font><strong><font size="4"><font color="#4b0082">先介绍原插件的使用流程,</font></font></strong><br /><strong><font size="4"><font color="#4b0082">走一遍流程是必不可少的,</font></font></strong><br /><strong><font size="4"><font color="#4b0082">这样才可获取攻击服务器的IP。</font></font></strong><br /><strong><font size="4"><font color="#556b2f">第一步:首先,下载以下的插件、软件:</font></font></strong><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td>BDS防火墙插件<a href="https://github.com/ShrBox/BDSFirewall/tree/0.2.0" rel="external nofollow" onClick="saya_extlink_golink('https://github.com/ShrBox/BDSFirewall/tree/0.2.0');return false;" rel="external nofollow" onClick="saya_extlink_golink('https://github.com/ShrBox/BDSFirewall/tree/0.2.0');return false;" target="_blank">ShrBox/BDSFirewall at 0.2.0 (github.com)</a><br />2.15.0的LLBDSv2<a href="https://github.com/LiteLDev/LiteLoaderBDSv2/releases" rel="external nofollow" onClick="saya_extlink_golink('https://github.com/LiteLDev/LiteLoaderBDSv2/releases');return false;" rel="external nofollow" onClick="saya_extlink_golink('https://github.com/LiteLDev/LiteLoaderBDSv2/releases');return false;" target="_blank">Releases · LiteLDev/LiteLoaderBDSv2 (github.com)</a><br />1.20.11的BDS <a href="https://www.minebbs.com/bds/version/19837/download" rel="external nofollow" onClick="saya_extlink_golink('https://www.minebbs.com/bds/version/19837/download');return false;" rel="external nofollow" onClick="saya_extlink_golink('https://www.minebbs.com/bds/version/19837/download');return false;" target="_blank">https://www.minebbs.com/bds/version/19837/download</a></td></table><br /><font size="4"><font color="#006400"><strong>第二步:按照一般方法组建好LLBDS服务端</strong></font></font><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td>(解压BDS、LLBDSv2,把他们合并为同一个文件夹,确保PEditor.exe和bedrock_server.exe在同一个文件夹后,运行PEditor.exe后得到bedrock_server_mod.exe即可)</td></table><br /><font size="4"><font color="#008000"><strong>第三步:把BDSFirewall插件解压后得到的dll文件移动到/plugins文件夹下</strong></font><br /><font color="#2e8b57"><strong>第四步:把server.properties中的端口改为之前服务器受到攻击的端口</strong></font><br /><strong><font color="#9acd32">第五步:启动服务器 !</font></strong></font><br /><font size="4"><br /><strong>如果这个插件还在继续更新的话,那么本期教程应该到此结束</strong></font><br /><strong><font size="3">但很遗憾的是插件停止了更新,接下来将是重要内容——</font><font size="5"><font color="#ff0000">把攻击服务器的IP彻底拉黑</font></font></strong><br />——————————————————————————————————<br /><font size="2">你在启动服务器后,</font><br /><font size="2"><strong>一定会看到该插件在控制台报出的攻击IP(黄体字)</strong></font><br /><font size="2"><strong>记得复制下来备用哦</strong></font><br /><font size="2">—————————————————————————————————————</font><br /><font size="2"><br /></font><br /><img onerror="study_killerrpic(this)" id="aimg_K2XDM" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://klpbbs.com/static/image/hrline/line9.png" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /><br /><br /><font size="2"><br /></font><font size="4">需要拉黑攻击IP,我们必须用到Windows自带的<strong><font color="#8b0000"> <font face="-apple-system, BlinkMacSystemFont, &amp;quot;">本地安全策略</font></font></strong> 了</font><br /><br /><img onerror="study_killerrpic(this)" id="aimg_BADJ8" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://klpbbs.com/static/image/hrline/line9.png" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /><br /><br /><strong><font size="4">第0步:启动“本地安全策略”</font></strong><br /><font size="3">1、点击Windows开始菜单<br />2、找到“Windows管理工具”<br />3、找到“本地安全策略”项目打开</font><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384220" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/212324dcoous2llocl30ll.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/212324dcoous2llocl30ll.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="455" id="aimg_384220" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br /><br /><img onerror="study_killerrpic(this)" id="aimg_ogI3R" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://klpbbs.com/static/image/hrline/line9.png" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /><br /><br /><font size="4"><font color="#483d8b"><strong>第1步:新建需要拉黑的IP的筛选器</strong></font></font><br /><font size="3">右键“<strong>IP安全策略...</strong>”</font><br /><font size="3">然后点击第2个选项<strong>管理IP筛选器列表</strong></font><br /><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384226" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/212800e88ep5czfpdp5p95.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/212800e88ep5czfpdp5p95.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384226" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br /><br /><font size="3">点击弹出窗口的左下角添加选项<br />会再弹出一个窗口,直接<strong>再次点击添加即可</strong>(此窗口的名称和介绍可以不用管,当然如果为了批量化管理可以设置名称和介绍)</font><br /><br /><font size="3">之后会弹出一个向导,连续<strong>点击两次下一页</strong>(第二个窗口的介绍可以不用填),来到这样的界面</font><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384227" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213041d68su4rx6xhrfi8x.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213041d68su4rx6xhrfi8x.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384227" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br /><br /><font size="3">源地址请选择</font><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384228" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213114uar367e59rxuraea.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213114uar367e59rxuraea.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384228" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br /><strong><font size="3">否则其他玩家进不去了别怪我没说~</font></strong><br /><br /><font size="3">还记得你刚刚复制的攻击IP吗,粘贴到下方栏中后点击下一页</font><br /><br /><font size="3">下一页是选择目标地址<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384229" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213244xm50sxmvsievthz8.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213244xm50sxmvsievthz8.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384229" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />选择“<strong>我的IP地址</strong>”即可,然后点击下一页<br /><br />这页是选择协议类型,建议选择“任何”即可<br /><br />然后点击下一页,应该就能完成第一步向导了,然后点击完成。</font><br /><br /><img onerror="study_killerrpic(this)" id="aimg_tf1Bd" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://klpbbs.com/static/image/hrline/line9.png" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /><br /><br /><font size="4"><font color="#000080"><strong>第2步:新建筛选器操作</strong></font></font><br /><font size="3">再次回到主菜单,右键左侧栏IP安全策略...选择第二项<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384235" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213631rx9uq3zchvqmjuwh.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213631rx9uq3zchvqmjuwh.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384235" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br /><br />然后选择顶部栏第二项<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384236" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213713n6n66ezc20nauhoa.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213713n6n66ezc20nauhoa.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384236" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />然后选择左下角添加<br /><br />和之前一样,连续点击两次下一页即可<br /><br /><br />到了下一页,千万记得按如图所示选择,别选错了哦~<br /><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384237" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213821xusj6nzaa5azrrmf.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213821xusj6nzaa5azrrmf.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384237" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br /><br />然后直接下一页直至点击完成<br /></font><br /><img onerror="study_killerrpic(this)" id="aimg_tga61" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://klpbbs.com/static/image/hrline/line9.png" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /><br /><br /><font size="4"><font color="#0000ff"><strong>第三步:创建一个IP安全策略</strong></font></font><br /><font size="3">接下来就是第三步了<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384238" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213938stwkdturtdd3kdki.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/213938stwkdturtdd3kdki.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384238" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />右键主菜单左栏IP安全策略...,选择第一项<br /><br />这里可以无脑点直至完成为止,为了方便在完成页面可以勾上编辑属性<br /><br />然后你会得到这样的窗口<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384239" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214125x6g27y7wgvrv6hya.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214125x6g27y7wgvrv6hya.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384239" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />点击左下角添加<br />连续点击三次下一页(前三页按照默认配置即可)<br />直到此页<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384240" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214226nlpaopcuoom4uomm.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214226nlpaopcuoom4uomm.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384240" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />这里请勾选上你刚刚新建的筛选器列表<br />然后点击下一页<br />到了下一页,也一并勾选上你新建的操作<br /><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384241" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214323c6ksjrj66kd4isjc.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214323c6ksjrj66kd4isjc.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384241" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br /><br />然后完成,会转跳到这个页面<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384242" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214407t3d3vs3v33v3xxsg.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214407t3d3vs3v33v3xxsg.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384242" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />勾选上你新建的列表即可</font><br /><br /><img onerror="study_killerrpic(this)" id="aimg_PQW0T" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://klpbbs.com/static/image/hrline/line9.png" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /><br /><br /><font size="4"><font color="#4169e1"><strong>最后一步:防火墙启动!</strong></font></font><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384243" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214506ozg4gf7g0795tutu.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214506ozg4gf7g0795tutu.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384243" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />如图所示,右键选择分配<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384248" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214533dqlrml9x9gq3pxjo.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214533dqlrml9x9gq3pxjo.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="325" id="aimg_384248" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />然后他右下角就绿了<br /><br /><br />好了,这时候你再去看看服务器任务管理器,<br /><strong><font size="4">你就会发现,几十Mbps的上行占用就没了。</font></strong><br /><br /><img onerror="study_killerrpic(this)" id="aimg_z6AUh" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://klpbbs.com/static/image/hrline/line9.png" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /><br /><br /><font size="3">如果对方切换了攻击IP(这种端口攻击<strong>一般</strong>仅为单IP攻击,<strong>攻击者的可用IP一般有限,无需过于担心</strong>)<br />则再次启动上面搭建好的LLBDS端,获得他的新攻击IP,然后右键IP安全策略...管理IP筛选器...<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384249" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214844ve4rtryb8trxqpzt.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214844ve4rtryb8trxqpzt.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384249" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />选择新IP筛选器列表<br /><br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384250" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214928tus2auugfjjfwc3w.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/214928tus2auugfjjfwc3w.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384250" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />选择编辑<br />然后选择添加,按照上面第一步添加第一个攻击IP的方法完成添加新的攻击IP即可<br /><input type="button" class="yc" value="点击展开折叠内容" onClick="n = this.parentNode.parentNode.lastChild;if(n.style.display == 'none') {n.style.display = 'block';this.value='点击折叠展开内容';} else {n.style.display = 'none';this.value='点击展开折叠内容';} return false;"/> <table style="word-break:break-all;word-wrap:break-all;"><td><img title="image.png" onerror="study_killerrpic(this)" aid="384251" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/215032a7g3n4nx7xj1j75o.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/215032a7g3n4nx7xj1j75o.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384251" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><img title="image.png" onerror="study_killerrpic(this)" aid="384252" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/215049inkqlkc6ccj6nckz.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/215049inkqlkc6ccj6nckz.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384252" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /><img title="image.png" onerror="study_killerrpic(this)" aid="384253" src1="static/image/common/none.gif" zoom="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/215100t4yikc56ad4ed3y4.png" src="https://ip.klpbbs.com/attach.php?id=/forum/202404/25/215100t4yikc56ad4ed3y4.png" class="zoom" onclick="zoom(this, this.src, 0, 0, 0)" width="600" id="aimg_384253" inpost="1" onmouseover="showMenu({'ctrlid':this.id,'pos':'12'})" /></td></table><br />点击完成,确定,关闭后即可</font><br /><br /><img onerror="study_killerrpic(this)" id="aimg_tvVI2" onclick="zoom(this, this.src, 0, 0, 0)" class="zoom" src="https://klpbbs.com/static/image/hrline/line9.png" onmouseover="img_onmouseoverfunc(this)" lazyloadthumb="1" border="0" alt="" /><br /><br /><br /><br /><font size="5"><font color="#ff8c00"><strong>至此,本期教程的主体部分结束</strong></font></font><br /><font size="3"><strong>在食用完了本期教程内容后:</strong></font><br /><font size="3">你的服务器在没人的情况下,上行带宽将从几十Mbps降低到2Mbps以内,并且可以正常进入,</font><br /><font size="3">如果还是不能进入,那么可能是你漏看了步骤,或者是你服务器受到的攻击类型并非UDP端口攻击,快回去仔细排查吧,</font><br /><font size="3"><font color="#006400"><strong>如有疑问,欢迎回帖讨论。</strong></font></font><br /><font size="3">(<strong>牢记关于服务器受到UDP端口攻击的两个典型症状:<font color="#800080">①服务器开启后的明显异常上行带宽②客户端列表能显示Motd,但无法正常进入服务器</font></strong>)<br /></font><br /><br /><font style="background-color:rgb(245, 245, 245)"><font size="3"><marquee width="90%" scrollamount="3">本教程系本人原创,以供基岩版服务器UDP端口攻击的防御措施参考,本人发布平台:苦力怕论坛(Ucraft);未经允许不得转载。</font></font><font style="background-color:rgb(245, 245, 245)"><font size="3"></marquee></font></font><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br>来源:<a href="https://klpbbs.com/thread-134445-1-4.html" target="_blank">https://klpbbs.com/thread-134445-1-4.html</a><br>免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!

银河投递员 发表于 2024-4-25 23:44:53

不错不错,实用教程!

怦然心动 发表于 2024-4-27 21:23:19

66666666666

树上有只熊 发表于 2024-4-28 12:41:09

<a href="https://klpbbs.com/home.php?mod=space&amp;uid=184873" target="_blank">@Ucraft</a> 可以试试用这个代替观前提醒(你应该能看到吧):<a href="https://klpbbs.com/thread-134640-1-1.html" target="_blank">https://klpbbs.com/thread-134640-1-1.html</a>
页: [1]
查看完整版本: 基岩版服务器UDP端口攻击解决方案(适用于BDS/LLBDS/LL3/NK等一系列基岩版