{"id":12372,"date":"2024-02-20T12:34:05","date_gmt":"2024-02-20T07:34:05","guid":{"rendered":"https:\/\/alexeyka.zantsev.com\/?p=12372"},"modified":"2024-02-20T12:47:29","modified_gmt":"2024-02-20T07:47:29","slug":"fail2ban-wordpress-lighttpd","status":"publish","type":"post","link":"https:\/\/alexeyka.zantsev.com\/?p=12372","title":{"rendered":"fail2ban, wordpress, lighttpd"},"content":{"rendered":"\n<p>\/etc\/fail2ban\/jail.local:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-red-color has-text-color has-link-color wp-elements-7ac3f10ff7556446e88534d6f66bbba5\"><code># WordPress Jail\n&#91;wordpress-auths]\nenabled = true\nport = http,https\nfilter = wordpress-auth\nlogpath = \/var\/log\/lighttpd\/access.log<\/code><\/pre>\n\n\n\n<p>\/etc\/fail2ban\/filter.d\/botsearch-common.conf:<\/p>\n\n\n\n<pre class=\"wp-block-code has-vivid-red-color has-text-color has-link-color wp-elements-6ad8aafb194cfc527d9626e956a350d5\"><code>&#91;Init]\n\n# Block is the actual non-found directories to block\nblock = \\\/?(&lt;webmail>|&lt;phpmyadmin>|&lt;wordpress>|cgi-bin|mysqladmin)&#91;^,]*\n\n# These are just convient definitions\n# that assist the blocking of stuff that\n# isn't installed\nwebmail = roundcube|(ext)?mail|horde|(v-?)?webmail\n\nphpmyadmin = (typo3\/|xampp\/|admin\/|)(pma|(php)?&#91;Mm]y&#91;Aa]dmin)\n\nwordpress = wp-(login|signup|admin)\\.php\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\/etc\/fail2ban\/jail.local: \/etc\/fail2ban\/filter.d\/botsearch-common.conf:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[283,235,104,164],"class_list":["post-12372","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-fail2ban","tag-lighttpd","tag-wordpress","tag-wp"],"_links":{"self":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/12372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12372"}],"version-history":[{"count":4,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/12372\/revisions"}],"predecessor-version":[{"id":12382,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/12372\/revisions\/12382"}],"wp:attachment":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}