main
Brett 2023-10-25 11:36:09 -04:00
parent f5fa351611
commit f1e56c599b
7 changed files with 177 additions and 162 deletions

Binary file not shown.

View File

@ -3,151 +3,68 @@
8 299 1698190941204105483 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server4/mime_types.cpp.o 5edbfd993d45c0b2
463 918 1698190935328006862 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server2/request_parser.cpp.o 3547d5d5b7b4b485
7 463 1698190934871999209 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server/request_parser.cpp.o 7c3d8afefdd25209
2 323 1698190976428696830 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/string.cpp.o 9cf4bb76527ebff8
9 2806 1698190943708147512 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/icmp/ping.cpp.o fa635e6db3714296
7 2755 1698190937164037675 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server/request_handler.cpp.o a55aeb5de6fd086d
2 594 1698190976700701396 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/system.cpp.o 1adc5ac34f936d01
9 2571 1698190943472143551 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/iostreams/daytime_client.cpp.o a1a0d56843fd629a
5 2286 1698190936692029753 CMakeFiles/insane_dns.dir/src/main.cpp.o 8d5c4f9035425e94
2 1577 1698212982988931026 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
2 1338 1698190977440713822 libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler_v2.cpp.o 4b34d43980f81486
2 1234 1698190977336712076 libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o acd7791920b2ad2d
8 2289 1698190936696029821 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server2/io_context_pool.cpp.o 107a6ea556d5058d
6 2797 1698190937204038347 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server/reply.cpp.o 3eb1b3bc041809bf
8 408 1698190941312107295 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server3/request_parser.cpp.o 7728f26df6bfadb7
9 303 1698190934711996522 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server2/mime_types.cpp.o a86d0732ade33f7e
8 2681 1698190943584145431 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server4/main.cpp.o 2dbffc4d8e65cee1
7 2688 1698190943592145565 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server3/reply.cpp.o d3c340f3d804eb86
9 2736 1698190937144037339 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server2/main.cpp.o c640d1c3277629c8
5 2021 1698190936428025322 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/fork/daemon.cpp.o 6c9a43a404bf5ee8
9 2736 1698190937144037339 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server2/main.cpp.o c640d1c3277629c8
6 2148 1698190936556027471 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server/connection_manager.cpp.o 394d79fc71dbd79
0 51 1698190974180659083 build.ninja 6eaded2198e1472a
2 404 1698190976508698172 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/format.cpp.o 924f830e8caafa45
3 1040 1698190977140708784 libraries/BLT/CMakeFiles/BLT.dir/src/blt/parse/argparse.cpp.o d9efc331e7323aad
630 837 1698211645218502034 libraries/BLT/libBLT.a 7458b833d4d035d7
9 2987 1698190943888150533 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server4/server.cpp.o 6d3fbf0b4429b564
2 1236 1698190977340712144 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o fe604df9ca9c4976
6 2193 1698190936604028276 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server/main.cpp.o 5a0df935a0fef390
1577 1634 1698212983044931960 insane_dns 65fd02f0d52ca7a4
8 2676 1698190937084036332 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/echo/blocking_tcp_echo_server.cpp.o 4ff8f83a6944be05
10 2108 1698190943008135763 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/iostreams/http_client.cpp.o 17383e678d296065
5 2374 1698190936780031230 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/asio.cpp.o b6b1042ead0eb98d
304 2963 1698190937372041167 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server2/request_handler.cpp.o 4ddbb11e96f80ba
5 2374 1698190936780031230 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/asio.cpp.o b6b1042ead0eb98d
2 540 1698190976644700456 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/loader.cpp.o 9fde243767bd13f8
6 289 1698190934699996321 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server/mime_types.cpp.o 41db472e6337550
7 2394 1698190936800031566 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/echo/blocking_tcp_echo_client.cpp.o 54bc96c5f78f8c36
309 2473 1698190943376141940 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/local/stream_client.cpp.o a929ff022856990
7 2394 1698190936800031566 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/echo/blocking_tcp_echo_client.cpp.o 54bc96c5f78f8c36
7 309 1698190941216105684 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server3/mime_types.cpp.o d4f3a0f547ed1d36
3 218 1698190976324695084 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt_block.cpp.o ebfa2667e40ca05a
5 1541 1698190935948017266 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/asio_ssl.cpp.o b5fa23ca2e11f4ab
8 2330 1698190936736030493 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/echo/blocking_udp_echo_server.cpp.o e3bd2a7e9090cb24
8 2563 1698190943468143483 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server4/file_handler.cpp.o b6162bae19d60253
8 2596 1698190943500144020 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server4/reply.cpp.o c567f30b80b560ae
9 2939 1698190943840149728 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/invocation/prioritised_handlers.cpp.o 740b32fd17d91d79
2 630 1698211645022498702 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o abc003c343268699
8 2462 1698190936868032707 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/echo/blocking_udp_echo_client.cpp.o 6dd41f038590bf4c
2021 3805 1698190938216055333 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server3/main.cpp.o fd886f2348c7f4ad
9 1111 1698190942016119112 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server4/request_parser.cpp.o bd667133aa68e8ad
8 2522 1698190943428142812 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server3/request_handler.cpp.o 2925ec742810cd25
5 2407 1698190936812031767 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/fork/process_per_connection.cpp.o e56c1b7e4bf1210c
6 2725 1698190937132037138 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/client/sync_client.cpp.o ebab719c21a3ea67
300 2549 1698190943452143215 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/local/iostream_client.cpp.o 8e37a1e1936349f4
289 2886 1698190937292039824 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server2/reply.cpp.o f0442f2bd7450181
3 218 1698190976324695084 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt_block.cpp.o ebfa2667e40ca05a
2 323 1698190976428696830 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/string.cpp.o 9cf4bb76527ebff8
1 334 1698190976440697031 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o 44105d2814a3e9f7
2 404 1698190976508698172 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/format.cpp.o 924f830e8caafa45
2 313 1698211644706493328 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o 44105d2814a3e9f7
1 439 1698190976544698778 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/assert.cpp.o 7985d5c2c06fd22a
2 540 1698190976644700456 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/loader.cpp.o 9fde243767bd13f8
2 594 1698190976700701396 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/system.cpp.o 1adc5ac34f936d01
2 703 1698190976808703211 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o abc003c343268699
3 1040 1698190977140708784 libraries/BLT/CMakeFiles/BLT.dir/src/blt/parse/argparse.cpp.o d9efc331e7323aad
2 1234 1698190977336712076 libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler.cpp.o acd7791920b2ad2d
2 1236 1698190977340712144 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/logging.cpp.o fe604df9ca9c4976
2 1338 1698190977440713822 libraries/BLT/CMakeFiles/BLT.dir/src/blt/profiling/profiler_v2.cpp.o 4b34d43980f81486
1 1792 1698190977892721413 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1338 1910 1698190978004723293 libraries/BLT/libBLT.a 7458b833d4d035d7
1910 1954 1698190978060724234 insane_dns 65fd02f0d52ca7a4
2 1551 1698191303714201172 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1551 1607 1698191303770202116 insane_dns 65fd02f0d52ca7a4
2 1611 1698191338458786321 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1611 1667 1698191338514787264 insane_dns 65fd02f0d52ca7a4
3 1586 1698191357595108660 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1586 1641 1698191357651109601 insane_dns 65fd02f0d52ca7a4
2 1598 1698191376039419372 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1598 1655 1698191376099420385 insane_dns 65fd02f0d52ca7a4
2 1631 1698191394711733960 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1631 1683 1698191394763734835 insane_dns 65fd02f0d52ca7a4
2 1570 1698191414660070078 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1570 1625 1698191414716071022 insane_dns 65fd02f0d52ca7a4
2 1617 1698191463584894575 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1617 1674 1698191463640895519 insane_dns 65fd02f0d52ca7a4
2 1587 1698191526749959325 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1587 1649 1698191526809960337 insane_dns 65fd02f0d52ca7a4
2 1569 1698191581886888964 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1569 1622 1698191581938889842 insane_dns 65fd02f0d52ca7a4
2 1620 1698191623283587065 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1620 1677 1698191623339588009 insane_dns 65fd02f0d52ca7a4
2 1556 1698191647267991574 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1556 1612 1698191647323992519 insane_dns 65fd02f0d52ca7a4
2 1575 1698191664212277368 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1575 1630 1698191664268278312 insane_dns 65fd02f0d52ca7a4
2 1591 1698192507014304132 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1591 1652 1698192507074305132 insane_dns 65fd02f0d52ca7a4
2 1627 1698192595807786686 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1627 1686 1698192595867787689 insane_dns 65fd02f0d52ca7a4
2 1623 1698192623680252471 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1623 1684 1698192623744253540 insane_dns 65fd02f0d52ca7a4
2 1589 1698192660416866662 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1589 1650 1698192660476867666 insane_dns 65fd02f0d52ca7a4
2 1654 1698193406837388095 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1654 1717 1698193406901389170 insane_dns 65fd02f0d52ca7a4
2 1614 1698193427981743496 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1614 1674 1698193428041744504 insane_dns 65fd02f0d52ca7a4
2 1625 1698193526199394638 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1625 1678 1698193526255395580 insane_dns 65fd02f0d52ca7a4
2 1608 1698194085976942547 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1608 1669 1698194086036943611 insane_dns 65fd02f0d52ca7a4
2 1642 1698194099041174258 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1642 1704 1698194099101175322 insane_dns 65fd02f0d52ca7a4
1 1534 1698194136693840760 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1534 1590 1698194136749841750 insane_dns 65fd02f0d52ca7a4
2 1547 1698194192126818673 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1547 1606 1698194192186819729 insane_dns 65fd02f0d52ca7a4
2 1557 1698194201290979985 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1557 1615 1698194201346980971 insane_dns 65fd02f0d52ca7a4
2 1556 1698194249211821986 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1556 1612 1698194249267822969 insane_dns 65fd02f0d52ca7a4
2 1599 1698194263556073546 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1599 1662 1698194263620074668 insane_dns 65fd02f0d52ca7a4
2 1579 1698194327813197966 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1579 1637 1698194327869198944 insane_dns 65fd02f0d52ca7a4
2 1653 1698194344829495091 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1653 1713 1698194344889496137 insane_dns 65fd02f0d52ca7a4
2 1623 1698194397906420301 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1623 1683 1698194397962421277 insane_dns 65fd02f0d52ca7a4
2 1562 1698194421578832217 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1562 1621 1698194421638833260 insane_dns 65fd02f0d52ca7a4
2 1612 1698194438939134037 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1612 1673 1698194438999135080 insane_dns 65fd02f0d52ca7a4
2 1640 1698194509392356754 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1640 1704 1698194509456357864 insane_dns 65fd02f0d52ca7a4
2 601 1698195484557084838 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o abc003c343268699
2 302 1698195550378207447 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o 44105d2814a3e9f7
2 631 1698195550706213041 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o abc003c343268699
632 790 1698195550854215564 libraries/BLT/libBLT.a 7458b833d4d035d7
2 301 1698195587722844212 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o 44105d2814a3e9f7
2 637 1698195588058849943 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o abc003c343268699
637 799 1698195588210852533 libraries/BLT/libBLT.a 7458b833d4d035d7
2 1673 1698195589094867607 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1673 1732 1698195589150868561 insane_dns 65fd02f0d52ca7a4
2 296 1698195693964655201 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o 44105d2814a3e9f7
2 627 1698195694292660791 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o abc003c343268699
627 776 1698195694432663176 libraries/BLT/libBLT.a 7458b833d4d035d7
2 1622 1698195695288677765 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1623 1679 1698195695344678720 insane_dns 65fd02f0d52ca7a4
2 1629 1698195703836823442 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1629 1688 1698195703896824464 insane_dns 65fd02f0d52ca7a4
2 1553 1698195714481004834 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1553 1612 1698195714541005856 insane_dns 65fd02f0d52ca7a4
2 315 1698198209521762149 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o 44105d2814a3e9f7
3 339 1698198255722598708 libraries/BLT/CMakeFiles/BLT.dir/src/blt/std/filesystem.cpp.o 44105d2814a3e9f7
3 675 1698198256054604702 libraries/BLT/CMakeFiles/BLT.dir/src/blt/nbt/nbt.cpp.o abc003c343268699
675 845 1698198256214607589 libraries/BLT/libBLT.a 7458b833d4d035d7
3 1668 1698198257046622610 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1668 1728 1698198257106623693 insane_dns 65fd02f0d52ca7a4
2 1592 1698198818288501800 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1592 1651 1698198818348502837 insane_dns 65fd02f0d52ca7a4
2 1548 1698198836620818648 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1548 1607 1698198836680819683 insane_dns 65fd02f0d52ca7a4
2 1553 1698198876625509243 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1553 1612 1698198876685510278 insane_dns 65fd02f0d52ca7a4
2 1567 1698199137845995829 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1567 1626 1698199137905996857 insane_dns 65fd02f0d52ca7a4
300 2549 1698190943452143215 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/local/iostream_client.cpp.o 8e37a1e1936349f4
6 2725 1698190937132037138 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/client/sync_client.cpp.o ebab719c21a3ea67
289 2886 1698190937292039824 CMakeFiles/insane_dns.dir/libraries/asio-1.28.1/src/examples/cpp03/http/server2/reply.cpp.o f0442f2bd7450181
2 1681 1698213069310371608 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1681 1743 1698213069374372678 insane_dns 65fd02f0d52ca7a4
2 1628 1698213181260243319 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1628 1682 1698213181316244256 insane_dns 65fd02f0d52ca7a4
2 1647 1698213259721557049 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1647 1707 1698213259781558054 insane_dns 65fd02f0d52ca7a4
2 1704 1698213507821719031 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1704 1766 1698213507885720106 insane_dns 65fd02f0d52ca7a4
2 1573 1698214332967605429 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1574 1628 1698214333023606373 insane_dns 65fd02f0d52ca7a4
2 1664 1698214608028779977 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1664 1722 1698214608084781075 insane_dns 65fd02f0d52ca7a4
2 1649 1698214939939083215 CMakeFiles/insane_dns.dir/src/main.cpp.o e5cc6493a607c0c0
1649 1711 1698214940003084399 insane_dns 65fd02f0d52ca7a4

View File

@ -1,3 +1,3 @@
Start testing: Oct 24 21:58 EDT
Start testing: Oct 25 02:22 EDT
----------------------------------------------------------
End testing: Oct 24 21:58 EDT
End testing: Oct 25 02:22 EDT

Binary file not shown.

@ -1 +1 @@
Subproject commit d59cfd0d4ab5700a92d7248277bb4d128cb130b4
Subproject commit 96af65a675c7bf04c65f3f73c308d8b1ce244ecd

View File

@ -1,3 +1,7 @@
/**
*
*/
#include <iostream>
#include <asio.hpp>
@ -9,95 +13,189 @@
using asio::ip::udp;
// DNS data contains:
// 2 bytes for transaction id
// 2 bytes for flags
// 2 bytes for number of questions
// 2 bytes for Answer RRs
// 2 bytes for Authority RRs
// 2 bytes for Additional RRs
// question format:
// 1 byte for length
// (length) bytes per section
// ... until length 0
// 2 bytes for QTYPE (useless)
// 2 bytes for QCLASS (useless)
// answer format:
// 2 byte for domain name (offset ptr, still not 100 on from where)
// 2 byte for type
// 2 byte for class
// 4 byte for time to live
// 2 byte for length of data
// (lengthy) byte for data
class byte_reader
{
private:
unsigned char* data;
size_t current_byte = 0;
mutable size_t current_byte = 0;
public:
explicit byte_reader(unsigned char* data): data(data)
{
reset();
}
inline void reset()
inline void reset() const
{
// magic number for end of header
current_byte = 12;
}
inline unsigned char next()
inline unsigned char& next() const
{
return data[current_byte++];
}
template<typename T>
inline void to(T& t) const
{
blt::mem::fromBytes(&data[current_byte], t);
skip(sizeof(T));
}
inline void copy(unsigned char*& out, size_t size) const
{
std::memcpy(out, &data[current_byte], size);
current_byte += size;
}
inline void skip(size_t s = 1) const
{
current_byte += s;
}
};
class question
{
private:
std::string domain;
public:
explicit question(const byte_reader& reader)
{
// process the full question
while (true)
{
uint8_t length = reader.next();
if (length == 0)
break;
if (!domain.empty())
domain += '.';
for (uint8_t j = 0; j < length; j++)
domain += static_cast<char>(reader.next());
}
// Skip QTYPE and QCLASS
reader.skip(4);
}
const std::string& operator()()
{
return domain;
}
};
class answer
{
private:
uint16_t NAME = 0;
uint16_t TYPE = 0;
uint16_t CLASS = 0;
uint32_t TTL = 0;
uint16_t RDLENGTH = 0;
unsigned char* RDATA = nullptr;
public:
explicit answer(const byte_reader& reader)
{
reader.to(NAME);
reader.to(TYPE);
reader.to(CLASS);
reader.to(TTL);
reader.to(RDLENGTH);
RDATA = new unsigned char[RDLENGTH];
reader.copy(RDATA, RDLENGTH);
BLT_TRACE("%d, %d, %d, %d, %d", NAME, TYPE, CLASS, TTL, RDLENGTH);
}
// rule of 3
answer(const answer& answer) = delete;
answer& operator=(const answer& answer) = delete;
~answer()
{
delete[] RDATA;
}
};
template<typename IN, typename OUT>
void sendUDPMessage(const std::string& host, const IN& in, size_t in_size, OUT& out, size_t& out_size) {
asio::io_context io_context;
udp::resolver resolver(io_context);
udp::endpoint receiver_endpoint(asio::ip::address::from_string(host), 53);
udp::socket socket(io_context);
socket.open(udp::v4());
socket.send_to(asio::const_buffers_1(in, in_size), receiver_endpoint);
udp::endpoint sender_endpoint;
out_size = socket.receive_from(asio::buffer(out), sender_endpoint);
}
int main()
{
try
{
asio::io_context io_context;
udp::socket socket(io_context, udp::endpoint(udp::v4(), 5555));
udp::socket socket(io_context, udp::endpoint(asio::ip::address::from_string("0.0.0.0"), 5555));
while (true)
{
std::array<unsigned char, 65535> recv_buf{};
std::array<unsigned char, 65535> mod_recv_buf{};
udp::endpoint remote_endpoint;
size_t bytes = socket.receive_from(asio::buffer(recv_buf), remote_endpoint);
// UDP data contains:
// 2 bytes for transaction id
// 2 bytes for flags
// 2 bytes for number of questions
// 2 bytes for Answer RRs
// 2 bytes for Authority RRs
// 2 bytes for Additional RRs
// question format:
// 1 byte for length
//
// get the number of questions
uint16_t questions; // yes I made this part of my library just for this :3
blt::mem::fromBytes(&recv_buf[4], questions); // i hate little endian
// the reader starts after the header to make things easier
byte_reader reader(recv_buf.data());
BLT_INFO("Bytes received: %d with %d questions", bytes, questions);
// no one actually does multiple questions. trying to do it in dig is not easy
// and the standard isn't really designed for this (how do we handle if one question errors but the other doesn't? there is only
// one return code.)
for (uint16_t i = 0; i < questions; i++)
{
std::string domain;
while (true)
{
uint8_t length = reader.next();
if (length == 0)
break;
if (!domain.empty())
domain += '.';
for (uint8_t j = 0; j < length; j++)
domain += static_cast<char>(reader.next());
}
BLT_INFO("DOMAIN: %s", domain.c_str());
question q(reader);
BLT_INFO("DOMAIN: %s", q().c_str());
}
// for (size_t i = 0; i < bytes; i++)
// {
// std::cout << recv_buf[i] << " ";
// }
// std::cout << std::endl;
// for (size_t i = 0; i < bytes; i++)
// {
// std::cout << std::hex << std::uppercase << ((unsigned short)recv_buf[i]) << std::nouppercase << std::dec << " ";
// }
// std::cout << std::endl;
size_t out_bytes;
sendUDPMessage("8.8.8.8", recv_buf.data(), bytes, mod_recv_buf, out_bytes);
std::string message = "Hello!";
byte_reader reader2(mod_recv_buf.data());
question q(reader2);
answer a(reader2);
asio::error_code ignored_error;
socket.send_to(asio::buffer(message),
remote_endpoint, 0, ignored_error);
socket.send_to(asio::const_buffers_1(mod_recv_buf.data(), out_bytes), remote_endpoint, 0, ignored_error);
}
}
catch (std::exception& e)