Recent content by webunity

  1. W

    BFM: mod_security2=19 & phpmyadmin4=1

    Yesterday one of my customers which i've migrated to a new server was blocked in CSF with this line. From what i know he was doing is that he was using phpmyadmin to remove "views" which were not properly migrated and recreate those. However, i cannot seem to find out why he was blocked. Can...
  2. W

    Exim 'Connection timed out' with CSF enabled, how?

    So i see this kind of information in the logs: And for example: as you can see a lot of connection timeouts. Also; when i do this with CSF enabled: it simply doesn't connect. With CSF disabled (csf -x + iptables-save shows empty table) it goes fine: this is the output of iptables-save...
  3. W

    CSF blocks CURL requests

    Unfortunately it also is failing on the commandline @mangelot . I did not open ports to the payment provider since it has to be done on IP level and i would need to unblock hosts.
  4. W

    CSF blocks CURL requests

    How can i allow "ALL" curl (outgoing) requests from my server to external sites? In this case it was a POST request to a payment provider. I tried adding curl to the csf.plist file but still requests to an IP (which i could not find in any of the IPtables or .deny lists) failed. Only after...
  5. W

    mod_security causing the ERR_CONNECTION_TIMEOUT (!?)

    Related to my other post where I ruled out CSF to be culprit i am continuing my investigation what can cause the ERR_CONNECTION_TIMEOUT issues i see on my server. I have also ruled out http2 since by removing the http2 protocol from /etc/httpd/conf/extra/httpd-phpmodules.conf like this (old)...
  6. W

    Re-installing CSF using Zeiters' script or not?

    Well turns out it is not (only) my IP but also customers are facing issues as it seems. So it is definately something that is temporarily blocking sites. Therefore i was wondering if there are any other places to look for besides the above pasted config. Btw, I have updated DirectAdmin to the...
  7. W

    Re-installing CSF using Zeiters' script or not?

    @Richard G if i can't find my IP in the brute force manager, and all access to my server is sometimes not possible (for about 1-2 minutes) from my IP; where can i look at next? After this time all is resolved but it sucks that i get these intermitted connection problems.
  8. W

    Re-installing CSF using Zeiters' script or not?

    I have issues with clients connecting to my websites. I think i might have tracked it down to ipads with safari causing that they are not able to connect to my server; Does anybody see anything strange in the config below which could cause a 'temporary' ban on IPs (within 5 minutes the site...
  9. W

    php-fpm, safe to enable 'exec'?

    I am running PHP-FPM for my domains and i have installed imagick, for some (older) domains i need to have access to the 'convert' application and 'quota' application (and only those ones). Is it safe to enable system & exec then? Since all processes run as user anyway?
  10. W

    [HOWTO] Get 'libsodium' working with PHP 7.2

    I come from PHP 5 (mcrypt) and need to migrate to libsodium. Even tough sodium should be part of PHP 7.2 by default, without the need for a PECL extension, all sodium function calls failed. My DA install is 100% fresh, with only PHP 7.2 (CentOS 7 with php-fpm). Here is what i did to make it...
  11. W

    PHPMailer + DKIM. Re-use DA private key?

    Apparently, PHPMailer supports signed messages using DKIM: https://github.com/PHPMailer/PHPMailer/blob/master/examples/DKIM_sign.phps Assuming i have a domain with a DKIM entry 'x', i need to have the private key, according to the source code: //See the DKIM_gen_keys.phps script for making a...
  12. W

    Magento2 custom memory-limit

    If i want to tweak the memory limit for a Mangento 2 install, without increasing the max memory limit for my entire server, i think i should use this guide; https://help.directadmin.com/item.php?id=622 Question is (since some Magento 2 commands you run on CLI) would a [PATH=/home/...] be...
  13. W

    Trying to understand "filter.conf" in /etc/virtual/<domain>.<ext>

    Trying to understand "filter.conf" in /etc/virtual/<domain>.<ext> I have the following in the /etc/virtual/<domain>.<ext>/filter.conf of one of my domains; action=action=email high_score=15 high_score_block=no where=userspamfolder I've searched high and low and only seem to be able to find...
  14. W

    Magento 2 + PHP 7 + Opcache & APCu

    In the past i've compiled APCu 4.0.6.1 from source and installed it on my server. I am migrating to PHP-FPM 7.x for my new server setup and i was wondering if there is a possibility to install APCu on PHP7. Reason i am asking is because i see conflicting messages; On the one hand i see that APC...
  15. W

    How to block IPs with Brute Force Monitor in DirectAdmin using CSF

    On this page: I need a firewall. What are my options? The following guide is mentioned: How to block IPs with Brute Force Monitor in DirectAdmin using CSF There is an automated install script in there, but that skips 2 of the optional steps in the manual guide. I am running CentOS7 and just...
Back
Top