本日幼稚園児以来の食あたりになりました。 コドラでもなんともないのに、お酒の飲み過ぎ以外でキラキラしたのはものすごい久しぶりです。 さて技術のなさを客に責任転嫁して某ホスティング会社が話題になっていますね。 これ一番の問題は自分のホストがDDoSによって直接ダウンやフラッピングしてしまうことでしょう。 共用サーバなら打つ手なしですが、VPSや専用サーバの場合はiptablesである程度自衛することができます。 各社フィルタリングをしていると発表していますが、内容を明かせないのはセキュリティ的しかたないですよね。 自社ではDDoS対策にiptablesを使っているということもあり、可能な範囲で手法を公開しようと思います。 方法としてはiptablesのhashtablesを使います。 iptablesはフラグやステータス、srcIPやdstIPなど条件を細かくしてハッシュテーブルを作ることが