簡體   English   中英

如何在Jetty中實施拒絕服務攻擊最佳策略

[英]How to implement Denial of Service attack optimal strategies in Jetty

在Jetty中實施拒絕服務攻擊防護的最佳方法是什么? 所有類都需要擴展什么,或者需要設置配置。

使用Dos篩選器http://wiki.eclipse.org/Jetty/Reference/DoSFilter 要在Jetty.xml中啟用它,您將插入以下代碼

<filter>
   <filter-name>DoSFilter</filter-name>
   <filter-class>org.eclipse.jetty.servlets.DoSFilter</filter-class>
   <init-param>
     <param-name>maxRequestsPerSec</param-name>
     <param-value>30</param-value>
   </init-param>
</filter>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM