Homework 1 Due Date: 2023-10-09 23:59:59 Submission: via GitLab repo
Introduction
This homework is intended for you to provide verification of a functional mini-lab environment. You will be using this environment for the rest of the term. In theory, you have already completed nearly all of this. However, I want to make sure that you have a working environment before we get too far into the term.
All work will be submitted via MarkDown documents within a gitlab repo. You will be using this repo for the rest of the term. This repo exists on the CECS intranet.
Make sure the following is the last line of your /etc/pf.conf
file:
pass out on $int_if from $int_if:network to any
Tasks
- Create a private GitLab repo called
secdevops-su24-<CECS>
(replacewith your actual MCECS username) and clone it to your local machine. You will be using this repo for the rest of the term. This repo exists on the CECS intranet, and uses your CECS credentials for authentication. - Add
dmcgrath
as members of your repo. This will allow us to view your repo and provide feedback. - Create a folder within the repo called
hw1
. This is where you will add documentation regarding this assignment. - Now that you have your repo set up, we’ll be turning to the systems. Ensure that your BSD host has a running firewall and that your Ubuntu system is accessible. I would suggest you document everything you did in a markdown file in your repo called
hw1.md
.- Create and store appropriate SSH keys for both hosts.
- While you were given a key for the BSD system, I want you to generate a new one (while leaving the old one in place!).
- Create a key for the ubuntu system.
- Ensure that you have Agent forwarding enabled in your local SSH client, and appropriate keys defined for both hosts.
- Include the contents of your
~/.ssh/config
file in yourhw1.md
file, to show you have a bastion or jump host configured.
- Take a screenshot of your FreeBSD terminal (after logging in) with the output of the command
ifconfig
andhostname
showing. Add this to your repo and include it in yourhw1.md
file. - Take a screenshot of the Ubuntu terminal with the output of the command
ip a s
showing. Add this to your repo and include it in yourhw1.md
file.
- Create and store appropriate SSH keys for both hosts.
- Follow the instructions on the Ubuntu configuration page to configure the Ubuntu host. Document this in your
hw1.md
file.
Submission
Once you have completed the above, you should have a markdown file in your repo called hw1/hw1.md
that contains all the requested information above. Commit and push this to your repo. Also commit and include the requested screenshots. Once you have done this, you can consider the assignment submitted.