Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mli42/at42ft_ping


https://github.com/mli42/at42ft_ping

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# ft_ping

## Prerequisites

- [Vagrant](https://www.vagrantup.com/)
- [Virtual Box](https://www.virtualbox.org/)

## Usage

### Virtual Machine

```sh
# Start the Virtual Machine
make vm.up
# Connect through SSH
make vm.ssh
# Open wireshark with X11 forwarding
wireshark
```

You can log in as `root:vagrant`

### ft_ping

```sh
make
sudo ./ft_ping [OPTIONS...] HOST
```

```
Options:
-v, --verbose print verbose messages
-?, --help display this help and exit
--ttl=NUM set time-to-live for the cache (<= 255)
```

## Sources

- [How to: Calculate ICMP Packet checksum](https://www.ietf.org/rfc/rfc1071.txt) (page 6)