Currently my setup is as follows :-
Database client/library <---------------------> Database
I'd like to have the following :-
Database client/library <---> Proxy <-------------> Database
I'm the admin on a linux machine and im able to write iptable rules, use 3rd party software such as transproxy if required etc.
I'm looking to be able to intercept the requests before sending it to the database and intercepting the responses before sending it back to the database client/library.
Thanks.