Re: Parts of libnetfilter_queue deprecated?

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

 



Daniel Thiele <dthiele@xxxxxxx> wrote:
> However, parts of the doxygen documentation (at https://www.netfilter.org/projects/libnetfilter_queue/doxygen/html/modules.html)
> are marked deprecated (i.e. Queue handling, Library setup, Message parsing
> functions, and Printing). I may have missed it while I was searching the
> netfilter mailing list archives in this context, but I could not find any
> hint on the reason why these parts of libnetfilter_queue are deprecated

These apis are not extensible, they hide too much netlink details.

You can use this example:
http://git.netfilter.org/libnetfilter_queue/tree/examples/nf-queue.c

With old api, you can't set conntrack mark for instance or
examine e.g. checksum-not-ready flag.

> (apart from nfq_set_verdict_mark() being marked as deprecated) nor did I
> find any hint on a replacement.

The replacements are listed in

Verdict helpers
Config helpers
Netlink message helper functions

on that page.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux