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

Masscan compiling problem with centos 6 64bit #354

Open esssahu opened 6 years ago

esssahu commented 6 years ago

[root@m2822 a]# cd masscan [root@m2822 masscan]# make fatal: Not a git repository (or any of the parent directories): .git gcc -g -ggdb -Wall -O3 -c src/crypto-base64.c -o tmp/crypto-base64.o gcc -g -ggdb -Wall -O3 -c src/crypto-blackrock2.c -o tmp/crypto-blackrock2.o gcc -g -ggdb -Wall -O3 -c src/event-timeout.c -o tmp/event-timeout.o gcc -g -ggdb -Wall -O3 -c src/in-binary.c -o tmp/in-binary.o gcc -g -ggdb -Wall -O3 -c src/in-filter.c -o tmp/in-filter.o gcc -g -ggdb -Wall -O3 -c src/in-report.c -o tmp/in-report.o gcc -g -ggdb -Wall -O3 -c src/logger.c -o tmp/logger.o gcc -g -ggdb -Wall -O3 -c src/main-conf.c -o tmp/main-conf.o -DGIT=\""unknown"\" gcc -g -ggdb -Wall -O3 -c src/main-dedup.c -o tmp/main-dedup.o gcc -g -ggdb -Wall -O3 -c src/main-initadapter.c -o tmp/main-initadapter.o gcc -g -ggdb -Wall -O3 -c src/main-listscan.c -o tmp/main-listscan.o gcc -g -ggdb -Wall -O3 -c src/main-ptrace.c -o tmp/main-ptrace.o gcc -g -ggdb -Wall -O3 -c src/main-readrange.c -o tmp/main-readrange.o gcc -g -ggdb -Wall -O3 -c src/main-src.c -o tmp/main-src.o gcc -g -ggdb -Wall -O3 -c src/main-status.c -o tmp/main-status.o gcc -g -ggdb -Wall -O3 -c src/main-throttle.c -o tmp/main-throttle.o gcc -g -ggdb -Wall -O3 -c src/main.c -o tmp/main.o src/main.c: In function ‘flush_packets’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/main.c:195: note: initialized from here gcc -g -ggdb -Wall -O3 -c src/masscan-app.c -o tmp/masscan-app.o gcc -g -ggdb -Wall -O3 -c src/out-binary.c -o tmp/out-binary.o gcc -g -ggdb -Wall -O3 -c src/out-certs.c -o tmp/out-certs.o gcc -g -ggdb -Wall -O3 -c src/out-grepable.c -o tmp/out-grepable.o gcc -g -ggdb -Wall -O3 -c src/out-json.c -o tmp/out-json.o gcc -g -ggdb -Wall -O3 -c src/out-ndjson.c -o tmp/out-ndjson.o gcc -g -ggdb -Wall -O3 -c src/out-null.c -o tmp/out-null.o gcc -g -ggdb -Wall -O3 -c src/out-redis.c -o tmp/out-redis.o gcc -g -ggdb -Wall -O3 -c src/out-text.c -o tmp/out-text.o gcc -g -ggdb -Wall -O3 -c src/out-unicornscan.c -o tmp/out-unicornscan.o gcc -g -ggdb -Wall -O3 -c src/out-xml.c -o tmp/out-xml.o gcc -g -ggdb -Wall -O3 -c src/output.c -o tmp/output.o gcc -g -ggdb -Wall -O3 -c src/pixie-backtrace.c -o tmp/pixie-backtrace.o gcc -g -ggdb -Wall -O3 -c src/pixie-file.c -o tmp/pixie-file.o gcc -g -ggdb -Wall -O3 -c src/pixie-threads.c -o tmp/pixie-threads.o gcc -g -ggdb -Wall -O3 -c src/pixie-timer.c -o tmp/pixie-timer.o gcc -g -ggdb -Wall -O3 -c src/proto-arp.c -o tmp/proto-arp.o gcc -g -ggdb -Wall -O3 -c src/proto-banner1.c -o tmp/proto-banner1.o gcc -g -ggdb -Wall -O3 -c src/proto-banout.c -o tmp/proto-banout.o gcc -g -ggdb -Wall -O3 -c src/proto-dns.c -o tmp/proto-dns.o gcc -g -ggdb -Wall -O3 -c src/proto-ftp.c -o tmp/proto-ftp.o gcc -g -ggdb -Wall -O3 -c src/proto-http.c -o tmp/proto-http.o gcc -g -ggdb -Wall -O3 -c src/proto-icmp.c -o tmp/proto-icmp.o gcc -g -ggdb -Wall -O3 -c src/proto-imap4.c -o tmp/proto-imap4.o gcc -g -ggdb -Wall -O3 -c src/proto-interactive.c -o tmp/proto-interactive.o gcc -g -ggdb -Wall -O3 -c src/proto-memcached.c -o tmp/proto-memcached.o gcc -g -ggdb -Wall -O3 -c src/proto-netbios.c -o tmp/proto-netbios.o gcc -g -ggdb -Wall -O3 -c src/proto-ntp.c -o tmp/proto-ntp.o gcc -g -ggdb -Wall -O3 -c src/proto-pop3.c -o tmp/proto-pop3.o gcc -g -ggdb -Wall -O3 -c src/proto-preprocess.c -o tmp/proto-preprocess.o gcc -g -ggdb -Wall -O3 -c src/proto-sctp.c -o tmp/proto-sctp.o gcc -g -ggdb -Wall -O3 -c src/proto-smtp.c -o tmp/proto-smtp.o gcc -g -ggdb -Wall -O3 -c src/proto-snmp.c -o tmp/proto-snmp.o gcc -g -ggdb -Wall -O3 -c src/proto-ssh.c -o tmp/proto-ssh.o gcc -g -ggdb -Wall -O3 -c src/proto-ssl-test.c -o tmp/proto-ssl-test.o gcc -g -ggdb -Wall -O3 -c src/proto-ssl.c -o tmp/proto-ssl.o gcc -g -ggdb -Wall -O3 -c src/proto-tcp-telnet.c -o tmp/proto-tcp-telnet.o gcc -g -ggdb -Wall -O3 -c src/proto-tcp.c -o tmp/proto-tcp.o src/proto-tcp.c: In function ‘tcpcon_send_packet’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/proto-tcp.c:716: note: initialized from here src/proto-tcp.c: In function ‘tcp_send_RST’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/proto-tcp.c:797: note: initialized from here gcc -g -ggdb -Wall -O3 -c src/proto-udp.c -o tmp/proto-udp.o gcc -g -ggdb -Wall -O3 -c src/proto-vnc.c -o tmp/proto-vnc.o gcc -g -ggdb -Wall -O3 -c src/proto-x509.c -o tmp/proto-x509.o gcc -g -ggdb -Wall -O3 -c src/proto-zeroaccess.c -o tmp/proto-zeroaccess.o gcc -g -ggdb -Wall -O3 -c src/rand-blackrock.c -o tmp/rand-blackrock.o gcc -g -ggdb -Wall -O3 -c src/rand-lcg.c -o tmp/rand-lcg.o gcc -g -ggdb -Wall -O3 -c src/rand-primegen.c -o tmp/rand-primegen.o gcc -g -ggdb -Wall -O3 -c src/ranges.c -o tmp/ranges.o gcc -g -ggdb -Wall -O3 -c src/rawsock-arp.c -o tmp/rawsock-arp.o src/rawsock-arp.c: In function ‘arp_response’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/rawsock-arp.c:276: note: initialized from here gcc -g -ggdb -Wall -O3 -c src/rawsock-getif.c -o tmp/rawsock-getif.o gcc -g -ggdb -Wall -O3 -c src/rawsock-getip.c -o tmp/rawsock-getip.o gcc -g -ggdb -Wall -O3 -c src/rawsock-getmac.c -o tmp/rawsock-getmac.o gcc -g -ggdb -Wall -O3 -c src/rawsock-getroute.c -o tmp/rawsock-getroute.o gcc -g -ggdb -Wall -O3 -c src/rawsock-pcap.c -o tmp/rawsock-pcap.o src/rawsock-pcap.c: In function ‘pcap_init’: src/rawsock-pcap.c:349: warning: ‘hLibpcap’ may be used uninitialized in this function gcc -g -ggdb -Wall -O3 -c src/rawsock-pcapfile.c -o tmp/rawsock-pcapfile.o gcc -g -ggdb -Wall -O3 -c src/rawsock-pfring.c -o tmp/rawsock-pfring.o gcc -g -ggdb -Wall -O3 -c src/rawsock.c -o tmp/rawsock.o gcc -g -ggdb -Wall -O3 -c src/rte-ring.c -o tmp/rte-ring.o src/rte-ring.c: In function ‘test_consumer_thread’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/rte-ring.c:288: note: initialized from here src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/rte-ring.c:301: note: initialized from here gcc -g -ggdb -Wall -O3 -c src/script-heartbleed.c -o tmp/script-heartbleed.o gcc -g -ggdb -Wall -O3 -c src/script-ntp-monlist.c -o tmp/script-ntp-monlist.o gcc -g -ggdb -Wall -O3 -c src/script-sslv3.c -o tmp/script-sslv3.o gcc -g -ggdb -Wall -O3 -c src/script.c -o tmp/script.o gcc -g -ggdb -Wall -O3 -c src/siphash24.c -o tmp/siphash24.o gcc -g -ggdb -Wall -O3 -c src/smack1.c -o tmp/smack1.o gcc -g -ggdb -Wall -O3 -c src/smackqueue.c -o tmp/smackqueue.o gcc -g -ggdb -Wall -O3 -c src/string_s.c -o tmp/string_s.o gcc -g -ggdb -Wall -O3 -c src/syn-cookie.c -o tmp/syn-cookie.o gcc -g -ggdb -Wall -O3 -c src/templ-payloads.c -o tmp/templ-payloads.o gcc -g -ggdb -Wall -O3 -c src/templ-pkt.c -o tmp/templ-pkt.o gcc -g -ggdb -Wall -O3 -c src/xring.c -o tmp/xring.o gcc -g -ggdb -Wall -O3 -o bin/masscan tmp/crypto-base64.o tmp/crypto-blackrock2.o tmp/event-timeout.o tmp/in-binary.o tmp/in-filter.o tmp/in-report.o tmp/logger.o tmp/main-conf.o tmp/main-dedup.o tmp/main-initadapter.o tmp/main-listscan.o tmp/main-ptrace.o tmp/main-readrange.o tmp/main-src.o tmp/main-status.o tmp/main-throttle.o tmp/main.o tmp/masscan-app.o tmp/out-binary.o tmp/out-certs.o tmp/out-grepable.o tmp/out-json.o tmp/out-ndjson.o tmp/out-null.o tmp/out-redis.o tmp/out-text.o tmp/out-unicornscan.o tmp/out-xml.o tmp/output.o tmp/pixie-backtrace.o tmp/pixie-file.o tmp/pixie-threads.o tmp/pixie-timer.o tmp/proto-arp.o tmp/proto-banner1.o tmp/proto-banout.o tmp/proto-dns.o tmp/proto-ftp.o tmp/proto-http.o tmp/proto-icmp.o tmp/proto-imap4.o tmp/proto-interactive.o tmp/proto-memcached.o tmp/proto-netbios.o tmp/proto-ntp.o tmp/proto-pop3.o tmp/proto-preprocess.o tmp/proto-sctp.o tmp/proto-smtp.o tmp/proto-snmp.o tmp/proto-ssh.o tmp/proto-ssl-test.o tmp/proto-ssl.o tmp/proto-tcp-telnet.o tmp/proto-tcp.o tmp/proto-udp.o tmp/proto-vnc.o tmp/proto-x509.o tmp/proto-zeroaccess.o tmp/rand-blackrock.o tmp/rand-lcg.o tmp/rand-primegen.o tmp/ranges.o tmp/rawsock-arp.o tmp/rawsock-getif.o tmp/rawsock-getip.o tmp/rawsock-getmac.o tmp/rawsock-getroute.o tmp/rawsock-pcap.o tmp/rawsock-pcapfile.o tmp/rawsock-pfring.o tmp/rawsock.o tmp/rte-ring.o tmp/script-heartbleed.o tmp/script-ntp-monlist.o tmp/script-sslv3.o tmp/script.o tmp/siphash24.o tmp/smack1.o tmp/smackqueue.o tmp/string_s.o tmp/syn-cookie.o tmp/templ-payloads.o tmp/templ-pkt.o tmp/xring.o -lm -lrt -ldl -lpthread [root@m2822 masscan]# masscan 203.58.19.1/24 -p80 --banners -oX result.xml 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"

would appreciate any help.

mzpqnxow commented 6 years ago

Try... specifying an interface? As it clearly says?

On Thu, May 17, 2018 at 22:09 esssahu notifications@github.com wrote:

[root@m2822 a]# cd masscan [root@m2822 masscan]# make fatal: Not a git repository (or any of the parent directories): .git gcc -g -ggdb -Wall -O3 -c src/crypto-base64.c -o tmp/crypto-base64.o gcc -g -ggdb -Wall -O3 -c src/crypto-blackrock2.c -o tmp/crypto-blackrock2.o gcc -g -ggdb -Wall -O3 -c src/event-timeout.c -o tmp/event-timeout.o gcc -g -ggdb -Wall -O3 -c src/in-binary.c -o tmp/in-binary.o gcc -g -ggdb -Wall -O3 -c src/in-filter.c -o tmp/in-filter.o gcc -g -ggdb -Wall -O3 -c src/in-report.c -o tmp/in-report.o gcc -g -ggdb -Wall -O3 -c src/logger.c -o tmp/logger.o gcc -g -ggdb -Wall -O3 -c src/main-conf.c -o tmp/main-conf.o -DGIT=""unknown"" gcc -g -ggdb -Wall -O3 -c src/main-dedup.c -o tmp/main-dedup.o gcc -g -ggdb -Wall -O3 -c src/main-initadapter.c -o tmp/main-initadapter.o gcc -g -ggdb -Wall -O3 -c src/main-listscan.c -o tmp/main-listscan.o gcc -g -ggdb -Wall -O3 -c src/main-ptrace.c -o tmp/main-ptrace.o gcc -g -ggdb -Wall -O3 -c src/main-readrange.c -o tmp/main-readrange.o gcc -g -ggdb -Wall -O3 -c src/main-src.c -o tmp/main-src.o gcc -g -ggdb -Wall -O3 -c src/main-status.c -o tmp/main-status.o gcc -g -ggdb -Wall -O3 -c src/main-throttle.c -o tmp/main-throttle.o gcc -g -ggdb -Wall -O3 -c src/main.c -o tmp/main.o src/main.c: In function ‘flush_packets’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/main.c:195: note: initialized from here gcc -g -ggdb -Wall -O3 -c src/masscan-app.c -o tmp/masscan-app.o gcc -g -ggdb -Wall -O3 -c src/out-binary.c -o tmp/out-binary.o gcc -g -ggdb -Wall -O3 -c src/out-certs.c -o tmp/out-certs.o gcc -g -ggdb -Wall -O3 -c src/out-grepable.c -o tmp/out-grepable.o gcc -g -ggdb -Wall -O3 -c src/out-json.c -o tmp/out-json.o gcc -g -ggdb -Wall -O3 -c src/out-ndjson.c -o tmp/out-ndjson.o gcc -g -ggdb -Wall -O3 -c src/out-null.c -o tmp/out-null.o gcc -g -ggdb -Wall -O3 -c src/out-redis.c -o tmp/out-redis.o gcc -g -ggdb -Wall -O3 -c src/out-text.c -o tmp/out-text.o gcc -g -ggdb -Wall -O3 -c src/out-unicornscan.c -o tmp/out-unicornscan.o gcc -g -ggdb -Wall -O3 -c src/out-xml.c -o tmp/out-xml.o gcc -g -ggdb -Wall -O3 -c src/output.c -o tmp/output.o gcc -g -ggdb -Wall -O3 -c src/pixie-backtrace.c -o tmp/pixie-backtrace.o gcc -g -ggdb -Wall -O3 -c src/pixie-file.c -o tmp/pixie-file.o gcc -g -ggdb -Wall -O3 -c src/pixie-threads.c -o tmp/pixie-threads.o gcc -g -ggdb -Wall -O3 -c src/pixie-timer.c -o tmp/pixie-timer.o gcc -g -ggdb -Wall -O3 -c src/proto-arp.c -o tmp/proto-arp.o gcc -g -ggdb -Wall -O3 -c src/proto-banner1.c -o tmp/proto-banner1.o gcc -g -ggdb -Wall -O3 -c src/proto-banout.c -o tmp/proto-banout.o gcc -g -ggdb -Wall -O3 -c src/proto-dns.c -o tmp/proto-dns.o gcc -g -ggdb -Wall -O3 -c src/proto-ftp.c -o tmp/proto-ftp.o gcc -g -ggdb -Wall -O3 -c src/proto-http.c -o tmp/proto-http.o gcc -g -ggdb -Wall -O3 -c src/proto-icmp.c -o tmp/proto-icmp.o gcc -g -ggdb -Wall -O3 -c src/proto-imap4.c -o tmp/proto-imap4.o gcc -g -ggdb -Wall -O3 -c src/proto-interactive.c -o tmp/proto-interactive.o gcc -g -ggdb -Wall -O3 -c src/proto-memcached.c -o tmp/proto-memcached.o gcc -g -ggdb -Wall -O3 -c src/proto-netbios.c -o tmp/proto-netbios.o gcc -g -ggdb -Wall -O3 -c src/proto-ntp.c -o tmp/proto-ntp.o gcc -g -ggdb -Wall -O3 -c src/proto-pop3.c -o tmp/proto-pop3.o gcc -g -ggdb -Wall -O3 -c src/proto-preprocess.c -o tmp/proto-preprocess.o gcc -g -ggdb -Wall -O3 -c src/proto-sctp.c -o tmp/proto-sctp.o gcc -g -ggdb -Wall -O3 -c src/proto-smtp.c -o tmp/proto-smtp.o gcc -g -ggdb -Wall -O3 -c src/proto-snmp.c -o tmp/proto-snmp.o gcc -g -ggdb -Wall -O3 -c src/proto-ssh.c -o tmp/proto-ssh.o gcc -g -ggdb -Wall -O3 -c src/proto-ssl-test.c -o tmp/proto-ssl-test.o gcc -g -ggdb -Wall -O3 -c src/proto-ssl.c -o tmp/proto-ssl.o gcc -g -ggdb -Wall -O3 -c src/proto-tcp-telnet.c -o tmp/proto-tcp-telnet.o gcc -g -ggdb -Wall -O3 -c src/proto-tcp.c -o tmp/proto-tcp.o src/proto-tcp.c: In function ‘tcpcon_send_packet’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/proto-tcp.c:716: note: initialized from here src/proto-tcp.c: In function ‘tcp_send_RST’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/proto-tcp.c:797: note: initialized from here gcc -g -ggdb -Wall -O3 -c src/proto-udp.c -o tmp/proto-udp.o gcc -g -ggdb -Wall -O3 -c src/proto-vnc.c -o tmp/proto-vnc.o gcc -g -ggdb -Wall -O3 -c src/proto-x509.c -o tmp/proto-x509.o gcc -g -ggdb -Wall -O3 -c src/proto-zeroaccess.c -o tmp/proto-zeroaccess.o gcc -g -ggdb -Wall -O3 -c src/rand-blackrock.c -o tmp/rand-blackrock.o gcc -g -ggdb -Wall -O3 -c src/rand-lcg.c -o tmp/rand-lcg.o gcc -g -ggdb -Wall -O3 -c src/rand-primegen.c -o tmp/rand-primegen.o gcc -g -ggdb -Wall -O3 -c src/ranges.c -o tmp/ranges.o gcc -g -ggdb -Wall -O3 -c src/rawsock-arp.c -o tmp/rawsock-arp.o src/rawsock-arp.c: In function ‘arp_response’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/rawsock-arp.c:276: note: initialized from here gcc -g -ggdb -Wall -O3 -c src/rawsock-getif.c -o tmp/rawsock-getif.o gcc -g -ggdb -Wall -O3 -c src/rawsock-getip.c -o tmp/rawsock-getip.o gcc -g -ggdb -Wall -O3 -c src/rawsock-getmac.c -o tmp/rawsock-getmac.o gcc -g -ggdb -Wall -O3 -c src/rawsock-getroute.c -o tmp/rawsock-getroute.o gcc -g -ggdb -Wall -O3 -c src/rawsock-pcap.c -o tmp/rawsock-pcap.o src/rawsock-pcap.c: In function ‘pcap_init’: src/rawsock-pcap.c:349: warning: ‘hLibpcap’ may be used uninitialized in this function gcc -g -ggdb -Wall -O3 -c src/rawsock-pcapfile.c -o tmp/rawsock-pcapfile.o gcc -g -ggdb -Wall -O3 -c src/rawsock-pfring.c -o tmp/rawsock-pfring.o gcc -g -ggdb -Wall -O3 -c src/rawsock.c -o tmp/rawsock.o gcc -g -ggdb -Wall -O3 -c src/rte-ring.c -o tmp/rte-ring.o src/rte-ring.c: In function ‘test_consumer_thread’: src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/rte-ring.c:288: note: initialized from here src/rte-ring.h:616: warning: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules src/rte-ring.c:301: note: initialized from here gcc -g -ggdb -Wall -O3 -c src/script-heartbleed.c -o tmp/script-heartbleed.o gcc -g -ggdb -Wall -O3 -c src/script-ntp-monlist.c -o tmp/script-ntp-monlist.o gcc -g -ggdb -Wall -O3 -c src/script-sslv3.c -o tmp/script-sslv3.o gcc -g -ggdb -Wall -O3 -c src/script.c -o tmp/script.o gcc -g -ggdb -Wall -O3 -c src/siphash24.c -o tmp/siphash24.o gcc -g -ggdb -Wall -O3 -c src/smack1.c -o tmp/smack1.o gcc -g -ggdb -Wall -O3 -c src/smackqueue.c -o tmp/smackqueue.o gcc -g -ggdb -Wall -O3 -c src/string_s.c -o tmp/string_s.o gcc -g -ggdb -Wall -O3 -c src/syn-cookie.c -o tmp/syn-cookie.o gcc -g -ggdb -Wall -O3 -c src/templ-payloads.c -o tmp/templ-payloads.o gcc -g -ggdb -Wall -O3 -c src/templ-pkt.c -o tmp/templ-pkt.o gcc -g -ggdb -Wall -O3 -c src/xring.c -o tmp/xring.o gcc -g -ggdb -Wall -O3 -o bin/masscan tmp/crypto-base64.o tmp/crypto-blackrock2.o tmp/event-timeout.o tmp/in-binary.o tmp/in-filter.o tmp/in-report.o tmp/logger.o tmp/main-conf.o tmp/main-dedup.o tmp/main-initadapter.o tmp/main-listscan.o tmp/main-ptrace.o tmp/main-readrange.o tmp/main-src.o tmp/main-status.o tmp/main-throttle.o tmp/main.o tmp/masscan-app.o tmp/out-binary.o tmp/out-certs.o tmp/out-grepable.o tmp/out-json.o tmp/out-ndjson.o tmp/out-null.o tmp/out-redis.o tmp/out-text.o tmp/out-unicornscan.o tmp/out-xml.o tmp/output.o tmp/pixie-backtrace.o tmp/pixie-file.o tmp/pixie-threads.o tmp/pixie-timer.o tmp/proto-arp.o tmp/proto-banner1.o tmp/proto-banout.o tmp/proto-dns.o tmp/proto-ftp.o tmp/proto-http.o tmp/proto-icmp.o tmp/proto-imap4.o tmp/proto-interactive.o tmp/proto-memcached.o tmp/proto-netbios.o tmp/proto-ntp.o tmp/proto-pop3.o tmp/proto-preprocess.o tmp/proto-sctp.o tmp/proto-smtp.o tmp/proto-snmp.o tmp/proto-ssh.o tmp/proto-ssl-test.o tmp/proto-ssl.o tmp/proto-tcp-telnet.o tmp/proto-tcp.o tmp/proto-udp.o tmp/proto-vnc.o tmp/proto-x509.o tmp/proto-zeroaccess.o tmp/rand-blackrock.o tmp/rand-lcg.o tmp/rand-primegen.o tmp/ranges.o tmp/rawsock-arp.o tmp/rawsock-getif.o tmp/rawsock-getip.o tmp/rawsock-getmac.o tmp/rawsock-getroute.o tmp/rawsock-pcap.o tmp/rawsock-pcapfile.o tmp/rawsock-pfring.o tmp/rawsock.o tmp/rte-ring.o tmp/script-heartbleed.o tmp/script-ntp-monlist.o tmp/script-sslv3.o tmp/script.o tmp/siphash24.o tmp/smack1.o tmp/smackqueue.o tmp/string_s.o tmp/syn-cookie.o tmp/templ-payloads.o tmp/templ-pkt.o tmp/xring.o -lm -lrt -ldl -lpthread [root@m2822 masscan]# masscan 203.58.19.1/24 -p80 --banners -oX result.xml 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"

would appreciate any help.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/robertdavidgraham/masscan/issues/354, or mute the thread https://github.com/notifications/unsubscribe-auth/AHpRZDp60_7O2nXjPCPbW8iW3nOBEZO4ks5tzi1ygaJpZM4UEBcd .

esssahu commented 6 years ago

It started to scan but without any result. Output scan.xml file was empty.

a help will be appreciated

thanks in advance

[root@m2822 a]# masscan -p80,443 203.0.0.0/8 --interface eth0 --router-mac 40:26:2E:43:BE:7C --max-rate 100000 -oX scan.xml
Starting masscan 1.0.6 (http://bit.ly/14GZzcT) at 2018-05-18 02:21:13 GMT -- forced options: -sS -Pn -n --randomize-hosts -v --send-eth Initiating SYN Stealth Scan Scanning 16777216 hosts [2 ports/host]

mzpqnxow commented 6 years ago

How did you get your router MAC? Are you sure it’s correct?

Btw it’s possible there were no ports open no?

On Fri, May 18, 2018 at 00:30 esssahu notifications@github.com wrote:

It started to scan but without any result. Output scan.xml file was empty.

a help will be appreciated

thanks in advance

[root@m2822 a]# masscan -p80,443 203.0.0.0/8 --interface eth0 --router-mac 40:26:2E:43:BE:7C --max-rate 100000 -oX scan.xml Starting masscan 1.0.6 (http://bit.ly/14GZzcT) at 2018-05-18 02:21:13 GMT -- forced options: -sS -Pn -n --randomize-hosts -v --send-eth Initiating SYN Stealth Scan Scanning 16777216 hosts [2 ports/host]

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/robertdavidgraham/masscan/issues/354#issuecomment-390091217, or mute the thread https://github.com/notifications/unsubscribe-auth/AHpRZJGLYnaA4T2bsG9I5Pve0PRyeQx3ks5tzk56gaJpZM4UEBcd .

mzpqnxow commented 6 years ago

Also your rate is insanely high for most configurations. Try 5000 to start unless you’re using PF_RING

On Fri, May 18, 2018 at 07:20 Adam Greene adam@mzpqnxow.com wrote:

How did you get your router MAC? Are you sure it’s correct?

Btw it’s possible there were no ports open no?

On Fri, May 18, 2018 at 00:30 esssahu notifications@github.com wrote:

It started to scan but without any result. Output scan.xml file was empty.

a help will be appreciated

thanks in advance

[root@m2822 a]# masscan -p80,443 203.0.0.0/8 --interface eth0 --router-mac 40:26:2E:43:BE:7C --max-rate 100000 -oX scan.xml Starting masscan 1.0.6 (http://bit.ly/14GZzcT) at 2018-05-18 02:21:13 GMT -- forced options: -sS -Pn -n --randomize-hosts -v --send-eth Initiating SYN Stealth Scan Scanning 16777216 hosts [2 ports/host]

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/robertdavidgraham/masscan/issues/354#issuecomment-390091217, or mute the thread https://github.com/notifications/unsubscribe-auth/AHpRZJGLYnaA4T2bsG9I5Pve0PRyeQx3ks5tzk56gaJpZM4UEBcd .

esssahu commented 6 years ago

Thank you very much the problem is resolved.

momasaker commented 4 years ago

how >?

chenamy2017 commented 4 years ago

I have the same problem. How to resolve?