Documentation ¶
Index ¶
- Variables
- func CreateSpoofedStream(source string, destination string) chan []byte
- func IPHandler(server *Server) http.Handler
- func PathReflectionServerTrusted(conf Config, state *PathReflectionState) bool
- func SendPathReflectionChallenge(conf Config, state *PathReflectionState) (string, error)
- func SetupSpoofingSockets(config Config) error
- func SocketHandler(server *Server) http.Handler
- func SpoofIPv4Message(packet []byte, realSrc net.IP, dest net.IP) error
- type Config
- type PathReflectionState
- type Server
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // If TestChannel is set, spoofed packets will be sent to it, rather than to pcap. TestSpoofChannel chan []byte )
Functions ¶
func CreateSpoofedStream ¶
func PathReflectionServerTrusted ¶
func PathReflectionServerTrusted(conf Config, state *PathReflectionState) bool
func SendPathReflectionChallenge ¶
func SendPathReflectionChallenge(conf Config, state *PathReflectionState) (string, error)
func SetupSpoofingSockets ¶
func SocketHandler ¶
Types ¶
type PathReflectionState ¶
Click to show internal directories.
Click to hide internal directories.