vmware-host-modules icon indicating copy to clipboard operation
vmware-host-modules copied to clipboard

It's outside the modules scope, but can we shut up "vmnet-natd"?

Open kennysgithub opened this issue 7 months ago • 1 comments

Again, this is not connected to the modules per se, but still a VMWare issue. For whatever reason, "vmware-natd" spams TF outta my /var/log/syslog with RTM_NEWADDR messages:

Jul 20 19:18:25 xps-9320 vmnet-natd: RTM_NEWADDR: index:7, addr:192.168.126.189
Jul 20 19:19:03 xps-9320 vmnet-natd: RTM_NEWADDR: index:16, addr:192.168.126.122
$ gunzip --force --stdout /var/log/syslog* | fgrep vmnet-natd | cut -d: -f4- | fgrep RTM_NEWADDR  | wc -l
7196

I've reported this issue (at least once) to VMWare, and never get any reply. It's also (somewhat) an issue here, but I got rid of the "sent-link" messages: https://github.com/mkubecek/vmware-host-modules/issues/54#issuecomment-1144724563

Since we don't(?) have the sources for vmnet-natd, I was wondering that maybe a way to fix this is to null out the first byte of the message in the binary, so that it's a zero-length call to the syslog writer, and maybe nothing happens?

$ strings /usr/bin/vmnet-natd | fgrep RTM_NEWADDR
RTM_NEWADDR: index:%d, addr:%d.%d.%d.%d

Anyone else got any ideas on how to edit binaries?

kennysgithub avatar Jul 21 '24 02:07 kennysgithub