Documentation ¶
Index ¶
- type DecoyRegistrar
- func (r *DecoyRegistrar) PrepareRegKeys(stationPubkey [32]byte, sessionSecret []byte) error
- func (r *DecoyRegistrar) Register(cjSession *td.ConjureSession, ctx context.Context) (*td.ConjureReg, error)
- func (r *DecoyRegistrar) Send(ctx context.Context, cjSession *td.ConjureSession, decoy *pb.TLSDecoySpec, ...)
- type DialFunc
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(stationPubkey [32]byte, sessionSecret []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)
Register initiates the decoy registrar to connect and send the multiple registration requests to the various decoys.
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.