Open main menu

CDOT Wiki β

Changes

OPS335 - Assignment 2

104 bytes added, 12:08, 17 May 2019
no edit summary
== Purpose ==
In this assignment, you will use the '''335assign virtual network''' and the '''blofeldconcept''' cloning-source that you created in assignment 1 (part 1) to create two e-mail servers: a '''Mail Transfer Agent''' called '''carversubway''' and a ''Message Store'' (IMAP) called '''draxarbys'''. You will also use the '''blofeldconcept''' cloning source to create a Samba server called '''zorinmcdonalds'''. In addition to creating those Linux servers, you will also be required to create a virtual machine for an MS Windows operating system to test-out your Samba server. As you perform and submit this assignment, you '''MUST''' run the '''wintwendys''' Master Name server and '''kiddharveys''' Slave server in order to resolve domain names to IP addresses.
== General Requirements ==
{{Admon/important|It is YOUR responsibility to Backup all of your VMs for this Assignment!|You are required to frequently backup your VMs prior to exiting a work session during this assignment. Your instructor will NOT accept the fact that your hard disk crashed and lost all of your work. If you properly backed up your VM images and xml configuration files to a USB, then you can purchase a new hard-disk or wipe and recreate your hard disk and restore your VMs. Students who fail to submit their assignment #2 by the last day of scheduled classes will receive an INC grade (assuming they passed all of the other requirements for this course) and will be required to show their instructor their working assignment #2 no later than 4PM on the first Tuesday of the next semester; otherwise, they will fail the course. Students with accommodations should discuss arrangements regarding due dates / submission of assignment #2. Students that are missing both of assignment #1 and assignment #2 will fail this course.}}<br /><br />
=== Set-up Mail Transfer Agent ('''carversubway''')===
Perform the following steps for this section:
#Create a clone virtual machine called '''carversubway''' from the '''blofeldconcept''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#Any mail sent directly from this machine will use the domain as the sending address (i.e. user@bond.villains.ops)
#You are NOT required to encrypt received email messages.
#This machine will relay received email messages for any user account in the '''bond.villains.ops''' domain to '''draxarbys.bond.villains.ops'''.
=== Set-up Mail Delivery Agent / Message Store ('''draxarbys''') ===
Perform the following steps for this section:
#Create a clone virtual machine called '''draxarbys''' from the '''blofeldconcept''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password.
#This machine will use postfix's built-in LDA to store received emails in maildir format in a sub-directory of each users' home directory called mailboxes.
#Any mail sent to root will be automatically delivered into the mailbox of the '''regular user''' created above.
#Configure your Thunderbird application (installed in Lab 4b) to allow the user to send and receive email messages using the '''carversubway''' and '''draxarbys''' servers.
Add MX records to the forward lookup zone on your master DNS server so that all incoming mail addressed to the domain is sent to your IMAP server ('''draxarbys''') first, and the MTA ('''carversubway''') as a fall-back.
=== Set-up a Samba Server ('''zorinmcdonalds''')===
Perform the following steps for this section:
#Create a clone virtual machine called '''zorinmcdonalds''' from the '''blofeldconcept''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password.
<ol><li value="6">Set up permissions/ownership on those directories for your Linux users on the file server so that:<ol type="a"><li>'''tarot-yoursenecaid''' and '''octopus-yoursenecaid''' have '''read/write''' access to their own <u>private</u> directories.</li><li>'''spectre-yoursenecaid''' has '''read/write''' access to <u>every</u> directory.</li><li>Everyone has '''read''' access to the '''conquest''' directory (but only the '''spectre''' has '''write''' access too).</li><li>Everyone can both '''read''' and '''write''' to the '''domination''' directory.</li></ol></li><li>Set up '''three''' Samba users to mirror your new Linux users.</li><li>Configure '''five''' shares (one for each of tarot, octopus, spectre, conquest, and domination) with permissions as close as possible to the Linux permissions.</li></ol>
=== Set-up Windows Client to Test Samba server ('''zorinmcdonalds''')===
Perform the following steps for this section:
=== Network Configuration ===
As you will now have functioning primary and secondary DNS servers, modify your network configuration file for the '''carversubway''', '''draxarbys''', and '''zorinmcdonalds''' servers specify the correct IPADDR.
=== Table of Virtual Machines / DNS Records ===
| style="border: 2px solid black;" |Purpose
|-style="background-color:#66cccc; border: 2px solid black;"
| style="border: 2px solid black;" |'''nohungry.bondrestaurant.villainsfastfood.ops''' (your existing host)| style=border: 2px solid black;" |External Facing Address:''' DHCP assigned'''<br>Internal Virtual Bridge (virbr1):''' 172.1921.15.1'''
| style="border: 2px solid black;" | Your '''host''' machine
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''blofeldconcept.bondrestaurant.villainsfastfood.ops''' | style="background-color:#66cccc; border: 2px solid black;" | '''172.1921.15.100'''
| style="background-color:#66cccc; border: 2px solid black;" |'''Cloning-source''' used to create other servers for other assignments.
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''wintwendys.bondrestaurant.villainsfastfood.ops''' | style="background-color:#66cccc; border: 2px solid black;" | ''' 172.1921.15.2'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Master''' Name Server
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''kiddharveys.bondrestaurant.villainsfastfood.ops'''| style="background-color:#66cccc; border: 2px solid black;" | '''172.1921.15.3'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Slave''' Name Server
|- style="background-color:white;"
| style="background-color:#66cccc; border: 2px solid black;" | '''carversubway.bondrestaurant.villainsfastfood.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | ''' 172.19.1.5'''
| style="background-color:#66cccc; border: 2px solid black;" | '''SMTP''' mail Server
|- style="background-color:white; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''draxarbys.bondrestaurant.villainsfastfood.ops''' | style="background-color:#66cccc; border: 2px solid black;" | '''172.1921.15.6'''
| style="background-color:#66cccc; border: 2px solid black;" | '''IMAP''' mail Server
|- style="background-color:white;"
| style="background-color:#66cccc; border: 2px solid black;" | '''zorinmcdonalds.bondrestaurant.villainsfastfood.ops''' | style="background-color:#66cccc; border: 2px solid black;" | '''172.1921.15.8'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Samba''' Server
|}
In addition to the basic firewall established in assignment 1, ensure the following restrictions are met:
#Any machine may send smtp traffic to '''carversubway''' and '''draxarbys'''.#Only machines in the local network may send IMAP traffic to '''draxarbys'''.#Only machines in the local network may access the samba shares on '''zorinmcdonalds'''.
== Assignment Submission ==
|-
|
:::Proof of SMTP Server Running on '''carversubway''' server
| style="text-align:right" | /1
|-
|
:::E-mails sent from '''carversubway''' and '''zorinmcdonalds''' servers to '''draxarbys''' server (user@IP_ADDR)
| style="text-align:right" | /1
|-
|
:::E-mails sent from '''carversubway''' and '''zorinmcdonalds''' servers to '''draxarbys''' server (user@DOMAIN_NAME)
| style="text-align:right" | /1
|-
| width=10% style="text-align:right;font-weight:bold" | Mark
|-
| colspan=2 | '''Mail Transfer Agent (carversubway) - General Configuration'''
|-
|
13,420
edits