platform/upstream/libnetfilter_queue.git
8 years agoSuppress double call of nfnl_subsys_close()
Eric Leblond [Wed, 17 Dec 2008 15:29:56 +0000 (16:29 +0100)]
Suppress double call of nfnl_subsys_close()

nfnl_close() is calling nfnl_subsys_close() for all available
subsys. Thus it is not necessary to call it in the nfq_close()
function.

Signed-off-by: Eric Leblond <eric@inl.fr>
8 years agoUse nfq_fd function instead of call to nfnetlink function.
Eric Leblond [Wed, 17 Dec 2008 20:27:58 +0000 (21:27 +0100)]
Use nfq_fd function instead of call to nfnetlink function.

This patch modifies the example program to use nfq_fd function
instead of call to nfnetlink function.

Signed-off-by: Eric Leblond <eric@inl.fr>
8 years agoChange variable name to have an homogeneous naming
Eric Leblond [Fri, 31 Oct 2008 12:07:56 +0000 (13:07 +0100)]
Change variable name to have an homogeneous naming

This patch modifies a function to have through the file. Data length
variable was named data_len everywhere but in this function.

Signed-off-by: Eric Leblond <eric@inl.fr>
8 years agodoc: complete missing function documentation
Eric Leblond [Sun, 26 Oct 2008 21:41:24 +0000 (22:41 +0100)]
doc: complete missing function documentation

This patch adds documentation for functions that were not existing
when the documentation was initially made. It also fixes some minor
typos.

Signed-off-by: Eric Leblond <eric@inl.fr>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
8 years agodoc: add library documentation from Brad Fisher
Pablo Neira Ayuso [Thu, 23 Oct 2008 17:16:50 +0000 (19:16 +0200)]
doc: add library documentation from Brad Fisher

This patch adds the documentation that Brad Fisher <brad@info-link.net>
made time ago, you can get the original post from:

http://lists.netfilter.org/pipermail/netfilter-devel/2006-February/023286.html

This patch contains documentation that I did not have time to review in deep
yet. However, several developers has refered to this documentation as a good
kick-off to start developing applications for libnetfilter_queue.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
8 years agoconditional compilation of testsuite utils
Pablo Neira Ayuso [Wed, 2 Jul 2008 13:38:36 +0000 (15:38 +0200)]
conditional compilation of testsuite utils

Use `make check' to compile the examples in utils/

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
8 years agolibnfq: mark functions as extern C
Jan Engelhardt [Tue, 24 Jun 2008 16:14:08 +0000 (18:14 +0200)]
libnfq: mark functions as extern C

mark functions as extern C

This is needed when #included from C++.

Reported-by: Simon <turner25@gmail.com>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
8 years agobump version to 0.0.16 and bump libnfnetlink dependencies
Pablo Neira Ayuso [Fri, 27 Jun 2008 10:10:43 +0000 (12:10 +0200)]
bump version to 0.0.16 and bump libnfnetlink dependencies

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
8 years agofix alignment issues
Fabian Hugelshofer [Mon, 23 Jun 2008 14:16:58 +0000 (16:16 +0200)]
fix alignment issues

8 years agoSigned-off-by: Paul P. Komkoff
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Fri, 22 Feb 2008 23:21:37 +0000 (23:21 +0000)]
Signed-off-by: Paul P. Komkoff
fix compilation issues on newer toolchains

8 years agoremove linux/types.h include
/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org [Wed, 13 Jun 2007 19:50:09 +0000 (19:50 +0000)]
remove linux/types.h include

8 years agoBump version to 0.0.15
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org [Thu, 22 Mar 2007 00:45:21 +0000 (00:45 +0000)]
Bump version to 0.0.15

8 years agointerface index to name API (Eric Leblond)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org [Wed, 31 Jan 2007 02:37:41 +0000 (02:37 +0000)]
interface index to name API (Eric Leblond)

8 years agocomment `autoheader' invocation from autogen.sh, we don't need any config.h file...
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org [Tue, 23 Jan 2007 13:15:53 +0000 (13:15 +0000)]
comment `autoheader' invocation from autogen.sh, we don't need any config.h file to compile the conntrack tool

8 years agoBump version
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org [Thu, 11 Jan 2007 08:47:34 +0000 (08:47 +0000)]
Bump version

8 years agoAdd patch to set max. queue length (Eric Leblond)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org [Mon, 13 Nov 2006 20:19:08 +0000 (20:19 +0000)]
Add patch to set max. queue length (Eric Leblond)

8 years ago[PATCH 3/6] libnetfilter_queue pkt-config changes (KOVACS Krisztian <hidden@balabit...
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org [Thu, 3 Aug 2006 10:36:03 +0000 (10:36 +0000)]
[PATCH 3/6] libnetfilter_queue pkt-config changes (KOVACS Krisztian <hidden@balabit.hu>)

8 years agoonly copy include file from kernel directory if 'autogen.sh' is run with 'distrib...
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 14 Feb 2006 16:30:01 +0000 (16:30 +0000)]
only copy include file from kernel directory if 'autogen.sh' is run with 'distrib' argument

8 years agopkg-config enable all netfilter libraries
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 9 Feb 2006 16:57:31 +0000 (16:57 +0000)]
pkg-config enable all netfilter libraries

8 years agofix __set_verdict() to correctly handle payload (Closes: #435) (Andreas Florath)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Mon, 23 Jan 2006 17:17:30 +0000 (17:17 +0000)]
fix __set_verdict() to correctly handle payload (Closes: #435) (Andreas Florath)

8 years agofix segfault due to missing h->nfnlh initialization (Closes: #434) (Andreas Florath)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Mon, 23 Jan 2006 17:03:33 +0000 (17:03 +0000)]
fix segfault due to missing h->nfnlh initialization (Closes: #434) (Andreas Florath)

8 years agomake sure configure fails if libnfnetlink is too old (< 0.0.16)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 14 Jan 2006 19:15:31 +0000 (19:15 +0000)]
make sure configure fails if libnfnetlink is too old (< 0.0.16)

8 years agoIntroduce various API changes throughout the library stack
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 14 Jan 2006 19:04:51 +0000 (19:04 +0000)]
Introduce various API changes throughout the library stack
1) make libnfnetlink dynamically allocate it's handles
2) apply that change throughout libnetfilter_*
3) add {nfq,nflog,nfct}_open_nfnl() functions that open
   the specific subsystem on top of an existing nfnl_handle,
   which is required for upcoming libnetfilter_conntrack_helper

The changes break ABI and API compatibility of libnfnetlink, but don't
break ABI or API compatibility of the libnetfilter_* libraries.

8 years agoadd KERNEL_DIR option to autogen.sh for all new libraries (Krzysztof Oledzki)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Thu, 17 Nov 2005 13:07:08 +0000 (13:07 +0000)]
add KERNEL_DIR option to autogen.sh for all new libraries (Krzysztof Oledzki)

8 years agoThis patch add the ability to copy and mangle the kernel headers
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Mon, 14 Nov 2005 14:50:30 +0000 (14:50 +0000)]
This patch add the ability to copy and mangle the kernel headers
required by libnfnetlink and libnetfilter_[queue|log|conntrack] at
autogen.sh stage.  (Pablo Neira)

8 years ago- don't install test program
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Fri, 11 Nov 2005 17:14:55 +0000 (17:14 +0000)]
- don't install test program
- use local copy of nfnetlink_queue header
- bump version number to 0.0.11

8 years ago- add library api versioning
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 6 Nov 2005 11:41:27 +0000 (11:41 +0000)]
- add library api versioning
- missing link dependencly from libipq to libnetfilter_queue

8 years agofix nfq_get_timestamp() to use struct timeval and be endian correct
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 6 Nov 2005 09:58:03 +0000 (09:58 +0000)]
fix nfq_get_timestamp() to use struct timeval and be endian correct

8 years agowe have to link against libnfnetlink, otherwise the dependency is missing
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 5 Nov 2005 13:58:42 +0000 (13:58 +0000)]
we have to link against libnfnetlink, otherwise the dependency is missing

8 years agoget rid of superfluous 'datalength' parameter of nfq_get_payload() function
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 5 Nov 2005 10:18:54 +0000 (10:18 +0000)]
get rid of superfluous 'datalength' parameter of nfq_get_payload() function

8 years agorename all data types and functions to get rid of 'nl' (== netlink) part in prefix
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 5 Nov 2005 09:53:27 +0000 (09:53 +0000)]
rename all data types and functions to get rid of 'nl' (== netlink) part in prefix

8 years agoabstract 'nfattr' in 'nfnl_q_data'
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 5 Nov 2005 09:41:38 +0000 (09:41 +0000)]
abstract 'nfattr' in 'nfnl_q_data'

8 years agoremove 1.6 specific autotool calls
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 5 Nov 2005 09:41:04 +0000 (09:41 +0000)]
remove 1.6 specific autotool calls

8 years agofix gcc warning
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Fri, 4 Nov 2005 14:40:55 +0000 (14:40 +0000)]
fix gcc warning

8 years agorename files correctly (Eric Leblond)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 26 Oct 2005 11:39:01 +0000 (11:39 +0000)]
rename files correctly (Eric Leblond)

8 years agorename libnfnetlink_queue to libnetfilter_queue
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 9 Oct 2005 15:46:20 +0000 (15:46 +0000)]
rename libnfnetlink_queue to libnetfilter_queue

8 years agowe have to clear the iovec
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 9 Oct 2005 15:32:27 +0000 (15:32 +0000)]
we have to clear the iovec

8 years agofix "make dist"
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 24 Sep 2005 22:15:32 +0000 (22:15 +0000)]
fix "make dist"

8 years agofix include order
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Fri, 23 Sep 2005 18:59:07 +0000 (18:59 +0000)]
fix include order

8 years agofix build of utils against local libtool library
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Fri, 23 Sep 2005 18:58:55 +0000 (18:58 +0000)]
fix build of utils against local libtool library

8 years agouse new accessor functions (Eric Leblond, Harald Welte)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Fri, 23 Sep 2005 14:40:53 +0000 (14:40 +0000)]
use new accessor functions (Eric Leblond, Harald Welte)

8 years agowhitespace fix
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Fri, 23 Sep 2005 14:07:20 +0000 (14:07 +0000)]
whitespace fix

8 years agoadd libtoolize call (Eric Leblond)
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Mon, 8 Aug 2005 23:27:20 +0000 (23:27 +0000)]
add libtoolize call (Eric Leblond)

8 years agoreally implement a full test program. returns NF_ACCEPT verdict for all packets
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 7 Aug 2005 14:55:15 +0000 (14:55 +0000)]
really implement a full test program.  returns NF_ACCEPT verdict for all packets

8 years agosync with all 'upstream' changes in libnfnetlink_log
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sun, 7 Aug 2005 14:54:58 +0000 (14:54 +0000)]
sync with all 'upstream' changes in libnfnetlink_log

8 years agoadd gpl
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 30 Jul 2005 21:18:28 +0000 (21:18 +0000)]
add gpl

8 years agobuild fixes following restructuring
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 30 Jul 2005 21:04:21 +0000 (21:04 +0000)]
build fixes following restructuring

8 years agoadd autogen.sh
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 30 Jul 2005 20:59:25 +0000 (20:59 +0000)]
add autogen.sh

8 years agomore restructuring work
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 30 Jul 2005 20:59:07 +0000 (20:59 +0000)]
more restructuring work

8 years agodirectory restructuring
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Sat, 30 Jul 2005 20:55:43 +0000 (20:55 +0000)]
directory restructuring

8 years agoadd (incomplete) support for libipq emulation API
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Wed, 27 Jul 2005 19:35:41 +0000 (19:35 +0000)]
add (incomplete) support for libipq emulation API

8 years agoadd required config.sub and config.guess
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 26 Jul 2005 10:45:39 +0000 (10:45 +0000)]
add required config.sub and config.guess

8 years agoremove bogus second manpage line
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 26 Jul 2005 10:45:08 +0000 (10:45 +0000)]
remove bogus second manpage line

8 years agoadd new queue userspace library
/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org [Tue, 26 Jul 2005 06:56:22 +0000 (06:56 +0000)]
add new queue userspace library

8 years agoInitial empty repository
KyungMi Lee [Thu, 27 Aug 2015 05:01:21 +0000 (22:01 -0700)]
Initial empty repository