Skip to content

Conversation

@frnandu
Copy link

@frnandu frnandu commented Nov 27, 2025

Evaluating strfry as a NWC relay alternative implementation we need such validation of REQ filters

  filterValidation {
        ## Example: Strict NWC relay configuration (similar to Alby's relay)
        enabled = true
        maxFiltersPerReq = 3
        minFiltersPerReq = 1
        maxKindsPerFilter = 3
        allowedKinds = "13194,23194,23195,23196,23197"
        requireAuthorOrTag = true
    }
  

@frnandu frnandu changed the title Add REQ filter validation feature: REQ filter validation Nov 27, 2025
@frnandu frnandu changed the title feature: REQ filter validation feat: REQ filter validation Nov 27, 2025
@dskvr
Copy link

dskvr commented Dec 10, 2025

@frnandu every one of these filter validations can be achieved with plugins.

@frnandu
Copy link
Author

frnandu commented Dec 10, 2025

@frnandu everyone one of these filter validations can be achieved with plugins.

AFAIK plugins are only for event writing policies, not for REQuests filters.

@dskvr
Copy link

dskvr commented Dec 14, 2025

Ah, yeah, you're right 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants