From: Viacheslav Dubrovskyi <slava@tangramltd.com> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] Борьба с synflood Date: Wed, 12 Dec 2012 09:20:52 +0200 Message-ID: <50C83054.1030804@tangramltd.com> (raw) In-Reply-To: <50C7B49E.9040305@complife.ru> [-- Attachment #1: Type: text/plain, Size: 1016 bytes --] Ф12.12.2012 00:33, Michael A. Kangin пишет: > Интриги добавляет тот факт, что Линупс сосёт. > > Если на этот сервер поставить FreeBSD9, то она принимает под 450К без > всякого ухудшения сервиса. И живёт со скрипом вплоть до 750К с > атакующей машины, больше я с неё не смог выжать. > > Собственно, что сделать можно под Линуксом? > Все настройки в целом по умолчанию (кроме раскидывания прерываний по > ядрам процессора). Я пробовал много шаманств - и всякие там sysсtl > крутить, и длины очередей в ifconfig и ethtool, и параметры igb. Все > бесполезно (да и раскидывание прерываний, подозреваю, тоже). Модули iptables загружены? С выгруженными модулями проверяли? > > Была идея, что 2-4 сетевухи в бондинге будут лучше справляться. > Авотфиг. Хуже. Да, хуже. Проверяли. Лучше на каждую отдельно роутить. И вообще, каждая новая сетевуха добавленная в бондинг теряет +~30% пропускной способности. Т.е. если мы сделаем в бондинге 3 сетевухи по 1G то получим примерно 1+0,7+0,4=2,1G -- WBR, Viacheslav Dubrovskyi [-- Attachment #2: ÐÑипÑогÑаÑиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ S/MIME --] [-- Type: application/pkcs7-signature, Size: 3746 bytes --]
next prev parent reply other threads:[~2012-12-12 7:20 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-12-11 22:33 Michael A. Kangin 2012-12-12 7:20 ` Viacheslav Dubrovskyi [this message] 2012-12-12 8:31 ` Anton Gorlov 2012-12-12 9:54 ` Viacheslav Dubrovskyi 2012-12-12 10:12 ` Anton Gorlov 2012-12-13 7:47 ` Sergey 2012-12-12 9:40 ` Michael A. Kangin 2012-12-14 12:17 ` Sergey Alembekov 2012-12-12 8:39 ` Anton Gorlov 2012-12-12 9:42 ` Michael A. Kangin 2012-12-12 9:58 ` Viacheslav Dubrovskyi 2012-12-12 10:20 ` Alexei Takaseev 2012-12-12 10:34 ` Viacheslav Dubrovskyi 2012-12-12 10:44 ` Michael A. Kangin 2012-12-12 10:40 ` Michael A. Kangin 2012-12-12 10:46 ` Michael A. Kangin 2012-12-12 10:51 ` Viacheslav Dubrovskyi 2012-12-12 11:10 ` Michael A. Kangin 2012-12-20 6:20 ` Dubrovskiy Viacheslav 2012-12-20 18:15 ` Michael A. Kangin 2013-01-06 12:04 ` Dubrovskiy Viacheslav
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=50C83054.1030804@tangramltd.com \ --to=slava@tangramltd.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