How to setup sshguard Using Iptables and centos or redhat (another option is to use fail2ban, checkout my howto here ) 1.Download sshguard source and compile it (could also try yum install sshguard) # wget http://downloads.sourceforge.net/project/sshguard/sshguard/sshguard-1.5/sshguard-1.5.tar.bz2 Other downloads from here […]
How to install snort on centos 5.5
How to install snort on centos 5.5 This guide is a step by step on how to install from source snort-2.9.0.5 on CentOS 5.5 64bits it should work the same way for RedHat. Also with the mysql option enabled. The […]
Setup check_vmware.pl on CentOS
Setup VMWare-CLI Perl Kit on CentOS 5.5 x64 (RedHat) Older Post with Simillar Information And overall info on how to monitor ESX IMPORTANT: For ESX(i) 6.x use https://github.com/op5/check_vmware_api First download my full package witch has all dependencies plus the vmware-vSphere-CLI Required […]
How to setup Centreon with MK_Livestatus
How to setup Centreon with MK_Livestatus Setup mk_livestatus: wget http://mathias-kettner.de/download/mk-livestatus-1.1.10p1.tar.gztar -zxvf mk-livestatus-1.1.10p1.tar.gz cd mk-livestatus-1.1.10p1make installchown nagios.apache/usr/local/lib/mk-livestatus/livestatus.o To patch centreon to use multibrokers: SQL:1. Create new tables in DB: ‘centreon’ CREATE TABLE IF NOT EXISTS `cfg_nagios_bkmod` (`bkmod_id` int(11) NOT NULL AUTO_INCREMENT,`nagios_id` […]
NETFILTER PACKET FLOW
NETFILTER PACKET FLOW (kernel): DROP will not warn REJECT will let them know its closed example: (RULE CHECK CHAIN) (THE RULE, WHAT TO DO) iptables -t filter -A INPUT -s 192.168.0.1 -j DROP Notes: The default for -t is filter […]
How to install NTOP on CentOS 5.5 64bits
Quick and easisest way: wget http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm rpm -Uvh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yum install ntop # Get yum ready yum clean all yum update # Install Development Tools yum groupinstall “Development Tools” # Install more ntop Dependencies yum install libpcap-devel libpcap # Install […]
unable to find valid certification path to requested target
PROBLEM: unable to find valid certification path to requested target Erro server.log (java/glassfish): Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:325) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:219) at sun.security.validator.Validator.validate(Validator.java:218) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:126) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:209) […]