From owner-freebsd-questions@FreeBSD.ORG Thu Dec 18 12:52:27 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 5B4A2106567B for ; Thu, 18 Dec 2008 12:52:27 +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 0B0078FC28 for ; Thu, 18 Dec 2008 12:52:26 +0000 (UTC) (envelope-from pugalanand.bsd@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so87374qwb.7 for ; Thu, 18 Dec 2008 04:52:25 -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=k4p6IvrTHyWyCvqS9+1Ew90HIanYB4Obk3dJcsfb1cQ=; b=O/sw8xWiNBTPSeA9r8W+7HHS4HO9/8Rycb1hvuEyvwmE/6/uLCXjxfS1TsFSTIcYKW RxlM8at6y0u2hOEkc8Af9q7gcIvrNnC3kjllnD/FaPbQNzaobvLdzzstrRIpCHOOlbT7 ViBPKF1dnoh9kw5no+DGKDMzBBpyYkWgY1+Aw= 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=Y0op3Ag/+9wbeAxJe4JPd5ClPCQhgwEgJmQSelt1UjeSUFNWf1im2oLiaWPhUCqt6a YqbVZn/t5JMVwuBmbZrqC2PAynMRiEGzkrmAiNvO08niH6xSqNJ3TFQWVwTa9HDPcYsx /br/vqO9poR2VGJiWoputivJ+OxZ2D/RDVyto= Received: by 10.214.215.16 with SMTP id n16mr2318381qag.101.1229604745456; Thu, 18 Dec 2008 04:52:25 -0800 (PST) Received: by 10.214.243.6 with HTTP; Thu, 18 Dec 2008 04:52:25 -0800 (PST) Message-ID: Date: Thu, 18 Dec 2008 18:22:25 +0530 From: "pugal pugal" To: "=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=" In-Reply-To: <692660060812100307xe1ad17ax1661a18a51ecfa0@mail.gmail.com> MIME-Version: 1.0 References: <991123400812100213p3b14ab83rbdc9798993fc19d@mail.gmail.com> <692660060812100307xe1ad17ax1661a18a51ecfa0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Thu, 18 Dec 2008 12:52:27 -0000 Hi all While using ipfilter i got an issue i have done is ioctl the result is sucess In that i wrote a rule to deny connection from x.x.x.x ioctl(fd, SIOCADDFR, struct frentry **) I gone to route prompt and saw the statistics ipfstat -i i correctly shows my rule. But he is not executing it. Anyone know about this.. please let me know.. On Wed, Dec 10, 2008 at 4:37 PM, Sebastian Tymk=F3w < sebastian.tymkow@gmail.com> wrote: > Hello, > > If you don't want to do this using server features you should do it in yo= ur > 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 philanthropi= c, >> > 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" >> > > --=20 Thanks With Regards Pugal