ping: icmp echo requests
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
This library provides functions that have similar behavior as the unix command-line utility ping. In particular, both emit ICMP echo requests and wait for responses. This library uses a haskell implementation of ICMP rather than invoking `binping`. This avoids the costly process of starting a child process. Additionally, there are greater opportunities for reusing sockets. The cost of this is that the user must ensure that one of these is true:
The kernel parameter
net.ipv4.ping_group_range
has been configured to allow pings to all IP addresses. (preferred solution)The process is running with the the
CAP_NET_RAW
capability.The process is running as root. (worst solution)
Properties
Versions | 0.1.0.0, 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.11.1 && <5), cpu (>=0.1.2), ip (>=1.4), posix-api (>=0.1), primitive (>=0.6.4), primitive-containers (>=0.3.1), stm (>=2.5), transformers (>=0.5.5) [details] |
License | BSD-3-Clause |
Copyright | 2018 Andrew Martin |
Author | Andrew Martin |
Maintainer | andrew.thaddeus@gmail.com |
Category | Network |
Home page | https://github.com/andrewthad/ping |
Uploaded | by andrewthad at 2019-01-02T19:51:40Z |
Modules
- Network
- Icmp
- Network.Icmp.Ping
- Icmp
Downloads
- ping-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees