Repository navigation
ProxiFyre 2.9.0 adds folder and wildcard application rules. A single entry such as C:\Games\** now covers every program in a folder and its subfolders, so you no longer have to list each executable or rely on a path substring.
Highlights
-
Folder and wildcard rules. An
appNamesorexcludesentry that contains\(or/) and*or?is a path pattern. It is matched against the whole executable path, case-insensitively:?matches one character other than\;*matches any characters within one folder or file name;**as a whole segment matches zero or more folders. At the end of a pattern it stands for at least one name, soC:\Games\**matches everything beneathC:\Games, but notC:\GamesOld\....
Entry Matches C:\Games\**Every program in C:\Gamesand all of its subfolders.C:\Users\*\AppData\Local\Discord\app-*\Discord.exeDiscord for any user and any versioned app-folder.**\chrome.exechrome.exein any folder on any drive.\\fileserver\tools\**Programs started from that network share. In
app-config.jsonevery\is written as\\, for example"C:\\Games\\**". Entries without wildcards work exactly as before: a name matches the executable name, and a path without wildcards matches as a substring of the full path. -
Add folder... in the GUI. The rule editor has an Add folder... button that picks a folder and adds
<folder>\**. It asks for confirmation when the folder is the root of a drive, because that rule would match every program on the drive. -
/and\are equivalent in every entry, including exclusions.C:/Tools/is the same asC:\Tools\. The entry is kept in the file as typed. -
Unicode case-insensitive matching. Names, paths, patterns, and exclusions are compared with invariant Unicode uppercase, so
C:\Игры\**matchesc:\игры\game.exe. Letters are compared one at a time:ßis not expanded toSS.
See Path patterns in the configuration reference for the full rules.
Validation
New warnings and information messages help catch entries that cannot match or that hide other rules. None of them prevents the service from starting.
APP_NAME_WILDCARD_UNSUPPORTED/EXCLUSION_NAME_WILDCARD_UNSUPPORTED. Wildcards in a bare name such aschrome*are not supported and never match; write**\chrome*.exeinstead.APP_PATTERN_NOT_ANCHORED/EXCLUSION_PATTERN_NOT_ANCHORED. A pattern must start with a drive (C:\,?:\), a network share (\\server\..., or\**\...for any share), or**.*_PATTERN_EMPTY_SEGMENT,*_PATTERN_SURROUNDING_WHITESPACE,*_PATTERN_DOT_SEGMENT. The pattern can never match because of an empty folder name (a doubled\such asC:\\Games\**, or a trailing\), surrounding spaces, or a./..folder.*_PATTERN_NO_EXTENSION. A pattern must match the whole file name:**\chromematches only a file namedchrome; use**\chrome.exe.*_PATH_LEADING_WHITESPACEandAPP_NAME_TRAILING_WHITESPACE. Spaces that stop a plain path or a name from matching.APP_PATTERN_BROAD(information) /EXCLUSION_PATTERN_BROAD(warning). A pattern such as**\*,?:\**, orC:\**matches every program, or every program on a drive.APP_MATCH_SLASH_NORMALIZED/EXCLUSION_SLASH_NORMALIZED(warning). An entry written with/that now takes effect (see Behavior changes). The*_SLASH_NORMALIZED_BROADvariants flag such an entry when it now matches every program, or every program on a drive.
Overlap and shadowing warnings understand patterns. For example, **\* in an earlier rule is reported as shadowing chrome in a later one, and C:\Apps\chrome is reported against **\chrome*.exe. Entries that differ only in slash direction, or in repeated ** segments, are reported as duplicates. As in 2.8.0, only enabled rules are compared.
Behavior changes
- Entries written with
/now match. Before 2.9.0 an entry such asC:/Tools/never matched, because Windows reports paths with\. After the upgrade such rules and exclusions take effect. The validator and the service log report each one at startup, even whenlogLevelisError. Review any/entries inappNamesandexcludesbefore upgrading. - Case-insensitive matching now covers non-ASCII letters for every entry, not only for patterns. In 2.8.0, letters such as Cyrillic or
äwere most likely compared case-sensitively. An existing entry such asиграcan now match a process whose name differs only in case. - Path entries containing
*or?are now patterns. Such characters cannot occur in a Windows path, so these entries almost never matched before. The?of a full\\?\prefix is not a wildcard: an entry such as\\?\UNC\server\share\still matches as a substring. An entry with only part of that prefix, such as?\UNC\, now never matches, and the validator explains how to write it.
Upgrading
Install the setup package matching your Windows architecture. Installer upgrades preserve your configuration and logs.
- Before downgrading to 2.8.0 or earlier, note that those versions treat wildcard entries as plain names or substrings, so
C:\Games\**and**\chrome.exematch nothing there and the traffic of those programs goes direct, not through the proxy. Entries written with/also stop matching. Replace patterns with plain path substrings, for exampleC:\Games\instead ofC:\Games\**, and/with\, before going back.
Not included yet
Rules that also apply to child processes (for example Electron helpers and launchers started under a different executable name) are planned for a later release.
Validation of this release
820 managed tests and 421 native engine tests pass in CI on x64, along with the platform-independent native tests; x86, x64 and ARM64 packages are built and verified. The GUI changes and the service with these changes have not yet been run against the Windows Packet Filter driver outside CI; this release is being tested on Windows now, and any problems found will be addressed in a patch release.
Downloads
For a normal installation or upgrade, choose the online setup:
| Windows architecture | Download |
|---|---|
| x64 (Intel/AMD 64-bit PCs) | x64 setup |
| ARM64 (Windows on ARM) | ARM64 setup |
| x86 (32-bit Windows) | x86 setup |
Standalone MSIs, application ZIPs, and SHA-256 checksums are also included. Use an MSI or ZIP only after the required .NET Framework, Visual C++ runtime, and Windows Packet Filter are installed; the ZIP is not an installer.
Implemented in PR #196.