Skip to main content

Issue with caldav sync DoS Protection Activated

Comments

4 comments

  • kerridge
    I have found where the error text can be found:
    /usr/local/cpanel/Cpanel/Httpd.pm: if ( int $httphead->header('content-length') > 100000 ) { print STDERR "DoS Protection Activated; PROPFIND larger than 100k discarded\n"; $self->force_last_request(); }
    Here are my server details (root access)
    /etc/redhat-release:CentOS release 5.11 (Final) /usr/local/cpanel/version:11.56.0.43 /var/cpanel/envtype:xen pv CPANEL=11.56 Server version: Apache/2.2.31 (Unix) Server built: Oct 28 2016 14:05:39 Cpanel::Easy::Apache v3.34.7 rev9999 PHP 5.6.27 (cli) (built: Oct 28 2016 14:13:36) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.1.1, Copyright (c) 2002-2016, by ionCube Ltd. with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies mysql Ver 14.14 Distrib 5.6.33, for Linux (x86_64) using EditLine wrapper
    0
  • kerridge
    I've changed /usr/local/cpanel/Cpanel/Httpd.pm:
    #if ( int $httphead->header('content-length') > 100000 ) { # print STDERR "DoS Protection Activated; PROPFIND larger than 100k discarded\n"; # $self->force_last_request(); #} #elsif ( int $httphead->header('content-length') > 0 ) { if ( int $httphead->header('content-length') > 0 ) {
    It now works. Is there any way of resolving this more elegantly?
    0
  • Infopro
    It's quite a big calendar, synchronising with Outlook using caldav synchroniser.

    Please feel free to open a ticket directly to cPanel Technical Support about this. I would think if this is an issue not many come across but you have due to the large calendar, they'd like to know about it to make the cPanel product better.
    0
  • kerridge
    Cpanel concurred and advised that I create a feature request, I have now located to make the change more permanent.
    0

Please sign in to leave a comment.