Agnix is a small, educational operating system kernel for i386, supporting 32-bit protected memory mode, paging, hardware switched tasks, memory tests, PCI bus, devices, PCI IRQ routing, RT timers, network protocols. It is available with all the source code and is fully compatible with the Linux kernel API.
mod_cband is an Apache 2 module that solves the problem of limiting the bandwidth usage of users, virtual hosts, and destinations. When the configured transfer limit is exceeded, mod_cband will redirect all further requests to a location specified in the configuration file. The module can also limit download speeds and maximal requests per second for virtualhosts, users, and remote clients.
Re: Different HTTP response for the overflow page?
Sorry, there is no ability to send a non-200 HTTP responses for the overflow page. But, I'll add this functionality to the list of features that will be implemented in 0.9.6.1 :)
Re: almost perfect... ;-)
At the first, you should define a destination class (the set of IP addresses the request comes from):
Next, you can define a limit for this class:
# 1GB limit
CBandClassLimit NameofClass 1000000
# 4 week period
Have a nice day! ;)