Open Cadenzaaa opened 3 years ago
I try to put the IPv6 address I want to detect in the target file 123.txt, and then enter it according to the readme file. But the command line, why? Do I need to change the Flashroute source file? root@Caihost ~/l/FlashRoute-0.1.0# sudo ./bazel-bin/flashroute/flashroute --interface ens3 --targets ./123.txt (base) I1104 22:56:19.754838 3367 blacklist.cc:40] Blacklist disabled. I1104 22:56:19.754957 3367 main.cc:227] Load 15 blacklist rules. I1104 22:56:19.755249 3367 traceroute.cc:241] Start preprobing. I1104 22:56:22.755512 3367 traceroute.cc:256] Preprobing finished (Took 3 seconds). I1104 22:56:22.755653 3367 traceroute.cc:308] Start main probe. fish: Job 1, 'sudo ./bazel-bin/flashroute/fla…' terminated by signal SIGSEGV (Address boundary error)
I1104 22:56:19.755249 3367 traceroute.cc:241] Start preprobing. I1104 22:56:22.755512 3367 traceroute.cc:256] Preprobing finished (Took 3 seconds).
look at your log: I1104 22:56:19.755249 3367 traceroute.cc:241] Start preprobing. I1104 22:56:22.755512 3367 traceroute.cc:256] Preprobing finished (Took 3 seconds).
It means that the preprobing have no response captured, so flashroute cannot scannning due to its doubletree alg. a better well is to ensure your targets all active. Howevers, In IPv6, it is not impractical.
I perform one scan and then try to parse the results using the same command shown in the readme. However, it seems that there is no valid output. Did I make any mistakes?
./input/test_targets.txt
is consisted of 100 (active) IPv6 addresses, with one IP address per line.me@ubuntu18:~/FlashRoute$ sudo ./bazel-bin/flashroute/flashroute --interface ens3 --targets ./input/test_targets.txt --output ./output/flashroute_output I1101 13:52:26.842790 39976 main.cc:244] Seed for random number generator is 0, we random generate the seed: 1635774746 I1101 13:52:26.843158 39976 blacklist.cc:40] Blacklist disabled. I1101 13:52:26.843225 39976 main.cc:259] Load 15 blacklist rules. I1101 13:52:26.844971 39976 traceroute.cc:241] Start preprobing. I1101 13:52:29.932461 39976 traceroute.cc:256] Preprobing finished (Took 3 seconds). I1101 13:52:29.932910 39976 traceroute.cc:308] Start main probing. I1101 13:52:36.844626 39980 traceroute.cc:137] R: 7 S: 0.00k R: 0.00k PreP: 100.00 RmnP: 25.00 IfCnt: 3 FwIfCnt: 0 I1101 13:52:41.845054 39980 traceroute.cc:137] R: 12 S: 0.00k R: 0.01k PreP: 100.00 RmnP: 25.00 IfCnt: 7 FwIfCnt: 0 I1101 13:52:42.942278 39976 traceroute.cc:361] Scan finished. I1101 13:52:43.016521 39976 traceroute.cc:368] Main probing finished (Took 13 seconds). I1101 13:52:44.016777 39976 traceroute.cc:465] Average Sending Rate: 0.00 Kpps I1101 13:52:44.016945 39976 traceroute.cc:467] Average Receving Rate: 0.01 Kpps I1101 13:52:44.016968 39976 traceroute.cc:469] Sent packets: 26 I1101 13:52:44.017005 39976 traceroute.cc:471] Received packets: 89 I1101 13:52:44.017042 39976 traceroute.cc:473] Total Dropped responses: 0 I1101 13:52:44.017060 39976 traceroute.cc:476] Other dropped: 0 I1101 13:52:44.017071 39976 traceroute.cc:478] Checksum Mismatches: 0 I1101 13:52:44.017083 39976 traceroute.cc:480] Distance Abnormalities: 0 I1101 13:52:44.017112 39976 traceroute.cc:482] Sent probes: 22 I1101 13:52:44.017125 39976 traceroute.cc:483] Sent preprobes: 4 I1101 13:52:44.017156 39976 traceroute.cc:485] Interfaces Forward-probing: 0 I1101 13:52:44.017174 39976 traceroute.cc:487] Interfaces Backward-probing: 8 I1101 13:52:44.017189 39976 traceroute.cc:492] Discovered Interfaces: 8 I1101 13:52:46.845803 39976 blacklist.cc:21] Free the blacklist. I1101 13:52:46.845891 39976 main.cc:345] The program ends. me@ubuntu18:~/FlashRoute$ bazel run parsers/utils/route_generator -- --file ./output/flashroute_output INFO: Build options --compilation_mode and --cxxopt have changed, discarding analysis cache. INFO: Analyzed target //parsers/utils:route_generator (0 packages loaded, 6688 targets configured). INFO: Found 1 target... Target //parsers/utils:route_generator up-to-date: bazel-bin/parsers/utils/route_generator INFO: Elapsed time: 1.590s, Critical Path: 0.02s INFO: 1 process: 1 internal. INFO: Build completed successfully, 1 total action INFO: Build completed successfully, 1 total action WARNING: Logging before InitGoogleLogging() is written to STDERR I1101 13:52:57.646713 40089 route_generator.cc:21] Program starts. I1101 13:52:57.647363 40089 utils.cc:77] Preprocessing finished. I1101 13:52:57.647799 40089 utils.cc:111] Processing finished. I1101 13:52:57.647845 40089 route_generator.cc:31] Finished
I met the same problem too.
I perform one scan and then try to parse the results using the same command shown in the readme. However, it seems that there is no valid output. Did I make any mistakes?
./input/test_targets.txt
is consisted of 100 (active) IPv6 addresses, with one IP address per line.