-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce bruteforce settings #2095
Conversation
@rullzer, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975, @blizzz and @LukasReschke to be potential reviewers. |
Let's add this to Lines 22 to 34 in 9fff4b0
|
Codecov Report
@@ Coverage Diff @@
## master #2095 +/- ##
============================================
+ Coverage 53.96% 53.98% +0.01%
- Complexity 21266 21279 +13
============================================
Files 1259 1259
Lines 74136 74173 +37
============================================
+ Hits 40009 40041 +32
- Misses 34127 34132 +5
Continue to review full report at Codecov.
|
37715af
to
0385979
Compare
@LukasReschke please have a look |
0385979
to
56b33e1
Compare
@MorrisJobke could you have a look at the crappy CSS? For some reason it wants text in order to show the trash icons
|
I will have a look once I'm in the office 😉 |
@rullzer The security page is empty 😢 |
Enable the app |
Ah ... 🙈 |
56b33e1
to
9e8cefb
Compare
@rullzer any update here? |
9e8cefb
to
9aaf02c
Compare
Hello all, Any ETA on this? |
9aaf02c
to
73f455d
Compare
@MorrisJobke we can still force enable apps that are in a seperate repo by bundling them for a release if needed. |
Let me rip this apart soonish. |
This adds the bruteforce settings app that allows to configure (for now) subnets that are to be ignored when doing brute force analysis. This can for example be the LAN since we trust people from there. * Add app * Add php tests * Add js tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
From nextcloud/server#2095 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
https://github.com/nextcloud/bruteforcesettings Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
73f455d
to
e09c386
Compare
78e79f7
to
e5fb478
Compare
Ok lets get this in! |
tests/karma.config.js
Outdated
], | ||
testFiles: [ | ||
'apps/bruteforcesettings/tests/js/IPWhitelistSpec.js' | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be better executed in the apps repo? Otherwise the PR there aren't checked with the tests itself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it should.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beside the one comment this is fine 👍
e5fb478
to
aee2d63
Compare
@@ -2,6 +2,7 @@ | |||
"shippedApps": [ | |||
"activity", | |||
"admin_audit", | |||
"bruteforcesettings", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rullzer what's that used for? I don't see an app bruteforcesettings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well it is just the list of shipped apps. I'm fine with removing that as well... if we decide to just ship it from the appstore...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, didn't see your comment #2095 (comment). Now it makes sense!
This adds an app with adds an admin settings. Lets the admin insert ip ranges (netmask) to exclude for throttling.
TODO:
@LukasReschke as discussed.