-
Notifications
You must be signed in to change notification settings - Fork 8
block ip+uid combination instead of only ip #29
Conversation
Nice! THX a lot! |
Codecov Report
@@ Coverage Diff @@
## master #29 +/- ##
============================================
+ Coverage 70.56% 71.76% +1.19%
- Complexity 70 73 +3
============================================
Files 12 12
Lines 282 301 +19
============================================
+ Hits 199 216 +17
- Misses 83 85 +2
Continue to review full report at Codecov.
|
no database schema change required? @karakayasemi |
No change required for this PR. We are already storing uid in database. |
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.
works generally but after a successful access from that IP the blacklist is cleared for the IP not the IP/UID combination
https://github.com/owncloud/security/blob/8d3c1b4bd824c1f398933f5b62e338c9d2d2416f/lib/Db/DbService.php#L142
@karakayasemi still does not work for me. In Hooks.php you still calling the old delete function
some end-to-end tests would be good here to test all this cases |
5e234ad
to
a85a2ad
Compare
@individual-it Thanks for your help. I believe, I solved the problem this time. I have no experience in end-to-end testing, but I would like to add. Where should these tests place in the folder structure? |
a85a2ad
to
d43a5f1
Compare
@karakayasemi we put the usually into |
@DeepDiver1975 I guess we can merge this. I will create a new issue for end-to-end tests. |
implementation of #27