Re: [nf-failover] [ANNOUNCE] conntrackd-0.9.2 released

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, January 17, 2007 3:49 am, Pablo Neira Ayuso wrote:
> This project is under development, people feeling brave are encouraged
> to test a send nice reports ;)

thanks for the new release.
I noticed a small glitch with keyword case in the persistent mode example
config files:

examples/sync/persistent/node1/conntrackd.conf
       mode PERSISTENT {

examples/sync/persistent/node2/conntrackd.conf
       Mode PERSISTENT {

The Mode keyword is case sensitive which will lead to the following error
when starting node1:

Error parsing config file: line (5), symbol 'mode': syntax error



Also, to build conntrackd I had to patch two include files:

--- /usr/local/include/libnfnetlink/libnfnetlink.h.orig 2007-01-19
08:46:42.000000000 +0100
+++ /usr/local/include/libnfnetlink/libnfnetlink.h      2007-01-19
13:35:19.000000000 +0100
@@ -16,7 +16,6 @@
 #endif

 #include <linux/types.h>
-#include <sys/socket.h>        /* for sa_family_t */
 #include <linux/netlink.h>
 #include <libnfnetlink/linux_nfnetlink.h>


---
/usr/local/include/libnetfilter_conntrack/libnetfilter_conntrack.h.orig   
 2007-01-19 08:48:13.000000000 +0100
+++ /usr/local/include/libnetfilter_conntrack/libnetfilter_conntrack.h 
2007-01-19 13:34:47.000000000 +0100
@@ -8,7 +8,6 @@
 #ifndef _LIBNETFILTER_CONNTRACK_H_
 #define _LIBNETFILTER_CONNTRACK_H_

-#include <netinet/in.h>
 #include <libnfnetlink/linux_nfnetlink.h>
 #include <libnfnetlink/libnfnetlink.h>
 #include <libnetfilter_conntrack/linux_nfnetlink_conntrack.h>
@@ -338,7 +337,6 @@

 /* high level API */

-#include <sys/types.h>

 /* conntrack object */
 struct nf_conntrack;


This is with libnfnetlink-0.0.25 and libnetfilter_conntrack-0.0.50 as per
the docs. Kernel is 2.6.20.

--
mike





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux