[Bro] log_file variable in ftp.bro
Christian Kreibich
christian at whoop.org
Thu Sep 23 08:03:11 PDT 2004
On Thu, 2004-09-23 at 15:14, Vern Paxson wrote:
> > the log_file is defined in ftp.bro on line 54 as following:
> > ...............
> > global log_file = open_log_file("ftp") &redef;
>
> Yes, but that's part of an "export" that's inside "scope FTP". So you
> need to use:
>
> global FTP::log_file = open_log_file("ftp") &redef;
>
> to redef it.
I think Vern meant to say "module FTP" and
redef FTP::log_file = open_log_file("comex");
Call me smartass if I'm wrong! :) The CHANGES file has some details on
this too (and on lots of other things that aren't fully documented yet).
Cheers,
Christian.
--
________________________________________________________________________
http://www.cl.cam.ac.uk/~cpk25
http://www.whoop.org
More information about the Bro
mailing list