[Bro] id into x509.log

ps sunu pssunu6 at gmail.com
Thu Apr 20 13:11:28 PDT 2017


Hi

                I need to write id into x509.log  , but its giving error

redef record X509::Info += {
#       tx_cc: string &log &optional;
        #rx_cc: string &log &optional;

       #tx_asn: count &log &optional;
        #rx_asn: count &log &optional;
        id: conn_id &log &optional;
};
event file_state_remove(f: fa_file) &priority=5
        {
        if ( ! f$info?$x509 )
                return;

         f$info$x509 = f$id;
        }


type clash in assignment (f$info$x509 = f$id)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/bro/attachments/20170421/cca6a9a1/attachment.html 


More information about the Bro mailing list