Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
node-red-node-ping
Advanced tools
Readme
A Node-RED node to ping a remote server, for use as a keep-alive check.
Either use the Editor - Menu - Manage Palette - Import option or run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-node-ping
Gotchas
1 Ubuntu Snap containers are strict and do not like giving external commands (like ping) external access. To allow ping to work you must manually add the network-observe interface
sudo snap connect node-red:network-observe
2 On some versions on Raspbian (Raspberry Pi) ping
seems to be a root only command.
The fix is to allow it as follows
sudo setcap cap_net_raw=ep /bin/ping
sudo setcap cap_net_raw=ep /bin/ping6
Pings 1 or more devices and returns the trip time in mS as msg.payload
.
Returns boolean false
if no response received, or if the host is unresolveable.
msg.error
will contain any error message if necessary.
msg.topic
contains the ip address of the target host.
There are 2 modes - Timed
and Triggered
.
Target
is left blank and msg.payload
is a string or array, you can ping 1 or more devices on demand.Refer to the built in help on the side-bar info panel for more details.
FAQs
A Node-RED node to ping a remote server, for use as a keep-alive check.
The npm package node-red-node-ping receives a total of 2,255 weekly downloads. As such, node-red-node-ping popularity was classified as popular.
We found that node-red-node-ping demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.