
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
A collection of classes that provide different ways to ping computers.
Ruby users should use Ruby 1.9.3 or later. JRuby users should use JRuby 1.6.7 or later.
gem install net-ping
Please read the documentation under the 'doc' directory. Especially pay attention to the documentation pertaining to ECONNREFUSED and TCP pings.
Also note the documentation regarding down hosts.
You can do either this:
require 'net/ping'
In which case you will get Net::Ping and all of its subclasses. Or, you can load individual subclasses like this:
require 'net/ping/tcp'
The former has the advantage of being easier to remember and all inclusive, not to mention backwards compatible. The latter has the advantage of reducing your memory footprint.
Older versions of Ruby 1.9.x may not work with UDP pings.
Older versions of JRuby will return false positives in UDP pings because of an incorrect error class being raised. See JRuby-4896.
JRuby 1.6.7 or later is required for external pings because of a bug in earlier versions with open3 and stream handling.
ICMP pings will not work with JRuby without some sort of third-party library support for raw sockets in Java, such as RockSaw.
Artistic 2.0
Although this library is free, please consider having your company setup a gittip if used by your company professionally.
http://www.gittip.com/djberg96/
If you installed this library via Rubygems, you can view the inline documentation via ri or fire up 'gem server', and point your browser at http://localhost:8808.
Daniel J. Berger
FAQs
Unknown package
We found that net-ping demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.