Hi, I'm looking for a TCP proxy that can proxy the connection between a database client and the database server. I want to be able to look at the traffic and log the queries etc for mining later. I also want to use the proxy to remove human knowledge of passwords. The users will point their client to the TCP Port proxy is listening on and will specify a username which will be a pointer to a vault account (like cyberark or beyondtrust). The proxy upon receiving this information will then connect to this vault and get the password and plug the password in for the connection to the database server. After the connection is established - all traffic should be proxied through and logged.
Would HAProxy be a product that can achieve this? If not, I'd like to ask this knowledgeable community if they can recommend any other projects that might be closer to achieve the above. I understand this is a very niche requirement. Any TCP proxy with the ability to script/transform the packets on the way to the destination would be helpful. I'm trying to find something in the open source community that I can use for my needs than having to write one myself. Regards, Anand.