Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way to compress/decompress messages going through the proxy #168

Open
johanrhodin opened this issue Jul 17, 2024 · 3 comments
Open

Comments

@johanrhodin
Copy link
Member

Publishing Client -> Proxy (compress) -> Broker -> Proxy (decompress) -> Consuming client.

Could also (potentially more complicated) provide a way to encrypt/decrypt message bodies.

@spuun
Copy link
Member

spuun commented Sep 27, 2024

I think body encryption may be pretty simple and straight forward.

Dunno how compression would work. Your thinking about compressing all network traffic, not just part of the frames, right? That would require compression and decompression in the broker too.

@carlhoerberg
Copy link
Member

Would come with a lot of cavets. Like adding Content-Transfer header etc to know which bodies to decompress and which to decrypt. What about messages from other sources? What about clients that want to consume messages published with compression/encryption?

@spuun
Copy link
Member

spuun commented Sep 27, 2024

Right. All traffic would have to go through amqproxy, and the same instance (or they must have the same keep). And key rotation is a problem. So, adding the code to encrypt/decrypt is straight forward, but to do a reasonable administration is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants