Re: [RFC PATCH v2 6/6] src: add events reporting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 February 2014 18:27, Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> On Wed, Feb 26, 2014 at 06:17:36PM +0100, Arturo Borrero Gonzalez wrote:
>> On 26 February 2014 17:10, Arturo Borrero Gonzalez
>> <arturo.borrero.glez@xxxxxxxxx> wrote:
>> >
>> > +
>> > +       /* XXXX */
>> > +       sleep(1);
>> > +
>> > +       /* only way, by now, to know set_elems (no set_elem events) */
>> > +       if (netlink_get_setelems(&set_tmpctx, &s->handle, monh->loc, s) < 0)
>> > +               goto out;
>> > +
>>
>> About this:
>>
>> it seems that I can't query the kernel just after the set is created,
>> because I get an empty set.
>
> I see. Since sets are first created then elements are added, I think
> you have to make a kernel patch to add set element events.

Ok,

I am working on that already, the patch is half done.

So this monitor stuff goes to my tasks queue.

regards.
-- 
Arturo Borrero González
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux