Repository navigation
Conversation
- update.py asks GitHub releases/latest (stdlib urllib); the window offers the installer for this OS/arch when a newer version exists, silently skips on any network error. Windows builds keep ssl; both builds carry piewall's metadata so the frozen app knows its version. - site: a production build fails without PUBLIC_COFFEE_URL instead of shipping a coffee button that links to #coffee.
piewall listed only the pf rules it had created, so a fresh install showed an empty window. It now also lists the macOS Application Firewall's app list (readable without a password) and routes Allow/Block/Delete and per-program rules to socketfilterfw, batched into the same single password prompt as pf.
|
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.



What
src/piewall/update.py(stdlib only) asksapi.github.com/repos/TheeraphatStudent/piewall/releases/latestwhen the window opens, in a background thread. If the tag is newer than the installed version, a dialog offers the download for this machine:piewall-setup.exeon Windows,piewall-macos-arm64.pkg/-x86_64.pkgon macOS. Offline, rate limits or bad JSON are ignored until the next launch. The CLI and MCP server do not check.ssl/_hashlib(HTTPS needs them; the exes get a few MB bigger). Both specs bundle piewall's dist metadata so the frozen app knows its version.PUBLIC_COFFEE_URLis missing or isn't ahttps://buy.stripe.com/link. Before, the button silently fell back to#coffee.Verified
Not verified
macOS: Application Firewall rules
piewall on macOS listed only the pf rules it created itself, so a fresh install showed nothing.
PfBackendnow also lists the Application Firewall's app list (socketfilterfw --listapps, no password needed) as incoming per-app rules. Allow/Block/Delete and new per-program rules go throughsocketfilterfw, batched into the same single password prompt as pf changes. Those rules show as disabled while the Application Firewall is off; per-app disable is refused with a clear message (macOS has no such switch).Verified on this Mac:
piewall listshows its 8 app rules; the window shows 8 rows.