robertdavidgraham / masscan

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
GNU Affero General Public License v3.0
23.26k stars 3.04k forks source link

There seem something wrong at run masscan using default interface,but i don't known why? #488

Open abilly007 opened 4 years ago

abilly007 commented 4 years ago
  1. the first time i run masscan on the command line,is running done well.
  2. and then ,i run it secend time,it report the bellow error: [root@localhost /]# masscan 172.171.52.1/24 -p 1-65535 --rate 5000 Error in received packet: No such file or directory src/rawsock-getif.c:299: read_netlink: 2 FAIL: could not determine default interface FAIL:... try "--interface ethX" [root@localhost /]# and then run the third time ,the fourth time ,the error remain.

3.but for a while (maybe a few minutes) ,i run the same command ,there is no error . i donot know why ?

thanks for your replay and help.

mr-459 commented 4 years ago

test with this: masscan 0.0.0.0/4 --rate 10000000 -p1 -oL a.txt