Versions in this module Expand all Collapse all v2 v2.24.1 Jun 22, 2019 v2.21.1 Mar 27, 2019 Changes in this version + type DNSSpoofer struct + All bool + Handle *pcap.Handle + Hosts Hosts + func NewDNSSpoofer(s *session.Session) *DNSSpoofer + func (mod *DNSSpoofer) Configure() error + func (mod *DNSSpoofer) Start() error + func (mod *DNSSpoofer) Stop() error + func (mod DNSSpoofer) Author() string + func (mod DNSSpoofer) Description() string + func (mod DNSSpoofer) Name() string + type HostEntry struct + Address net.IP + Expr glob.Glob + Host string + Suffix string + func HostsFromFile(filename string, defaultAddress net.IP) (err error, entries []HostEntry) + func NewHostEntry(host string, address net.IP) HostEntry + func (e HostEntry) Matches(host string) bool + type Hosts []HostEntry + func (h Hosts) Resolve(host string) net.IP