[pull] master from netdata:master#271
Merged
pull[bot] merged 33 commits intoannihilatorrrr:masterfrom Jul 13, 2024
Merged
Conversation
* ndsudo set uid to 0 before executing command * set gid and egid to 0 too
* Update securing-netdata-agents.md Additional action when you disable the local dashboard * Update docs/netdata-agent/securing-netdata-agents.md --------- Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
* listening ipv6 sockets may be both ipv4 and ipv6, depending on the IPV6_ONLY flag * working libmnl ipv46 detection and added latency and retransmits from TCP_INFO * fix aggregations for rtt and retrans * code cleanup * code cleanup * code cleanup again * restore field renames * count namespaces * run namespaces in parallel * add libmnl to buildinfo * lock around safe_fork() * libmnl ports are in network byte order * posix spawn server for both executables and callback functions * local-sockets and network-viewer using the new spawn server * cleanup spawn servers sockets * spawn server stdin and stdout are linked to /dev/null * no need for spinlock in spawn server * empty all parameters * new spawn server is now used for plugins.d plugins * fix for environ * claiming script runs via the new spawn server * tc.plugin uses the new spawn server * analytics, buildinfo and cgroups.plugin use the new spawn server * cgroup-discovery uses the new spawn server * added ability to wait or kill spawned processes * removed old spawn server and now alert notifications use the new one * remove left-overs * hide spawn server internals; started working on windows version of the spawn server * fixes for windows * more windows work * more work on windows * added debug log to spawn server * fix compilation warnings * enable static threads on windows * running external plugins * working spawn server on windows * spawn server logs to collectoers.log * log windows last error together with errno * log updates * cleanup * decode_argv does not add an empty parameter * removed debug log * removed debug return * rework on close_range() * eliminate the need for waitid() * clear errno on the signal handler * added universal os_setproctitle() call to support FreeBSD too * os_get_pid_max() for windows and macos * isolate pids array from the rest of the code in apps.plugin so that it can be turned to a hashtable
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
* add port service names to network viewer * use unique function names
* cmakelists remove python puppet * nuke puppet collector directory * readme addition * turn off puppet from python.d.conf * conf file addition, collector conf file, collector module dir * fix leftover comments * net_listeners.conf * format * simplify * check url query in test * update service discovery * new line * Update src/go/plugin/go.d/config/go.d/sd/docker.conf --------- Co-authored-by: ilyam8 <ilya@netdata.cloud>
Co-authored-by: Ancairon <70198089+Ancairon@users.noreply.github.com>
Co-authored-by: thiagoftsm <49162938+thiagoftsm@users.noreply.github.com>
* spawn server improvements * fixed message
always send back the spawn server response to the socket
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
add a magic number to all spawn server replies to ensure they are not corrupted
spawn server feedback is always sent from the spawn server itself
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
* spawn server reopens the log files after closing all sockets * close all sockets only when we run an external command * the spawn server disables all log methods except daemon and collectors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )