The host about which the html error is occurring. If you aren't the user receiving the busted page, the log message doesn't help - as I said, that call is referenced from a lot of places. What I need to know is what ntop web server page is being retrieved and what is in the generated html at the point it fails.
You may have to connect to the web server and try each of the pages yourself. One of them should fail to render properly (due to the cut off html from the short buffer). That's what I need to see... -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 13, 2005 8:59 AM To: [email protected] Cc: [email protected] Subject: RE: [Ntop] Buffer too short What can you tell me about the host? The host, which one? the one where ntop is installed is a Linux OS running kernel 2.6.10 with GLIBC 2.3.2. What page, what is in the html... No idea, I see the error into the syslog file and don't know from which page it's come from. Sorry. Gerhard, > That's part of this: > > char* getOSFlag(HostTraffic *el, char *elOsName, int showOsName, char > *tmpStr, int tmpStrLen) { ... > if(!showOsName) { > if(flagImg != NULL) { > safe_snprintf(__FILE__, __LINE__, tmpStr, tmpStrLen, "%s", flagImg); > } else > tmpStr[0] = '\0'; > } else { > if(flagImg != NULL) { >>>>> safe_snprintf(__FILE__, __LINE__, tmpStr, tmpStrLen, >>>>> "%s [%s]", > flagImg, theOsName); > } else { > safe_snprintf(__FILE__, __LINE__, tmpStr, tmpStrLen, "%s", > theOsName); > } > } > ... > > But it's called from a dozen places. > > What can you tell me about the host? What page, what is in the html > (do a view source) around the busted host link, etc.? > > -----Burton > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of [EMAIL PROTECTED] > Sent: Tuesday, July 12, 2005 2:33 PM > To: [email protected] > Cc: [email protected] > Subject: RE: [Ntop] Buffer too short > > Hello Burton, > >> we need to know precisely which version you are running > I'm running version 3.1. > > G > >> No - read the back traffic on this list (e.g. the thread including >> http://listgateway.unipi.it/pipermail/ntop/2005-February/009716.html) >> ... >> but to fix it, we need to know precisely which version you are >> running (source lines move around from version to version and even day to day). >> >> -----Burton >> >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf >> Of [EMAIL PROTECTED] >> Sent: Tuesday, July 12, 2005 10:42 AM >> To: [EMAIL PROTECTED] >> Subject: [Ntop] Buffer too short >> >> Hello, >> >> I'm seeing in my log files the following error message related to >> Ntop, does someone here have an idea about what could cause this >> problem? >> >> **ERROR** Buffer too short @ reportUtils.c:790 (increase to at least >> 138) >> >> Regards, >> >> _______________________________________________ >> Ntop mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop >> >> _______________________________________________ >> Ntop mailing list >> [email protected] >> http://listgateway.unipi.it/mailman/listinfo/ntop >> > > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop > > _______________________________________________ > Ntop mailing list > [email protected] > http://listgateway.unipi.it/mailman/listinfo/ntop > _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
