Submission Guidelines

Programming Assignment #4



Implementation Requirements

1- You should submit a tar file that contains the source code for your implementation.

2- Your main program should be a command line utility that reads a line of input in the form:

<command> <ipv6addr>

The command should be one of the following:

Ex:

ping fe90::0001

Ex:

traceroute fe90::0001

Ex:

exit

4- Your code should use the garb_sendto routine to send packets. You should never use sendto function in your code.

5- You should have the following options in your Makefile:

make clean (removes *.o, core, ping, traceroute, etc.)
make (compiles your source code and create an executable file named
node)

6- Like the previous programs, you should submit a tar file. The tar file should include:

    1. Makefile that compiles your implementation.
    2. Source code of your implementation.
    3. The typescripts output of running your implementation. There should be one typescript per node (numbered typescript.1, ...).

The code has to compile and run on the CSC cluster, i.e. on Alpha stations


Questions

1- How are you going to run my program?

1. First, I'll untar the submitted file. Please don't create any directories.

2- Then, copy network.parameters, network.config, and ipv6-garb.init to the current directory. The third file will contain the parameters needed to initialize the garbler.
You have to make sure that your code reads these files from the current directory.

3- Type "make". The name of the executable file should be node.
   There is no partial credit if your code does not compile successfully with no errors.

4- Run different tests on your program by using the command line tools.


2- What is the value that I should store in hop-count field?
The optimal value should be the diameter of the network. In this project assume that the max. hop count is 16.


3- How do I submit my project?
You make a tar archive and then call a certain program from my directory called submit. The exact path is

~jh41701/BIN/submit

Finally to submit your program, type

submit 4 filename

There is only one filename which is the tar file.


Grading Guidelines

These are only guidelines to give you a hint about what I am going to test in your code. The points may be redistributed later during grading the assignment.
 

Proper submission: submitted a tar file containing the files specified above specially Makefile.

10

ping utility (Echo Request/ Echo Response)

20

ping utility (Time Exceeded)

10

ping utility (destination unreachable)

10

traceroute

20

Error management (corrupted data, duplicate data packet, discarded data packet, …etc). You should use garb_sendto routine to send all your IPv6 packets.

30

Total points: 

100