| 1 |
Metadata-Version: 1.1 |
| 2 |
Name: 2ping |
| 3 |
Version: 4.5 |
| 4 |
Summary: 2ping a bi-directional ping utility |
| 5 |
Home-page: https://www.finnie.org/software/2ping/ |
| 6 |
Author: Ryan Finnie |
| 7 |
Author-email: [email protected] |
| 8 |
License: GPLv2+ |
| 9 |
Download-URL: https://www.finnie.org/software/2ping/ |
| 10 |
Description: # 2ping - A bi-directional ping utility |
| 11 |
|
| 12 |
 |
| 13 |
 |
| 14 |
|
| 15 |
https://www.finnie.org/software/2ping/ |
| 16 |
|
| 17 |
## About |
| 18 |
|
| 19 |
2ping is a bi-directional ping utility. |
| 20 |
It uses 3-way pings (akin to TCP SYN, SYN/ACK, ACK) and after-the-fact state comparison between a 2ping listener and a 2ping client to determine which direction packet loss occurs. |
| 21 |
|
| 22 |
## Installation |
| 23 |
|
| 24 |
2ping requires Python 3 version 3.5 or higher. |
| 25 |
|
| 26 |
To install: |
| 27 |
|
| 28 |
sudo python3 setup.py install |
| 29 |
|
| 30 |
Python 3 stdlib is the only requirement for base functionality, but 2ping can utilize the following modules if available: |
| 31 |
|
| 32 |
* [distro](https://pypi.org/project/distro/) for system distribution detection |
| 33 |
* [dnspython](https://pypi.org/project/dnspython/) for --srv |
| 34 |
* [netifaces](https://pypi.org/project/netifaces/) for listening on all addresses in --listen mode |
| 35 |
* [pycryptodomex](https://pypi.org/project/pycryptodomex/) (recommended) or [pycryptodome](https://pypi.org/project/pycryptodome/) or [pycrypto](https://pypi.org/project/pycrypto/) for --encrypt |
| 36 |
* [systemd](https://pypi.org/project/systemd/) for using systemd-supplied sockets |
| 37 |
|
| 38 |
## Usage |
| 39 |
|
| 40 |
Please see the 2ping manpage for invocation options, but in short, start a listener on the far end: |
| 41 |
|
| 42 |
2ping --listen |
| 43 |
|
| 44 |
And run 2ping on the near end, connecting to the far end listener: |
| 45 |
|
| 46 |
2ping $LISTENER |
| 47 |
|
| 48 |
Where "$LISTENER" is the name or IP address of the listener. |
| 49 |
|
| 50 |
## License |
| 51 |
|
| 52 |
2ping - A bi-directional ping utility |
| 53 |
|
| 54 |
Copyright (C) 2010-2020 [Ryan Finnie](https://www.finnie.org/) |
| 55 |
|
| 56 |
This program is free software; you can redistribute it and/or |
| 57 |
modify it under the terms of the GNU General Public License |
| 58 |
as published by the Free Software Foundation; either version 2 |
| 59 |
of the License, or (at your option) any later version. |
| 60 |
|
| 61 |
This program is distributed in the hope that it will be useful, |
| 62 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 63 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 64 |
GNU General Public License for more details. |
| 65 |
|
| 66 |
You should have received a copy of the GNU General Public License |
| 67 |
along with this program; if not, write to the Free Software |
| 68 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 69 |
02110-1301, USA. |
| 70 |
|
| 71 |
Platform: Unix |
| 72 |
Classifier: Development Status :: 5 - Production/Stable |
| 73 |
Classifier: Environment :: Console |
| 74 |
Classifier: Intended Audience :: System Administrators |
| 75 |
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+) |
| 76 |
Classifier: Natural Language :: English |
| 77 |
Classifier: Operating System :: MacOS :: MacOS X |
| 78 |
Classifier: Operating System :: Microsoft :: Windows |
| 79 |
Classifier: Operating System :: POSIX |
| 80 |
Classifier: Operating System :: Unix |
| 81 |
Classifier: Programming Language :: Python :: 3 :: Only |
| 82 |
Classifier: Topic :: Internet |
| 83 |
Classifier: Topic :: System :: Networking |
| 84 |
Classifier: Topic :: Utilities |