summaryrefslogtreecommitdiffstats
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* utils: add example usage of nfq_get_uid and nfq_get_gidValentina Giusti2014-01-081-1/+15
| | | | | | | | [ Mangled this patch to indicate that this kernel does not support UID/GID retrieval not to confuse users --pablo ] Signed-off-by: Valentina Giusti <Valentina.Giusti@bmw-carit.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* build: create a Make_global.am fileJan Engelhardt2010-12-301-2/+1
| | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* utils: document ENOBUFS in nfqnl_test.cAlessandro Vesely2010-11-071-3/+20
| | | | | | | | | | | | | This patch documents the ENOBUFS error in the example file, that is a common problem is that question over and over again in the mailing list. I (Pablo) have mangled this patch with some comestic cleanups. BTW, Mistick Levi sent a similar patch in the same timeline (amazing how sometimes the same works can clash). Signed-off-by: Alessandro Vesely <vesely@tana.it> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* Update .gitignoreJan Engelhardt2010-10-301-0/+1
| | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* build: avoid use of deprecated INCLUDESJan Engelhardt2010-10-301-1/+1
| | | | | | | | Makefile.am: "INCLUDES" is the old name for "AM_CPPFLAGS" (or "*_CPPFLAGS") And remove unused $(all_includes) Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* payload buffer datatypes are consistentDavid Fabro2010-06-101-1/+1
| | | | | | | | | | | | | | The 'data' parameter to nfq_get_payload() returns pointer to unsigned char (rather than signed char) to make it consistent with the 'buf' parameter of nfq_set_verdict(), nfq_set_verdict2(), and nfq_set_verdict_mark(), all of which refer to the same data. Either signed or unsigned is fine, but they should be consistent as the output of nfq_get_payload() may be passed back into nfq_set_verdict*(); in that case, this change eliminates the need for typecasting in the calling code when using compilers that enforce strict typecasting. Signed-off-by: David Favro <netfilter@meta-dynamic.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* nfqnl_test: add hw src address, physindev and physoutdev supportBart De Schuymer2009-01-261-3/+21
| | | | | | | | This adds the hardware source address, physindev and physoutdev support to nfqnl_test Signed-off-by: Bart De Schuymer <bdschuym@pandora.be> Signed-off-by: Patrick McHardy <kaber@trash.net>
* Use nfq_fd function instead of call to nfnetlink function.Eric Leblond2008-12-191-2/+1
| | | | | | | 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>
* conditional compilation of testsuite utilsPablo Neira Ayuso2008-07-021-1/+1
| | | | | | Use `make check' to compile the examples in utils/ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* fix alignment issuesFabian Hugelshofer2008-06-231-1/+1
|
* Signed-off-by: Paul P. Komkofforigin/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org2008-02-221-0/+1
| | | | fix compilation issues on newer toolchains
* - don't install test program/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-111-1/+1
| | | | | - use local copy of nfnetlink_queue header - bump version number to 0.0.11
* get 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.org2005-11-051-5/+4
|
* rename all data types and functions to get rid of 'nl' (== netlink) part in ↵/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-051-25/+25
| | | | prefix
* abstract 'nfattr' in 'nfnl_q_data'/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-11-051-2/+2
|
* rename libnfnetlink_queue to libnetfilter_queue/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-10-092-2/+2
|
* fix build of utils against local libtool library/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-09-231-4/+6
|
* use new accessor functions (Eric Leblond, Harald Welte)/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-09-231-20/+18
|
* really 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.org2005-08-071-12/+100
|
* build fixes following restructuring/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-07-303-192/+1
|
* more restructuring work/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-07-302-0/+45
|
* directory restructuring/C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org2005-07-301-0/+188