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.
good-udp
Advanced tools
Readme
Udp broadcasting for Good process monitor
The versions 4 of this module can be used with Good 7.
For use with previous versions of Good, please refer to older versions.
Lead Maintainer: Vladimir de Turckheim
good-udp
is a write stream use to send event to remote endpoints in batches. It makes a request with a JSON payload to the supplied endpoint
. It will make a final request to the endpoint to flush the rest of the data on "finish".
good-udp
will never close the udp client.
creates a new GoodUdp object with the following arguments
endpoint
- full path to remote server to transmit logs.config
- configuration object
[threshold]
- number of events to hold before transmission. Defaults to 20
. Set to 0
to have every event start transmission instantly. It is strongly suggested to have a set threshold to make data transmission more efficient.[udpType]
- a string with the type of udp you want to use. Valid options are udp4 or udp6. Defaults to 'udp4'
.When stream
emits an "end" event, goodudp
will transmit any events remaining it it's internal buffer to attempt to prevent data loss.
Each request will match the following schema. Every event will be wrapped inside the events
key and grouped by the event type and ordered by the timestamp. The payload that is sent to the endpoint
has the following schema:
{
"host":"servername.home",
"schema":"good-upd",
"timeStamp":1412710565121,
"events":[
{
"event":"request",
"timestamp":1413464014739,
...
},
{
"event":"request",
"timestamp":1414221317758,
...
},
{
"event":"request",
"timestamp":1415088216608,
...
}
{
"event":"log",
"timestamp":1415180913160,
...
},
{
"event":"log",
"timestamp":1422493874390,
...
}
]
}
FAQs
UDP broadcasting for Good process monitor
The npm package good-udp receives a total of 14 weekly downloads. As such, good-udp popularity was classified as not popular.
We found that good-udp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.