[Zeek] Adding MySQL TLS Functionality

Andrew Klaus andrew at aklaus.ca
Thu Apr 2 12:43:41 PDT 2020


That worked, thanks! It's compiling now.

Andrew

On Thu, Apr 2, 2020 at 1:09 PM Jon Siwek <jsiwek at corelight.com> wrote:

> On Thu, Apr 2, 2020 at 11:11 AM Andrew Klaus <andrew at aklaus.ca> wrote:
>
> > /home/zeek/build/src/analyzer/protocol/mysql/mysql_pac.cc: In member
> function ‘bool
> binpac::MySQL::MySQL_Flow::proc_mysql_handshake_response_packet(binpac::MySQL::Handshake_Response_Packet*)’:
> > /home/zeek/build/src/analyzer/protocol/mysql/mysql_pac.cc:3042:27:
> error: ‘MySQL’ in namespace ‘analyzer’ does not name a type
> >
> static_cast<analyzer::MySQL::MySQL_Analyzer>(connection()->bro_analyzer())->TLSHandshake();
> >                            ^~~~~
>
> You may need to shuffle some of the header includes around, see if the
> attached patch helps.
>
> I also had a typo in the example cast, it should have been casting to
> a pointer-type with '*', like:
>
>
>  static_cast<analyzer::MySQL::MySQL_Analyzer*>(connection()->bro_analyzer());
>
> - Jon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/zeek/attachments/20200402/b12143f6/attachment.html 


More information about the Zeek mailing list