REJECT vs DROP when using iptables

As a general rule, use REJECT when you want the other end to know the port is unreachable’ use DROP for connections to hosts you don’t want people to see. Usually, all rules for connections inside your LAN should use REJECT. For the Internet, With the exception of ident on certain servers, connections from the … Read more

Who updates the wp-admin/core file?

There is no ‘core’ file in WP core files. So if there is such file, you don’t have access to it and it gets modified, then you should be really concerned. My guess would be that it’s some malware/backdoor script. And since it’s created by server script, then there is a chance you can’t access … Read more

Restrict Access without Creating Users

I believe you are on track; add a parameter to the URL that you can test on page-load. You could create a GUID and add a table to the database where you store the email address and the GUID; this will make guessing parameters almost impossible. You could also add a timestamp to the table … Read more

How to view all ssl certificates in a bundle?

http://comments.gmane.org/gmane.comp.encryption.openssl.user/43587 suggests this one-liner: openssl crl2pkcs7 -nocrl -certfile CHAINED.pem | openssl pkcs7 -print_certs -text -noout It indeed worked for me, but I don’t understand the details so can’t say if there are any caveats. updated june 22: for openssl 1.1.1 and higher: a single-command answer can be found here serverfault.com/a/1079893 (openssl storeutl -noout -text -certs … Read more

I am under DDoS. What can I do?

You are experiencing a denial of service attack. If you see traffic coming from multiple networks (different IPs on different subnets) you’ve got a distributed denial of service (DDoS); if it’s all coming from the same place you have a plain old DoS. It can be helpful to check, if you are able; use netstat … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)