added more network daemons

This commit is contained in:
Harald Hope 2024-02-05 15:02:00 -08:00
parent b4e235d811
commit a415416ffa
2 changed files with 89 additions and 5 deletions

View file

@ -197,6 +197,26 @@ https://en.wikipedia.org/wiki/List_of_Unix_daemons
https://www.ibm.com/docs/en/aix/7.2?topic=tcpp-tcpip-daemons
----------------------------------------
ConnMan
----------------------------------------
process: connman [or ConnMan, both supported]
daemon:
os:
conflicts:
tools: connmanctl
about:
Not positive this runs as connman, uses regex for both possibles.
https://wiki.archlinux.org/title/ConnMan
ConnMan is a command-line network manager designed for use with embedded devices
and fast resolve times. It is modular through a plugin architecture, but has
native DHCP and NTP support.[1]
----------------------------------------
dhcpd
----------------------------------------
@ -208,6 +228,17 @@ conflicts:
about: Dynamically configure TCP/IP information for clients.
----------------------------------------
dhcpleased
----------------------------------------
process: dhcppleased
daemon: yes
os:
conflicts:
about: communicates with for example dhcpd, for clients.
----------------------------------------
fingerd
----------------------------------------
@ -293,6 +324,33 @@ established connections to other servers/daemons.
https://en.wikipedia.org/wiki/IRCd
----------------------------------------
iwd
----------------------------------------
process: iwd
daemon: yes
os:
conflicts:
tool: iwctl
about: https://wiki.archlinux.org/title/Iwd
iwd (iNet wireless daemon) is a wireless daemon for Linux written by Intel. The
core goal of the project is to optimize resource utilization by not depending on
any external libraries and instead utilizing features provided by the Linux
Kernel to the maximum extent possible.
iwd can work in standalone mode or in combination with comprehensive network
managers like ConnMan, systemd-networkd and NetworkManager.
https://www.linux.com/news/new-linux-wifi-daemon-streamlines-networking-stack/
In 2007 Holtmann joined Intels Open Source Technology Center (OTC), where he
created ConnMan (Internet connectivity), oFono (cellular telephony), and
PACrunner (proxy handling). Over the last year, Holtmann and other OTC
developers have been developing a replacement for the wpa_supplicant WiFi daemon
called IWD (Internet Wireless Daemon). In the process, they have streamlined the
entire Linux communications stack.
----------------------------------------
ModemManager
----------------------------------------
@ -383,6 +441,16 @@ ps -lfC nginx
on most nginx installs you can find the pid on the file system:
cat /var/run/nginx.pid
https://stackoverflow.com/questions/62020202/why-there-are-3-processes-for-nginx
root 7833 0.0 0.0 126092 1476 ? Ss 12:32 \
0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
www-data 7834 0.0 0.0 126504 3124 ? S 12:32 \
0:00 nginx: worker process
www-data 7835 0.0 0.1 126504 5068 ? S 12:32 \
0:00 nginx: worker process
----------------------------------------
ntpd
----------------------------------------
@ -469,6 +537,21 @@ conflicts:
about: Provides the server function for the Trivial File Transfer Protocol
(TFTP).
----------------------------------------
wicd
----------------------------------------
name: Wicd
process:wicd
daemon:
os:
conflicts:
about:
https://sourceforge.net/projects/wicd/
https://www.enterprisenetworkingplanet.com/guides/wicd-linux-wifi/
----------------------------------------
wpa_supplicant
----------------------------------------

11
pinxi
View file

@ -35845,10 +35845,11 @@ sub set_de_wm {
sub set_network {
eval $start if $b_log;
process_items(\@{$ps_data{'network-services'}},join('|', qw(dhcpd fingerd ftpd
gated httpd inetd ircd ModemManager named networkd-dispatcher NetworkManager
nfsd nginx ntpd routed smbd sshd systemd-networkd systemd-timesyncd
tftpd wpa_supplicant xinetd xntpd)));
process_items(\@{$ps_data{'network-services'}},join('|', qw([cC]conn[mM]an
dhcpd dhcpleased fingerd ftpd gated httpd inetd ircd iwd [mM]odem[mM]nager
named networkd-dispatcher [nN]etwork[mM]anager nfsd nginx ntpd routed
smbd sshd systemd-networkd systemd-timesyncd tftpd
wicd wpa_supplicant xinetd xntpd)));
print '$ps_data{network-daemons}: ', Data::Dumper::Dumper $ps_data{'network-services'} if $dbg[5];
main::log_data('dump','$ps_data{network-daemons}',$ps_data{'network-services'}) if $b_log;
eval $end if $b_log;
@ -35869,7 +35870,7 @@ sub set_power {
sub process_items {
foreach (@ps_cmd){
# strip out python/lisp/*sh starters
if (/^(\/\S+?\/(c?lisp|perl|python|[a-z]{0,3}sh)\s+)?(|\S*?\/)($_[1])(\s|$)/i){
if (/^(\/\S+?\/(c?lisp|perl|python|[a-z]{0,3}sh)\s+)?(|\S*?\/)($_[1])(:|\s|$)/i){
push(@{$_[0]},$4) ; # deal with duplicates with uniq
}
}