sender

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomSender

type CustomSender struct {
	// contains filtered or unexported fields
}

CustomSender forwards packets from a given channel to the kernel.

func NewCustomSender

func NewCustomSender(sender sys.EtherSender, packets chan []byte) *CustomSender

NewCustomSender create a new CustomSender for sending custom packets.

func (*CustomSender) Run

func (s *CustomSender) Run()

Run contains the forwarding loop.

type SYNSender

type SYNSender struct {
	// contains filtered or unexported fields
}

SYNSender spews out SYN packets as fast as possible.

func NewSYNSender

func NewSYNSender(
	targets target.Input,
	builder proto.EtherBuilder,
	sender sys.EtherSender,
	srcIP net.IP,
	srcPort uint16,
	cookieOven cookie.SYNOven,
	sigChan chan os.Signal,
) (*SYNSender, error)

NewSYNSender creates a new sender for SYN packets.

func (*SYNSender) Run

func (s *SYNSender) Run()

Run contains the SYN spewing loop.

func (*SYNSender) Stop

func (s *SYNSender) Stop()

Stop asynchronously stops the SYN sender on it's next loop.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL