• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

bindings/H20-Nov-2014-1,4831,018

m4/H20-Nov-2014-8,6307,772

src/H03-May-2022-8,6336,940

AUTHORSH A D12-Mar-2011419 129

COPYINGH A D12-Mar-201125.9 KiB503418

ChangeLogH A D20-Nov-20149.4 KiB214182

INSTALLH A D20-Nov-201415.4 KiB371289

Makefile.amH A D02-Sep-201148 42

Makefile.inH A D20-Nov-201424.4 KiB791699

NEWSH A D12-Mar-20110

READMEH A D11-Jul-20133.8 KiB9868

TODOH A D17-Nov-2014213 75

aclocal.m4H A D20-Nov-201441.1 KiB1,1551,049

compileH A D20-Nov-20147.2 KiB348258

config.guessH A D20-Nov-201444.2 KiB1,5591,352

config.subH A D20-Nov-201434.7 KiB1,7921,654

configureH A D20-Nov-2014434.5 KiB15,16812,625

configure.acH A D20-Nov-20146.1 KiB276247

install-shH A D20-Nov-201413.7 KiB528351

ltmain.shH A D20-Nov-2014277 KiB9,6627,310

missingH A D20-Nov-20146.7 KiB216143

README

1 liboping – Library to ping IPv4 and IPv6 hosts in parallel
2════════════════════════════════════════════════════════════
3http://verplant.org/liboping/
4
5About
6━━━━━
7
8  liboping was inspired by ping, libping and fping: It differs from these
9  existing solutions in that it can “ping” multiple hosts in parallel using
10  IPv4 or IPv6 transparently. Other design principles were an object oriented
11  interface, simplicity and extensibility.
12
13  On top of liboping two command line applications have been built. “oping” is
14  a drop-in replacement for ping(1) with very similar output. “noping” is an
15  ncurses-based application which displays statistics while pinging and
16  highlights aberrant round-trip times.
17
18
19Features
20━━━━━━━━
21
22  • Support for multiple hosts.
23
24  • Support for IPv4 and IPv6.
25
26  • Object oriented interface.
27
28
29Perl bindings
30━━━━━━━━━━━━━
31
32  Included in the source package of liboping are bindings for Perl. The code
33  resides in the bindings/ subdirectory and is compiled and installed by
34  default. To disable building the Perl bindings, call “configure” with
35  “--without-perl-bindings”.
36
37
38Permissions
39━━━━━━━━━━━━━
40
41  On UNIX, special permissions are required to open raw sockets (raw(7)). If
42  you compile and install the “oping” and “noping” binaries as normal user
43  (which is strongly suggested), you won't be able to use the binaries as a
44  normal user, because you won't have the permission to open raw sockets.
45
46  The “install” target will automatically try fix this, if it is run with UID~0
47  (as user root).  When on Linux, the capabilities described below will be
48  added. On other UNIXes the traditional Set-UID method (also described below)
49  is used instead. The build system will not abort if this fails, because there
50  are file systems which do not support either method. Also, the Debian
51  packaging system and possibly other scenarios only act as if they were
52  running as root.
53
54  Linux
55  ━━━━━
56  On Linux, the preferred method is to assign the required “capability” to the
57  binaries. This will allow the binary to open raw sockets, but doesn't give
58  any other permissions such as reading other users' files or shutting down the
59  system. The downside is that this mechanism is comparatively new: Assigning
60  capabilities to files is available since Linux 2.6.24.
61
62  To set the required capabilities, run (as user root):
63
64    # setcap cap_net_raw=ep /opt/oping/bin/oping
65    # setcap cap_net_raw=ep /opt/oping/bin/noping
66
67  Other UNIX
68  ━━━━━━━━━━
69  Capabilities are a nice but Linux-specific solution. To make “oping” and
70  “noping” available to unprivileged users on other UNIX systems, use the
71  traditional set-UID root solution. If your system supports “saved set-UIDs”
72  (basically all systems do), the applications will drop the privileges during
73  initialization and only regain them when actually opening the socket(s).
74
75  To set the set-UID bit, run (as user root):
76
77    # chown root: /opt/oping/bin/{,n}oping
78    # chmod u+s   /opt/oping/bin/{,n}oping
79
80
81Licensing terms
82━━━━━━━━━━━━━━━
83
84  liboping is licensed under the “GNU Lesser General Public License” (LGPL),
85  version 2.1 or later. The exact licensing terms can be found in the file
86  “COPYING” included in the source distribution of liboping.
87
88  The “oping” and “noping” utilities included in this package are licensed
89  under the “GNU General Public License” (GPL), version 2. The full licensing
90  terms can be found online at <http://www.gnu.org/licenses/gpl-2.0.html>.
91
92
93Author
94━━━━━━
95
96  Florian “octo” Forster <ff at octo.it>
97
98