projects
/
liboping.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44c8523
)
Net::Oping: Added a note about the need to be root to the module's POD.
author
Florian Forster
<octo@verplant.org>
Sat, 26 Jan 2008 17:00:13 +0000
(18:00 +0100)
committer
Florian Forster
<octo@verplant.org>
Sat, 26 Jan 2008 17:00:13 +0000
(18:00 +0100)
bindings/perl/lib/Net/Oping.pm
patch
|
blob
|
history
diff --git
a/bindings/perl/lib/Net/Oping.pm
b/bindings/perl/lib/Net/Oping.pm
index
ffaaa1b
..
2f01d21
100644
(file)
--- a/
bindings/perl/lib/Net/Oping.pm
+++ b/
bindings/perl/lib/Net/Oping.pm
@@
-247,6
+247,15
@@
sub get_error
=back
=back
+=head1 CAVEATS
+
+The C<oping> library opens a raw socket to be able to send ICMP packets. On
+most systems normal users are not allowed to do this. This is why on most
+systems the L<ping(1)> utility is installed as SetUID-root. Since, when using
+this module, no external process is spawned B<this> process needs the
+appropriate permissions. This means that either your script has to run as
+superuser or, under Linux, needs the C<CAP_NET_RAW> capability.
+
=head1 SEE ALSO
L<liboping(3)>
=head1 SEE ALSO
L<liboping(3)>