return (pattern_result ^ info->invert);
}
+/*
// load nf_conntrack_ipv4
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
static int
nf_ct_l3proto_module_put(match->family);
}
#endif
+*/
static struct xt_match xt_layer7_match[] __read_mostly = {
{
.name = "layer7",
.family = NFPROTO_IPV4,
- .checkentry = check,
+// .checkentry = check,
.match = match,
- .destroy = destroy,
+// .destroy = destroy,
.matchsize = sizeof(struct xt_layer7_info),
.me = THIS_MODULE
}
static int __init xt_layer7_init(void)
{
- need_conntrack();
+// need_conntrack();
// Register proc interface
proc_create_data("layer7_numpackets", 0644,