Comments (16)
@pcmerc seems that different versons of libnetfilter_queue have different prototypes for the nfq_get_payload() function. We'll discuss about this issue shortly.
from ntopng.
@pcmerc I have just compiled on Debian 7.7 and it compiles flawlessly.
from ntopng.
I've the same issue there !
src/NetfilterInterface.cpp: In function 'int netfilter_callback(nfq_q_handle_, nfgenmsg_, nfq_data_, void_)':
src/NetfilterInterface.cpp:86: error: invalid conversion from 'unsigned char**' to 'char**'
src/NetfilterInterface.cpp:86: error: initializing argument 2 of 'int nfq_get_payload(nfq_data_, char__)'
make: *_* [src/NetfilterInterface.o] Error 1
from ntopng.
Same as above: no problem on debian 7.7
from ntopng.
I've removed nDPI & updated to the latest GIT version.
I've also updated to the latest version of ntopng through git.
Previous versions built no problem.
I am still receiving the same error & I'm running the latest deb 7 release.
Do I need to setup a new vm instance & prove otherwise?
src/NetfilterInterface.cpp: In function ‘int netfilter_callback(nfq_q_handle_, nfgenmsg_, nfq_data_, void_)’:
src/NetfilterInterface.cpp:86:64: error: invalid conversion from ‘unsigned char**’ to ‘char**’ [-fpermissive]
In file included from /usr/xxx/ntopng/include/ntop_includes.h:107:0,
from src/NetfilterInterface.cpp:22:
/usr/include/libnetfilter_queue/libnetfilter_queue.h:99:12: error: initializing argument 2 of ‘int nfq_get_payload(nfq_data_, char__)’ [-fpermissive]
make: *_* [src/NetfilterInterface.o] Error 1
from ntopng.
Loading up a fresh instance to verify the build failure.
from ntopng.
New compile on fresh build of debian 7.8 running now
nDPI compiled & installed prior
from ntopng.
echo "deb http://ftp.de.debian.org/debian wheezy-backports main" > /etc/apt/sources.list.d/backports.list
apt-get update && apt-get dist-upgrade
apt-get install git screen vim build-essential devscripts libnetfilter-queue-dev autoconf libtool libpcap-dev libjson0-dev autogen automake autoconf libtool libjsoncpp-dev
libjson-glib-dev libjson-c-dev libcurl4-openssl-dev libsqlite3-dev libgeoip-dev libxml2-dev
mkdir /usr/xxx
cd /usr/xxx
git clone https://github.com/ntop/ntopng.git
git clone https://github.com/ntop/nDPI.git
cd nDPI
./autogen.sh
./configure
make
make install
cd ../ntopng
./autogen.sh
./configure
make
Same exact error on a fresh build vm instance of Debian 7.8 w/latest updates applied
src/NetfilterInterface.cpp: In function ‘int netfilter_callback(nfq_q_handle_, nfgenmsg_, nfq_data_, void_)’:
src/NetfilterInterface.cpp:86:64: error: invalid conversion from ‘unsigned char**’ to ‘char**’ [-fpermissive]
In file included from /usr/xxx/ntopng/include/ntop_includes.h:107:0,
from src/NetfilterInterface.cpp:22:
/usr/include/libnetfilter_queue/libnetfilter_queue.h:99:12: error: initializing argument 2 of ‘int nfq_get_payload(nfq_data_, char__)’ [-fpermissive]
make: *_* [src/NetfilterInterface.o] Error 1
Please explain your build environment
from ntopng.
Same issue, have to remove libnetfilter-queue-dev package to compile on Debian 7.8
from ntopng.
Please send us a patch for inclusion. I do not use Debian,
from ntopng.
is there any solution? I have the same problem
from ntopng.
Said that we are working at packaging Debian .deb I see the the latest version is 8.2, so in no case we will support v7. Please start moving to 8x.
from ntopng.
Thanks for the answer but I do not use Debian, I use Gentoo.
But this error is because of what? It is missing some plug upgrade? Or the version of the kernel?
regards
from ntopng.
Your netfilter library is too old as the API has changed. We cannot support all Linux distro and multiple versions of them. You need to help yourself and send us a patch, or move to a distribution we use and support.
from ntopng.
I was able to get it working on 7 by building an updated deb for a dependency.
Works for me on both 7 & 8 :D
John~
On Sep 30, 2015, at 2:09 PM, Luca Deri <[email protected] mailto:[email protected]> wrote:
Your netfilter library is too old as the API has changed. We cannot support all Linux distro and multiple versions of them. You need to help yourself and send us a patch, or move to a distribution we use and support.
—
Reply to this email directly or view it on GitHub #51 (comment).!DSPAM:255,560c4f7912361333364254!
from ntopng.
Note that we release Debian 8 binaries: http://packages.ntop.org/apt/
from ntopng.
Related Issues (20)
- Some SNMP Interfaces are Missing
- When SNMP Polling is Disabled in Preferences an Alert Message Should Be Displayed HOT 1
- List 'Stratosphere Lab' has 0 rules. Please report this to https://github.com/ntop/ntopng HOT 1
- 'Stratosphere Lab' has 0 rules HOT 5
- Missing score in test peers_swap_heuristic_01 HOT 2
- Incorrect data formatted with ClickHouse Import HOT 2
- VoIP Support Broken
- Bad ClickHouse Limit Aggregated Flows Limit or Default
- Localhost as remote address
- Flow Alert Export Broken HOT 1
- Invalid Flow table Sort Order
- Add regression test for #8378
- [nEdge] Extend Inter-LAN Filtering Rules to also handle WAN interfaces
- Implement WeChat Recipient for Delivering Alerts HOT 1
- Flow List Column are not Persistent
- Export PRE/POST NAT in ClickHouse/Elastic and GUI
- SNMP Input Form Bug HOT 1
- Active Monitoring not working on Debian Bullseye distributed package
- Delete Unresponsive SNMP Devices Button Has no effect
- Add SNMP Capacity Alert message HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ntopng.