[libnetfilter_queue] nfq: add minor comment in the documentation to warn about privileges

Pablo Neira netfilter-cvslog-bounces at lists.netfilter.org
Thu Jul 16 10:00:19 CEST 2009


Gitweb:		http://git.netfilter.org/cgi-bin/gitweb.cgi?p=libnetfilter_queue.git;a=commit;h=d2ed34e7c1c580998942903487a792714602d609
commit d2ed34e7c1c580998942903487a792714602d609
Author:     Pablo Neira Ayuso <pablo at netfilter.org>
AuthorDate: Thu Jul 16 09:58:56 2009 +0200
Commit:     Pablo Neira Ayuso <pablo at netfilter.org>
CommitDate: Thu Jul 16 09:58:56 2009 +0200

    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 at netfilter.org>
       via  d2ed34e7c1c580998942903487a792714602d609 (commit)
      from  98c47c407151a7925bfe156b9d2c5b78f9f5da8f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d2ed34e7c1c580998942903487a792714602d609
Author: Pablo Neira Ayuso <pablo at netfilter.org>
Date:   Thu Jul 16 09:58:56 2009 +0200

    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 at netfilter.org>

-----------------------------------------------------------------------

 src/libnetfilter_queue.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
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 at netfilter.org>

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



More information about the netfilter-cvslog mailing list