Commit Graph

  • 98e103a984 #1752: added documentation for DNS Client and Server Czar Echavez 2023-09-13 09:48:38 +01:00
  • b0478f4e88 #1752: added positions to ACL rules for UC2 network to prevent rules being overwritten Czar Echavez 2023-09-13 08:46:22 +01:00
  • f29477a50a Merge branch 'dev' into feature/1752-dns-server-and-client Czar Echavez 2023-09-12 14:34:15 +01:00
  • 69c3f97cd9 Merged PR 178: Database Client/Server Simulation Christopher McCarthy 2023-09-12 13:31:08 +00:00
  • 8b6bc84321 #1752: simplifying the DNS implementation - switch to TCP + fixing the DNS integration test Czar Echavez 2023-09-12 13:37:11 +01:00
  • 275115f4dd Updated pull_request_template.md Marek Wolan 2023-09-12 12:12:38 +00:00
  • fb96ef18c0 #1752: remove unnecessary changes Czar Echavez 2023-09-12 09:32:28 +01:00
  • 1a81285b76 #1752: Added send+receive functionality for DNS client and server + tests + added simulation_output to gitignore Czar Echavez 2023-09-12 08:46:07 +01:00
  • ee730d4ab0 Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client Czar Echavez 2023-09-11 16:22:18 +01:00
  • 695b3ceab4 #1816 - Updated the DataManipulationBot to subclass DatabaseClient. Extended logging. Dropped the Link loading logging as it was clogging up the terminal output. Chris McCarthy 2023-09-11 16:15:03 +01:00
  • 4c67365d4f Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client Czar Echavez 2023-09-11 15:23:39 +01:00
  • f19dc9892b #1816 - Fixed tests. Used node and link added number (id) in observation space. Chris McCarthy 2023-09-11 11:31:03 +01:00
  • 5a101d5426 Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client Czar Echavez 2023-09-11 09:50:16 +01:00
  • 388176b8bd #1816 - Added full documentation on the database client/server, and the internal frame processing process Chris McCarthy 2023-09-11 09:30:40 +01:00
  • 5cd1e2edf0 Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client Czar Echavez 2023-09-11 08:58:13 +01:00
  • b1d8666c16 #1816 - Added database client. Installed the database client on the Web Server node in the UC2 network. Updated the integration test to query the DB server using the DB client. Chris McCarthy 2023-09-08 16:50:49 +01:00
  • 97a38efc27 Merge branch 'feature/1816_Database-Service-(Network-and-User-Interaction)' into feature/1752-dns-server-and-client Czar Echavez 2023-09-08 10:41:03 +01:00
  • ceac89e778 #1816 - DatabaseService now uses the send function when responding. Chris McCarthy 2023-09-08 10:15:26 +01:00
  • 6f2f23e04f #1752: update changelog Czar Echavez 2023-09-07 15:59:46 +01:00
  • 47dd23311b #1752: added more functionality to DNS client and server + tests Czar Echavez 2023-09-07 15:45:37 +01:00
  • 2f744af34e #1816 - Added the final pieces of the puzzle to get data up from NIC → session manager → software manager → service. - Implemented a basic sim DB that matches UC2 data manipulation DB in IY. - Added a test that confirms DB queries can be sent over the network. Chris McCarthy 2023-09-06 22:26:23 +01:00
  • 6b41bec32a #1816 - Added the final pieces of the puzzle to get data up from NIC → session manager → software manager → service. - Implemented a basic sim DB that matches UC2 data manipulation DB in IY. - Added a test that confirms DB queries can be sent over the network. Chris McCarthy 2023-09-06 22:01:51 +01:00
  • 2cb0c238c9 Merge branch 'dev' into feature/1752-dns-server-and-client Czar Echavez 2023-09-06 13:42:07 +01:00
  • 65b027bc06 Merge branch 'dev' into feature/1816_Database-Service-(Network-and-User-Interaction) Chris McCarthy 2023-09-06 13:37:06 +01:00
  • 4f89adb19a Start changing to dict instead of string actions. Marek Wolan 2023-09-06 12:51:47 +01:00
  • 6b9928c9b9 Merged PR 175: Red Service Data Manipulator Bot Czar Echavez 2023-09-06 11:40:29 +00:00
  • 7c157d27d7 #1800 - Simplified a bunch of stuff in the file system in prep for services and applications. Started adding the database logic. Waiting for the software manager/session manager work from another ticket. Chris McCarthy 2023-09-06 11:35:41 +01:00
  • 597c7664bc #1814: update changelog Czar Echavez 2023-09-06 11:19:30 +01:00
  • d503e51c2d #1814: Remove hardcoded values + added test + remove unnecessary private parent attribute Czar Echavez 2023-09-06 11:12:03 +01:00
  • c349bb4484 #1814: initial implementation of data manipulator service Czar Echavez 2023-09-05 17:14:47 +01:00
  • 1dccceaf56 Verify that action tree is starting to work! Marek Wolan 2023-09-05 15:53:22 +01:00
  • ffe1e92664 Make actions more recursive Marek Wolan 2023-09-05 14:51:25 +01:00
  • 2b68ed813c Make actions more recursive Marek Wolan 2023-09-05 14:51:04 +01:00
  • 0c362da789 Merge remote-tracking branch 'origin/dev' into feature/1812-traverse-actions Marek Wolan 2023-09-05 13:20:20 +01:00
  • 0493c2062c Merged PR 173: Database service (without networking) Marek Wolan 2023-09-04 19:41:17 +00:00
  • 1385adf3fe Merge remote-tracking branch 'devops/dev' into feature/1801-Database Chris McCarthy 2023-09-04 19:45:29 +01:00
  • 0892a976fd Apply suggestions from code review Christopher McCarthy 2023-09-04 18:37:05 +00:00
  • c547f12f4e Merged PR 158: Sync with the downstream GitHub repo Christopher McCarthy 2023-09-04 18:21:19 +00:00
  • 482a5fc5e9 Merged PR 174: Router Node Christopher McCarthy 2023-09-04 16:56:41 +00:00
  • 289f818266 Apply suggestions from code review Marek Wolan 2023-09-04 16:11:47 +00:00
  • dc9601bf30 Merge remote-tracking branch 'devops/dev' into downstream_github_sync Chris McCarthy 2023-09-04 16:46:14 +01:00
  • f3f8d02fcb Merge remote-tracking branch 'github/dev' into downstream_github_sync Chris McCarthy 2023-09-04 16:45:23 +01:00
  • 596ad20cc6 #1800 - Added better logging and error messages to AccessControlList class. Updated usage of extra following pydantic deprecated warning "pydantic.config.Extra is deprecated, use literal values instead (e.g. extra='allow')" Chris McCarthy 2023-09-04 16:44:29 +01:00
  • ccad5ba8a3 #1800 - Ran pre-commit Chris McCarthy 2023-09-04 16:34:55 +01:00
  • 5981bc7255 Merge remote-tracking branch 'devops/feature/1800_model-a-basic-router-subclass-of-node' into feature/1800_model-a-basic-router-subclass-of-node Chris McCarthy 2023-09-04 14:58:52 +01:00
  • 3075d1985b #1800 - Renamed all ip fields so that they're post-fixed with ip_address Chris McCarthy 2023-09-04 14:58:34 +01:00
  • d9feb67e02 Apply suggestions from code review Christopher McCarthy 2023-09-04 11:20:40 +00:00
  • 05959e5408 #1800 - Moved the Switch code to a dedicated switch.py module. - Added more switch tests. - Updated ACL tests to use router acl. - Updated more docs. - Moved the Jupyter notebooks to _package_data and fixed up the setup to move all notebooks to ~/primaite/notebooks/example_notebooks. Chris McCarthy 2023-09-04 12:14:24 +01:00
  • 33b4911cb1 Move actions to pydantic Marek Wolan 2023-09-04 10:20:06 +01:00
  • 5111affeeb #1800 - Added more docstrings and rst docs. - Extended the .show functionality to enable markdown format too. Chris McCarthy 2023-09-01 16:58:21 +01:00
  • d55fd835c7 Merge remote-tracking branch 'origin/dev' into feature/1801-Database Marek Wolan 2023-08-31 14:56:31 +01:00
  • 61fa83a00d Fix failing test Marek Wolan 2023-08-31 14:55:14 +01:00
  • 89ad22aceb #1800 - Synced with dev. - Added the UC2 network. - Added a Computer class. Chris McCarthy 2023-08-31 13:35:56 +01:00
  • 415ee3b3a7 Merge branch 'dev' into feature/1800_model-a-basic-router-subclass-of-node Chris McCarthy 2023-08-31 11:39:21 +01:00
  • bd5aacaf0c Remove todo comments Marek Wolan 2023-08-31 11:32:11 +01:00
  • f60f775f03 Improve logging Marek Wolan 2023-08-31 11:27:52 +01:00
  • 7759c178bb Add logging and service restarting Marek Wolan 2023-08-31 11:20:16 +01:00
  • 3368376596 Merged PR 172: Methods for adding, removing, connecting and disconnecting nodes in the network. Marek Wolan 2023-08-31 10:04:11 +00:00
  • e73d7f49d6 #1800 - Fixed routing and processing of ICMP packets in the Router class Chris McCarthy 2023-08-31 11:03:38 +01:00
  • 62be66205c Fix unit tests Marek Wolan 2023-08-31 10:57:45 +01:00
  • 1bf51c7741 #1800 - Added ACL and routing classes. - Added .show() methods to new router classes to enable inspection of the components as you would a real router. - Removed gateway from the NIC and added default_gateway to Node so that Node has a single default gateway. - Added some routing tests to check that ping can be performed when router between subnets. Chris McCarthy 2023-08-30 21:38:55 +01:00
  • 40d3e04e64 Move init action manager function to the top Marek Wolan 2023-08-29 14:33:28 +01:00
  • f0b82cbdfb Add ability to uninstall service Marek Wolan 2023-08-29 14:15:49 +01:00
  • 9c8b7a7b7a Merge remote-tracking branch 'origin/feature/1789-add-convenience-methods-to-network-object' into feature/1801-Database Marek Wolan 2023-08-29 13:22:14 +01:00
  • 94325d1fde Add Install method to software. Marek Wolan 2023-08-29 13:21:34 +01:00
  • 7b61322e70 Add service actions Marek Wolan 2023-08-29 12:34:41 +01:00
  • 1eff41c786 Update docs based on new action options Marek Wolan 2023-08-29 11:10:29 +01:00
  • 319e87d200 Make changes to the way actions work Marek Wolan 2023-08-28 22:34:20 +01:00
  • 6e602aa151 Fix unit tests by removing warning checks Marek Wolan 2023-08-25 17:56:05 +01:00
  • ae6e835955 Apply suggestions from code review. Marek Wolan 2023-08-25 15:58:07 +01:00
  • a9e969aa13 init work on database Marek Wolan 2023-08-25 15:29:53 +01:00
  • c6f71600fc #1800 - Fixed the ping functionality so that it actually checks for replies and returns True if the right number of replies have been received. - Added the foundations of a Router class along with ACLRule and RouteTableEntry classes. Chris McCarthy 2023-08-25 09:07:32 +01:00
  • 2dd191bf32 Merge branch 'feature/1789-add-convenience-methods-to-network-object' into feature/1801-Database Marek Wolan 2023-08-24 14:41:09 +01:00
  • 05bb0f295b Update notebook tutorial on creating a simulation Marek Wolan 2023-08-24 13:06:45 +01:00
  • fec44aef53 Rename connect_nodes to connect and fix minor bug Marek Wolan 2023-08-24 13:03:16 +01:00
  • 78008e3c6e Fix container test Marek Wolan 2023-08-24 12:52:38 +01:00
  • 7058c7e9a8 Rename networkcontainer to network Marek Wolan 2023-08-24 12:41:46 +01:00
  • a818de8f01 Add ability to connect nodes via the network. Marek Wolan 2023-08-24 12:40:00 +01:00
  • f38b423886 Update comment Marek Wolan 2023-08-24 10:27:30 +01:00
  • 4077eb3a5c Add tests for network node adding/removal Marek Wolan 2023-08-24 10:26:17 +01:00
  • 01e8501bc1 Merged PR 169: Connect all components and add describe_state() methods Marek Wolan 2023-08-23 15:24:17 +00:00
  • a82ffb9747 Add notebook outputs back into src control Marek Wolan 2023-08-23 15:44:23 +01:00
  • 72b019287a Add scratch notebook to gitignore. Marek Wolan 2023-08-23 14:41:59 +01:00
  • 1613bbe27a Add methods for adding/removing nodes form network Marek Wolan 2023-08-23 14:41:30 +01:00
  • c1ba3b0850 #1752 - Added comments to ticket SunilSamra 2023-08-22 21:43:57 +01:00
  • 550b62f75d #1752 - Removed unnecessary print statement - Changed docstring on function check_domain_in_cache SunilSamra 2023-08-21 16:09:17 +01:00
  • 1a13af2f5e #1752 - Changed DNSReply and DNSResponse to have 1 parameter only SunilSamra 2023-08-21 14:11:53 +01:00
  • 7e64acd368 Update container docstrings Marek Wolan 2023-08-21 10:04:23 +01:00
  • 07b740a81e Update docs and changelog. Marek Wolan 2023-08-21 09:49:31 +01:00
  • a0b258a597 #1752 - Added a dns_lookup function to dns_server.py SunilSamra 2023-08-21 09:02:04 +01:00
  • 7c16a9cdde Update notebook Marek Wolan 2023-08-20 18:43:21 +01:00
  • 3911010777 update notebook Marek Wolan 2023-08-20 18:42:58 +01:00
  • 01c912c094 fix type hints and describe state functions Marek Wolan 2023-08-20 18:38:02 +01:00
  • 6ca53803cd Describe state Marek Wolan 2023-08-17 15:32:12 +01:00
  • 2919be3796 #1752 - Added web_browser.py application for DNS modelling SunilSamra 2023-08-17 14:20:09 +01:00
  • ced45d4275 Connect actions of top-level sim components Marek Wolan 2023-08-16 16:45:52 +01:00
  • 72cd9fd8e2 #1752 - Created dns.py protocol file with DNSPacket and DNSRequest and DNSReply packets - Added reset_component logic for dns_server.py and dns_client.py SunilSamra 2023-08-16 13:00:16 +01:00
  • 4fb88c94e8 Merge pull request #9 from Autonomous-Resilient-Cyber-Defence/dev main_backup Chris McCarthy 2023-08-15 16:13:16 +01:00
  • 76d404dc2f #1752 - Added dns_client.py and dns_server.py service files - Added new get_install method to software.py SunilSamra 2023-08-15 13:56:38 +01:00
  • 18f57d6418 Added PrimAITE_logo_transparent.png file Chris McCarthy 2023-08-15 13:56:06 +01:00