Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Dec 2008 18:22:25 +0530
From:      "pugal pugal" <pugalanand.bsd@gmail.com>
To:        "=?ISO-8859-1?Q?Sebastian_Tymk=F3w?=" <sebastian.tymkow@gmail.com>
Cc:        Odhiambo Washington <odhiambo@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Hi
Message-ID:  <fdbdc4330812180452v606a2c69o4d9a899b2449eb85@mail.gmail.com>
In-Reply-To: <692660060812100307xe1ad17ax1661a18a51ecfa0@mail.gmail.com>
References:  <fdbdc4330812100144w9cd634en1a050239cc2874eb@mail.gmail.com> <991123400812100213p3b14ab83rbdc9798993fc19d@mail.gmail.com> <fdbdc4330812100227i55eadea8r86611447c7d6f1ab@mail.gmail.com> <692660060812100307xe1ad17ax1661a18a51ecfa0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <pugalanand.bsd@gmail.com>
>
>> 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 <odhiambo@gmail.com
>> >wrote:
>>
>> >
>> >
>> > On Wed, Dec 10, 2008 at 12:44 PM, pugal pugal <pugalanand.bsd@gmail.co=
m
>> >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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fdbdc4330812180452v606a2c69o4d9a899b2449eb85>