From: dster <ds...@sy...> - 2009-07-31 06:36:55
|
Renaud (Ron) OLGIATI wrote: >> On Thursday 30 July 2009, my mailbox was graced by a missive >> from "G.W. Haywood" <ge...@ju...> who wrote: >> >>>> Any idea how the 1222271638 bit relates to the IP adress of the >>>> user's box ? >>> /var/ipcop/xtgraphs/config has the graph keys mapped to ip /var/log/xtgraphs has the data logs (rrd) that number 1222271638 is from a perl call to function time() i.e. number of seconds since epoch when file first created This page will convert the epoch time to human readable. http://www.epochconverter.com/ Plug in 1222271638 and you get GMT: Wed, 24 Sep 2008 15:53:58 GMT (correct for your timezone) start with frcontab -l to look at calls to xtgraphs then look at /home/httpd/cgi-bin/xtrgraphs.cgi '$myid=time()' and /var/ipcop/xtgraphs/xtg_common.pl # create config line my $cline = "on|$key|$cgiparams{'SIFACE'}|$source|$sports|$cgiparams{'DIFACE'}|$dest|$dp orts|$cgiparams{'PROTO'}|$cgiparams{'DESCRIPTION'}|$cgiparams{'CATEGORY'}|$cgiparams{'ID'} "; $cgiparams{'ID'} is the $myid=time() from above |