warpgate icon indicating copy to clipboard operation
warpgate copied to clipboard

Add support for Redis

Open VaibhavOyo opened this issue 7 months ago • 1 comments

I'm looking to integrate Redis databases into warpgate. I would really appreciate a high-level overview or guidance on how to implement this.

VaibhavOyo avatar Jun 16 '25 12:06 VaibhavOyo

You could use the warpgate-protocol-postgres or the warpgate-protocol-mysql crate as a template. In short, you're implementing ProtocolServer and the rest stems from there. Within the session, you need to accept Redis traffic, handle the authentication and then yourself connect to the target Redis server as a client, and then forward the traffic back and forth and log it.

Eugeny avatar Jun 16 '25 20:06 Eugeny