From mboxrd@z Thu Jan 1 00:00:00 1970 From: ummeegge To: development@lists.ipfire.org Subject: Re: Kernel patch - ERROR KCFG= FAIL Date: Tue, 19 Feb 2019 16:07:27 +0100 Message-ID: <636c6297bd98358f1a21751f35371662d0f38d94.camel@ipfire.org> In-Reply-To: <2528C607-55C3-4AC3-A712-B18A3020A79E@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8500024871287183403==" List-Id: --===============8500024871287183403== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Michael, great that you looked over it. On Di, 2019-02-19 at 11:25 +0000, Michael Tremer wrote: > Hi, >=20 > The error message is probably quite a bit before the end of the log. Haven=C2=B4t found something which can lead me in the right direction. Have uploaded the build log --> https://people.ipfire.org/~ummeegge/logs/kernel_log_KCFG-ERROR-nDPI-netfilter may you can find something there... >=20 > What is this patch for? I think it implements some tracking possiblities via conntrack/netfilter, the kernel config needed to be also modified. In here -->=20 https://github.com/vel21ripn/nDPI/blob/netfilter-2.2/ndpi-netfilter/INSTALL#L= 22 you can find some further infos. If all went well, it should be possible to regulate traffic via IPTables module on application-layer basis e.g. : iptables -A INPUT -m ndpi --youtube -j DROP # Block youtube iptables -A INPUT -m ndpi --facebook -j DROP # Block facebook iptables -A INPUT -m ndpi --skype -j DROP # Block skype wanted to give it some tests, i thought it might be a nice addition to the al= ready=20 available layer 7 patch. >=20 > -Michael >=20 > > On 19 Feb 2019, at 11:22, ummeegge wrote: > >=20 > > Hi all, > > am trying currently to patch the kernel for nDPI-netfilter and am > > getting an error which i can=C2=B4t solve. The patch is from here --> > >=20 https://github.com/vel21ripn/nDPI/blob/netfilter-2.2/ndpi-netfilter/kernel-pa= tch/v4.14.0.diff > > and it does apply but the kernel quits after sometime with=20 > >=20 > > CC [M] drivers/net/wireless/ti/wlcore/sdio.o > > LD [M] drivers/net/wireless/ti/wlcore/wlcore_sdio.o > > LD [M] drivers/net/wireless/ti/wlcore/wlcore.o > > AR drivers/net/wireless/ti/built-in.o > > AR drivers/net/wireless/built-in.o > > AR drivers/net/built-in.o > > AR drivers/built-in.o > > make[1]: Leaving directory '/usr/src/linux-4.14.97' > > make: *** [linux:149: /usr/src/log/linux-4.14.97-ipfire] Error > >=20 > > ERROR: Building linux > > KCFG=3D =20 > > =20 > > [ FAIL ] > > Check /var/dev-ipfire_20190118_1813/ipfire- > > 2.x/log/_build.ipfire.log for errors if applicable > >=20 > >=20 > > so may there is a simple solution for the "KCFG=3D ERROR". Since i do > > not > > really have much experience in kernel development i decided to ask > > the > > list for potential help... > >=20 > > Might be great if someone do have a hint for me ? > >=20 > > Best, > >=20 > > Erik > >=20 >=20 >=20 --===============8500024871287183403==--