base/bif/plugins/Bro_MySQL.events.bif.bro

GLOBAL
Namespace:GLOBAL
Source File:/scripts/base/bif/plugins/Bro_MySQL.events.bif.bro

Summary

Events

mysql_command_request: event Generated for a command request from a MySQL client.
mysql_error: event Generated for an unsuccessful MySQL response.
mysql_handshake: event Generated for a client handshake response packet, which includes the username the client is attempting to connect as.
mysql_ok: event Generated for a successful MySQL response.
mysql_result_row: event Generated for each MySQL ResultsetRow response packet.
mysql_server_version: event Generated for the initial server handshake packet, which includes the MySQL server version.

Detailed Interface

Events

mysql_command_request
Type:event (c: connection, command: count, arg: string)

Generated for a command request from a MySQL client.

See the MySQL documentation for more information about the MySQL protocol.

C:The connection.
Command:The numerical code of the command issued.
Arg:The argument for the command (empty string if not provided).

See also: mysql_error, mysql_ok, mysql_server_version, mysql_handshake

mysql_error
Type:event (c: connection, code: count, msg: string)

Generated for an unsuccessful MySQL response.

See the MySQL documentation for more information about the MySQL protocol.

C:The connection.
Code:The error code.
Msg:Any extra details about the error (empty string if not provided).

See also: mysql_command_request, mysql_ok, mysql_server_version, mysql_handshake

mysql_handshake
Type:event (c: connection, username: string)

Generated for a client handshake response packet, which includes the username the client is attempting to connect as.

See the MySQL documentation for more information about the MySQL protocol.

C:The connection.
Username:The username supplied by the client

See also: mysql_command_request, mysql_error, mysql_ok, mysql_server_version

mysql_ok
Type:event (c: connection, affected_rows: count)

Generated for a successful MySQL response.

See the MySQL documentation for more information about the MySQL protocol.

C:The connection.
Affected_rows:The number of rows that were affected.

See also: mysql_command_request, mysql_error, mysql_server_version, mysql_handshake

mysql_result_row
Type:event (c: connection, row: string_vec)

Generated for each MySQL ResultsetRow response packet.

See the MySQL documentation for more information about the MySQL protocol.

C:The connection.
Row:The result row data.

See also: mysql_command_request, mysql_error, mysql_server_version, mysql_handshake, mysql_ok

mysql_server_version
Type:event (c: connection, ver: string)

Generated for the initial server handshake packet, which includes the MySQL server version.

See the MySQL documentation for more information about the MySQL protocol.

C:The connection.
Ver:The server version string.

See also: mysql_command_request, mysql_error, mysql_ok, mysql_handshake


Copyright 2016, The Bro Project. Last updated on December 07, 2018. Created using Sphinx 1.8.2.