tracevis
tracevis copied to clipboard
feat: parallel limited time load of user META info
Now Public IP, ASN, Region, ... are loaded using separated helper daemon process Data are shared using shared memory between two processes we have a minimum wait time to let helper process complete, if not ,main process will terminate assuming meta data cannot be found (No Internet or etc)
Now everything in get_meta
is done in separated process to overcome lack of timeout in gethostbyname
in some cases
call is made serially before trace
Also a privilege drop is done in separated process nobody
and nogroup
(this needs test in windows)
there is a race condition that should be fixed. but it's a UX bug, so we are good for now and will take care of it later. Thank you @RYNEQ and @bassosimone :heart: :hibiscus: :tada: