Hi Arianna, Thank you for your fast answer. I'll try it now and let you know about the results.
Changing the subject, i've been running ndpi on FreeBSD very well, but i was asking myself if i can do the following: - Run ndpi as daemon mode (backgound) and write a file output each time, instead of stop the process to create the file. - And run ndpi inline mode to block applications, like skype, facebook and others. I know it can be done via ntopng 2.0, but would be interesting give an option to who doesn't want to install ntopng with all features. On Fri, Jun 12, 2015 at 10:51 AM, Arianna Avanzini <[email protected]> wrote: > Il 12/06/2015 15:48, Cassiano Peixoto ha scritto: > >> Hi guys, >> >> > Hi Cassiano, > > I've tried to build ntopng on FreeBSD 10.1 without success. The build >> output is >> bellow. I'd like know if ntopng application traffic policer will work on >> FreeBSD >> too. Thanks. >> >> > To be able to correctly compile ntopng on FreeBSD you must get the dev > branch of the git sources - latest FreeBSD fixes still have to be merged > into stable. Also, it seems you're missing zmq which is required, you can > get the sources for Unix-like systems here: > http://zeromq.org/intro:get-the-software. > > Thanks, > Arianna > > >> -- >> /local/lib -lluajit-5.1 -L/usr/local/lib -lrrd /usr/local/lib/libzmq.a >> -L/usr/local/lib -ljson-c -lsqlite3 -lGeoIP -L/usr/local/lib -lrt >> -lcurl >> -lm -lpthread -o ntopng >> /usr/local/lib/libzmq.a(libzmq_la-ipc_listener.o): In function >> `zmq::ipc_listener_t::set_address(char const*)': >> (.text+0x7e7): warning: warning: tempnam() possibly used unsafely; >> consider >> using mkstemp() >> src/PacketDumperTuntap.o: In function >> `PacketDumperTuntap::PacketDumperTuntap(NetworkInterface*)': >> /usr/ports/net/ntopng/ntopng-2.0/src/PacketDumperTuntap.cpp:35: undefined >> reference to `PacketDumperTuntap::openTap(char*, int)' >> /usr/local/lib/libzmq.a(libzmq_la-zmq.o): In function `zmq_ctx_new': >> (.text+0x58): undefined reference to `pgm_init' >> /usr/local/lib/libzmq.a(libzmq_la-zmq.o): In function `zmq_ctx_new': >> (.text+0x79): undefined reference to `pgm_error_free' >> /usr/local/lib/libzmq.a(libzmq_la-zmq.o): In function `zmq_ctx_term': >> (.text+0x198): undefined reference to `pgm_shutdown' >> /usr/local/lib/libzmq.a(libzmq_la-ctx.o): In function >> `zmq::ctx_t::~ctx_t()': >> (.text+0x4a8): undefined reference to `randombytes_close' >> /usr/local/lib/libzmq.a(libzmq_la-socket_base.o): In function >> `zmq::socket_base_t::connect(char const*)': >> (.text+0x1dbb): undefined reference to `pgm_freeaddrinfo' >> /usr/local/lib/libzmq.a(libzmq_la-zmq_utils.o): In function >> `zmq_curve_keypair': >> (.text+0x3e5): undefined reference to `crypto_box_keypair' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init_address(char const*, pgm_addrinfo_t**, unsigned >> short*)': >> (.text+0x140): undefined reference to `pgm_getaddrinfo' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init_address(char const*, pgm_addrinfo_t**, unsigned >> short*)': >> (.text+0x196): undefined reference to `pgm_error_free' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x2b1): undefined reference to `pgm_socket' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x338): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x35c): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x372): undefined reference to `pgm_socket' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x400): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x432): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x45d): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x503): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x527): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o):(.text+0x54b): more >> undefined >> references to `pgm_setsockopt' follow >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x80c): undefined reference to `pgm_gsi_create_from_data' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x87c): undefined reference to `pgm_bind3' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x942): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x973): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x984): undefined reference to `pgm_freeaddrinfo' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x9b5): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0x9ec): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0xa25): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0xa51): undefined reference to `pgm_setsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0xa6b): undefined reference to `pgm_connect' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0xbe5): undefined reference to `pgm_close' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0xbfa): undefined reference to `pgm_freeaddrinfo' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::init(bool, char const*)': >> (.text+0xc10): undefined reference to `pgm_error_free' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::get_max_tsdu_size()': >> (.text+0xcac): undefined reference to `pgm_getsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::~pgm_socket_t()': >> (.text+0xd59): undefined reference to `pgm_close' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::get_receiver_fds(int*, int*)': >> (.text+0xdcd): undefined reference to `pgm_getsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::get_receiver_fds(int*, int*)': >> (.text+0xdff): undefined reference to `pgm_getsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::get_sender_fds(int*, int*, int*, int*)': >> (.text+0xfae): undefined reference to `pgm_getsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::get_sender_fds(int*, int*, int*, int*)': >> (.text+0xfe1): undefined reference to `pgm_getsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::get_sender_fds(int*, int*, int*, int*)': >> (.text+0x1014): undefined reference to `pgm_getsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o):(.text+0x1047): more >> undefined >> references to `pgm_getsockopt' follow >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::send(unsigned char*, unsigned long)': >> (.text+0x12f0): undefined reference to `pgm_send' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::get_rx_timeout()': >> (.text+0x1423): undefined reference to `pgm_getsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::get_tx_timeout()': >> (.text+0x14c2): undefined reference to `pgm_getsockopt' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::receive(void**, pgm_tsi_t const**)': >> (.text+0x15bd): undefined reference to `pgm_recvmsgv' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::receive(void**, pgm_tsi_t const**)': >> (.text+0x162a): undefined reference to `pgm_free' >> /usr/local/lib/libzmq.a(libzmq_la-pgm_socket.o): In function >> `zmq::pgm_socket_t::process_upstream()': >> (.text+0x19ea): undefined reference to `pgm_recvmsgv' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::curve_client_t(zmq::options_t const&)': >> (.text+0x8d): undefined reference to `crypto_box_keypair' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::produce_hello(zmq::msg_t*)': >> (.text+0x20e): undefined reference to `crypto_box' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::produce_initiate(zmq::msg_t*)': >> (.text+0x3e0): undefined reference to `randombytes' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::produce_initiate(zmq::msg_t*)': >> (.text+0x40d): undefined reference to `crypto_box' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::produce_initiate(zmq::msg_t*)': >> (.text+0x55a): undefined reference to `crypto_box' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::process_welcome(zmq::msg_t*)': >> (.text+0x87d): undefined reference to `crypto_box_open' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::process_welcome(zmq::msg_t*)': >> (.text+0x938): undefined reference to `crypto_box_beforenm' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::process_ready(zmq::msg_t*)': >> (.text+0xa35): undefined reference to `crypto_box_open_afternm' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::encode(zmq::msg_t*)': >> (.text+0xb6e): undefined reference to `crypto_box_afternm' >> /usr/local/lib/libzmq.a(libzmq_la-curve_client.o): In function >> `zmq::curve_client_t::decode(zmq::msg_t*)': >> (.text+0xe3b): undefined reference to `crypto_box_open_afternm' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::curve_server_t(zmq::session_base_t*, >> std::__1::basic_string<char, std::__1::char_traits<char>, >> std::__1::allocator<char> > const&, zmq::options_t const&)': >> (.text+0x88): undefined reference to `crypto_box_keypair' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::produce_welcome(zmq::msg_t*)': >> (.text+0x240): undefined reference to `randombytes' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::produce_welcome(zmq::msg_t*)': >> (.text+0x29b): undefined reference to `randombytes' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::produce_welcome(zmq::msg_t*)': >> (.text+0x2ba): undefined reference to `crypto_secretbox' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::produce_welcome(zmq::msg_t*)': >> (.text+0x2e7): undefined reference to `randombytes' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::produce_welcome(zmq::msg_t*)': >> (.text+0x392): undefined reference to `crypto_box' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::produce_ready(zmq::msg_t*)': >> (.text+0x597): undefined reference to `crypto_box_afternm' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::process_hello(zmq::msg_t*)': >> (.text+0x8ad): undefined reference to `crypto_box_open' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::process_initiate(zmq::msg_t*)': >> (.text+0x9ca): undefined reference to `crypto_secretbox_open' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::process_initiate(zmq::msg_t*)': >> (.text+0xa89): undefined reference to `crypto_box_open' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::process_initiate(zmq::msg_t*)': >> (.text+0xb2c): undefined reference to `crypto_box_open' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::process_initiate(zmq::msg_t*)': >> (.text+0xb8e): undefined reference to `crypto_box_beforenm' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::encode(zmq::msg_t*)': >> (.text+0xd0c): undefined reference to `crypto_box_afternm' >> /usr/local/lib/libzmq.a(libzmq_la-curve_server.o): In function >> `zmq::curve_server_t::decode(zmq::msg_t*)': >> (.text+0xfdb): undefined reference to `crypto_box_open_afternm' >> clang++: error: linker command failed with exit code 1 (use -v to see >> invocation) >> Makefile:132: recipe for target 'ntopng' failed >> gmake: *** [ntopng] Error 1 >> Exit 2 >> -- >> >> >> _______________________________________________ >> Ntop mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop >> >> > > -- > /* > * Arianna Avanzini > * [email protected] > * http://ava.webhop.me > */ > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop >
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
