Documentation ¶
Overview ¶
chanstego package implements channel steganography using various network protocols.
Index ¶
- type IpTosStegoConn
- func (c *IpTosStegoConn) Accept() error
- func (c *IpTosStegoConn) Close() error
- func (c *IpTosStegoConn) Discover() error
- func (c *IpTosStegoConn) GetBindIp() net.IP
- func (c *IpTosStegoConn) LocalAddr() net.Addr
- func (c *IpTosStegoConn) Read(b []byte) (n int, err error)
- func (c *IpTosStegoConn) RemoteAddr() net.Addr
- func (c *IpTosStegoConn) SetDeadline(t time.Time) error
- func (c *IpTosStegoConn) SetReadDeadline(t time.Time) error
- func (c *IpTosStegoConn) SetWriteDeadline(t time.Time) error
- func (c *IpTosStegoConn) Write(b []byte) (n int, err error)
- type IpTosStegoListener
- type StegoAddr
- type StegoConn
- type StegoListener
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IpTosStegoConn ¶
type IpTosStegoConn struct { StegoConn // contains filtered or unexported fields }
func NewIpTosStegoConn ¶
func NewIpTosStegoConn(inQueueId uint16, outQueueId uint16) (*IpTosStegoConn, error)
func (*IpTosStegoConn) Accept ¶
func (c *IpTosStegoConn) Accept() error
func (*IpTosStegoConn) Close ¶
func (c *IpTosStegoConn) Close() error
func (*IpTosStegoConn) Discover ¶
func (c *IpTosStegoConn) Discover() error
func (*IpTosStegoConn) GetBindIp ¶
func (c *IpTosStegoConn) GetBindIp() net.IP
func (*IpTosStegoConn) LocalAddr ¶
func (c *IpTosStegoConn) LocalAddr() net.Addr
func (*IpTosStegoConn) RemoteAddr ¶
func (c *IpTosStegoConn) RemoteAddr() net.Addr
func (*IpTosStegoConn) SetDeadline ¶
func (c *IpTosStegoConn) SetDeadline(t time.Time) error
func (*IpTosStegoConn) SetReadDeadline ¶
func (c *IpTosStegoConn) SetReadDeadline(t time.Time) error
func (*IpTosStegoConn) SetWriteDeadline ¶
func (c *IpTosStegoConn) SetWriteDeadline(t time.Time) error
type IpTosStegoListener ¶
type IpTosStegoListener struct { StegoListener // contains filtered or unexported fields }
func (*IpTosStegoListener) Addr ¶
func (l *IpTosStegoListener) Addr() net.Addr
func (*IpTosStegoListener) Close ¶
func (l *IpTosStegoListener) Close() error
type StegoConn ¶
type StegoConn interface { net.Conn // Discover another endpoint of channel steganography connection Discover() error // Accepts discovering channel steganography connection Accept() error // Returns ip address of binded endpoint of channel steganography connection GetBindIp() net.IP }
StegoConn interface is common interface for channel steganography connection. Implements net.Conn interface.
type StegoListener ¶
func Listen ¶
func Listen(stegoType string, inQueueId uint16, outQueueId uint16) (StegoListener, error)
func NewIpTosStegoListener ¶
func NewIpTosStegoListener(inQueueId uint16, outQueueId uint16) StegoListener
Click to show internal directories.
Click to hide internal directories.