|
$ codegrep
AS-list
globals-defines.h:937:#define CONST_ASLIST_FILE "AS-list.txt" $ codegrep CONST_ASLIST_FILE globals-defines.h:937:#define CONST_ASLIST_FILE "AS-list.txt" initialize.c:533: CONST_ASLIST_FILE, webInterface.c:3065:#ifdef CONST_ASLIST_FILE webInterface.c:3066: printFeatureConfigInfo(textPrintFlag, "CONST_ASLIST_FILE", CONST_ASLIST_FILE); webInterface.c:3068: printFeatureConfigInfo(textPrintFlag, "CONST_ASLIST_FILE", "undefined"); $ head -n 550 initialize.c | tail -n 25 /* * Process ASN file */ numRead=0; if (!myGlobals.runningPref.printFcOnly) { fd=checkForInputFile("ASN", "Autonomous System Number table", CONST_ASLIST_FILE, NULL, &compressedFormat); if(fd != NULL) { char *strtokState, *as, *ip, *prefix; memset(&buf,
0, sizeof(buf));
myGlobals.asHead =
malloc(sizeof(IPNode));
memset(myGlobals.asHead, 0, sizeof(IPNode)); myGlobals.asHead->node.as = 0; myGlobals.asMem += sizeof(IPNode);
while(readInputFile(fd,
"ASN", FALSE, compressedFormat, 25000, ...
-----Burton From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hally Sent: Friday, March 11, 2005 1:36 PM To: '[email protected]' Subject: [Ntop-dev] AS RRD data dump Hello
All, I'm in need of gathering persistent
statistics based on AS number similar to the way it is currently done with
domains. I figured I'd take a stab at modifying the rrdplugin using the
Domain dump as a reference as referred to by I'm by no means a developer, but I'm
willing to hack through and see what happens. Can anyone point me in the
right direction as to how/where the AS-list.txt file is manipulated to group the
AS stats under Summary/ASN Info so that I can attempt to get these stats into
RRD? Also, has anyone already played
around with this idea? Figured I'd ask just in case, wouldn't want to try
to re-invent the wheel. Thanks in
advance! |
_______________________________________________ Ntop-dev mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
