Hi

pugal pugal pugalanand.bsd at gmail.com
Thu Dec 18 04:52:27 PST 2008


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ów <
sebastian.tymkow at gmail.com> wrote:

> 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 <pugalanand.bsd at 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 at gmail.com
>> >wrote:
>>
>> >
>> >
>> > On Wed, Dec 10, 2008 at 12:44 PM, pugal pugal <pugalanand.bsd at gmail.com
>> >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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe at freebsd.org"
>>
>
>


-- 
Thanks
With Regards
Pugal


More information about the freebsd-questions mailing list