Category: Articles

Computer (3)
Open Source (310)
Security (29)
Server (5)

CentOS System IP Access Control

Scenario: You have a bunch of machines. The server IP address being accessed is 192.168.1.1, and the IP address allowed to access it is 192.168.1.2. The rest don’t need to be written down since they’re not used anyway. On Linux systems, SSH is basically the standard connection method, and this can be achieved through file-based control …

How to Trace Intrusions via Logs on CentOS

1. Viewing Log Files: Linux /var/log/wtmp File to Check for Suspicious IP Logins
last -f /var/log/wtmp
This log file permanently records each user login, logout, and system startup and shutdown events. Therefore, as the system uptime increases, the file size will also …

2016 China Open-Source Mirror Sites Roundup

1. Site Mirrors (A). Enterprise Mirrors
1. Sohu: http://mirrors.sohu.com/
2. NetEase: http://mirrors.163.com/
3. Alibaba Cloud: http://mirrors.aliyun.com/
4. Tencent: http://android-mirror.bugly.qq.com:8080/ (For app development SDKs only, rate-limited, not recommended)

(B …

How to Install and Configure OpenLDAP on CentOS 6

Recently, our department needed to integrate all the systems, so the leadership decided to use an OpenLDAP database to achieve unified management of all systems. This required configuring an LDAP service on the server, and we chose the OpenLDAP service here. I searched a lot online, but initially none of the configurations were successful, until finally… …

Top Enterprise-Grade DDoS Hardware Firewalls

Currently, the well-known domestic anti-DDoS firewalls in China with good credibility and effectiveness are products from Black Hole, Golden Shield, and Aodun. Many other so-called “XX Shield DDoS Firewalls” are mostly plagiarized or tampered versions of these, or entirely ineffective and merely …

Zabbix in Action: Monitoring Web Website Performance

I’ve been debating which example to use for the demonstration. After much thought, I decided the official one is best. So, how do we use Zabbix to monitor web performance and availability? We break it down into a few steps: opening the website, logging in, login verification, and logging out — four small steps in total. Let’s look at the example. Detection Process 1. Open the website: e.g., …

How a 301 Redirect Caused UC Communication Failure

A few days ago while testing a project, everything was normal in the early stages. Later, during continuous adjustments, I discovered that UC communication in Discuz was constantly failing. After testing it repeatedly with no success and searching through numerous tutorials online without resolving the issue, I thought back and realized few recent changes had been made to the forum. So, I proceeded with the rollback testing method…

How to Attach Files to Zabbix Alert Emails

A few days ago, I set up Zabbix to monitor server information. However, when configuring email alerts, the alert subject was always displayed correctly, but the alert content kept being sent as an attachment, as shown below:

After searching online for quite a long time, I finally found the solution. Here it is for your reference: #!/bin/bash
to=$1
subject= …

An Overview of Orabbix Monitoring Metrics

Orabbix provides a relatively lightweight client for comprehensive monitoring of multiple Oracle database instances. In this respect, its role is somewhat similar to tools like SQLDeveloper or Toad used in daily work. In previous chapters, we spent some time comparing …