-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: parallel limited time load of user META info (#71)
* 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) * drop privileges * feat: serialize request Now request is made in serial but lack of timeout is handled using separated process * fix: fix privilege drop bypass for windows * cleanup * cleanup * cleanup * cleanup * cleanup * cleanup * Change from Process to Thread as some anti malware tools may get suspicious of Process * cleanup * [feat]: different method for windows and posix systems we use independent process in posix system to make privilege dropping stable and thread based approach in windows to prevent windows system get suspicious and block requests * [feat]: different method for windows and posix systems we use independent process in posix system to make privilege dropping stable and thread based approach in windows to prevent windows system get suspicious and block requests * [fix]: fix privilege dropping move unix privilege dropping into process itself * [fix] remove some duplicates * Update utils/geolocate.py Co-authored-by: Simone Basso <[email protected]> * Update utils/geolocate.py Co-authored-by: Simone Basso <[email protected]> * style 1/n * fix 1/n Co-authored-by: xhdix <[email protected]> Co-authored-by: Simone Basso <[email protected]>
- Loading branch information
1 parent
133e83c
commit 73363e2
Showing
2 changed files
with
77 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters