influent icon indicating copy to clipboard operation
influent copied to clipboard

wip: Support Fluentd Forward Protocol for TLS

Open okkez opened this issue 8 years ago • 2 comments

okkez avatar Mar 29 '18 02:03 okkez

Is this good approach?

@okumin

okkez avatar Mar 29 '18 02:03 okkez

@okkez I have an approximate approach in a local machine. My approach abstracts a TCP channel.

abstract TcpChannel {
  boolean read();
  boolean write();
}
class TlsPlaintextChannel extends TcpChannel {
…… // implements a normal socket processing
}
class TlsTcpChannel extends TcpChannel {
…… // implements a secure socket processing
}

I have non-strong confidence abount this approach, so let me think for a shot time.

okumin avatar Apr 06 '18 15:04 okumin