Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
fluent-plugin-udp_forward
Advanced tools
This fluent input plugin allows you to collect incoming events over UDP. While fluentd's default UDP Input plugin supports adding a tag to the received message statically by configuration, it does not support extracting a tag from the received message. This plugin supports extracting the tag from incoming events over UDP. UDP events should be in JSON format.
gem install fluent-plugin-udp_forward
<source>
@type udp_forward
bind "localhost"
port 5160
tag_key "tag"
message_key "data"
</source>
Optional parameters are as follows:
If your fluentd source configuration is the same as above and you submitting an event like this:
require "socket"
require 'json'
my_hash = {tag: 'my_tag', data:{ "level": "INFO", "time": Time.now, "message": "Yayyy!!" }}
UDPSocket.new.send(JSON.generate(my_hash), 0, 'localhost', 5160)
The output will be:
2019-02-26 11:11:03.499991000 +0000 my_tag: {"level":"INFO","time":"2019-02-26 11:11:03 +0000","message":"Yayyy!!"}
fluent-plugin-udp_forward | fluentd |
---|---|
>= 1.0.0 | >= v0.12.0 < 2 |
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Copyright (c) 2019 - tombola.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that fluent-plugin-udp_forward 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.