Prerequisites:

Also helpful:

Hours/Week

Course Website:

Course Information:

Grading/Overall Grade:

Lateness policy: 2N-1% penalty where N is the number of days late

Motivations:

Problem 1:

Running N virtual machines (vm) on top a real server where all vm are connected to a root node. To copy every file from every vm sequentially into a tape for backup, we run tar -cf /dev/rmt/. To restore a particular vm, ex. vm27, we run tar -xf /dev/rmt/vm27. There is a loophole using symbolic link that allows us to get into another vm. Say we have vm27 and we want to break into vm28.

vir
// while tar is running
cd
echo foo > myfile
rm myfile
ln -s .../vm28/etc/password myfile
cat /myfile
// no such file

Since tar sees the same thing as ls, it will consider myfile as a regular file in which it will open. We then change myfile into a symbolic link using ln. This makes tar follow the link and delete all files in vm27 and ask for restoration from vm28.

Problem 2:

DNS: Domain Name System - maps domain to IP adress - often is too slow. To remedy this, DNS servers cache recently searched addresses. To attack this, we can ask a question to a DNS server about some unfamiliar address and send our own answer back before DNS answer arrives. This will poison the DNS cache with the wrong IP address. We can also attack a domain instead of a specific address by poisoning DNS and its delegation.

---------------------------------------------
Marina Weisband (Pirate Party DE in Germany) - "We don't offer ready made program but an entire operating system"

What is a system?

sys

Problems In Computer Systems

1. Waterbed effect (Tradeoff)

wtr

Example:

Sort a big array (1GB) using qsort - O(nlog(n))

qsort(a, 1<<20, 1<<10, cmp)

To improve, we could create an auxiliary array of index that points to the original array and sort the auxiliary array instead

qsort(i, 1<<20, sizeof(int), cmp')

Pros: Cons:

2. Incommensurate Scaling

Not everything scale at the same rate

swt
Economics of scale and disconomics of scale together makes system barely working.

3. Propagation of effects

pro