by WestCoastJustin · 11y ago · 0 comments
lsof | grep libc | awk '{print $1}' | sort | uniq
[1] http://ma.ttias.be/critical-glibc-update-cve-2015-0235-getho... ~# netstat -lnp | grep -e "\(tcp.*LISTEN\|udp\)" | cut -d / -f 2- | sort -u
cupsd
dnsmasq
httpd
nmbd
ntpd
qemu-kvm
rpc.portmap
rpc.statd
sendmail: acce
smbd
ssh
sshd[1]https://www.owasp.org/index.php/XML_External_Entity_%28XXE%2...
"UseDNS no" in your sshd_config is a good idea in general.
>lsof +c 64
lsof: +c 64 > what system provides (15)
So
lsof +c 15 is maximum
If would be nice if package managers would let us know when this is necessary, I expect that might be a hard thing to get right though.
sudo lsof | grep lib | grep DEL
You can then either reload those processes manually, or just bounce the box if that's easier.