{"id":204,"date":"2016-03-04T10:38:33","date_gmt":"2016-03-04T15:38:33","guid":{"rendered":"http:\/\/easy-admin.ca\/wordpress\/?p=204"},"modified":"2016-07-12T15:07:02","modified_gmt":"2016-07-12T19:07:02","slug":"how-to-install-perl-syslog-on-centos-7","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2016\/03\/04\/how-to-install-perl-syslog-on-centos-7\/","title":{"rendered":"How to install Perl SYSLOG on Centos 7"},"content":{"rendered":"<p>I was running into some problem with CSF (Config Server Security Firewall)<\/p>\n<p>In the Edit Config Server Firewall (Loggin Settings) I noticed that LFD was not automatically blocking attacks on the server.<\/p>\n<p>Log lfd messages to SYSLOG in addition to \/var\/log\/lfd.log. You must have the<br \/>\nperl module Sys::Syslog installed to use this feature<\/p>\n<p>I had to install the Sys::Syslog perl module to make it work.<\/p>\n<p>[root]# yum install perl-Sys-Syslog<\/p>\n<p>Restart CSF and check the message log to see if there is any error like:<\/p>\n<p>localhost systemd: Unit lfd.service entered failed state.<br \/>\nlocalhost systemd: lfd.service failed.<\/p>\n<p>All working good now \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was running into some problem with CSF (Config Server Security Firewall) In the Edit Config Server Firewall (Loggin Settings) I noticed that LFD was not automatically blocking attacks on the server. Log lfd messages to SYSLOG in addition to \/var\/log\/lfd.log. You must have the perl module Sys::Syslog installed to use this feature I had &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2016\/03\/04\/how-to-install-perl-syslog-on-centos-7\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to install Perl SYSLOG on Centos 7<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=204"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/204\/revisions"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}