Giter Site home page Giter Site logo

Comments (3)

nachoparker avatar nachoparker commented on May 13, 2024

Is it possible that you have modsecurity enabled? That that exact issue was fixed in v0.12.1

Thanks for the feedback

from nextcloudpi.

Jakethethird avatar Jakethethird commented on May 13, 2024

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.

nachoparker avatar nachoparker commented on May 13, 2024

Great.

  1. you do not need to reboot after changing any config unless otherwise stated :)
  2. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.