Databases, Systems & Networks La caverne d'Ali Data

février 2024

56 articles

PHP MySQL Benchmark Tool (PMBT v. 0.2)

Source:  Reasons Unbeknownst The old saying “Need is the father of innovation” (or something like that) held true this weekend. I was looking for an easy way to benchmark MySQL…

Bases de données 2 min de lecture

Fail2ban, POSTFIX and SPAM

source: deribin.com Very simple solution: 1) add rule to /etc/fail2ban/jail.conf: [spam] enabled = true filter = spam action = iptables[name=SPAM, port=smtp, protocol=tcp] sendmail-whois[name=SPAM, [email protected], [email protected]] logpath = /var/log/mail.log bantime =…

Logiciel 1 min de lecture

Rate-limit Incoming Port 22 Connections

Both netfilter and pf provides rate-limit option to perform simple throttling on incoming connections on port # 22. Iptables Example The following example will drop incoming connections which make more…

Réseau 1 min de lecture