<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>
<DIV><FONT size=4>Dear all:</FONT></DIV>
<DIV>
<DIV><FONT size=4></FONT>&nbsp;</DIV>
<DIV><FONT size=4>I want to get some statistics about past 
connections.</FONT></DIV>
<DIV><FONT size=4>But the&nbsp;record_connection function in the 
"conn.bro",&nbsp; it seems to&nbsp;deal with one connection.</FONT></DIV></DIV>
<DIV><FONT size=4><STRONG>So I need to get the past connection, but I have no 
idea that&nbsp;which function/event should I modify .</STRONG></FONT></DIV>
<DIV><FONT size=4></FONT>&nbsp;</DIV>
<DIV><FONT size=4>In the Ref-Manual document, I saw the 
<STRONG>log_hook</STRONG> predefined fumction.</FONT></DIV>
<DIV><FONT size=4>I&nbsp;guess maybe this function is the key for my 
question.</FONT></DIV>
<DIV><FONT size=4>But I can't find this function in any file.</FONT></DIV>
<DIV><FONT size=4><STRONG>Where can I find this function, or I have to create by 
myself ?</STRONG></FONT></DIV>
<DIV><FONT size=4>If I have to create by myself, which file &nbsp;should&nbsp; 
add this funciotn ? (I mean which file should include this 
function.)</FONT></DIV>
<DIV><FONT size=4></FONT>&nbsp;</DIV>
<DIV><FONT size=4>My english is no well, so&nbsp;if it 
is&nbsp;impolite.</FONT></DIV>
<DIV><FONT size=4>Sorry about that.</FONT></DIV>
<DIV><FONT size=4>Thanks!</FONT></DIV>
<DIV><FONT size=4></FONT>&nbsp;</DIV>
<DIV><FONT size=4>Best Regards,</FONT></DIV>
<DIV><FONT size=4>Jack</FONT></DIV>
<DIV><FONT size=4>2007/2/2</FONT><FONT size=4></FONT></DIV>
<DIV><FONT size=4></FONT>&nbsp;</DIV>
<DIV><FONT size=4></FONT>&nbsp;</DIV>
<DIV><FONT size=4></FONT>&nbsp;</DIV>
<DIV><FONT size=4></FONT>&nbsp;</DIV>
<DIV><FONT size=4></FONT>&nbsp;</DIV></FONT></DIV></BODY></HTML>