Nmap Development mailing list archives

Re: NMAP hangs on MIPS


From: Nuno Gonçalves <nunojpg () gmail com>
Date: Tue, 31 Aug 2010 09:59:15 -0400

2010/8/31 Nuno Gonçalves <nunojpg () gmail com>:
GDB didn't work for several reasons.

I narrowed to static int nmap_services_init() at services.cc.

The while cycle that is reading /usr/share/nmap/nmap-services takes
something like 10000 more than on my PC.

The problem is with the use of class std::nmap<port_spec,
service_node> service_table.

line 241: i = service_table.find(ps); takes 50% of the time.
line 274: service_table[ps] = sn; takes 45% of the time.

Any suggestions why is this so slow on MIPS? Do I need optimization flags?

Thanks,
Nuno
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Current thread: