ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: MisHel64 <MisHel64@Bk.Ru>
To: ÷ÉËÔÏÒ ûÕÍÁËÏ× <oxy-schumacher@bk.ru>,
	 ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Fw: Re:  SYN_RECV ÆÌÕÄ É ÚÁÝÉÔÁ ÏÔ ÎÅÇÏ
Date: Sat, 31 Oct 2009 08:21:18 +0300
Message-ID: <173489131.20091031082118@Bk.Ru> (raw)
In-Reply-To: <E1N3xwj-0006cC-00.oxy-schumacher-bk-ru@f229.mail.ru>

Здравствуйте, Виктор.

Вы писали 30 октября 2009 г., 23:19:41:

>> Проще  всего банально влепить лимит для син пакетов. У тебя и стронг и
>> веб сервер сеть?
> можно более конкретный вид комманды в iptables для этого, если не трудно.

iptables -A INPUT -p icmp --icmp-type echo-reply -m limit --limit 3/minute --limit-burst 5 -j DROP

И попробуй по пинговать свою машину.

> Если речь идёт о connlimit то не прокатывает, на практике
> ограничение ним даже до двух всего лиш приглушает атаку, но не устраняет...

Странно это. Можно увидеть Ваши правила?

>> Ну  не  нужно так сложно.  Сам иптаблс создаст такой список, и сам его
>> будет  чистить.   Почитай про модуль рецент. 
> спасибо, сейчас читаю, но почиму то не вижу в нем прямой
> зависимости в решении моей проблемы...

С  помощью  рецент  ты  можешь  узнать  сколько  пакетов  с  заданными
условиями прошло через твое правило за последнее время. И если слишком
много,  то прибивать, или занести в бан линст. Бан нлист сделать то же
с помощью этого модуля.

-- 
С уважением,
 MisHel64                          mailto:MisHel64@Bk.Ru



      reply	other threads:[~2009-10-31  5:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-30 20:19 [Sysadmins] Fw: Re: SYN_RECV флуд и защита от него Виктор Шумаков
2009-10-31  5:21 ` MisHel64 [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=173489131.20091031082118@Bk.Ru \
    --to=mishel64@bk.ru \
    --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