nextcloud / nextcloud/nextcloudpi
request - ability to turn off public IP in trusted domains
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
The ability to turn off public IP to trusted domains?
https://github.com/nextcloud/nextcloudpi/commit/1f11d40c47811d6f18373af5d1d80d7f48be8e36
turn on or off public IP to trusted domains under bin / ncp / CONFIG / nc-trusted-domains.sh and etc / ncp-config.d / nc-trusted-domains.cfg
Then it is possible to use fail2ban to block untrusted connections.
Fail2ban will read nextcloud.log (failregex = ^. * "RemoteAddr": "". * Trusted domain error. * $).
Loglevel in nextclod must be set to 1.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with bin/ncp/CONFIG/nc-trusted-domains.sh and etc/ncp-config.d/nc-trusted-domains.cfg, then review the linked commit for the existing trusted-domain behavior. Done means users can turn public-IP handling for trusted domains on or off and use the resulting Nextcloud logging with the stated fail2ban rule.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- security
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100