From owner-freebsd-questions@FreeBSD.ORG Wed Dec 10 11:07:41 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 066E81065670 for ; Wed, 10 Dec 2008 11:07:41 +0000 (UTC) (envelope-from sebastian.tymkow@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5ECDD8FC0C for ; Wed, 10 Dec 2008 11:07:40 +0000 (UTC) (envelope-from sebastian.tymkow@gmail.com) Received: by ewy14 with SMTP id 14so651499ewy.19 for ; Wed, 10 Dec 2008 03:07:39 -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=59lQYes2tX3IjjlkbMGqD/NT6SaTcg5Q8vlviw2k2JA=; b=ejyozkqXDQaqzOOlzKjbGF1ExfcIxhCrN7Y48wJczxBC9RfbT9am8+/7YlfNxpnAnR 79tpn0ApLvqyhwNUefFdyXczAn5EvfyOyDnEVmG/fI/FHIFKfNgKk2cuLbHX2kYdMX0k mnt3XipAsM9MFK/OC8RfiH6eT3I1IJNnJhU+w= 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=SIPXbpWikqq4w+jXBnJgUQHK9o8GOoUg5g5xjyFB3FYDt43ulYX310I+LgU9Z36+qP EZWqY1r4CuswJSsF9N8AdCYU32xa3nmNepAtO6xVnvjoBxwcckJ8ay5rSX0NWcRlLsmO OjRQeEbwSCm4saP0M7PTAVv6p2qAMWcWJuGpw= Received: by 10.210.34.19 with SMTP id h19mr1470480ebh.136.1228907259159; Wed, 10 Dec 2008 03:07:39 -0800 (PST) Received: by 10.210.45.16 with HTTP; Wed, 10 Dec 2008 03:07:39 -0800 (PST) Message-ID: <692660060812100307xe1ad17ax1661a18a51ecfa0@mail.gmail.com> Date: Wed, 10 Dec 2008 12:07:39 +0100 From: "=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=" To: "pugal pugal" In-Reply-To: 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: Odhiambo Washington , 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 11:07:41 -0000 Hello, If you don't want to do this using server features you should do it in your program (like in config file). Best regards, Shamrock 2008/12/10 pugal pugal > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >