From owner-freebsd-bugs Mon Nov 4 18:50: 3 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D09737B401 for ; Mon, 4 Nov 2002 18:50:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5609343E3B for ; Mon, 4 Nov 2002 18:50:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gA52o2x3046202 for ; Mon, 4 Nov 2002 18:50:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gA52o2pR046201; Mon, 4 Nov 2002 18:50:02 -0800 (PST) Date: Mon, 4 Nov 2002 18:50:02 -0800 (PST) Message-Id: <200211050250.gA52o2pR046201@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Giorgos Keramidas Subject: Re: misc/44894: as a local non-root user and remote it's possible to make telnet throw up. Reply-To: Giorgos Keramidas Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/44894; it has been noted by GNATS. From: Giorgos Keramidas To: Michele Possamai Cc: bug-followup@freebsd.org Subject: Re: misc/44894: as a local non-root user and remote it's possible to make telnet throw up. Date: Tue, 5 Nov 2002 04:44:59 +0200 On 2002-11-04 13:40, Michele Possamai wrote: > While expirimenting with C and sockets I accidently ran accross a > little bitty bug. I just don't really know where the bug would be.. > it's either in telnetd or in inetd. But when running the program I > wrote locally as a normal user I was able to dissable telnet access > for a while... You're hitting the telnet port so hard that you managed to DOS the service. There are ways to limit the connections that inetd accepts. Try using the following line in inetd.conf: telnet stream tcp nowait/20/10 root /usr/libexec/telnetd telnetd Also look at the -c, -C and -R options of inetd :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message