From owner-freebsd-ports@FreeBSD.ORG Sat Oct 25 13:16:49 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 95D21FFF for ; Sat, 25 Oct 2014 13:16:49 +0000 (UTC) Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5EED2669 for ; Sat, 25 Oct 2014 13:16:49 +0000 (UTC) Received: by mail-ob0-f171.google.com with SMTP id wp18so1535333obc.30 for ; Sat, 25 Oct 2014 06:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=M8G3gZ1pYtjSrBcutAKngfWTx2NWFdBXalGl96paz5o=; b=zYcyZruE/ycAh12vTuDvCSqgqLGzilZcxgYy9Hc7z9xWDQYPtEhq52TQfGV+uUcKij bg7+KO+uQCXAD9drcWOSla0jZill/ExsSGvLIn3WZIQFEvrfyKUP+MD6HLRDvVQn3bZe tzZMqz8j2lb2bvlzF+bsyYKLWfskh8kENgHCC/hGebewHMq862z4Lo0xuFQuCGMCvqlK ds4vzM1foGFaNIgjAglqDWcf/7Pq3tW95BXuFR/K6LdaGyRJM6mU1uQj0You2AzfYYtT MguVk+DHFW7P16Q6Hm3oZqoLvM7icOJp28mvjThKdOOAciYiiUpQm9vJFUfh9dLuYFmS EsnQ== MIME-Version: 1.0 X-Received: by 10.182.105.163 with SMTP id gn3mr9477839obb.9.1414243008703; Sat, 25 Oct 2014 06:16:48 -0700 (PDT) Received: by 10.202.59.197 with HTTP; Sat, 25 Oct 2014 06:16:48 -0700 (PDT) In-Reply-To: <544B9978.1010503@netfence.it> References: <544AC8B9.6040204@netfence.it> <544B9978.1010503@netfence.it> Date: Sat, 25 Oct 2014 19:16:48 +0600 Message-ID: Subject: Re: Status of ntopng From: Muhammad Moinur Rahman <5u623l20@gmail.com> To: Andrea Venturoli Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2014 13:16:49 -0000 Hi, On Sat, Oct 25, 2014 at 6:37 PM, Andrea Venturoli wrote: > On 10/25/14 04:28, Muhammad Moinur Rahman wrote: > >> Hi, >> > > Hello. > First off, thanks for your attention. > > > > 1. I am not aware about if it's not working in 8.4. It will be helpful >> if you can provide me any logs. >> > > # uname -r >> 8.4-RELEASE-p16 >> # cd /usr/ports/net/ntopng/ >> # make >> =3D=3D=3D> ntopng-1.2.1 is marked as broken: Does not build on 8.X due = to >> *ENDIAN implementations. >> *** Error code 1 >> >> Stop in /usr/ports/net/ntopng. >> > > =E2=80=8BSorry, my mistake. Yes it is broken for 8.4. Tried a lot but I n= eed to patch so many files that I left it like that. =E2=80=8B > > In fact on the contrary I think it's time for you to at least upgrade >> > > to 9.3 as 8.4 will be EOL soon. > > There's more than half a year of support ahead; I already moved several > system to 9.3, but I still cannot move others. > This is out of the scope, anyway. > If ntopng does not work on this systems, I'll live with that (in fact, as > I said, I installed it on another box). > > > > > 2. Not aware of that either. Last time I checked it was working well. >> > > # portupgrade -RNv ntopng >> # service ntopng onestart >> #/usr/local/etc/rc.d/ntopng: 33: Syntax error: Unterminated quoted strin= g >> > > It's trivial to add the missing quote. > > Besides, I discovered redis is required; maybe it should be a dependency? > > Finally, running redis, I got "ERROR: Startup error: missing super-user > privileges ?" in /var/tmp/ntopng/ntopng.log, until I fiddled with > ntopng_flags. This might be normal, though; I don't know ntopng enough ye= t > to tell. > > Will look forward to it. =E2=80=8BYes. You will require a redis server. It's built with redis client= . But in most of the cases =E2=80=8Bwe don't add server as a dependency as the user = might use a different database server host. > > 3. nProbe is a commercial supported GPL product where the source code is >> available for the customer. However I will talk with Luca if he provides >> me the code so that I can work on it and make some patches to work on. >> > > Thanks, it would be great. > > > > You are looking on the wrong direction I believe. I am not aware about >> your traffic capacity but what you are looking for is possible without >> nProbe too. Consult ntopng user guide. I believe -i and -I will clarify >> your requirements. >> > > Since I cannot run ntopng on the two 8.4 routers, I cannot right now > achieve this setup (if I get what you are suggesting right). > That's why I thought about nProbe. > > > > bye & Thanks > av. > You can try ntop itself. Not the ntopng. If you are looking forward something explicit to flow based sampling try the following URL to look for more alternatives. http://www.freshports.org/search.php?stype=3Dshortdescription&method=3Dmatc= h&query=3Dnetflow&num=3D100&orderby=3Dcategory&orderbyupdown=3Dasc&search= =3DSearch However I am not aware about any tools which can generate netflow/sflow alike traffic from FreeBSD host itself except bpft. But you can give a shot at the following to investigate your options: http://www.switch.ch/network/projects/completed/TF-NGN/floma/software.html BR, Muhammad =E2=80=8B