github wiresock/proxifyre v2.9.0
ProxiFyre 2.9.0

37 minutes ago

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 appNames or excludes entry 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, so C:\Games\** matches everything beneath C:\Games, but not C:\GamesOld\....
    Entry Matches
    C:\Games\** Every program in C:\Games and all of its subfolders.
    C:\Users\*\AppData\Local\Discord\app-*\Discord.exe Discord for any user and any versioned app- folder.
    **\chrome.exe chrome.exe in any folder on any drive.
    \\fileserver\tools\** Programs started from that network share.

    In app-config.json every \ 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 as C:\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:\Игры\** matches c:\игры\game.exe. Letters are compared one at a time: ß is not expanded to SS.

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 as chrome* are not supported and never match; write **\chrome*.exe instead.
  • 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 as C:\\Games\**, or a trailing \), surrounding spaces, or a . / .. folder.
  • *_PATTERN_NO_EXTENSION. A pattern must match the whole file name: **\chrome matches only a file named chrome; use **\chrome.exe.
  • *_PATH_LEADING_WHITESPACE and APP_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 **\*, ?:\**, or C:\** 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_BROAD variants 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 as C:/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 when logLevel is Error. Review any / entries in appNames and excludes before 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.exe match 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 example C:\Games\ instead of C:\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.

Full changelog

Don't miss a new proxifyre release

NewReleases is sending notifications on new releases.