Skip to content

Releases: croessner/nauthilus

Release v1.2.7

19 Sep 13:53
Compare
Choose a tag to compare

Unreleased

v1.2.7 - 2024-09-19

Feat

  • Add status message for GeoIP policy violations

    • Add ScriptName field to Lua script actions
    • Add AccountField to various auth structs and Lua requests
    • Refactor AuthState initialization logging

    Fix

  • Update Prometheus metric label from PromFeature to PromFilter

    • Fix client IP extraction from forwarded addresses
    • Remove commented-out logo image code
    • Fix client IP extraction by handling multiple IPs correctly
    • Refactor X-Forwarded-For processing in authentication.
    • Handle logout for inactive sessions and update error messaging
    • Add version tag extraction to workflow

Release v1.2.6

16 Sep 08:59
Compare
Choose a tag to compare

Unreleased

v1.2.6 - 2024-09-16

Feat

  • Refactor logging to use AuthState's AdditionalLogs

    • Add logging of Lua actions summary with custom key-values
    • Refactor network checks and proxy address handling
    • Refactor DNS and RBL handling for efficiency
    • Add DNS metrics to Prometheus monitoring
    • Add colored logging and switch to gin.ReleaseMode

    Fix

  • Add version tag extraction to workflow

    • Fix auth mode check for Basic Auth service
    • Handle closed channels in backend request handlers
    • Ensure default status message is set in LogLineMail
    • Update GUID retrieval in GetProxyAddress function
    • Refactor logging in filter and feature modules
    • Add LuaModContext case to registerModule function
    • Refactor log message strings to global constants
    • Refactor RBL outcome handling
    • Refactor error handling in RBL function
    • Rename logIsLocalMessage to logMessage for clarity
    • Remove SBOM generation with Syft from Dockerfiles

    Pull Requests

  • Merge pull request #87 from croessner/dependabot/go_modules/features/golang.org/x/text-0.18.0

    • Merge pull request #88 from croessner/dependabot/go_modules/features/github.com/gin-contrib/sessions-1.0.1
    • Merge pull request #89 from croessner/dependabot/go_modules/features/github.com/emersion/go-smtp-0.21.3
    • Merge pull request #90 from croessner/dependabot/go_modules/features/github.com/gin-gonic/gin-1.10.0
    • Merge pull request #91 from croessner/dependabot/go_modules/features/github.com/ory/hydra-client-go/v2-2.2.1
    • Merge pull request #92 from croessner/dependabot/go_modules/features/github.com/quic-go/quic-go-0.47.0

Release v1.2.5

11 Sep 10:18
Compare
Choose a tag to compare

Unreleased

v1.2.5 - 2024-09-11

Chore

  • Add GPL license header to source files

    Feat

  • Add request and response logging middleware

    • Enhance Telegram alert with specific feature details

    Fix

  • Add no_auth check in feature_blocklist

Release v1.2.4

10 Sep 11:21
Compare
Choose a tag to compare

Unreleased

v1.2.4 - 2024-09-10

Feat

  • Add blocklist feature integration

    • Add Dockerfile and switch to fmt for error print
    • Add initial blocklist service with periodic updates
    • Add request start time and latency logging

    Fix

  • Ensure Lua stack is clean before running scripts.

Release v1.2.3+2

07 Sep 17:39
Compare
Choose a tag to compare

Unreleased

v1.2.3+2 - 2024-09-07

Fix

  • Add changelog configuration and template

v1.2.3

04 Sep 09:30
Compare
Choose a tag to compare
Update checkout action to fetch full history

Set `fetch-depth` to 0 in GitHub Actions workflows for docker-stable and docker-features. This ensures that the full git history is available for subsequent steps.

Signed-off-by: Christian Roessner <[email protected]>

v1.2.2

02 Sep 19:07
Compare
Choose a tag to compare
Remove Lua state pool and simplify Lua state management

The Lua state pool and related functions have been removed to simplify the codebase. Lua states are now created and closed directly within functions, with necessary libraries and modules registered each time. This change reduces complexity and eliminates potential concurrency issues related to the pool management.

Signed-off-by: Christian Roessner <[email protected]>

v1.2.1

02 Sep 09:52
Compare
Choose a tag to compare
Refactor to use nauthilus_redis module

Replaced nauthilus_builtin functions with nauthilus_redis equivalents. This ensures consistent use of the nauthilus_redis module for Redis operations, enhancing code maintainability and clarity.

Signed-off-by: Christian Roessner <[email protected]>

v1.2.0

30 Aug 10:40
Compare
Choose a tag to compare
Add warning log for unsupported PROXY protocol on HTTP/3

This commit introduces a new logging function to warn users when both HTTP/3 and HAproxy are enabled, indicating that the PROXY protocol is not supported for HTTP/3. This helps in better diagnosing configuration issues related to HTTP/3 setup.

Signed-off-by: Christian Roessner <[email protected]>

v1.1.4

19 Aug 07:29
Compare
Choose a tag to compare
Add wait_random Lua function with tests

Introduced the new `wait_random` Lua function to wait for a random time interval. Added corresponding unit tests to validate behavior and updated relevant constants and plugin actions to integrate the new function.

Signed-off-by: Christian Roessner <[email protected]>