Release 4.1.0#361
Open
jjxtra wants to merge 27 commits into
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔒 Security hardening
GetUrlUpdateand executed it directly as a privileged process — a MITM or compromised update URL meant arbitrary code execution. Updates now require a newGetUrlUpdateSha256config value: the download is SHA-256 verified against the operator-supplied hash before running. If no hash is configured, the binary is downloaded but not executed (safe default, explicit opt-in). Mismatches are rejected and logged.###USERNAME###) into individualArgumentListentries, so an attacker-controlled username can never inject extra argv slots. AddedTokenizeArguments,BuildStartInfo, andCleanLogData(log sanitization for quotes / newlines / tabs).🐛 Bug fixes & reliability
ParseIPAddressEntrynow guards every column read withIsDBNull, so older databases (created before theBanEndDate/UserName/Sourcecolumns existed) no longer crash queries on legacy rows.BanEndDatenull-handling was also corrected to check its own column instead ofBanDate.AddIPAddressLogEventswas locking the caller-suppliedeventsparameter (shadowing the field), leaving the actual field unprotected. The filter now runs outside the lock and the lock correctly targetsthis.events.CreateFullyQualifiedDomainNamewith proper trailing-dot trimming and duplicate-suffix avoidance.⚡ Performance
AsyncQueue,AsyncReaderWriterLock,LockedEnumerable,LevenshteinUnsafe,ProcessUtility, and the CPU / disk / IOPS usage paths inOSUtility.🧱 Windows firewall
🔍 Detection
🛠️ Platform & build
6.1.3,Microsoft.Extensions.*10.0.7, etc.).IL2104/IL2026suppressions for unfixable third-party / runtime-COM cases.WarntoDebug.