From: "Dmytro O. Redchuk" <dor@ldc.net> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] Ограничить количество tcp соединений для каждого IP Date: Mon, 5 Feb 2007 10:31:25 +0200 Message-ID: <20070205083125.GC17892@ldc.net> (raw) In-Reply-To: <45C6D68C.70909@zaz.zp.ua> On Mon, Feb 05, 2007 at 09:02:36AM +0200, Gennadiy Redko wrote: > Pavel Shurubura пишет: > > Здравствуйте ! > > > > CтОит Linux-сервер как маршрутизатор для > > лок.сети. Подскажите, как можно ограничить количество > > tcp соединений от каждого ip-шника в локалке. > Имеются ввиду сессии? Как я себе представляю, можно использовать ipset + limit/iptables (или connlimit). btw, не пробовал Ж-) Но. ipset и connlimit в альт не впакованы (М24, по кр.мере). Да и лимиты весьма условные -- хорошо работают только для относительно малых величин. > Дело в том, что маршрутизатор не умеет разделять сессии. > Он работает с tcp/udp пакетами. > Для ограничения количества сессий нужно поднять на сервере > какой-нибудь промежуточный сервер. > Например squid для ftp/http-трафика. Или так. > > > > > Спасибо. -- _,-=._ /|_/| `-.} `=._,.-=-._., @ @._, `._ _,-. ) _,.-' ` G.m-"^m`m' Dmytro O. Redchuk
next prev parent reply other threads:[~2007-02-05 8:31 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-02-05 6:27 Pavel Shurubura 2007-02-05 7:02 ` Gennadiy Redko 2007-02-05 8:30 ` Serge 2007-02-05 15:17 ` Ilia Menchikh 2007-02-06 8:34 ` Serge 2007-02-06 9:19 ` Dmitriy L. Kruglikov 2007-02-05 8:31 ` Dmytro O. Redchuk [this message] 2007-02-05 8:47 ` Sergey 2007-02-05 9:14 ` Dmytro O. Redchuk
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=20070205083125.GC17892@ldc.net \ --to=dor@ldc.net \ --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