How to stop varnish response when it's got bad request
Nguyen Long
longvnit at gmail.com
Wed Jun 20 04:10:26 CEST 2012
Thanks Per Buer
But, I can't build it, it's so hard
I installed varnish from source successfully, next step, I installed vmods
then got an error
*You need rst2man installed to make dist*
I Installed Python Docutils, but I can't fix it :(
OS: CentOS 5.8- Linux localhost.localdomain 2.6.18-308.4.1.el5 #1 SMP Tue
Apr 17 17:08:00 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
Can anyone help me solve this problem ?
Thank you so much :)
@ Per Buer
If I installed varnish from RPM package, is there a way to install vmods
from another rpm package ?
2012/6/19 Per Buer <perbu at varnish-software.com>
> Hi Nguyen,
>
> On Tue, Jun 19, 2012 at 4:28 PM, Nguyen Thang Long <longvnit at gmail.com>wrote:
>
>>
>> I have a problem with botnet, I can detect bad request to my server using
>> varnish cache.
>>
>> **
>>
>> Currently, I set varnish return error 403 when it’s got bad request, but
>> it’s also got more bandwidth to responses (> 200Mbps)****
>>
>> So, I want to varnish drop bad requests and not response to client.
>>
>
> Martin wrote a VMOD that does conn_reset a while back. It is described
> here:
>
> https://www.varnish-software.com/blog/security-rejecting-offending-connections
>
>
> --
> Per Buer
> Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
> *Varnish makes websites fly!*
> Whitepapers <http://www.varnish-software.com/whitepapers> | Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
> Twitter <https://twitter.com/varnishsoftware>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120620/850baeb9/attachment.html>
More information about the varnish-misc
mailing list