間引き点灯は節電にならない(場合がある)

『本当は難しい、間引き点灯による節電』(/.-J),休日にデフラグ 曰く、電力が供給されている蛍光灯器具のランプを外したり、複数のランプを使用する蛍光灯器具の一部のランプを外して節電している光景を見たり、実践している方もいると思います。しかし東芝ライテックのQ&Aやパナソニック電工のQ&Aによると、これらの節電方法は蛍光灯器具の形式によっては通常使用よりも多い電流が流れ危険であったり、力率が悪化したりするそうです。このような機器は全ての負荷が接続された状態で最も効率が良くなるように設計するのが普通だろうから,小手先の節電(もどき)は逆効果の可能性もある,ということなのだろう…

August 25, 2011 · Ryusuke KIKUCHI <ryusuke.kikuchi@gmail.com>

Apache Killer

『Apache HTTP Serverの脆弱性を突く「Apache Killer」——パッチは48時間以内にリリース予定』(SourceForge.JP)経由で"Advisory: Range header DoS vulnerability Apache HTTPD 1.3/2.x (CVE-2011-3192)"(Mailing list archives: announce@httpd.apache.org), However there are several immediate options to mitigate this issue until a full fix is available: 1) Use SetEnvIf or mod_rewrite to detect a large number of ranges and then either ignore the Range: header or reject the request. Option 1: (Apache 2.0 and 2.2) # Drop the Range header when more than 5 ranges. # CVE-2011-3192 SetEnvIf Range (,.*?){5,} bad-range=1 RequestHeader unset Range env=bad-range # optional logging. CustomLog logs/range-CVE-2011-3192.log common env=bad-range Option 2: (Also for Apache 1.3) # Reject request when more than 5 ranges in the Range: header. # CVE-2011-3192 # RewriteEngine on RewriteCond %{HTTP:range} !(^bytes=[^,]+(,[^,]+){0,4}$|^$) RewriteRule .* - [F] The number 5 is arbitrary. Several 10's should not be an issue and may be required for sites which for example serve PDFs to very high end eReaders or use things such complex http based video streaming. で,とりあえず対応してみる... P.S.)1 “CVE-2011-3192 Range header DoS vulnerability Apache HTTPD 1.3/2.x”(LowPriority),削る場合はRangeヘッダだけでは不十分でした。 ...

August 25, 2011 · Ryusuke KIKUCHI <ryusuke.kikuchi@gmail.com>