Documentation ¶
Index ¶
- Variables
- func SetupPhantomConnections(manager *dd.RegistrationManager, transport pb.TransportType, ...) (clientToPhantom net.Conn, serverFromPhantom net.Conn, ...)
- func SetupPhantomConnectionsSecret(manager *dd.RegistrationManager, transport pb.TransportType, ...) (clientToPhantom net.Conn, serverFromPhantom net.Conn, ...)
- func SetupRegistrationManager(transports ...Transport) *dd.RegistrationManager
- type Transport
Constants ¶
This section is empty.
Variables ¶
View Source
var TestSubnetPath = conjurepath.Root + "/internal/test_assets/phantom_subnets.toml"
Functions ¶
func SetupPhantomConnections ¶
func SetupPhantomConnections(manager *dd.RegistrationManager, transport pb.TransportType, params protoreflect.ProtoMessage, libver uint) (clientToPhantom net.Conn, serverFromPhantom net.Conn, reg *dd.DecoyRegistration)
SetupPhantomConnections registers one session with the provided transport and registration manager using a pre-determined kay and phantom subnet file.
func SetupPhantomConnectionsSecret ¶
func SetupPhantomConnectionsSecret(manager *dd.RegistrationManager, transport pb.TransportType, params protoreflect.ProtoMessage, sharedSecret []byte, libver uint, testSubnetPath string) (clientToPhantom net.Conn, serverFromPhantom net.Conn, reg *dd.DecoyRegistration)
func SetupRegistrationManager ¶
func SetupRegistrationManager(transports ...Transport) *dd.RegistrationManager
Types ¶
Click to show internal directories.
Click to hide internal directories.