Thank You.
I don't see where to make the change... I am not a programmer but will make the
change you suggest.
I appreciate your help.
1429 if ((myGlobals.runningPref.currentFilterExpression != NULL) &&
1430 (*myGlobals.runningPref.currentFilterExpression != '\0')) {
1431 safe_snprintf(__FILE__, __LINE__, &buf[len],
LEN_GENERAL_WORK_BUFFER-len,
1432 "with kernel (libpcap) filtering expression
</b>\"%s\"<br>\n",
1433 myGlobals.runningPref.currentFilterExpression);
From: [email protected]
[mailto:[email protected]] On Behalf Of Burton Strauss III
Sent: Friday, August 24, 2012 3:49 PM
To: [email protected]
Subject: Re: [Ntop] Filter String Limitation
Pull down the source.
Go to that line of the file (httpd.c line 1431)
Increase the size of the buffer
Recompile
-----Burton
From: [email protected]
[mailto:[email protected]] On Behalf Of Cabeza de Baca, Matthew
Sent: Friday, August 24, 2012 3:11 PM
To: '[email protected]'; '[email protected]'
Subject: [Ntop] Filter String Limitation
Hello all.
I am using NTOP and have a very long filter expression using the -B in an
ntop.conf. Is there a limitation to this string? I am noticing in the logs:
[util.c:3403] **ERROR** Buffer too short @ httpd.c:1431 (increase to at least
1318) [with kernel (libpcap) filtering expression </b>
If so is there a workaround?
Thank You.
Matthew
________________________________
This e-mail message, including any attachments, is for the
sole use of the intended recipient(s) and may contain
confidential or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.
________________________________
Think Green! Please do not print this e-mail unless you need to. Thank you.
________________________________
This e-mail message, including any attachments, is for the
sole use of the intended recipient(s) and may contain
confidential or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the
sender by reply e-mail and destroy the message.
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop