From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: "Peter V. Saveliev" To: mandrake-russian@altlinux.ru Message-Id: <20011009124238.6c6fa06f.peet@infosite.ru> In-Reply-To: <20011009114356.1524e3e6.vserge@menatepspb.msk.ru> References: <20011009114356.1524e3e6.vserge@menatepspb.msk.ru> X-Mailer: Sylpheed version 0.4.62 (GTK+ 1.2.9; i586-mandrake-linux) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: [mdk-re] Re: [JT] SQUID Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Tue Oct 9 12:41:13 2001 X-Original-Date: Tue, 9 Oct 2001 12:42:38 +0400 Archived-At: List-Archive: List-Post: Hello, "Volkov Serge" ! On Tue, 9 Oct 2001 11:43:56 +0400 you wrote: > Надо сделать прокси на squid с авторизацией по логину и паролю, затем > необходимо задавать ограничение выкачиваемых пользователем данных и при > превышении лимита запрещать доступ пользователя в интернет. Смотри на тему: # acl aclname proxy_auth username ... # acl aclname proxy_auth_regex [-i] pattern ... # # list of valid usernames # # use REQUIRED to accept any valid username. # # # # NOTE: when a Proxy-Authentication header is sent but it is not # # needed during ACL checking the username is NOT logged # # in access.log. # # # # NOTE: proxy_auth requires a EXTERNAL authentication program # # to check username/password combinations (see # # authenticate_program). # # # # WARNING: proxy_auth can't be used in a transparent proxy. It # # collides with any authentication done by origin servers. It may # # seem like it works at first, but it doesn't. Про ограничение закачки: # DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option) # ----------------------------------------------------------------------------- # TAG: delay_pools # This represents the number of delay pools to be used. For example, # if you have one class 2 delay pool and one class 3 delays pool, you # have a total of 2 delay pools. # # To enable this option, you must use --enable-delay-pools with the # configure script. # #Default: # delay_pools 0 И далее по тексту - все расписано, лучше не придумаешь. Удачи. Петр.