From: Max Ivanov <ivanov.maxim@gmail.com>
To: "Виктор Шумаков" <oxy-schumacher@bk.ru>,
"ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] SYN_RECV флуд и защита от него
Date: Thu, 12 Nov 2009 11:54:09 +0000
Message-ID: <fbfa7b0c0911120354k7d14a6c1y15b3e44b8a02d0fa@mail.gmail.com> (raw)
In-Reply-To: <E1N3wq1-00040f-00.oxy-schumacher-bk-ru@f143.mail.ru>
> В последние время очень участились SYN_RECV атаки на мой сервер, а именно на 411 и на 80 -тые порты, сама атака выглядит так:
> netstat -n
> tcp 0 38 80.222.225.25:411 212.92.221.111:1941 SYN_RECV
>
> и так может быть до 1-2 тысяч конектов, после чего сервер не успевает обрабатывать запросы от другиг и тупо обрабатывает только SYN_RECV с одного или несколькольких айпишников...
Поидее включение syn cookies как раз призвано бороться с этой заразой.
Оно отправляет ответ на SYN и забывает о соединении вообще, история
обмена восстанавливается по полю serial из третьего пакета в сессии
(который пришлет валидный клиент,и скорее всего не пришлет невалидный)
prev parent reply other threads:[~2009-11-12 11:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-30 19:08 Виктор Шумаков
2009-10-30 19:31 ` [Sysadmins] SYN_RECV ÆÌÕÄ É ÚÁÝÉÔÁ ÏÔ ÎÅÇÏ MisHel64
2009-10-30 20:09 ` [Sysadmins] SYN_RECV флуд и защита от него Kharitonov A. Dmitry
2009-10-31 16:27 ` Michael Shigorin
2009-10-31 18:36 ` Kharitonov A. Dmitry
2009-11-12 11:54 ` Max Ivanov [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=fbfa7b0c0911120354k7d14a6c1y15b3e44b8a02d0fa@mail.gmail.com \
--to=ivanov.maxim@gmail.com \
--cc=oxy-schumacher@bk.ru \
--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