ft_ping base

Attempt to use the project with options.

Foreword

Before starting the evaluation, make sure that:

  • Your project must be in C
  • All libC is authorised
  • However using the system ping or the sources of a standard ping in any way is forbidden. (ping and execve functions are forbidden)
  • one Makefile containing the usual rules is present.

If one of the conditions has not been met, evaluation stops.

Checking arguments

The program checks that user has the necessary permissions and executes
correctly with the "?" option. It displays a simple, clear and correct
explanation of its use.


ft_ping ip

For all the grading system questions, you will compare the standard output with the system ping command with a diff. A 30ms +/- difference on a package will be tolerated. The tested address' DNS resolution in the return package is not mandatory. The final line (concerting the RTT) will be ignored. Program stop will be prompted by CTRL+C.

ft_ping good ip

Run the program with a valid and functional IPv4 address as a parameter.

Does the program work like the system ping ?

Reminder: A 30ms +/- difference on a package will be tolerated.

ft_ping bad ip

Run the program with a valid and non-functional IPv4 address as a parameter.

Does the program work like the system ping?

ft_ping -v bad ip

Run the program with with the otion "-v" on a valid and non-functional
IPv4 address.

The evaluated student will have to clearly explain the display return
of their program.


ft_ping hostname

ft_ping good hostname

Run the program with a valid and functional hostname as a parameter.

Does the program work like the system ping?

ft_ping bad hostname

Run the program with a valid and non-functional hostname as a parameter.

Does the program work like the system ping?

ft_ping -v bad hostname

Run the program with the option "-v" on a valid and non-functional
hostname as a parameter.

The TTL value will have to be modified. (you can use the flag --ttl if
the student has implemented it otherwise change the hardcoded value and
recompile the executable)

The evaluated student will have to clearly explain what their the display
of their program.


ft_ping bonus

Bonus will be taken into account only if ALL the previous points are valid.

Bonus made for this project

For this project, you can take into account up to 5 different bonuses.

Check the subject for valid and invalid bonuses.

Rate it from 0 (failed) through 5 (excellent)

Ratings

Don’t forget to check the flag corresponding to the defense

Conclusion

Leave a comment on this evaluation ( 2048 chars max )