The main goal of FireSql is to provide firewall services for mysql databases by using regular expressions and other rules.
FireSql system is based on c++11 and boost just for fun.
To use FireSql just execute the binary firesql:
luis@max-tanga:~/c++/firesql/src$ ./firesql --help
FireSql 0.0.1
Mandatory arguments:
-l [ --localip ] arg set the local address of the proxy.
-p [ --localport ] arg set the local port of the proxy.
-r [ --remoteip ] arg set the remote address of the database.
-q [ --remoteport ] arg set the remote port of the database.
Optional arguments:
--help show help
-v [ --version ] show version string
-R [ --regex ] arg use a regex for the user queries(default action
print).
-F [ --regexfile ] arg use a regex file for the user queries(default action
print).
-a [ --action ] arg sets the action when matchs the regex
(print,close,reject,drop).
$ git clone git://github.com/camp0/firesql
$ ./autogen.sh
$ ./configure
$ make
FireSql is under the terms of GPLv2 and is under develop.
Check out the FireSql source with
$ git clone git://github.com/camp0/firesql