Versions in this module Expand all Collapse all v0 v0.0.1 Feb 10, 2025 Changes in this version + func GenerateKey() string + func ListenForClients(agentstr string, listen string, port int, session *yamux.Session) error + func RandBytes(n int) []byte + func YamuxConfig() *yamux.Config + type DnsTunnel struct + ClientsListen string + Dns *dns.Server + EncryptionKey string + PortInc int + PortNum int + ReadBuffer map[string]MemBuffer + Sleeptime time.Duration + TargetDomain string + Transport *transport.DnsStream + Yamuxconfig *yamux.Config + func NewDnsTunnel(targetDomain string, encryptionKey string) *DnsTunnel + func (dt *DnsTunnel) DnsClient() (*yamux.Session, error) + func (dt *DnsTunnel) DnsServer(dnslisten string, clients string) error + func (dt *DnsTunnel) DnsServerStart() error + func (dt *DnsTunnel) DnsTimeoutCheck() + func (dt *DnsTunnel) HandleDnsRequest(w dns.ResponseWriter, r *dns.Msg) + func (dt *DnsTunnel) ParseQuery(m *dns.Msg) Sessioninfo + func (dt *DnsTunnel) PollCacheCleaner() + func (dt *DnsTunnel) SetDnsConfig(DnsDomain string, enckey string) + func (dt *DnsTunnel) SetDnsDelay(dnsdelay string) error + type MemBuffer struct + type Sessioninfo struct + func (si *Sessioninfo) Close() error + func (si *Sessioninfo) Read(data []byte) (int, error) + func (si *Sessioninfo) Write(data []byte) (int, error)