diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-07-16 09:58:56 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-07-16 09:58:56 +0200 |
commit | d2ed34e7c1c580998942903487a792714602d609 (patch) | |
tree | ef19434f038f1dd77f1ec9527ad9e4994d2d0faa /src | |
parent | 98c47c407151a7925bfe156b9d2c5b78f9f5da8f (diff) |
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 <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/libnetfilter_queue.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |