Mailing List Archive

Some ntop fixes
I just rebuilt NTOP from today's 10 May 2001 archive. After a few minutes testing it appears that
the loss of SESSION data is fixed. At least it stays longer than 10 minutes so far.

A couple of minor fixes need to be added:

emitter.c Lines 1110-1111

if(snprintf(buf, sizeof(buf), "\t\t'%s' => '%lu',\n",
"nullPktsRcvd", el->securityHostPkts.nullPktsRcvd) < 0)
-------------------^^^^--------------------------------------------

The "Rcvd" portion of the element name is missing. This shows up in the dumpdata interface.



main.c Lines 140-141

#ifdef WIN32
theOpts = "ce:f:F:hr:p:i:nw:m:b:B:D:s:P:R:S:gt:a:W:12l:";
--------------^^--------------------------------------------

The "f" option is missing to allow reading dump files in Windows.


Later
Re: Some ntop fixes [ In reply to ]
David,
thanks for the patches.

Cheers, Luca

David Moore wrote:
>
> I just rebuilt NTOP from today's 10 May 2001 archive. After a few minutes testing it appears that
> the loss of SESSION data is fixed. At least it stays longer than 10 minutes so far.
>
> A couple of minor fixes need to be added:
>
> emitter.c Lines 1110-1111
>
> if(snprintf(buf, sizeof(buf), "\t\t'%s' => '%lu',\n",
> "nullPktsRcvd", el->securityHostPkts.nullPktsRcvd) < 0)
> -------------------^^^^--------------------------------------------
>
> The "Rcvd" portion of the element name is missing. This shows up in the dumpdata interface.
>
> main.c Lines 140-141
>
> #ifdef WIN32
> theOpts = "ce:f:F:hr:p:i:nw:m:b:B:D:s:P:R:S:gt:a:W:12l:";
> --------------^^--------------------------------------------
>
> The "f" option is missing to allow reading dump files in Windows.
>
> Later
>
> _______________________________________________
> Ntop mailing list
> Ntop@listmanager.unipi.it
> http://listmanager.unipi.it/mailman/listinfo/ntop

--
Luca Deri NETikos S.p.A.
Via Matteucci 34/B 56124 Pisa, Italy.
Ph. +39/050/968.639 Fax. +39/050/968.626
Email: luca.deri@netikos.com
WWW: http://luca.ntop.org/ ICQ: 68183632
Software is about stuff, about getting hands dirty - Jim Coplien