fail2ban error with firewalld (f2b-

I have been using fail2ban for months without any issues but after a CentOS upgrade it stopped working. It seems it doesn’t create the iptables entries. I have already tried restarting fail2ban, restarting the VPS, and all the basic stuff. The relevant errors are: In /var/log/fail2ban.log: 2020-01-12 12:15:52,994 fail2ban.actions [496]: NOTICE [postfix-reject-dynamo] Restore Ban 12.160.87.219…

Shared hosting: how to prevent a user to see another’s files but still have their files writable by Apache/PHP

I have read What permissions should my website files/folders have on a Linux webserver? but here is a linked question: let’s say: /var/www/bobweb/ is owned by bob:bob /var/www/eveweb/ is owned by eve:eve and that each site has an Apache VirtualHost, linking to bobweb.com and eveweb.com. Each website needs to be writable by Apache (there is…

Squid configuration cache_peer does not take effect?

The configuration is as follows: # Squid normally listens to port 3128 always_direct allow all ssl_bump bump all sslproxy_cert_error allow all http_port 3128 ssl-bump cert=/etc/squid/squid.pem key=/etc/squid/squid.pem generate-host-certificates=on options=NO_SSLv2 #http_port 3128 cache_peer 127.0.0.1 parent 10809 0 no-query never_direct allow all I tested it and found out that the 127.0.0.1:10809 proxy was not taken? However, when I…

Windows server 2019 – expressvpn – MySQL error: “mysqli_real_connect(): (HY000/2002): The requested address is not valid in its context.”

enter image description here Configuration: – Windows Server 2019 – Apache + MySQL (xampp) – ExpressVPN When the VPN is active connecting to phpMyAdmin in localhost browser return the error “mysqli_real_connect(): (HY000/2002): The requested address is not valid in its context.”. How can I solve it? Thank you!