Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nfnl: release libnfnetlink 1.0 versionlibnfnetlink-1.0.0 | Pablo Neira Ayuso | 2009-06-22 | 1 | -1/+1 |
| | | | | | | | This library has been stable for long time. The main client of libnfnetlink are the libnetfilter_* libraries. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | nfnl: add nfnl_addattr8() function | Pablo Neira Ayuso | 2009-06-11 | 2 | -0/+18 |
| | | | | | | | This patch adds the function nfnl_addattr8() as it has been requested by Jozsef Kadlecsik, he needs it for his Netlink-port of ipset. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | include: add recently added Netlink socket options | Pablo Neira Ayuso | 2009-06-10 | 1 | -0/+12 |
| | | | | | | | | | | | | | This patch adds the definition of a couple of Netlink socket options that were included in 2.6.30. They are: * NETLINK_BROADCAST_SEND_ERROR * NETLINK_NO_ENOBUFS This patch also includes the definition of SOL_NETLINK which is required by set/getsockopt() that is declared in linux/socket.h. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | nfnl: add nfnl_portid() to get the Netlink portID of a socket | Pablo Neira Ayuso | 2009-05-21 | 2 | -0/+11 |
| | | | | | | | This patch adds the new interface nfnl_portid() to retrieve the Netlink portID that has been assigned to a given socket. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | rtnl: fix wrong netlink group bindings in the interface API | Pablo Neira Ayuso | 2009-04-29 | 1 | -2/+1 |
| | | | | | | | | | This patch removes RTMGRP_IPV4_ROUTE and RTMGRP_IPV4_IFADDR which report event notifications about changes in the route and address of interfaces. We are only interested in the interface link status so RTMGRP_LINK is enough. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | nfnl: tag nfnl_talk() and nfnl_listen() as deprecatedlibnfnetlink-0.0.41 | Pablo Neira Ayuso | 2009-02-17 | 1 | -7/+7 |
| | | | | | | | | This patch tags nfnl_talk() and nfnl_listen() as deprecated functions. The replacements nfnl_query() and nfnl_process() should be used instead. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | nfnl: allow disabling and enabling sequence tracking | Pablo Neira Ayuso | 2009-02-17 | 3 | -5/+38 |
| | | | | | | | | | | | | This patch adds a couple of functions to enable and disable netlink sequence tracking. Since nfqueue goes over a unicast socket, the same channel to receive control messages and packets is used. This leads to race conditions that may trigger sporious out-of-sequence errors while creating queues and receiving high load of packets at the same time. Reported-by: Anton Vazir <anton.vazir@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | configure: bump version to 0.0.40libnfnetlink-0.0.40 | Pablo Neira Ayuso | 2009-01-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | iftable: add nlif_get_ifflags to get the network interface flags | Pablo Neira Ayuso | 2009-01-07 | 3 | -1/+42 |
| | | | | | | | | This patch adds the nlif_get_ifflags to get the interface flags. This patch also modifies the example file to display if a network interface is running or not. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | nlif: fix possible re-insertion in the list of interfaces | Pablo Neira Ayuso | 2009-01-07 | 1 | -1/+2 |
| | | | | | | | This patch fixes a possible re-insertion of an existing entry in the list of interfaces. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | Suppress iftable_up function which is not used. | Eric Leblond | 2008-12-23 | 1 | -17/+0 |
| | | | | | | Following compilation warning pointed out by Jan Engelhardt, this patch suppresses the iftable_up function which is of no use in this part of libnfnetlink library whom goal is to do ifindex to name resolution. | ||||
* | conditional compilation of testsuite utils | Pablo Neira Ayuso | 2008-07-02 | 1 | -1/+1 |
| | | | | | | Use `make check' to compile the examples in utils/ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | bump version to 0.0.39 | Pablo Neira Ayuso | 2008-06-27 | 1 | -1/+1 |
| | |||||
* | libnfnetlink: mark functions as extern C | Jan Engelhardt | 2008-06-24 | 1 | -0/+8 |
| | | | | | | | | | | 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> | ||||
* | Aligns buffers to maximum alignment of architecturelibnfnetlink-0.0.39 | Fabian Hugelshofer | 2008-06-18 | 1 | -3/+4 |
| | | | | | | | | Aligns buffer to maximum aligment of architecture to make the cast of char pointers to struct pointers more portable. Packet decoding is still broken on particular platforms. Signed-off-by: Fabian Hugelshofer <hugelshofer2006@gmx.ch> | ||||
* | fix warning, getsockname takes a socklen_t as third parameterlibnfnetlink-0.0.38 | Pablo Neira Ayuso | 2008-05-31 | 1 | -1/+1 |
| | |||||
* | add missing linux_nfnetlink_compat.h | Pablo Neira Ayuso | 2008-05-31 | 1 | -0/+61 |
| | |||||
* | update include files | Pablo Neira Ayuso | 2008-05-27 | 5 | -91/+31 |
| | |||||
* | major cleanup of index2name infrastructure: use linux list (and fix leak in ↵ | Pablo Neira Ayuso | 2008-05-25 | 5 | -97/+816 |
| | | | | the nlif_close path) | ||||
* | add conditional defition of NLA_F_NESTED for old includes | pablo | 2008-05-18 | 1 | -0/+4 |
| | |||||
* | recover the nested bit as now it is fully supported in kernel space, this ↵ | Pablo Neira Ayuso | 2008-05-16 | 2 | -2/+2 |
| | | | | makes possible the generation of netlink-based network messages. | ||||
* | The second, deprecated, form of `AM_INIT_AUTOMAKE' has two required | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2008-04-16 | 1 | -2/+2 |
| | | | | | | | | | arguments: the package and the version number. This form is obsolete because the PACKAGE and VERSION can be obtained from Autoconf's `AC_INIT' macro (which itself has an old and a new form). Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> | ||||
* | fix nfnl_nfa_addattr_l (reported by Rick Xu) | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2008-04-15 | 2 | -4/+4 |
| | |||||
* | fix minor shadow warning. It seems that the symbol "index" is defined in ↵ | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2008-03-11 | 1 | -1/+1 |
| | | | | some systems (reported by Petr Pisar) | ||||
* | nfnl_handle must be const in nfnl_rcvbufsizsvn_t_libnfnetlink-0.0.33 | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2008-01-15 | 3 | -3/+4 |
| | |||||
* | Introduce nfnl_set_rcv_buffer_size to set the receive buffer size used by | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2008-01-13 | 3 | -43/+20 |
| | | | | | | | | | | | | | nfnl_catch. This revision changes the behaviour of nfnl_catch which does not perform a peek-and-resize if the buffer size used by nfnl_recv is too small. The only known client which may be affected by this change is libnetfilter_conntrack. However, this library uses nfnl_catch to get conntrack events which are always much smaller than 4096 bytes (default receive buffer size). This change boosts up performance in the receive path since we do only one recv instead of two. | ||||
* | Marcus Sundberg <marcus@ingate.com> | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-08-09 | 1 | -0/+1 |
| | | | | | | | Fix endless loop on unknown netfilter attributes. This prevents an endless loop when nfnl_check_attributes() sees an unknown attribute. | ||||
* | bump version to 0.0.31 | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-08-08 | 1 | -1/+1 |
| | |||||
* | fix handling of multipart netlink packets in nfnl_handle_packet (E.Leblond) | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-08-08 | 1 | -0/+1 |
| | |||||
* | don't install iftest file | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-07-31 | 1 | -1/+1 |
| | |||||
* | - update linux_nfnetlink.h from kernel sources | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-07-28 | 2 | -22/+9 |
| | | | | - remove the nest bit | ||||
* | remove linux/types.h include | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-06-13 | 1 | -1/+0 |
| | |||||
* | Remove debian/ dir from releases. | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-04-21 | 1 | -1/+1 |
| | | | | | | | According to some feedback received from the following debian packagers: - ana at debian dot org - max at rfc2324 dot org The debian/ dir must not be included in official releases, keeping it under SVN is enough. | ||||
* | revert some slipped through patches | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-04-16 | 1 | -1/+1 |
| | |||||
* | prepare conntrack and conntrackd merge: rename conntrack to conntrack-tools | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org | 2007-04-16 | 1 | -1/+1 |
| | |||||
* | Bump version to 0.0.30 | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2007-03-22 | 1 | -1/+1 |
| | |||||
* | [patch] libnfnetlink compile fix (Thomas Jarosch <thomas.jarosch@intra2net.com>) | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org | 2007-03-16 | 2 | -0/+2 |
| | | | | | attached patch fixes compilation of libnfnetlink for old glibc versions. Otherwise "struct iovec" is undefined. | ||||
* | [PATCH] update debian packaging | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org | 2007-03-08 | 2 | -3/+3 |
| | | | | | | | | | Fix mistake in previous patch: * install .pc file in /usr/lib/pkgconfig, not pkg-config * update package timestamp Signed-off-by: Pierre Chifflier <chifflier@inl.fr> | ||||
* | [PATCH] update debian packaging | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org | 2007-03-08 | 2 | -0/+10 |
| | | | | | | | | | | | The following patch fixes 3 problems with the debian files in the svn repository: * the.pc file is not copied during installation * the version is outdated * the version in debian/changelog should reflect the number of the debian packaging, and so lacks a -1 Signed-off-by: Pierre Chifflier <chifflier@inl.fr> | ||||
* | partially revert r6738, use linux/types.h instead of sys/types.h | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2007-02-27 | 2 | -1/+2 |
| | |||||
* | fix typo: noinst_HEADERS includes rtnl.h not rtnl.c | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2007-02-12 | 1 | -1/+1 |
| | |||||
* | partial cleanup for iftable.c and rtnl.c, still appropiate errno missing | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2007-02-12 | 4 | -146/+116 |
| | |||||
* | - Initial commit of index2interface API (Eric Leblond), still work to do | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2007-01-26 | 9 | -123/+284 |
| | | | | - added a test file to utils/iftest.c | ||||
* | use: [ "x$1" = "xdistrib" ] instead of [ "x$1" == "xdistrib" ] in autogen.sh ↵ | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2007-01-23 | 1 | -1/+1 |
| | | | | (spotted by Victor Stinner) | ||||
* | Remove header linux/types.h since it can conflict with type definitions ↵ | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2007-01-22 | 2 | -2/+0 |
| | | | | available at sys/types.h | ||||
* | Initialize callback structure (Victor Stinner)svn_t_libnfnetlink-0.0.25 | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2006-12-29 | 1 | -1/+1 |
| | |||||
* | Introduce several improvements in the library, still backward compatible. | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=pablo/emailAddress=pablo@netfilter.org | 2006-12-19 | 6 | -112/+701 |
| | | | | | | | | | - add iterator API - add replacements for nfnl_listen and nfnl_talk - fix error handling - add assertions - add documentation - minor cleanups | ||||
* | [PATCH] libnfnetlink compilation on FC5 (Eric Leblond <eric@inl.fr>) | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=kaber/emailAddress=kaber@netfilter.org | 2006-07-07 | 1 | -0/+1 |
| | |||||
* | we cannot return -EINVAL when we encounter attributes > subsys->cb_count, ↵ | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2006-05-17 | 1 | -2/+7 |
| | | | | since that compromises interoperability with future kernels which might introduce new attributes. | ||||
* | only copy include file from kernel directory if 'autogen.sh' is run with ↵ | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org | 2006-02-14 | 1 | -1/+1 |
| | | | | 'distrib' argument |