Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
td-agent process management with serf
Assume you have installed td-agent.
Use fluent-gem:
fluent-gem install serf-td-agent
The serf
command is automatically downloaded and bundled into the bin
directory of the gem.
Also, serf-td-agent
command, which is a serf event handler, is located at there. Set the environment variable PATH
as:
export PATH=$(fluent-gem path serf-td-agent)/bin:$PATH
Run the first serf at any of hosts running td-agent like:
$ serf agent -event-handler=serf-td-agent
Run later serfs at other hosts running td-agent like:
$ serf agent -join={the first serf address} -event-handler=serf-td-agent
Hint: -log-level=debug
option would be helpful for debugging.
Send a serf event from any of hosts running the serf like:
$ serf event td-agent-restart
This will propagate the td-agent-restart
event to the entire serf cluster and execute sudo /etc/init.d/td-agent restart
at all hosts.
Following events are available:
td-agent-start
td-agent-stop
td-agent-reload
td-agent-restart
td-agent-condrestart
td-agent-status
td-agent-configtest
which corresponds with /etc/init.d/td-agent command.
See CHANGELOG.md for details.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)Copyright (c) 2014 Naotoshi Seo. See LICENSE for details.
The license of serf
belongs to serf. See serf/LICENSE.
FAQs
Unknown package
We found that serf-td-agent 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.