vsntp is an SNTP client daemon for machines without a sane system time. The word "vsntp" stands for "SNTP for Virtual PC". It was originally designed for my GNU/Linux server running on Connectix Virtual PC. It runs according to RFC 1769 SNTP, connecting the NTP server on UDP port 123. Seems like this is the only option for gentoo hardened guests in ms virtual server. The ms vm addons behaves like a rootkit and gets spanked by the grsec kernel. (ms vmadd contains a kernel module that helps vmadd-prepare-module to inject a binary blob (vmadd.dll) in the kernel, which sets up a message passing system between the guest and the host, (seems like its using some kind of shared mem(!)) It provides some ioctls which allows the guest to read the host system time in utc (IOCTL_GetHostFileTimeUTC) which the statically timesyncd uses together with settimeofday (+ some smarts to even out the time changes) Basicly, it would be more sane to read tim from ntp source and just set the time using settimeofday periodically than trying to reverse engineer the ms vmaddons to work on with gentoo hardened. thats why this package is needed
Created attachment 164250 [details] vsntp-2.0.0.ebuild
- don't inherit an eclass, when you don't use it - what's with the dependencies? My guess is that this software depends on virtual/libc at least - einstall() is an ugly hack and only to be used when the build script is completely broken and it's too costly to patch.
Created attachment 164260 [details] vsntp-2.0.0.ebuild fixes the mentioned issues
Created attachment 164261 [details] files/vsntp.initd init.d script
Created attachment 164262 [details] vsntp.confd conf.d file