Skip to content

Priority and Duplication Issues with Resource Rules #1088

@redsfyre

Description

@redsfyre

Hi, thanks for the amazing solution, i was tired using clownflare..

I'm encountering some issues when defining allow and deny paths for my resources on Pangolin. Specifically, I'm having trouble managing the priority of the deny rule and sometimes dealing with rule duplication.

Problem Description

  1. Deny Rule Priority Issue:

    • After enabling rules for my resources, I want to allow access to certain paths and deny all others. You can see my current rule table in the attached screenshot.
    • The problem is that I cannot change the priority of the deny rule. For example, I'm trying to keep the deny rule as the last rule so that Pangolin accepts traffic to the top paths first, and then rejects the others. As far as I understand, this is how rules are supposed to work.
    • However, after adding more allow rules, these new rules are saved below the deny rule, and the deny rule's priority cannot be changed afterward.
    • As a workaround, I am forced to delete the deny rule every time I add new allow rules, and then re-create it after all the allow rules have been added.
  2. Duplicated Rule and Unique Priority Issue:

    • Sometimes, when I refresh the page, I see that some rules are duplicated.
    • I cannot save new rules without clearing these duplicated rules, because each rule requires a unique priority.

Additional Information

  • I'm encountering these issues on both latest version Firefox and Chrome browsers on Ubuntu 22.04 and Fedora 40.
  • While changing the deny rule's priority sometimes works in Chrome, I've never been able to make it work in Firefox.
  • I've run both browsers in safe mode with factory settings (fresh configs, no extension etc) to ensure that no browser extensions etc are causing these problems.
  • Pangolin version is v1.7.2 CE

I'm not waiting for a response or a bug fix for myself; I'm simply trying to inform you about the issues I encountered. Some of these might not be reproducible, and that's okay. If you need any more information than what I've provided, please let me know.

Best regards,

Final notes:
(Not a native English speaker so i translated and constructed this message using Gemini)


Image

Can we just drag and drop these rules?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions