ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] apache DoS by slowloris
Date: Wed, 8 Jul 2009 18:38:14 +0300
Message-ID: <20090708153814.GY28191@osdn.org.ua> (raw)
In-Reply-To: <20090706222848.GA23454@mw.office.seiros.ru>

On Tue, Jul 07, 2009 at 02:28:48AM +0400, Денис Смирнов wrote:
> MS> * nginx может быть неэффективен, если до backend apache
> MS>   "долетает" достаточное количество таких тормозных соединений.
> Не совсем понимаю -- nginx отдает запрос апачу до того как
> получил целиком тело запроса от клиента? Я не знал об этом, и
> это весьма неприятно.

А, это нет вроде.

> Мне раньше казалось что установка nginx frontend фактически
> полностью развязывает по таймингам любые извращения клиентов
> и backend'ы.

Писал почти день кусочками, отправлял уже в сонном виде,
#include <stdotmaz> :)

В данном конкретном случае (скармливание хедеров по чайной ложке)
вроде как действительно не должно долетать, но по результатам
экспериментов без лёгкого поднятия MaxClients на апаче у меня
сложилось ощущение, что что-то долетало.  Внимательно не смотрел,
поскольку опять же урывками.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


      parent reply	other threads:[~2009-07-08 15:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06 18:13 Michael Shigorin
2009-07-06 22:28 ` Денис Смирнов
2009-07-07  4:09   ` Max Ivanov
2009-07-07 17:33     ` Денис Смирнов
2009-07-08 15:38   ` Michael Shigorin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090708153814.GY28191@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git