ebtables: Cache a copy of the v3.16 kernel headers in the ebtables tree
Subsystems (2)
PATCH 1/1 ebtables: Cache a copy of the v3.16 kernel headers in the ebtables tree
Hi everyone.
I've had some problems trying to build ebtables with the v3.19 kernels headers, failing to build with the following error:
gcc -Wall -Wunused -Werror -fPIC -O3 -DPROGVERSION=\"2.0.10-4\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"December\ 2011\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -DLOCKFILE=\"/var/lib/ebtables/lock\" -DLOCKDIR=\"/var/lib/ebtables/\" -c -o extensions/ebt_ulog.o extensions/ebt_ulog.c -Iinclude/extensions/ebt_ulog.c:17:45: fatal error: linux/netfilter_bridge/ebt_ulog.h: No such file or directory
#include <linux/netfilter_bridge/ebt_ulog.h>
^After some discussion on IRC we agreed there were 2 possible solutions:
-1: Disable 'ulog' in the extensions/Makefile
-2: Cache the headers needed in the ebtables tree.
I decided to go for 2, and here is the patch:
Repo: git://git.baserock.org/delta/ebtables.git
Branch: baserock/pedroalvarez/ebt_ulog-fix
Sha1: 13747a56890cc710b2b4d420edc03a6c2714f40e
NOTE: I didn't want to send a diff, since it would be big and nonsense, but I can do that if needed.
Regards!
Signature · 1 line
Pedro
Pablo Neira Ayuso
maintainerQuoted 16 lines · Pedro Alvarez
Hi everyone.
I've had some problems trying to build ebtables with the v3.19 kernels headers, failing to build with the following error:
gcc -Wall -Wunused -Werror -fPIC -O3 -DPROGVERSION=\"2.0.10-4\"
(quoted diff) +0
-4-DPROGNAME=\"ebtables\" -DPROGDATE=\"December\ 2011\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -DLOCKFILE=\"/var/lib/ebtables/lock\" -DLOCKDIR=\"/var/lib/ebtables/\" -c -o extensions/ebt_ulog.o
extensions/ebt_ulog.c-Iinclude/extensions/ebt_ulog.c:17:45: fatal error:linux/netfilter_bridge/ebt_ulog.h: No such file or directory#include <linux/netfilter_bridge/ebt_ulog.h> ^
Quoted 7 lines
After some discussion on IRC we agreed there were 2 possible solutions:
-1: Disable 'ulog' in the extensions/Makefile
-2: Cache the headers needed in the ebtables tree.
I decided to go for 2, and here is the patch:
Yes, we have to go 2 as we did in iptables.
Quoted 6 lines
Repo:
git://git.baserock.org/delta/ebtables.git
Branch: baserock/pedroalvarez/ebt_ulog-fix
Sha1:13747a56890cc710b2b4d420edc03a6c2714f40eNOTE: I didn't want to send a diff, since it would be big and nonsense, but I can do that if needed.
OK, but it should be sufficient to include netfilter_bridge headers for each supported extension, including types.h and filter.h as we do in iptables.
PATCH v2 1/1 ebtables: Cache a copy of the v3.16 kernel headers in the ebtables tree
Quoted 10 lines · Pablo Neira Ayuso
Quoted 2 lines · Pedro Alvarez
I decided to go for 2, and here is the patch:
Yes, we have to go 2 as we did in iptables.
Quoted 4 lines
Repo: git://git.baserock.org/delta/ebtables.git Branch: baserock/pedroalvarez/ebt_ulog-fix Sha1: 13747a56890cc710b2b4d420edc03a6c2714f40e
Quoted 6 lines
Quoted 2 lines
NOTE: I didn't want to send a diff, since it would be big and nonsense, but I can do that if needed.
OK, but it should be sufficient to include
netfilter_bridgeheaders for each supported extension, includingtypes.handfilter.has we do in iptables.
Hi Pablo, thanks for taking a look at my patch.
Yeah, you are right, here is the second version of the patch [1] following your suggestion.
Repo: git://git.baserock.org/delta/ebtables.git
Branch: baserock/pedroalvarez/ebt_ulog-fix-v2
Sha1: 04d387f29184907dd61f7e6b23b0dd9ef3913c50
--
Pedro
Pablo Neira Ayuso
maintainerQuoted 18 lines · Pedro Alvarez
Quoted 10 lines · Pablo Neira Ayuso
Quoted 2 lines · Pedro Alvarez
I decided to go for 2, and here is the patch:
Yes, we have to go 2 as we did in iptables.
Quoted 4 lines
Repo:
git://git.baserock.org/delta/ebtables.git
Branch: baserock/pedroalvarez/ebt_ulog-fix
Sha1:13747a56890cc710b2b4d420edc03a6c2714f40eQuoted 6 lines
Quoted 2 lines
NOTE: I didn't want to send a diff, since it would be big and nonsense, but I can do that if needed.
OK, but it should be sufficient to include
netfilter_bridgeheaders for each supported extension, includingtypes.handfilter.has we do in iptables.
Quoted 8 lines
Hi Pablo, thanks for taking a look at my patch.
Yeah, you are right, here is the second version of the patch [1] following your suggestion.
Repo:
git://git.baserock.org/delta/ebtables.git
Branch: baserock/pedroalvarez/ebt_ulog-fix-v2
Sha1:04d387f29184907dd61f7e6b23b0dd9ef3913c50
Please, remove filter.h, we don't need it for ebtables.
It would be good if you can send the patch to [email protected], it's ~25 KBytes which sounds reasonable size.
Thanks.
PATCH v3 1/1 ebtables: Add kernel headers needed from v3.16
In reply to Pedro AlvarezFixes ebtables build with new kernel headers (See commit message)
v3:
* Don't add filter.h
v2
* Just add netfilter_bridge headers, types.h and filter.h
Pedro Alvarez (1):
Add kernel headers needed from v3.16
include/linux/netfilter_bridge.h | 27 +++++++++++ include/linux/netfilter_bridge/ebt_802_3.h | 63 ++++++++++++++++++++++++++ include/linux/netfilter_bridge/ebt_among.h | 64 +++++++++++++++++++++++++++ include/linux/netfilter_bridge/ebt_arp.h | 36 +++++++++++++++ include/linux/netfilter_bridge/ebt_arpreply.h | 10 +++++ include/linux/netfilter_bridge/ebt_ip.h | 44 ++++++++++++++++++ include/linux/netfilter_bridge/ebt_ip6.h | 50 +++++++++++++++++++++ include/linux/netfilter_bridge/ebt_limit.h | 24 ++++++++++ include/linux/netfilter_bridge/ebt_log.h | 20 +++++++++ include/linux/netfilter_bridge/ebt_mark_m.h | 16 +++++++ include/linux/netfilter_bridge/ebt_mark_t.h | 23 ++++++++++ include/linux/netfilter_bridge/ebt_nat.h | 13 ++++++ include/linux/netfilter_bridge/ebt_nflog.h | 23 ++++++++++ include/linux/netfilter_bridge/ebt_pkttype.h | 12 +++++ include/linux/netfilter_bridge/ebt_redirect.h | 10 +++++ include/linux/netfilter_bridge/ebt_stp.h | 46 +++++++++++++++++++ include/linux/netfilter_bridge/ebt_ulog.h | 38 ++++++++++++++++ include/linux/netfilter_bridge/ebt_vlan.h | 22 +++++++++ include/linux/types.h | 51 +++++++++++++++++++++ 19 files changed, 592 insertions(+) create mode 100644 include/linux/netfilter_bridge.h create mode 100644 include/linux/netfilter_bridge/ebt_802_3.h create mode 100644 include/linux/netfilter_bridge/ebt_among.h create mode 100644 include/linux/netfilter_bridge/ebt_arp.h create mode 100644 include/linux/netfilter_bridge/ebt_arpreply.h create mode 100644 include/linux/netfilter_bridge/ebt_ip.h create mode 100644 include/linux/netfilter_bridge/ebt_ip6.h create mode 100644 include/linux/netfilter_bridge/ebt_limit.h create mode 100644 include/linux/netfilter_bridge/ebt_log.h create mode 100644 include/linux/netfilter_bridge/ebt_mark_m.h create mode 100644 include/linux/netfilter_bridge/ebt_mark_t.h create mode 100644 include/linux/netfilter_bridge/ebt_nat.h create mode 100644 include/linux/netfilter_bridge/ebt_nflog.h create mode 100644 include/linux/netfilter_bridge/ebt_pkttype.h create mode 100644 include/linux/netfilter_bridge/ebt_redirect.h create mode 100644 include/linux/netfilter_bridge/ebt_stp.h create mode 100644 include/linux/netfilter_bridge/ebt_ulog.h create mode 100644 include/linux/netfilter_bridge/ebt_vlan.h create mode 100644 include/linux/types.h
Signature · 1 line
2.1.4
PATCH 1/1 Add kernel headers needed from v3.16
Ebtables fails to compile with versions of the linux headers greater than v3.16 with this error:
extensions/ebt_ulog.c:17:45: fatal error: linux/netfilter_bridge/ebt_ulog.h: No such file or directory
#include <linux/netfilter_bridge/ebt_ulog.h>
This patch adds netfilter_bridge headers for every supported extension, including filter.h and types.h, to avoid this problem and future problems with changes in the kernel headers.
--- include/linux/netfilter_bridge.h | 27 +++++++++++ include/linux/netfilter_bridge/ebt_802_3.h | 63 ++++++++++++++++++++++++++ include/linux/netfilter_bridge/ebt_among.h | 64 +++++++++++++++++++++++++++ include/linux/netfilter_bridge/ebt_arp.h | 36 +++++++++++++++ include/linux/netfilter_bridge/ebt_arpreply.h | 10 +++++ include/linux/netfilter_bridge/ebt_ip.h | 44 ++++++++++++++++++ include/linux/netfilter_bridge/ebt_ip6.h | 50 +++++++++++++++++++++ include/linux/netfilter_bridge/ebt_limit.h | 24 ++++++++++ include/linux/netfilter_bridge/ebt_log.h | 20 +++++++++ include/linux/netfilter_bridge/ebt_mark_m.h | 16 +++++++ include/linux/netfilter_bridge/ebt_mark_t.h | 23 ++++++++++ include/linux/netfilter_bridge/ebt_nat.h | 13 ++++++ include/linux/netfilter_bridge/ebt_nflog.h | 23 ++++++++++ include/linux/netfilter_bridge/ebt_pkttype.h | 12 +++++ include/linux/netfilter_bridge/ebt_redirect.h | 10 +++++ include/linux/netfilter_bridge/ebt_stp.h | 46 +++++++++++++++++++ include/linux/netfilter_bridge/ebt_ulog.h | 38 ++++++++++++++++ include/linux/netfilter_bridge/ebt_vlan.h | 22 +++++++++ include/linux/types.h | 51 +++++++++++++++++++++ 19 files changed, 592 insertions(+) create mode 100644 include/linux/netfilter_bridge.h create mode 100644 include/linux/netfilter_bridge/ebt_802_3.h create mode 100644 include/linux/netfilter_bridge/ebt_among.h create mode 100644 include/linux/netfilter_bridge/ebt_arp.h create mode 100644 include/linux/netfilter_bridge/ebt_arpreply.h create mode 100644 include/linux/netfilter_bridge/ebt_ip.h create mode 100644 include/linux/netfilter_bridge/ebt_ip6.h create mode 100644 include/linux/netfilter_bridge/ebt_limit.h create mode 100644 include/linux/netfilter_bridge/ebt_log.h create mode 100644 include/linux/netfilter_bridge/ebt_mark_m.h create mode 100644 include/linux/netfilter_bridge/ebt_mark_t.h create mode 100644 include/linux/netfilter_bridge/ebt_nat.h create mode 100644 include/linux/netfilter_bridge/ebt_nflog.h create mode 100644 include/linux/netfilter_bridge/ebt_pkttype.h create mode 100644 include/linux/netfilter_bridge/ebt_redirect.h create mode 100644 include/linux/netfilter_bridge/ebt_stp.h create mode 100644 include/linux/netfilter_bridge/ebt_ulog.h create mode 100644 include/linux/netfilter_bridge/ebt_vlan.h create mode 100644 include/linux/types.h
include/linux/netfilter_bridge.h new file +27 -0
@@ -0,0 +1,27 @@ +#ifndef __LINUX_BRIDGE_NETFILTER_H +#define __LINUX_BRIDGE_NETFILTER_H + +/* bridge-specific defines for netfilter. +*/ + +#include <linux/netfilter.h> +#include <linux/if_ether.h> +#include <linux/if_vlan.h> +#include <linux/if_pppox.h> + +/* Bridge Hooks */ +/* After promisc drops, checksum checks. */ +#define NF_BR_PRE_ROUTING 0 +/* If the packet is destined for this box. */ +#define NF_BR_LOCAL_IN 1 +/* If the packet is destined for another interface. */ +#define NF_BR_FORWARD 2 +/* Packets coming from a local process. */ +#define NF_BR_LOCAL_OUT 3 +/* Packets about to hit the wire. */ +#define NF_BR_POST_ROUTING 4 +/* Not really a hook, but used for the ebtables broute table */ +#define NF_BR_BROUTING 5 +#define NF_BR_NUMHOOKS 6 + +#endif /* __LINUX_BRIDGE_NETFILTER_H */
include/linux/netfilter_bridge/ebt_802_3.h new file +63 -0
63 lines not on this page · raw message
include/linux/netfilter_bridge/ebt_among.h new file +64 -0
64 lines not on this page · raw message
include/linux/netfilter_bridge/ebt_arp.h new file +36 -0
@@ -0,0 +1,36 @@ +#ifndef __LINUX_BRIDGE_EBT_ARP_H +#define __LINUX_BRIDGE_EBT_ARP_H + +#include <linux/types.h> + +#define EBT_ARP_OPCODE 0x01 +#define EBT_ARP_HTYPE 0x02 +#define EBT_ARP_PTYPE 0x04 +#define EBT_ARP_SRC_IP 0x08 +#define EBT_ARP_DST_IP 0x10 +#define EBT_ARP_SRC_MAC 0x20 +#define EBT_ARP_DST_MAC 0x40 +#define EBT_ARP_GRAT 0x80 +#define EBT_ARP_MASK (EBT_ARP_OPCODE | EBT_ARP_HTYPE | EBT_ARP_PTYPE | \ + EBT_ARP_SRC_IP | EBT_ARP_DST_IP | EBT_ARP_SRC_MAC | EBT_ARP_DST_MAC | \ + EBT_ARP_GRAT) +#define EBT_ARP_MATCH "arp" + +struct ebt_arp_info +{ +__be16 htype; +__be16 ptype; +__be16 opcode; +__be32 saddr; +__be32 smsk; +__be32 daddr; +__be32 dmsk; +unsigned char smaddr[ETH_ALEN ]; +unsigned char smmsk[ETH_ALEN ]; +unsigned char dmaddr[ETH_ALEN ]; +unsigned char dmmsk[ETH_ALEN ]; +__u8 bitmask; +__u8 invflags; +}; + +#endif
include/linux/netfilter_bridge/ebt_arpreply.h new file +10 -0
@@ -0,0 +1,10 @@ +#ifndef __LINUX_BRIDGE_EBT_ARPREPLY_H +#define __LINUX_BRIDGE_EBT_ARPREPLY_H + +struct ebt_arpreply_info { +unsigned char mac[ETH_ALEN ]; +int target; +}; +#define EBT_ARPREPLY_TARGET "arpreply" + +#endif
include/linux/netfilter_bridge/ebt_ip.h new file +44 -0
44 lines not on this page · raw message
include/linux/netfilter_bridge/ebt_ip6.h new file +50 -0
50 lines not on this page · raw message
include/linux/netfilter_bridge/ebt_limit.h new file +24 -0
@@ -0,0 +1,24 @@ +#ifndef __LINUX_BRIDGE_EBT_LIMIT_H +#define __LINUX_BRIDGE_EBT_LIMIT_H + +#include <linux/types.h> + +#define EBT_LIMIT_MATCH "limit" + +/* timings are in milliseconds. */ +#define EBT_LIMIT_SCALE 10000 + +/* 1/10,000 sec period => max of 10,000/sec. Min rate is then 429490 +seconds, or one every 59 hours. */ + +struct ebt_limit_info { +__u32 avg;/* Average secs between packets * scale */ +__u32 burst;/* Period multiplier for upper limit. */ + +/* Used internally by the kernel */ +unsigned long prev; +__u32 credit; +__u32 credit_cap, cost; +}; + +#endif
include/linux/netfilter_bridge/ebt_log.h new file +20 -0
@@ -0,0 +1,20 @@ +#ifndef __LINUX_BRIDGE_EBT_LOG_H +#define __LINUX_BRIDGE_EBT_LOG_H + +#include <linux/types.h> + +#define EBT_LOG_IP 0x01/* if the frame is made by ip, log the ip information */ +#define EBT_LOG_ARP 0x02 +#define EBT_LOG_NFLOG 0x04 +#define EBT_LOG_IP6 0x08 +#define EBT_LOG_MASK (EBT_LOG_IP | EBT_LOG_ARP | EBT_LOG_IP6) +#define EBT_LOG_PREFIX_SIZE 30 +#define EBT_LOG_WATCHER "log" + +struct ebt_log_info { +__u8 loglevel; +__u8 prefix[EBT_LOG_PREFIX_SIZE ]; +__u32 bitmask; +}; + +#endif
include/linux/netfilter_bridge/ebt_mark_m.h new file +16 -0
@@ -0,0 +1,16 @@ +#ifndef __LINUX_BRIDGE_EBT_MARK_M_H +#define __LINUX_BRIDGE_EBT_MARK_M_H + +#include <linux/types.h> + +#define EBT_MARK_AND 0x01 +#define EBT_MARK_OR 0x02 +#define EBT_MARK_MASK (EBT_MARK_AND | EBT_MARK_OR) +struct ebt_mark_m_info { +unsigned long mark, mask; +__u8 invert; +__u8 bitmask; +}; +#define EBT_MARK_MATCH "mark_m" + +#endif
include/linux/netfilter_bridge/ebt_mark_t.h new file +23 -0
@@ -0,0 +1,23 @@ +#ifndef __LINUX_BRIDGE_EBT_MARK_T_H +#define __LINUX_BRIDGE_EBT_MARK_T_H + +/* The target member is reused for adding new actions, the +* value of the real target is -1 to -NUM_STANDARD_TARGETS. +* For backward compatibility, the 4 lsb (2 would be enough, +* but let's play it safe) are kept to designate this target. +* The remaining bits designate the action. By making the set +* action 0xfffffff0, the result will look ok for older +* versions. [September 2006] */ +#define MARK_SET_VALUE (0xfffffff0) +#define MARK_OR_VALUE (0xffffffe0) +#define MARK_AND_VALUE (0xffffffd0) +#define MARK_XOR_VALUE (0xffffffc0) + +struct ebt_mark_t_info { +unsigned long mark; +/* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */ +int target; +}; +#define EBT_MARK_TARGET "mark" + +#endif
include/linux/netfilter_bridge/ebt_nat.h new file +13 -0
@@ -0,0 +1,13 @@ +#ifndef __LINUX_BRIDGE_EBT_NAT_H +#define __LINUX_BRIDGE_EBT_NAT_H + +#define NAT_ARP_BIT (0x00000010) +struct ebt_nat_info { +unsigned char mac[ETH_ALEN ]; +/* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */ +int target; +}; +#define EBT_SNAT_TARGET "snat" +#define EBT_DNAT_TARGET "dnat" + +#endif
include/linux/netfilter_bridge/ebt_nflog.h new file +23 -0
@@ -0,0 +1,23 @@ +#ifndef __LINUX_BRIDGE_EBT_NFLOG_H +#define __LINUX_BRIDGE_EBT_NFLOG_H + +#include <linux/types.h> + +#define EBT_NFLOG_MASK 0x0 + +#define EBT_NFLOG_PREFIX_SIZE 64 +#define EBT_NFLOG_WATCHER "nflog" + +#define EBT_NFLOG_DEFAULT_GROUP 0x1 +#define EBT_NFLOG_DEFAULT_THRESHOLD 1 + +struct ebt_nflog_info { +__u32 len; +__u16 group; +__u16 threshold; +__u16 flags; +__u16 pad; +char prefix[EBT_NFLOG_PREFIX_SIZE ]; +}; + +#endif /* __LINUX_BRIDGE_EBT_NFLOG_H */
include/linux/netfilter_bridge/ebt_pkttype.h new file +12 -0
@@ -0,0 +1,12 @@ +#ifndef __LINUX_BRIDGE_EBT_PKTTYPE_H +#define __LINUX_BRIDGE_EBT_PKTTYPE_H + +#include <linux/types.h> + +struct ebt_pkttype_info { +__u8 pkt_type; +__u8 invert; +}; +#define EBT_PKTTYPE_MATCH "pkttype" + +#endif
include/linux/netfilter_bridge/ebt_redirect.h new file +10 -0
@@ -0,0 +1,10 @@ +#ifndef __LINUX_BRIDGE_EBT_REDIRECT_H +#define __LINUX_BRIDGE_EBT_REDIRECT_H + +struct ebt_redirect_info { +/* EBT_ACCEPT, EBT_DROP, EBT_CONTINUE or EBT_RETURN */ +int target; +}; +#define EBT_REDIRECT_TARGET "redirect" + +#endif
include/linux/netfilter_bridge/ebt_stp.h new file +46 -0
46 lines not on this page · raw message
include/linux/netfilter_bridge/ebt_ulog.h new file +38 -0
@@ -0,0 +1,38 @@ +#ifndef _EBT_ULOG_H +#define _EBT_ULOG_H + +#include <linux/types.h> + +#define EBT_ULOG_DEFAULT_NLGROUP 0 +#define EBT_ULOG_DEFAULT_QTHRESHOLD 1 +#define EBT_ULOG_MAXNLGROUPS 32/* hardcoded netlink max */ +#define EBT_ULOG_PREFIX_LEN 32 +#define EBT_ULOG_MAX_QLEN 50 +#define EBT_ULOG_WATCHER "ulog" +#define EBT_ULOG_VERSION 1 + +struct ebt_ulog_info { +__u32 nlgroup; +unsigned int cprange; +unsigned int qthreshold; +char prefix[EBT_ULOG_PREFIX_LEN ]; +}; + +typedef struct ebt_ulog_packet_msg { +int version; +char indev[IFNAMSIZ ]; +char outdev[IFNAMSIZ ]; +char physindev[IFNAMSIZ ]; +char physoutdev[IFNAMSIZ ]; +char prefix[EBT_ULOG_PREFIX_LEN ]; +struct timeval stamp; +unsigned long mark; +unsigned int hook; +size_t data_len; +/* The complete packet, including Ethernet header and perhaps +* the VLAN header is appended */ +unsigned char data[0 ] __attribute__ + ((aligned (__alignof__(struct ebt_ulog_info )))); +}ebt_ulog_packet_msg_t ; + +#endif /* _EBT_ULOG_H */
include/linux/netfilter_bridge/ebt_vlan.h new file +22 -0
@@ -0,0 +1,22 @@ +#ifndef __LINUX_BRIDGE_EBT_VLAN_H +#define __LINUX_BRIDGE_EBT_VLAN_H + +#include <linux/types.h> + +#define EBT_VLAN_ID 0x01 +#define EBT_VLAN_PRIO 0x02 +#define EBT_VLAN_ENCAP 0x04 +#define EBT_VLAN_MASK (EBT_VLAN_ID | EBT_VLAN_PRIO | EBT_VLAN_ENCAP) +#define EBT_VLAN_MATCH "vlan" + +struct ebt_vlan_info { +__u16 id;/* VLAN ID {1-4095} */ +__u8 prio;/* VLAN User Priority {0-7} */ +__be16 encap;/* VLAN Encapsulated frame code {0-65535} */ +__u8 bitmask;/* Args bitmask bit 1=1 - ID arg, +bit 2=1 User-Priority arg, bit 3=1 encap*/ +__u8 invflags;/* Inverse bitmask bit 1=1 - inversed ID arg, +bit 2=1 - inversed Pirority arg */ +}; + +#endif
include/linux/types.h new file +51 -0
51 lines not on this page · raw message
Signature · 1 line
2.1.4
Re: [PATCH] Add kernel headers needed from v3.16
Quoted 9 lines · Pedro Alvarez
Ebtables fails to compile with versions of the linux headers greater than v3.16 with this error:
extensions/ebt_ulog.c:17:45: fatal error:linux/netfilter_bridge/ebt_ulog.h: No such file or directory
#include <linux/netfilter_bridge/ebt_ulog.h>This patch adds
netfilter_bridgeheaders for every supported extension, includingfilter.handtypes.h, to avoid this problem and future problems with changes in the kernel headers.
Applied, thanks.
BTW, I have also included include/linux/netfilter_bridge/ebtables.h