From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 10:27:36 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65A931065673 for ; Wed, 10 Dec 2008 10:27:36 +0000 (UTC) (envelope-from pugalanand.bsd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 19B1A8FC16 for ; Wed, 10 Dec 2008 10:27:35 +0000 (UTC) (envelope-from pugalanand.bsd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so122091qwb.7 for ; Wed, 10 Dec 2008 02:27:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=TmK+5TfeEzFBqCuKTNQrBLFN6Lvu08zzAeD1yWTkuds=; b=j8sx2tlwY+T6x9NTeoMxa10FLktS8LNzQiI7n+c+QqmuatpOj8IhMGxlGdqBBobn57 jNXudrFF/nun1zCjeuUum3BEasRAr0AT9916ID9Ew/qDNUu6biKlD/gFTY2IlndX2o7c A3H9D0CXAie1qZ+3NnWMIkm7jainQ9hPiBGHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=SklNjWS9K9obAMtnAQ8OqxCFinH0q2r7ZIMFDCJbMvkqIYt0na7hv81GC56fotTXv5 joPgkgVXJB0K4f5B3KW15GIGexBocVy8O0HHOtRCJZ3g1OQXXaD3zittQVOTqnoMw3GG nqGqUb2BvbPXh76psObaoNl2cQ1jfX4RaOycQ= Received: by 10.215.12.13 with SMTP id p13mr1739894qai.281.1228904855275; Wed, 10 Dec 2008 02:27:35 -0800 (PST) Received: by 10.214.181.12 with HTTP; Wed, 10 Dec 2008 02:27:35 -0800 (PST) Message-ID: Date: Wed, 10 Dec 2008 15:57:35 +0530 From: "pugal pugal" To: "Odhiambo Washington" In-Reply-To: <991123400812100213p3b14ab83rbdc9798993fc19d@mail.gmail.com> MIME-Version: 1.0 References: <991123400812100213p3b14ab83rbdc9798993fc19d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Hi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 10:27:36 -0000 Hi all I will explain the scenario clearly. I have a server program say server.c listening on some XXX port-number.I accepts all the client. Now i want to DENY only the particular client say x.x.x.x/16 . I want to deny that Client by not using hosts.deny. For this scenario what can i do?? If anyone knows Let me explain clearly. Since i am very new to this.please explain clearly. On Wed, Dec 10, 2008 at 3:43 PM, Odhiambo Washington wrote: > > > On Wed, Dec 10, 2008 at 12:44 PM, pugal pugal wrote: > >> Hi all >> Did anyone knows how to deny the TCP connection Without using >> hosts.deny and ipfilter. > > > Let the "service" listen on 127.0.0.1 or just don't start it:-) > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "Okay guys. This is Kenya. You pay taxes because you feel philanthropic, > unlike our MPs!" > -- Kenneth Marende, Speaker, 10th Parilament. > -- Thanks With Regards Pugal