From d2ed34e7c1c580998942903487a792714602d609 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 16 Jul 2009 09:58:56 +0200 Subject: nfq: add minor comment in the documentation to warn about privileges This patch adds a minor notice to warn developers that its application needs CAP_NET_ADMIN in order to send to and receive packets from kernel-space. Signed-off-by: Pablo Neira Ayuso --- src/libnetfilter_queue.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libnetfilter_queue.c') diff --git a/src/libnetfilter_queue.c b/src/libnetfilter_queue.c index a2d0de2..df19519 100644 --- a/src/libnetfilter_queue.c +++ b/src/libnetfilter_queue.c @@ -55,6 +55,10 @@ * The current development version of libnetfilter_queue can be accessed * at https://git.netfilter.org/cgi-bin/gitweb.cgi?p=libnetfilter_queue.git;a=summary. * + * \section Privileges + * You need the CAP_NET_ADMIN capability in order to allow your application + * to receive from and to send packets to kernel-space. + * * \section Using libnetfilter_queue * * To write your own program using libnetfilter_queue, you should start by reading -- cgit v1.2.3