From MAILER-DAEMON Mon Sep 17 10:00:45 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IXH9Y-00018P-QS for mharc-dazuko-devel@gnu.org; Mon, 17 Sep 2007 10:00:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXH9X-000172-7B for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 10:00:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXH9V-00016d-Ta for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 10:00:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXH9V-00016T-M0 for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 10:00:41 -0400 Received: from webmail25.mail.yandex.net ([213.180.223.153]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXH9V-0000e1-1C for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 10:00:41 -0400 Received: from YAMAIL (webmail25) by mail.yandex.ru id S7721270AbXIQOAS for ; Mon, 17 Sep 2007 18:00:18 +0400 X-Yandex-Spam: 1 Received: from [84.204.76.98] ([84.204.76.98]) by mail.yandex.ru with HTTP; Mon, 17 Sep 2007 18:00:17 +0400 From: =?KOI8-R?B?4czFy9PBzsTSIOvP0svP1w==?= To: dazuko-devel@nongnu.org MIME-Version: 1.0 Message-Id: <27261190037618@webmail25.yandex.ru> Date: Mon, 17 Sep 2007 18:00:18 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Detected-Kernel: Linux 2.6 (newer, 3) Subject: [Dazuko-devel] Restriction on quantity of connections. X-BeenThere: dazuko-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: dazuko-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 14:00:43 -0000 Hi All, How I can increase quantity of connections by one group of trusted programs? It depends somehow on it? #define NUM_SLOTS 25 I tried to change value of a variable, but unsuccessfully. Linux version 2.6.18.4-486, Dazuko 2.3.3-1. -- Alexander Korkov From MAILER-DAEMON Mon Sep 17 12:12:43 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IXJDG-00072s-Tm for mharc-dazuko-devel@gnu.org; Mon, 17 Sep 2007 12:12:42 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXJDF-0006za-62 for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 12:12:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXJDC-0006tP-0e for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 12:12:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXJDB-0006tE-UO for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 12:12:37 -0400 Received: from smtp-relay.mail.avira.com ([80.190.154.36]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IXJDB-0002CJ-Gq for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 12:12:37 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp-relay.mail.avira.com (AVIRA Postfix [Corporate]) with ESMTP id C5F14C01E6D; Mon, 17 Sep 2007 18:12:29 +0200 (CEST) Received: from smtp-relay.mail.avira.com (localhost [127.0.0.1]) by localhost (AvMailGate-2.1.2-14) id 15164-NuEGwc; Mon, 17 Sep 2007 18:12:29 +0200 (CEST) Received: from klemmer.intra.avira.com (unknown [80.152.21.20]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.mail.avira.com (AVIRA Postfix [Corporate]) with ESMTP id B7E5BC01E67; Mon, 17 Sep 2007 18:12:29 +0200 (CEST) Message-ID: <46EEA767.8020805@avira.com> Date: Mon, 17 Sep 2007 18:12:23 +0200 From: John Ogness User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: dazuko-devel@nongnu.org Subject: Re: [Dazuko-devel] Restriction on quantity of connections. References: <27261190037618@webmail25.yandex.ru> In-Reply-To: <27261190037618@webmail25.yandex.ru> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-AntiVirus: checked by AntiVir MailGate (version: 2.1.2-14; AVE: 7.6.0.10; VDF: 6.39.1.141; host: klemmer.intra.avira.com) X-AntiVirus: checked by AntiVir MailGate (version: 2.1.2-14; AVE: 7.6.0.10; VDF: 6.39.1.141; host: smtp-relay.mail.avira.com) X-Detected-Kernel: Linux 2.6 (newer, 3) Cc: X-BeenThere: dazuko-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: john.ogness@avira.com List-Id: dazuko-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 16:12:41 -0000 =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80 =D0=9A=D0=BE=D1=80= =D0=BA=D0=BE=D0=B2 wrote: > How I can increase quantity of connections by one group of trusted prog= rams? >=20 > It depends somehow on it? >=20 > #define NUM_SLOTS 25 Yes, Dazuko implements the list of registered (or trusted) processes using an array. The size of this array is hard-coded (at 25). By increasing this size, you will increase the number of allowed registered (or trusted) processes per group. An array was chosen to simplify concurrent access to the list and allow for very small regions to be protected by locks. If increasing this value is important for you application, I could add a "configure" option that allows the value to be set dynamically. For examp= le: $ ./configure --procs-per-group=3D50 A design based on dynamic-length lists is in the works and should be included in an upcoming 3.0 version. John Ogness --=20 John Ogness, Manager UNIX SW Development - Avira GmbH Phone: +49 (0) 7542-500 500 Fax: +49 (0) 7542-500 576 Email: john.ogness@avira.com PGP Key-ID: 0xABE0B106 PGP Fingerprint: A670 0BF6 C89F 972F FB66 6F6E 3602 5653 ABE0 B106 Avira GmbH Lindauer Str. 21, D-88069 Tettnang, Germany Phone: +49 (0) 7542-500 0 Fax: +49 (0) 7542-525 10 Internet: http://www.avira.com Chief Executive Officer: Tjark Auerbach Corporate headquarter: Tettnang Commercial register: Amtsgericht Ulm, HRB 630992 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Nearly 90 percent of all mobile phones and Pocket PCs have no virus protection! http://www.avira.com/protectyourphone =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D GENERAL TERMS AND CONDITIONS OF TRADE Our general terms and conditions of trade (GTCT) apply. You can find them in the respectively valid version at http://www.avira.com/gtct *************************************************** From MAILER-DAEMON Mon Sep 17 14:40:21 2007 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IXLW9-0000jm-7D for mharc-dazuko-devel@gnu.org; Mon, 17 Sep 2007 14:40:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXLW7-0000gq-AD for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 14:40:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXLW5-0000fk-MW for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 14:40:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXLW5-0000fh-FZ for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 14:40:17 -0400 Received: from flux.ptc.spbu.ru ([195.19.225.195]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXLW4-0005iq-RJ for dazuko-devel@nongnu.org; Mon, 17 Sep 2007 14:40:17 -0400 Received: from [192.168.4.47] (kork.dorms.spbu.ru [192.168.4.47]) by flux.ptc.spbu.ru (8.11.2/8.11.3/cf-1.1.rbl) with ESMTP id l8HIeFk44676 for ; Mon, 17 Sep 2007 22:40:15 +0400 (MSD) (envelope-from korkov@yandex.ru) Message-ID: <46EECA7C.2000106@yandex.ru> Date: Mon, 17 Sep 2007 22:42:04 +0400 From: =?UTF-8?B?0JDQu9C10LrRgdCw0L3QtNGAINCa0L7RgNC60L7Qsg==?= Organization: =?UTF-8?B?0KHQn9Cx0JPQoyAoU1BCU1Up?= User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: dazuko-devel@nongnu.org Subject: Re: [Dazuko-devel] Restriction on quantity of connections. References: <27261190037618@webmail25.yandex.ru> <46EEA767.8020805@avira.com> In-Reply-To: <46EEA767.8020805@avira.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Detected-Kernel: FreeBSD 2.0-4.2 X-BeenThere: dazuko-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: korkov@yandex.ru List-Id: dazuko-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Sep 2007 18:40:20 -0000 John Ogness wrote: > Alexander Korkov wrote: > >> How I can increase quantity of connections by one group of trusted programs? >> >> It depends somehow on it? >> >> #define NUM_SLOTS 25 >> > > Yes, Dazuko implements the list of registered (or trusted) processes > using an array. The size of this array is hard-coded (at 25). By > increasing this size, you will increase the number of allowed registered > (or trusted) processes per group. > > An array was chosen to simplify concurrent access to the list and allow > for very small regions to be protected by locks. > > If increasing this value is important for you application, I could add a > "configure" option that allows the value to be set dynamically. For example: > > $ ./configure --procs-per-group=50 > > A design based on dynamic-length lists is in the works and should be > included in an upcoming 3.0 version. > > John Ogness > > Yes, the option for a configure is a good way for the Dazuko versions less than 3. It will allow me to not include patches in my application. Thanks, I shall be grateful, if such option will be. -- Alexander Korkov