Comments (3)
Is it possible that you have modsecurity enabled? That that exact issue was fixed in v0.12.1
Thanks for the feedback
from nextcloudpi.
Yes! I've just turned modsecurity off, rebooted and now I can upload larger files without issue. My NC just upgraded to v.0.12.4, but this problem still existed after that...until I turned of modsecurity.
You say modsecurity is experimental so do you recommend just turning it off, or changing the config? Without it, but just with fail2ban, is it still pretty secure when open to the web?
Presumably fail2ban is protecting the nextcloud login (long random string as password) and not the pi and username of raspbian?
Thanks. Brilliant project!
from nextcloudpi.
Great.
- you do not need to reboot after changing any config unless otherwise stated :)
- sorry, if you had it already active updating to >0.12.1 is not enough, but you have to reactivate Modsecurity from nextcloudpi-config
fail2ban only protects: SSH and brute force login attempts to Nextcloud (too many failed attempts to log in)
if you have your security updates in place and a recent version of NC that should be pretty good.
Modsecurity though... is a BEAST. It is the most secure thing in the world, but it takes a lot to configure it. It works for me with the nextcloud apps I use, but if another user installs another app chances are modsecurity will block it by default and things won't work.
That is why I warn that is experimental... if it does not work for you, you will have to disable it.
Hopefully I will get people's feedback (and/or help) to write a nice ruleset for Modsecurity with NC.
I suggest you read my posts
https://ownyourbits.com/2017/03/23/modsecurity-web-application-firewall-for-nextcloud/
https://ownyourbits.com/2017/02/24/nextcloudpi-fail2ban-installer/
I also suggest you try reenabling Modsecurity and see if everything goes well. It is a nice added layer of security
from nextcloudpi.
Related Issues (20)
- uploadtmp_dir typo in nc-datadir.sh
- Possibility to exclude trashbin from automatic backup HOT 1
- Integrate the web interface into nextcloud HOT 1
- PHP Version auto update breaks NextCloudPI 1.53.0 HOT 3
- Raspnerry PI 5 not working with unofficial power supply HOT 3
- NCP Docker Image is outdated HOT 1
- The documentation site docs.nextcloudpi.com is not loading its content HOT 2
- access activity 503
- v1.53.1 breaks NextcloudPi panel on custom domain (4443) HOT 16
- Request entity too large when sync files using Photosync app
- NCP Disable automatic preview generation HOT 1
- setting up webauthn with fido2 not working
- [IMPORTANT] nc-encrypt will totally brick the entire installation HOT 1
- Run a module (etc nc-upnp) every 6 hrs support
- Clean Install Max Upload Is 8M HOT 4
- Upgrade from 26 to 27 fails, rollback as well
- Format USB drive doesn't respect flag from GUI HOT 2
- Restoring Backup after drive crash is not possible HOT 1
- How to set radio 0 hard disk backup in nextcloudPI; how to mount different hard disk partitions for different users, HOT 1
- Unable to restore NCP instance backup with ncp-restore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextcloudpi.