ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Ткаченко Максим" <maxman@yourline.ru>
To: ASA <community@altlinux.ru>
Subject: Re[2]: [Comm] Re: Gate
Date: Sun, 9 Mar 2003 08:08:44 +0600
Message-ID: <1351029140.20030309080844@yourline.ru> (raw)
In-Reply-To: <3136616962.20030308205020@udm.ru>

Hello ASA,

Saturday, March 8, 2003, 10:50:20 PM, you wrote:

A> Hello Michael,

A> Saturday, March 8, 2003, 8:13:46 PM, you wrote:

>>> Вопрос 2 : возможно ли  ввести ограничение, скажем, в 500 kb на
>>> размер закачиваемого из Интернета файла для машин внутренней
>>> локальной сети ?

MS>> Ставить прокси и зажимать на нем.  Тут не скажу, сквидмастер из
MS>> меня никакой :)

A> Да, если пустить качание только через прокси, а в сквиде
A> параметр для ограничения размера файлов действительно есть.


Ну если хотите не squide делать, то я делал так:
написал свой модуль аутентификации на перле и модуль выдирающий логи
из сквида по приходу оных. Задидывал все в БД, смотрел скока накачал
пользователь и блокировал его если больше трафик. Для  обнеовления
информации в сквиде был параметр отвечающий за время пепепроверки
аутентификации, вот его я и установил в 1-2 сек. Таким образом
вырубалось довольно таки быстро. Ошибки по трафику были, но терпимые.
А если качался борльшой файл, то тут такое не помогало...

-- 
Best regards,
 Ткаченко                            mailto:maxman@yourline.ru



  reply	other threads:[~2003-03-09  2:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-08 12:37 [Comm] Gate Oleg Vladimirovich
2003-03-08 13:38 ` Ткаченко Максим
2003-03-08 15:13   ` Vitaly Lipatov
2003-03-08 16:13 ` [Comm] Gate Michael Shigorin
2003-03-08 16:50   ` ASA
2003-03-09  2:08     ` Ткаченко Максим [this message]
2003-03-09  8:41       ` Re[3]: " ASA

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=1351029140.20030309080844@yourline.ru \
    --to=maxman@yourline.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git