[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-httpd-users
Subject:    Re: [users@httpd] Making delay in apache
From:       Ali Majdzadeh <ali.majdzadeh () gmail ! com>
Date:       2013-12-31 18:54:22
Message-ID: CAFpCjrUFFBP=CZdBQ=pLE=0zA1KJkahzV7qs7j5K-f6QuuBGPA () mail ! gmail ! com
[Download RAW message or body]

Samaneh,
Hi
I am not aware or even heard of such a configuration option, but if you
require Apache not to process requests for a specified amount of time, you
can use iptables in order to block traffic coming for port 80 for 10
seconds and release it after the job is done.

Warm Regards,
Ali
On Dec 31, 2013 1:49 PM, "samaneh berenjian" <sama.scientist@aut.ac.ir>
wrote:

> hi Ali,
>
> The problem of me is not how to process the modsecurity logs. My problem
> is how to make apache sleep or delay configuration? For example, tell
> apache to wait  10 seconds before responding to any request
>
> On Sun, 12/29/2013 07:20 PM, Ali Majdzadeh &lt;ali.majdzadeh@gmail.com&gt;
> wrote:
>
> Samaneh,
> Hi
> If you intend to develop some sort of a log manager program in order to
> process mod_security logs, it would be better to pipe Apache logs into a
> log manager daemon in order to process them simultaneously. Being the logs
> processed, you would be able to store the results into a database or do
> whatever the program is intended to. I think, the required architecture for
> these sort of problems is similar to what Snort and Barnyard2 have applied.
>
> Regards,
> Ali Majdzadeh Kohbanani
>
>
>
>
> 2013/12/29 samaneh berenjian <sama.scientist@aut.ac.ir>
>
>> ​hi dear users,
>>
>> I have installed modsecurity on my apache server. When ever a bad request
>> is logged by modsecurity, i process the logs of modsecurity logfile. Ihave
>> set modsecurity in detection only mode and i want apache to not to response
>> to bad request when i am processing the log of bad request.
>>
>> Is anyone aware of some type of apache sleep or delay configuration that will
>> easily allow me to configure this? For example, tell apache to wait  10
>> seconds before responding to any request.
>>
>
> --
> This email was Anti Virus checked by Astaro Security Gateway. http://www.astaro.com
>
>

[Attachment #3 (text/html)]

<p dir="ltr">Samaneh,<br>
Hi<br>
I am not aware or even heard of such a configuration option, but if you require \
Apache not to process requests for a specified amount of time, you can use iptables \
in order to block traffic coming for port 80 for 10 seconds and release it after the \
job is done.</p>

<p dir="ltr">Warm Regards,<br>
Ali</p>
<div class="gmail_quote">On Dec 31, 2013 1:49 PM, &quot;samaneh berenjian&quot; \
&lt;<a href="mailto:sama.scientist@aut.ac.ir">sama.scientist@aut.ac.ir</a>&gt; \
wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"> <div \
style="font-size:10pt;font-family:Arial;background-image:none;background-repeat:repeat"><font \
style="font-family:Arial">hi Ali,</font><div \
style="font-family:Arial;font-size:10pt"><br></div><div><font face="arial">The \
problem of me is not how to process the modsecurity logs. My problem is how to make  \
<span style="background-color:rgb(250,249,245)">apache sleep or delay \
configuration?</span><span style="background-color:rgb(250,249,245)">  For example, \
tell apache to wait    </span><span style="background-color:rgb(250,249,245)">10 \
seconds before responding to any request</span></font><br> <br><font \
style="font-family:Arial">On Sun, 12/29/2013 07:20 PM, Ali  Majdzadeh  &amp;<a \
href="mailto:lt%3Bali.majdzadeh@gmail.com" \
target="_blank">lt;ali.majdzadeh@gmail.com</a>&amp;gt; wrote:</font><br><blockquote \
style="font-family:Arial;font-size:10pt;border-left-width:2px;border-left-style:solid;border-left-color:rgb(0,0,204);padding-left:4px;margin-left:16px">
 <div dir="rtl"><div dir="ltr" class="gmail_default" \
style="font-family:tahoma,sans-serif">Samaneh,<br></div><div dir="ltr" \
class="gmail_default" style="font-family:tahoma,sans-serif">Hi<br></div><div \
dir="ltr" class="gmail_default" style="font-family:tahoma,sans-serif">

If you intend to develop some sort of a log manager program in order to process \
mod_security logs, it would be better to pipe Apache logs into a log manager daemon \
in order to process them simultaneously. Being the logs processed, you would be able \
to store the results into a database or do whatever the program is intended to. I \
think, the required architecture for these sort of problems is similar to what Snort \
and Barnyard2 have applied.<br>

<br></div><div dir="ltr" class="gmail_default" \
style="font-family:tahoma,sans-serif">Regards,<br>Ali Majdzadeh \
Kohbanani<br></div><div class="gmail_extra"><br clear="all"><div><div \
dir="rtl"><br></div></div> <br><br><div class="gmail_quote"><div dir="ltr">2013/12/29 \
samaneh berenjian <span dir="ltr">&lt;<a href="mailto:sama.scientist@aut.ac.ir" \
target="_blank">sama.scientist@aut.ac.ir</a>&gt;</span></div><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">

<div style="font-size:10pt;font-family:Arial;background-image:none;background-repeat:repeat">​hi \
dear users,<div><br></div><div>I have installed modsecurity on my apache server. When \
ever a bad request is logged by modsecurity, i process the logs of modsecurity \
logfile. Ihave set modsecurity in detection only mode and i want apache to not to \
response to bad request when i am processing the log of bad request.  </div>

<div><br></div><div><span \
style="font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;background-color:rgb(250,249,245)">Is \
anyone aware of some type of apache sleep or delay configuration that  </span><span \
style="font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;background-color:rgb(250,249,245)">will \
easily allow me to configure this? For example, tell apache to wait    </span><span \
style="font-family:Verdana,Geneva,Helvetica,Arial,sans-serif;background-color:rgb(250,249,245)">10 \
seconds before responding to any request.  </span></div>

</div></blockquote></div><br></div></div>
<pre>-- 
This email was Anti Virus checked by Astaro Security Gateway. <a \
href="http://www.astaro.com" target="_blank">http://www.astaro.com</a></pre> \
</blockquote></div></div></blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic