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-tcp
Advanced tools
Readme
TCP broadcasting for the Good process monitor with optional TLS support.
Development on good-tcp is sponsored by Sparo Labs.
$ npm install --save good-tcp
new GoodTcp(endpoint, [config])
Creates a new GoodTcp
object where:
endpoint
- A full path to a remote server to transmit logs.config
- Configuration object:
threshold
- The number of events to hold before transmission. Defaults to 20
. Set to 0
to have every event start transmission immediately. It is recommended to set threshold
as high as possible to make data transmission more efficient and reduce the number of TCP connections that must be initiated.maxDelay
- Maximum milliseconds to allow buffer to wait before forcing a stream write on next message. Defaults to 0
, turning off this feature. If you have a server that generates logs infrequently, turn on this feature to see logs arriving in batches, but more regularly.tls
- Whether to transmit via TLS. Defaults to false
.tlsOptions
- Options to configure the TLS connection. Please see the Node.js documentation for TLS for the available options and their defaults.When stream
emits an "end" event, GoodTcp
will transmit any events remaining in it's internal buffer to attempt to prevent data loss.
This plugin extends Stream.Writable
and is compatible with Good version 7.0 and higher.
Note: This plugin does not implement the interface expected by earlier versions of Good
.
This project is licensed under the MIT license. See the LICENSE file for more info.
FAQs
A TCP and TLS transport stream for Hapi's Good server and process monitor
The npm package good-tcp receives a total of 2 weekly downloads. As such, good-tcp popularity was classified as not popular.
We found that good-tcp 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
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.