Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mli42/at42ft_ping
https://github.com/mli42/at42ft_ping
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/mli42/at42ft_ping
- Owner: mli42
- Created: 2023-09-25T13:10:26.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T12:10:55.000Z (10 days ago)
- Last Synced: 2024-10-29T13:25:22.304Z (10 days ago)
- Language: C
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)