All of lore.kernel.org
 help / color / mirror / Atom feed
* does ipset conflict with ipsec SuSE kernel patch?
@ 2006-07-06 21:05 Hung Lin
  2006-07-07 13:38 ` Amin Azez
  2006-07-09 15:34 ` Jozsef Kadlecsik
  0 siblings, 2 replies; 4+ messages in thread
From: Hung Lin @ 2006-07-06 21:05 UTC (permalink / raw)
  To: netfilter-devel

Hi,


I tried to install ipsets (http://ipset.netfilter.org/install.html) on
my SuSE 10.0 OS.  I could apply the kernel patches and rebuild the
kernel (Step 1 to 4 on ipsets installation webpage.)  But when I tried
to build iptables (Step 5,) it showed the error message:


/usr/src/linux/include/linux/ipv6.h:19: error: redefinition of `struct
in6_pktinfo'

In file included from /usr/src/linux/include/linux/netfilter_ipv4.h:11,

                 from
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:26,

                 from include/libiptc/libiptc.h:6,

                 from include/iptables.h:5,

                 from extensions/libipt_ah.c:8:

/usr/src/linux/include/net/protocol.h:38: warning: `struct sk_buff'
declared inside parameter list

/usr/src/linux/include/net/protocol.h:38: warning: its scope is only
this definition or declaration, which is probably not what you want

/usr/src/linux/include/net/protocol.h:39: error: syntax error before
"u32"

/usr/src/linux/include/net/protocol.h:39: warning: `struct sk_buff'
declared inside parameter list

/usr/src/linux/include/net/protocol.h:47: warning: `struct sk_buff'
declared inside parameter list

/usr/src/linux/include/net/protocol.h:52: warning: `struct
inet6_skb_parm' declared inside parameter list

/usr/src/linux/include/net/protocol.h:52: warning: `struct sk_buff'
declared inside parameter list

/usr/src/linux/include/net/protocol.h:62: error: field `list' has
incomplete type

make: *** [extensions/libipt_ah_sh.o] Error 1

 

 

Since I could build ipsets on the kernel of kernel.org, I checked SuSE
kernel patches.  There's a set of SuSE kernel patches (for IPsec) that
conflicts with ipset patches:

 
(from series.conf in SuSE kernel source)

        # These patches are from the netfilter team, and
        # are required to tag IPsec packets for packet
        # filtering purposes.

-       patches.suse/netfilter-02-output-hooks
-       patches.suse/netfilter-03-input-hooks
-       patches.suse/netfilter-04-policy-lookup
-       patches.suse/netfilter-05-policy-checks
-       patches.suse/netfilter-06-policy-match

 

I removed the above patches and tried to build ipset again, it worked.

Does this mean IPsec conflicts with ipsets?  The comment of SuSE kernel
patch said the patches are from netfilter team, and the ipsets are also
from netfilter.org.  Since they are both belong to netfilter team, is
there any way to resolve the conflict?

Please let me know if you need more information.  Thanks for your time.

P.S.  Please CC to hlin@nextone.com because I didn't subscribe to the
mailing list.

 

 

 
Best


Hung Lin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-07-09 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-06 21:05 does ipset conflict with ipsec SuSE kernel patch? Hung Lin
2006-07-07 13:38 ` Amin Azez
2006-07-08  3:06   ` Patrick McHardy
2006-07-09 15:34 ` Jozsef Kadlecsik

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.