https://github.com/block/ftl-mysql-auth-proxy
Proxy that can handle the authentication parts of the MySQL protocol
https://github.com/block/ftl-mysql-auth-proxy
Last synced: 8 months ago
JSON representation
Proxy that can handle the authentication parts of the MySQL protocol
- Host: GitHub
- URL: https://github.com/block/ftl-mysql-auth-proxy
- Owner: block
- License: mpl-2.0
- Archived: true
- Created: 2024-11-19T02:56:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-14T01:24:33.000Z (about 1 year ago)
- Last Synced: 2025-09-02T04:42:29.830Z (9 months ago)
- Language: Go
- Size: 93.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FTL MySQL Auth Proxy
This project proxies a MySQL connection, intercepting the authentication messages to allow a client that does not
have credentials to connect to a MySQL server. This allows for a trust boundary model where a pod running user code
is never actually provided with database credentials.
This proxy should only ever be bound to localhost, as there is no authentication on the proxy itself.
## Implementation Notes
This proxy is based on the Golang MySQL drivers, and most of the files in this repo are copied from that repository. The
copied files should not be modified, and only modification should be made to the `ftl_*.go` files.
This will allow for easier updates to the MySQL driver in the future, as the proxy can be updated by copying the new
files. The mysql directory is a git submodule that should be updated to point to the new version.