mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2688] [Feature Request] subdomain restriction #2147
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2147
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hons82 on GitHub (Dec 3, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2688
Describe the feature request
I'd like to restrict the subdomains a client is allowed to register. The idea behind is that I' like to specify on the server that client1 is allowed to open for instance
cl1(akacl1.mydomain.com) and client2 is alowed to opencl2andclient2(could be a regex or a list, whatever is easier)On the server I'd then need to specify a path to a file, or a REST service that gets as parameters
cl2andabcd1234and can then check if that combination is allowed.I hope it is clear what I'm looking for, otherwise please do not hesitate to ask.
Do you see a chance to implement such a functionality as plugin? In that case I could try to implement it myself
Describe alternatives you've considered
I'd like to offer this functionality to my clients, so I'd need to ensure that one client is not hijacking the connection of another client, so I need such a functionality and I did not find a feature like this in the docs.
But as said, I could help with the implementation if possible
Affected area
@fatedier commented on GitHub (Dec 3, 2021):
https://github.com/fatedier/frp/blob/dev/doc/server_plugin.md
You can try server plugin.
@hons82 commented on GitHub (Dec 6, 2021):
That looks promising... I wasn't aware of that.
I'll try that.
@github-actions[bot] commented on GitHub (Jan 6, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.