Changes between Version 6 and Version 7 of jazz/10-02-26


Ignore:
Timestamp:
Feb 26, 2010, 2:53:34 PM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/10-02-26

    v6 v7  
    1919 *
    2020
    21 == Apache Security ==
     21== Apache / Lighttp Security ==
    2222
    2323 * 為了預防同一個 IP 同時間佔據太多連線,過去大家好像都用 !LimitIPConn 這個模組,不過 Apache 2.1
    2424   * 官方網站: http://dominia.org/djao/limitipconn.html - Apache 1.3 版本 - 有 [http://packages.debian.org/libapache-mod-limitipconn debian etch 套件], 不過到了 lenny 就沒了(因為是 Apache 1.3)
    25    * 官方網站: http://dominia.org/djao/limitipconn2.html - Apache 2.x 版本
     25   * 官方網站: http://dominia.org/djao/limitipconn2.html - Apache 2.x 版本 - [http://elonen.iki.fi/code/unofficial-debs/mod-limitipconn/ 非官方 Debian 套件]
     26   * [http://disp.twbbs.org/board/11-707 <Ubuntu> Apache 2.x 安裝 limitipconn 模組防多線下載]
     27
     28 * [參考] 那如果用 Lighttpd 呢?? 從 "[http://forum.lighttpd.net/topic/57  lighty > limit amount of concurrent connections by client?]", 寫到: In your configuration add "mod_evasive" to server.modules, e.g.:
     29{{{
     30server.modules              = (
     31                               "mod_rewrite",
     32                               "mod_access",
     33                               "mod_auth",
     34                               "mod_status",
     35                               "mod_fastcgi",
     36                               "mod_compress",
     37                               "mod_rrdtool",
     38                               "mod_accesslog",
     39                               "mod_evasive" );
     40}}}
     41 * Then configure the maximum number of connections per IP like this:
     42{{{
     43evasive.max-conns-per-ip = 10
     44}}}