Throttling HTTP by Remote IP

From Resin 3.0

(Difference between revisions)
Jump to: navigation, search
Ferg (Talk | contribs)
(New page: Category: Cookbook As a way of protecting your server from denial-of-service (DOS) attacks, Resin lets you limit the number of connections from a single IP address. This capability is...)
Newer edit →

Revision as of 21:34, 2 October 2010


As a way of protecting your server from denial-of-service (DOS) attacks, Resin lets you limit the number of connections from a single IP address. This capability is available in Resin Professional, and it part of the <http> configuration.

resin.xml for HTTP throttling

<resin xmlns="http://caucho.com/ns/resin">
  <cluster id=""> 
    <resin:import path="${__DIR__}/app-default.xml"/>

    <server id="">

      <http port="80" address="*" throttle="8"/>

    </server>

    <host id="">
       <web-app id="/" root-directory="/var/www/public-html"/>
    </host>
  </cluster>
</resin>
Personal tools