new: net.probe now also sends multicast dns queries to force mDNS traffic and responses

This commit is contained in:
evilsocket 2018-09-06 17:41:51 +03:00
commit e993bf73f8
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
3 changed files with 69 additions and 0 deletions

View file

@ -102,6 +102,8 @@ func (p *Prober) Start() error {
throttle := time.Duration(p.throttle) * time.Millisecond
for p.Running() {
p.sendProbeMDNS(from, from_hw)
for _, ip := range addresses {
if !p.Running() {
return