Checking if your kit is complete... Looks good Writing Makefile for Nmap::Parser::XML cp XML.pm blib/lib/Nmap/Parser/XML.pm Manifying blib/man3/Nmap::Parser::XML.3 PERL_DL_NONLAZY=1 /home/cpanrun/ia64/build/5.8.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/0_api...........1..72 ok 1 - use Nmap::Parser::XML; ok 2 - The object isa Nmap::Parser::XML ok 3 - The object isa Nmap::Parser::XML::ScanInfo ok 4 - The object isa Nmap::Parser::XML::Host ok 5 - Nmap::Parser::XML->can('clean') ok 6 - Nmap::Parser::XML->can('del_host') ok 7 - Nmap::Parser::XML->can('filter_by_osfamily') ok 8 - Nmap::Parser::XML->can('filter_by_status') ok 9 - Nmap::Parser::XML->can('get_host') ok 10 - Nmap::Parser::XML->can('get_host_list') ok 11 - Nmap::Parser::XML->can('get_host_objects') ok 12 - Nmap::Parser::XML->can('get_osfamily_list') ok 13 - Nmap::Parser::XML->can('get_scaninfo') ok 14 - Nmap::Parser::XML->can('parse') ok 15 - Nmap::Parser::XML->can('parse_filters') ok 16 - Nmap::Parser::XML->can('parsefile') ok 17 - Nmap::Parser::XML->can('parsescan') ok 18 - Nmap::Parser::XML->can('register_host_callback') ok 19 - Nmap::Parser::XML->can('reset_host_callback') ok 20 - Nmap::Parser::XML->can('set_osfamily_list') ok 21 - Nmap::Parser::XML->can('sort_ips') ok 22 - Nmap::Parser::XML::ScanInfo->can('args') ok 23 - Nmap::Parser::XML::ScanInfo->can('finish_time') ok 24 - Nmap::Parser::XML::ScanInfo->can('nmap_version') ok 25 - Nmap::Parser::XML::ScanInfo->can('num_of_services') ok 26 - Nmap::Parser::XML::ScanInfo->can('proto_of_scan_type') ok 27 - Nmap::Parser::XML::ScanInfo->can('scan_types') ok 28 - Nmap::Parser::XML::ScanInfo->can('start_time') ok 29 - Nmap::Parser::XML::ScanInfo->can('xml_version') ok 30 - Nmap::Parser::XML::Host->can('addr') ok 31 - Nmap::Parser::XML::Host->can('addrtype') ok 32 - Nmap::Parser::XML::Host->can('extraports_count') ok 33 - Nmap::Parser::XML::Host->can('extraports_state') ok 34 - Nmap::Parser::XML::Host->can('hostname') ok 35 - Nmap::Parser::XML::Host->can('hostnames') ok 36 - Nmap::Parser::XML::Host->can('ipidsequence_class') ok 37 - Nmap::Parser::XML::Host->can('ipidsequence_values') ok 38 - Nmap::Parser::XML::Host->can('os_class') ok 39 - Nmap::Parser::XML::Host->can('os_family') ok 40 - Nmap::Parser::XML::Host->can('os_gen') ok 41 - Nmap::Parser::XML::Host->can('os_match') ok 42 - Nmap::Parser::XML::Host->can('os_matches') ok 43 - Nmap::Parser::XML::Host->can('os_osfamily') ok 44 - Nmap::Parser::XML::Host->can('os_port_used') ok 45 - Nmap::Parser::XML::Host->can('os_type') ok 46 - Nmap::Parser::XML::Host->can('os_vendor') ok 47 - Nmap::Parser::XML::Host->can('status') ok 48 - Nmap::Parser::XML::Host->can('tcp_port_state') ok 49 - Nmap::Parser::XML::Host->can('tcp_ports') ok 50 - Nmap::Parser::XML::Host->can('tcp_ports_count') ok 51 - Nmap::Parser::XML::Host->can('tcp_service_extrainfo') ok 52 - Nmap::Parser::XML::Host->can('tcp_service_name') ok 53 - Nmap::Parser::XML::Host->can('tcp_service_product') ok 54 - Nmap::Parser::XML::Host->can('tcp_service_proto') ok 55 - Nmap::Parser::XML::Host->can('tcp_service_rpcnum') ok 56 - Nmap::Parser::XML::Host->can('tcp_service_version') ok 57 - Nmap::Parser::XML::Host->can('tcpsequence_class') ok 58 - Nmap::Parser::XML::Host->can('tcpsequence_index') ok 59 - Nmap::Parser::XML::Host->can('tcpsequence_values') ok 60 - Nmap::Parser::XML::Host->can('tcptssequence_class') ok 61 - Nmap::Parser::XML::Host->can('tcptssequence_values') ok 62 - Nmap::Parser::XML::Host->can('udp_port_state') ok 63 - Nmap::Parser::XML::Host->can('udp_ports') ok 64 - Nmap::Parser::XML::Host->can('udp_ports_count') ok 65 - Nmap::Parser::XML::Host->can('udp_service_extrainfo') ok 66 - Nmap::Parser::XML::Host->can('udp_service_name') ok 67 - Nmap::Parser::XML::Host->can('udp_service_product') ok 68 - Nmap::Parser::XML::Host->can('udp_service_proto') ok 69 - Nmap::Parser::XML::Host->can('udp_service_rpcnum') ok 70 - Nmap::Parser::XML::Host->can('udp_service_version') ok 71 - Nmap::Parser::XML::Host->can('uptime_lastboot') ok 72 - Nmap::Parser::XML::Host->can('uptime_seconds') ok t/1_parser........1..200 ok 1 - Testing parse filter set ok 2 - Testing for filter permanence ok 3 - Testing reset_filters() ok 4 - Parsing from nmap data: $FH ok 5 - Testing default get_osfamily_list ok 6 - Testing set_osfamily_list ok 7 - Testing get_osfamily_list for premanence of structure ok 8 - Testing get_host_list for correct hosts from file ok 9 - Testing get_host_list for correct hosts with status = up ok 10 - Testing get_host_list for correct hosts for with status = down ok 11 - Testing single osfamily filter ok 12 - Testing multiple osfamily filter ok 13 - Testing status filter - up ok 14 - Testing status filter - down ok 15 - Testing status filter - default ok 16 - Testing for number of host objects ok 17 - Testing for host object 1 ok 18 - Testing for host object 2 ok 19 - Testing for host object 3 ok 20 - The object isa Nmap::Parser::XML::ScanInfo ok 21 - Testing nmap version ok 22 - Testing xmloutput version ok 23 - Testing nmap arguments ok 24 - Testing total number of services ok 25 - Testing number of services for CONNECT ok 26 - Testing number of services for UDP ok 27 - Testing scaninfo start time ok 28 - Testing scaninfo finish time ok 29 - Testing number of scan types ok 30 - Testing for correct scan types ok 31 - Testing "connect" protocol = tcp ok 32 - Testing "udp" protocol = udp Testing 127.0.0.1 ok 33 - The object isa Nmap::Parser::XML::Host ok 34 - Testing if status = up ok 35 - Testing for correct address ok 36 - Testing for correct address type - ipv4 ok 37 - Testing basic hostname() ok 38 - Testing for correct hostname count (void) ok 39 - Testing for correct hostname (1) ok 40 - Testing extraports_state ok 41 - Testing extraports_count ok 42 - Testing for tcp_ports(6) ok 43 - Testing for udp_ports(2) ok 44 - Testing for tcp_ports_count(6) ok 45 - Testing for udp_ports_count(2) ok 46 - Testing tcp ports found ok 47 - Testing udp ports found ok 48 - Testing tcp ports "open" ok 49 - Testing tcp ports "filtered" ok 50 - Testing udp ports "open" ok 51 - Testing udp ports "closed" ok 52 - Testing tcp_ports(port_number) filtered ok 53 - Testing udp_ports(port_number) open ok 54 - Testing udp_ports(port_number) closed ok 55 - Testing tcp_service_name(22) = sshd ok 56 - Testing tcp_service_name(25) = smtp ok 57 - Testing udp_service_name(111) = rpcbind ok 58 - Testing tcp_service_name(25) = smtp ok 59 - Testing udp_service_proto(111) ok 60 - Testing tcp_service_rpcnum(111) ok 61 - Testing udp_service_rpcnum(111) ok 62 - Testing os_matches() ok 63 - Testing for correct OS ok 64 - Testing os_match ok 65 - Testing os_matches(1) ok 66 - Testing os_class() with arg 1 ok 67 - Testing os_class() with 2 ok 68 - Testing total count of os_class tags ok 69 - Testing os_family() = linux ok 70 - Testing os_port_used() with no arguments ok 71 - Testing os_port_used() using "open" ok 72 - Testing os_port_used() using "closed" ok 73 - Testing tcpsequence class,values,index ok 74 - Testing ipidsequence class,values ok 75 - Testing tcptssequence class,values ok 76 - Testing uptime_seconds() ok 77 - Testing uptime_lastboot() Testing 127.0.0.2 ok 78 - The object isa Nmap::Parser::XML::Host ok 79 - Testing if status = up ok 80 - Testing for correct address ok 81 - Testing for correct address type - ipv4 ok 82 - Testing basic hostname() ok 83 - Testing for correct hostname count (void) ok 84 - Testing for correct hostname (1) ok 85 - Testing extraports_state ok 86 - Testing extraports_count ok 87 - Testing for tcp_ports(2) ok 88 - Testing for udp_ports(0) ok 89 - Testing for tcp_ports_count(2) ok 90 - Testing for udp_ports_count(0) ok 91 - Testing tcp ports found ok 92 - Testing udp ports found ok 93 - Testing tcp ports "open" ok 94 - Testing tcp ports "filtered" ok 95 - Testing udp ports "open" ok 96 - Testing udp ports "closed" ok 97 - Testing tcp_ports(port_number) open ok 98 - Testing tcp_ports(port_number) open ok 99 - Testing tcp_service_name(22) = sshd ok 100 - Testing tcp_service_name(80) = http ok 101 - Testing tcp_service_name(22) = sshd ok 102 - Testing tcp_service_name(80) = http ok 103 - Testing os_matches() ok 104 - Testing for correct OS ok 105 - Testing for correct OS ok 106 - Testing os_class() with no args ok 107 - Testing total count of os_class tags ok 108 - Testing os_family() = solaris ok 109 - Testing tcpsequence class,values,index ok 110 - Testing ipidsequence class,values ok 111 - Testing tcptssequence class,values ok 112 - Testing uptime_seconds() : ok 113 - Testing uptime_lastboot() : Testing 127.0.0.3 ok 114 - The object isa Nmap::Parser::XML::Host ok 115 - Testing if status = up ok 116 - Testing for correct address ok 117 - Testing for correct address type - ipv4 Testing 127.0.0.4 ok 118 - The object isa Nmap::Parser::XML::Host ok 119 - Testing if status = up ok 120 - Testing for correct address ok 121 - Testing for correct address type - ipv4 ok 122 - Testing hostname ok 123 - Testing extraports_state ok 124 - Testing extraports_count ok 125 - Testing tcp ports found ok 126 - Testing tcp ports "filtered" ok 127 - Testing tcp_ports(port_number) filtered ok 128 - Testing tcp_ports(port_number) filtered ok 129 - Testing tcp_service_name(135) = loc-srv ok 130 - Testing tcp_service_name(80) = telnet Testing 127.0.0.5 ok 131 - The object isa Nmap::Parser::XML::Host ok 132 - Testing if status = up ok 133 - Testing for correct address ok 134 - Testing for correct address type - ipv4 ok 135 - Testing hostname ok 136 - Testing extraports_state ok 137 - Testing extraports_count ok 138 - Testing tcp ports found ok 139 - Testing tcp ports "open" ok 140 - Testing tcp state open ok 141 - Testing service name ssh ok 142 - Testing service name rpcbind ok 143 - Testing service name rndc ok 144 - Testing service version 22 ok 145 - Testing service product 22 ok 146 - Testing service info 22 ok 147 - Testing tcp service version 112 ok 148 - Testing tcp service version 953 Testing 127.0.0.6 ok 149 - The object isa Nmap::Parser::XML::Host ok 150 - Testing if status = up ok 151 - Testing for correct address ok 152 - Testing for correct address type - ipv4 ok 153 - Testing hostname ok 154 - Testing service info 111 ok 155 - Testing service info 22 ok 156 - Testing service info 443 ok 157 - Testing service info 6000 ok 158 - Testing service info 80 ok 159 - Testing service name 111 ok 160 - Testing tcp service version 443 ok 161 - Testing tcp service version 443 ok 162 - Testing tcp service version 80 ok 163 - Testing tcp service version 6000 ok 164 - Testing tcp service product: 22 ok 165 - Testing tcp service product: 80 ok 166 - Testing tcp service product: 443 ok 167 - Testing os_matches() ok 168 - Testing for correct OS ok 169 - Testing for correct OS 1 ok 170 - Testing for correct OS 1 ok 171 - Testing for correct OS 2 ok 172 - Testing for correct OS 3 ok 173 - Testing for correct OS 4 ok 174 - Testing for correct OS 5 ok 175 - Testing for correct OS 6 ok 176 - Testing for correct OS 7 ok 177 - Testing for correct OS 8 ok 178 - Testing for correct OS 9 ok 179 - Testing os_class(1) ok 180 - Testing os_class(15) ok 181 - Testing os_osfamily ok 182 - Testing os_vendor ok 183 - Testing os_gen ok 184 - Testing os_type ok 185 - Testing os_osfamily ok 186 - Testing os_vendor ok 187 - Testing os_gen ok 188 - Testing os_type ok 189 - Testing os_osfamily ok 190 - Testing os_vendor ok 191 - Testing os_gen ok 192 - Testing os_type ok 193 - Testing total count of os_class tags ok 194 - Testing os_family() = solaris,switch ok 195 - Testing del_host ok 196 - Testing for permanent deletion from call ok 197 - Testing for permanent deletion from list ok 198 - Testing clean() to clean memory ok 199 - Testing clean() against scaninfo ok 200 - Testing clean() against host list ok t/2_callback......1..102 ok 1 - The object isa Nmap::Parser::XML ok 2 - Registering callback funciton ok 3 - Reset host callback ok 4 - Registering callback funciton again Testing 127.0.0.1 ok 5 - The object isa Nmap::Parser::XML::Host ok 6 - Testing if status = up ok 7 - Testing for correct address ok 8 - Testing for correct address type - ipv4 ok 9 - Testing basic hostname() ok 10 - Testing for correct hostname count (void) ok 11 - Testing for correct hostname (1) ok 12 - Testing extraports_state ok 13 - Testing extraports_count ok 14 - Testing for tcp_ports(6) ok 15 - Testing for udp_ports(2) ok 16 - Testing for tcp_ports_count(6) ok 17 - Testing for udp_ports_count(2) ok 18 - Testing tcp ports found ok 19 - Testing udp ports found ok 20 - Testing tcp ports "open" ok 21 - Testing tcp ports "filtered" ok 22 - Testing udp ports "open" ok 23 - Testing udp ports "closed" ok 24 - Testing tcp_ports(port_number) filtered ok 25 - Testing udp_ports(port_number) open ok 26 - Testing udp_ports(port_number) closed ok 27 - Testing tcp_service_name(22) = sshd ok 28 - Testing tcp_service_name(25) = smtp ok 29 - Testing udp_service_name(111) = rpcbind ok 30 - Testing tcp_service_name(25) = smtp ok 31 - Testing udp_service_proto(111) ok 32 - Testing tcp_service_rpcnum(111) ok 33 - Testing udp_service_rpcnum(111) ok 34 - Testing os_matches() ok 35 - Testing for correct OS ok 36 - Testing os_match ok 37 - Testing os_matches(1) ok 38 - Testing os_class() with arg 1 ok 39 - Testing os_class() with 2 ok 40 - Testing total count of os_class tags ok 41 - Testing os_family() = linux ok 42 - Testing os_port_used() with no arguments ok 43 - Testing os_port_used() using "open" ok 44 - Testing os_port_used() using "closed" ok 45 - Testing tcpsequence class,values,index ok 46 - Testing ipidsequence class,values ok 47 - Testing tcptssequence class,values ok 48 - Testing uptime_seconds() ok 49 - Testing uptime_lastboot() Testing 127.0.0.6 ok 50 - The object isa Nmap::Parser::XML::Host ok 51 - Testing if status = up ok 52 - Testing for correct address ok 53 - Testing for correct address type - ipv4 ok 54 - Testing hostname ok 55 - Testing service info 111 ok 56 - Testing service info 22 ok 57 - Testing service info 443 ok 58 - Testing service info 6000 ok 59 - Testing service info 80 ok 60 - Testing service name 111 ok 61 - Testing tcp service version 443 ok 62 - Testing tcp service version 443 ok 63 - Testing tcp service version 80 ok 64 - Testing tcp service version 6000 ok 65 - Testing tcp service product: 22 ok 66 - Testing tcp service product: 80 ok 67 - Testing tcp service product: 443 ok 68 - Testing os_matches() ok 69 - Testing for correct OS ok 70 - Testing for correct OS 1 ok 71 - Testing for correct OS 1 ok 72 - Testing for correct OS 2 ok 73 - Testing for correct OS 3 ok 74 - Testing for correct OS 4 ok 75 - Testing for correct OS 5 ok 76 - Testing for correct OS 6 ok 77 - Testing for correct OS 7 ok 78 - Testing for correct OS 8 ok 79 - Testing for correct OS 9 ok 80 - Testing os_class(1) ok 81 - Testing os_class(15) ok 82 - Testing os_osfamily ok 83 - Testing os_vendor ok 84 - Testing os_gen ok 85 - Testing os_type ok 86 - Testing os_osfamily ok 87 - Testing os_vendor ok 88 - Testing os_gen ok 89 - Testing os_type ok 90 - Testing os_osfamily ok 91 - Testing os_vendor ok 92 - Testing os_gen ok 93 - Testing os_type ok 94 - Testing total count of os_class tags ok 95 - Testing os_family() = solaris,switch ok 96 - Parsing from nmap data: $FH ok 97 - Setting parse filter (no scaninfo) ok 98 - Testing for correct up hosts ok 99 - Testing for correct down hosts ok 100 - Testing for correct callback paramater passing ok 101 - Making sure hosts do not exists ok 102 - Making sure objects were deleted after callback ok t/3_efficiency....1..9 ok 1 - Testing full tag ok 2 - Testing start tag ok 3 - Testing hostname tag ok 4 - Testing ports no filters ok 5 - Testing start tag /w filters ok 6 - Testing full tag /w filters ok 7 - Testing hostname tag /w filters ok 8 - Testing ports /w filters ok 9 - Improvement Ratio: 2.14 times faster ok t/4_scanner.......1..1 ok 1 - Nmap::Parser::XML->can('parsescan') ok All tests successful. Files=5, Tests=384, 4 wallclock secs ( 3.56 cusr + 0.49 csys = 4.05 CPU) Installing /home/cpanrun/ia64/build/5.8.2/lib/site_perl/5.8.2/Nmap/Parser/XML.pm Installing /home/cpanrun/ia64/build/5.8.2/man/man3/Nmap::Parser::XML.3 Appending installation info to /home/cpanrun/ia64/build/5.8.2/lib/5.8.2/IA64.ARCHREV_0-thread-multi/perllocal.pod