[Ntop-dev] PR_TWTATGB - no Historical Protocol View norNetworkLoad graphs for LAN cards on Windows

Burton Strauss Burton at ntopSupport.com
Fri Aug 19 16:24:12 CEST 2005


Following up re (1)

Try the attached patch - it shifts the strncpy() to safe_snprintf() calls so
we get buffer length feedback in the log.

-----Burton


 

-----Original Message-----
From: ntop-dev-bounces at unipi.it [mailto:ntop-dev-bounces at unipi.it] On Behalf
Of Burton Strauss
Sent: Wednesday, August 17, 2005 9:00 AM
To: ntop-dev at Unipi.IT
Subject: RE: [Ntop-dev] PR_TWTATGB - no Historical Protocol View
norNetworkLoad graphs for LAN cards on Windows

(1) Why 64 ... Is it that it's big enough for your renamed network cards?
Or is that the actual size limit on A network card name?

<snip />

-----Burton
 

-----Original Message-----
From: ntop-dev-bounces at unipi.it [mailto:ntop-dev-bounces at unipi.it] On Behalf
Of Georger Araujo
Sent: Tuesday, August 16, 2005 11:36 AM
To: ntop-dev at Unipi.IT; ntop-dev at Unipi.IT
Subject: Re: [Ntop-dev] PR_TWTATGB - no Historical Protocol View nor
NetworkLoad graphs for LAN cards on Windows

Problem solved. Just had to change rrdInterface[32] to rrdInterface[64] in
line 2066 of plugins/rrdplugin.c and recompile. If anyone is interested I
made the mingw-compatible source available at
http://savefile.com/projects.php?pid=420840 - it's up-to-date with CVS and
running rock solid on my Windows XP Pro SP2 notebook for 1h20mins now.
Now I think I'll take a look at arbitrary graphs - ntop CVS still goes down
in flames with those.
Regards,

Georger

<snip />
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BMS0625-rrdinterfacelength.patch
Type: application/octet-stream
Size: 3875 bytes
Desc: not available
Url : http://listgateway.unipi.it/pipermail/ntop-dev/attachments/20050819/a5080f5b/BMS0625-rrdinterfacelength.obj


More information about the Ntop-dev mailing list