Tags give the ability to mark specific points in history as being important
-
v0.7.0
816d0fef · ·A new Wiki is in progress exposing further documentation. Currently the following pages have been started, with more to come: * [Installation](https://git.gammaspectra.live/git/go-away/wiki/Installation) * [Policy Syntax/ Challenges](https://git.gammaspectra.live/git/go-away/wiki/Challenges) * [Policy Syntax/ Rule Actions](https://git.gammaspectra.live/git/go-away/wiki/Rule-Actions) Remember you can always ask questions or send suggestions via the listed [Support / Contact](https://git.gammaspectra.live/git/go-away#support) methods on the README. * challenges: new refresh mode via javascript, which refreshes using window.location in a `<script>` tag [44c9114ae507bbde0f9d091e361442917c9ac06b] * context: add new CONTEXT action to apply options on current request. [See documentation](https://git.gammaspectra.live/git/go-away/wiki/Rule-Actions#context) [c5ad9cdf03421dffeabf05b7ada74a0209c89b5b e49c4ae72f40d4fd941feb635531d1bb0a4ea282 3234c4e8018be0fea97553c087f20c2c047d0a87 1ea19c5a6c7887af899a0c08c6317ac8c9a62d74 2cb59723714c38737e89f9a3a0b56082735200bc] * This allows fetching/caching general `<meta>` and `<link>` tags for proxying these to challenge/error pages * Backends can also be set via this action, without instantly serving the result. * settings: allow transparent backends that don't set all values [a9f03267b629b20136e1d3f2e3f7dc1c46026c5d] * Allows passing requests with minimal modifications to a backend * templates: explicitly allow overriding logo via cmdline/override in config, have bundled templates support it [606f8ec3a01fc6296526bf7d8d55278d2a032a0f 5bc1ab428b18ed1f368521db90d7733ab81f1d2b] * This was always available by changing the templates directly - made it more explicitly supported now. * Can be set via _config.yml_, `GOAWAY_CHALLENGE_TEMPLATE_LOGO` on container, or a command line argument. * **Feel free to make any changes to existing templates or bring your own, alter any logos or styling, it's yours to adapt!** * examples: forgejo example policy has been lightly altered, clarified, and defaults to use js-redirect instead of js-pow-sha256 except on explicit paths * examples: generic example policy has been lightly altered, non-browser likes will not be challenged by default as it caused breakage when operators did not verify their usecase * examples: added [examples/spa.yml](src/tag/v0.7.0/examples/spa.yml) policy example for Single Page Applications * challenge: challenges and other keyed derivations use a prefix of the incoming client request (`/24` on IPv4 and `/64` on IPv6). Allows for CGNAT cases and temporary IPv6 to work smoother [62ece572d9cf8b839a151d217d22bef4648ac879] * cmd: attach slog to all http servers [e7833a710680432d908020bbf3491bec296e1b6b] * cmd: add go runtime version and arch logs [4ce6d9efa3aa5426f566305cf49fc2cdb1e56c98] * condition: generalize AST compilation, hot load network prefix blocks as needed, walk the AST and detect and preload networks [d6c29846dffc6a3f3f4a266b94f2113f675105fd] * state: explicitly free resources on Close() [d412672ed487a39890ade5f52b86e30761e50373] * settings/bind: allow specifying bind/client timeouts [b9ca196c631868edfbb87cb89d872bb89967670e] * settings/backend: allow configuring dial and transport timeouts [f6a8f50a5379e17f7a0b62ba15301245636b8a50] * docker: fix docker entrypoint to optionally accept the command option [61d0964eb073abca9722bda79fc99c42b96541eb] * challenges: prevent unbounded growth of stored cookies by bundling all state onto a single JWT token [0e62f80f9b06330fba0efb38c308f6493ca01e0a] * challenge: implement IPv6 Happy Eyeballs again, use errors to detect this within challenge [666ffa574aa2878f0fc195d126a2f6e7b0ecb8c6] * challenge: fix skipped challenged being logged as issued due to inner condition [1a9224e453276514def696176341640c88b96b86] * utils: fix radb fetching lines too long for scanner buffer size, allow caching empty results [b8bf35d4ded77ad3d7949de6ba68fb83c9e87476] * state: fix errors when loading network lists [a87023861a0f146ccb13d5833349d9b856f4ee3d] And more!. See the [changes comparison](https://git.gammaspectra.live/git/go-away/compare/v0.6.0...v0.7.0) for a full list.
-
v0.6.0
0473109e · ·* settings: introduce settings YAML file to complement cmd arguments. Allows for more fine-grained configuration. See [examples/config.yml] [9541c58eeb400806c6dce526c8f2e9c513ecc342 398675aa3cb1256f6dd696e69c2d91182700c9ec] * metrics: Added prometheus metrics for rules and challenges [47f9f6fee6b2ca059bec8d827a88a8a4b394fb9a] * challenge: Skip already issued challenges [cd372e1512de5d86078c7b6b202049fa7906cc00] * challenge: add cookie prefix to cookies tied to host/pubkey to prevent reuse [3bbd50764a4e648253a6afe04f51ad5e69bd390c] * docker: include default snippets onto Dockerfile, allow multiple snippets folders [bca5b25f2822eb52afe40b2b03085124b97d15ac] * cmd: support changing path from well-known prefix, allow configuring full path [a85aa95dbd384efc182ff31063fb7fbc8283e745] * condition: query is using the right CEL map [49e46e7e9f37a9b5086e37dc9352819dc3528b94] * dnsbl: normal error handling on resolution error [96870cc192155b31ce589ccd428e549b2cd82c8d] * context: delete query parameters set by go-away [0b9f077b6c1ba807db021d67d935be6a6555b67a] * cmd: log errors with ERROR severity via slog, additionally print newline string [c33531d7eb6adcd16be22778f1160a159e431cb7]
-
v0.5.1
cef915b3 · ·Major rewrite of policies and code around challenges and actions. Includes other goodies as a side effect. * Add nested rules * Add backend action, allow wildcard in backends * Remove poison from tree, update README with action table * Allow defining pass/fail actions on challenge * Remove redirect/referer parameters on backend pass * Set challenge cookie tied to host * YAML snippets * Implemented live reloading * Caching of network rules And more