Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DecoyRegistrar ¶
type DecoyRegistrar struct { Width uint ClientHelloID tls.ClientHelloID // contains filtered or unexported fields }
func NewDecoyRegistrar ¶
func NewDecoyRegistrar() *DecoyRegistrar
func NewDecoyRegistrarWithDialer
deprecated
func NewDecoyRegistrarWithDialer(dialer DialFunc) *DecoyRegistrar
NewDecoyRegistrarWithDialer returns a decoy registrar with custom dialer.
Deprecated: Set dialer in tapdace.Dialer.DialerWithLaddr instead.
func (*DecoyRegistrar) PrepareRegKeys ¶
func (r *DecoyRegistrar) PrepareRegKeys(pubkey [32]byte) error
PrepareRegKeys prepares key materials specific to the registrar
func (DecoyRegistrar) Register ¶
func (r DecoyRegistrar) Register(cjSession *td.ConjureSession, ctx context.Context) (*td.ConjureReg, error)
func (*DecoyRegistrar) Send ¶
func (r *DecoyRegistrar) Send(ctx context.Context, cjSession *td.ConjureSession, decoy *pb.TLSDecoySpec, dialError chan error)
Click to show internal directories.
Click to hide internal directories.