From owner-freebsd-arch Sun Jun 16 10:38: 3 2002 Delivered-To: freebsd-arch@freebsd.org Received: from zibbi.icomtek.csir.co.za (zibbi.icomtek.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id D21E837B40F; Sun, 16 Jun 2002 10:37:50 -0700 (PDT) Received: (from jhay@localhost) by zibbi.icomtek.csir.co.za (8.11.6/8.11.6) id g5GHaSO33687; Sun, 16 Jun 2002 19:36:28 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <200206161736.g5GHaSO33687@zibbi.icomtek.csir.co.za> Subject: Re: [CFR] max-child-per-ip restriction for inetd In-Reply-To: from Hajimu UMEMOTO at "Jun 16, 2002 11:17:27 pm" To: ume@mahoroba.org (Hajimu UMEMOTO) Date: Sun, 16 Jun 2002 19:36:28 +0200 (SAT) Cc: arch@FreeBSD.ORG, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi, > > I wish to add max-child-per-ip option to inetd. This enables us to > restrict maximum number of simultaneous invocations of each service > from a single IP address. The proposed patch can be found from: > > http://www.imasy.or.jp/~ume/FreeBSD/inetd-perip-5c.diff (for 5-CURRENT) > http://www.imasy.or.jp/~ume/FreeBSD/inetd-perip-4s.diff (for 4-STABLE) Both the patches needs a colon (:) after the s on the getopt() line, otherwise you just get a nasty coredump if you try to use the "-s num" commandline option. John -- John Hay -- John.Hay@icomtek.csir.co.za / jhay@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message