Menu

#77 l7fileter-userspace 0.11 & 0.12 compiling error

patterns
open
nobody
9
2018-05-14
2018-05-14
No

I am try to compile version 0.11 and 0.12 of l7filter-userspace into a debian x86 with kernel 4.16, but I get this error:

l7-queue.cpp: In member function u_int32_t l7_queue::handle_packet(nfq_data*, nfq_q_handle*):
l7-queue.cpp:199:30: error: invalid conversion from char** to unsigned char** [-fpermissive]
   ret = nfq_get_payload(tb,  &data);
                              ^~~~~

I searched by google but not found any solution.

There are some people that have some ideas ?

I compiled from source the kernel with imq support and netfilter, compilide iptable 1.6.0 with the relative patch, netfilter (and some libnetfilter packages) and for this I don't want to install the .deb packages (maybe the path of some lib can be not as the .deb l7filter want)

Thank in advance, any help will be aprecied

Emilio

Discussion


Log in to post a comment.

MongoDB Logo MongoDB