Task 1: Preparation

You can find the starter files in the directory: switchyard/examples/exercises/firewall. Let's start with it.

  1. Create a directory named lab_7 in switchyard.
  2. Copy examples/exercises/firewall/start_mininet.py to lab_7/start_mininet.py.
  3. Copy examples/exercises/firewall/firewall.py to lab_7/firewall.py.
  4. Copy examples/exercises/firewall/firewalltests.py to lab_7/firewalltests.py.
  5. Copy examples/exercises/firewall/www/start_webserver.sh to lab_7/www/start_webserver.sh.
  6. Download the rules text file firewall_rules.txt into the folder lab_7.

Finally, your project will look like

switchyard
  ├─docs/
  ├─.../
+ ├─lab_7/
+ │ ├─123456789拾佰仟_lab_7.pdf
+ │ ├─firewall.py
+ │ ├─firewall_rules.txt
+ │ ├─firewalltests.py
+ │ ├─www
+ │ │ ├─start_webserver.sh
  │ ├─...
+ │ └─start_mininet.py
  ├─.gitignore
  └─...

[!WARNING] All of your modifications should be done on the files under your directory lab_7. We will check and compare the git commits to judge the originality of your work. So remember to commit every time you complete one small task.

results matching ""

    No results matching ""