grobian / carbon-c-relay

Enhanced C implementation of Carbon relay, aggregator and rewriter
Apache License 2.0
380 stars 107 forks source link

[Question] Is there a way to encrypt traffic from carbon c relay to ELB #230

Closed pratikp09 closed 7 years ago

pratikp09 commented 7 years ago

Hi we need to encrypt all the traffic sent from carbon c relay to ELBs. Is there a way to do it? How does carbon c relay work with the SSL?

grobian commented 7 years ago

There's currently no encapsulation for the traffic such as encryption or compression.

chbuescher commented 7 years ago

Why not use good old stunnel - stunnel.org - for en-/decryption ?

grobian commented 7 years ago

Something like that would have my preference in order to keep the relay simple.

ehlerst commented 7 years ago

This is probably what you want for this, im using it together with carbon-c-relay which does aggregation more efficiently. https://github.com/jamiealquiza/polymur

app -> polymur-proxy -> elb -> polymur-gateway -> carbon-c-relay -> go-carbon

grobian commented 7 years ago

In master I'm working on encapsulation, but it'll take a while I'm affraid. polymur looks interesting and a good alternative.