Documentation
¶
Index ¶
- Constants
- func GetProcName(pid uint32) (string, error)
- func NewTCPHandler(dialer constant.Proxy) core.TCPConnHandler
- type Engine
- func (e *Engine) Close()
- func (e *Engine) GetDownStream() int64
- func (e *Engine) GetUpStream() int64
- func (e *Engine) NetStack_Output(buffer []byte) (int, error)
- func (e *Engine) NetworkLayer()
- func (e *Engine) NewStack() io.Writer
- func (e *Engine) PacketHandler()
- func (e *Engine) SocketLayer()
- func (e *Engine) Start()
- func (e *Engine) UpdateEngine(options EngineOptions) error
- func (e *Engine) UpdateProxy(dialer constant.Proxy)
- type EngineOptions
- type Packet
- type Queue
- type Tuple
Constants ¶
View Source
const ( Filter1 = "outbound and !loopback and !ipv6 and (tcp) and event == CONNECT" Filter2 = "outbound and !loopback and !ipv6 and (tcp)" )
Variables ¶
This section is empty.
Functions ¶
func GetProcName ¶
func NewTCPHandler ¶
func NewTCPHandler(dialer constant.Proxy) core.TCPConnHandler
Types ¶
type Engine ¶
type Engine struct {
Process []string
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine(options EngineOptions) *Engine
func (*Engine) GetDownStream ¶
func (*Engine) GetUpStream ¶
func (*Engine) NetworkLayer ¶
func (e *Engine) NetworkLayer()
func (*Engine) PacketHandler ¶
func (e *Engine) PacketHandler()
func (*Engine) SocketLayer ¶
func (e *Engine) SocketLayer()
func (*Engine) UpdateEngine ¶
func (e *Engine) UpdateEngine(options EngineOptions) error
func (*Engine) UpdateProxy ¶
type EngineOptions ¶
Click to show internal directories.
Click to hide internal directories.