Linux Security---Using denyhosts to prevent SSH brute force cracking

1. Understanding DenyHostsThe SSH password is often violently cracked during operations, and DenyHosts is a tool written using python2.3 to filter out illegal hacking by/etc/hosts.deny. It first checks the/var/log/secure logs to monitor the same IP,

Three time properties under Linux

the files under Linux have three time attributes. atime,ctime,mtime, respectively. Atime:accesstime, which is the file's most recent visit. CTime:change Time, which is the most recent modification of the file (this is not the create time created).

Linux Security---Remote log management

Remote Log Management:s:192.168.10.115c:192.168.10.431.s,c End Mount RsyslogYum-y Install Rsyslog2. Modify the S-side configuration to monitor 514 ports and provide remote log storage.vi/etc/rsyslog.conf # #去掉13, 14,17,18 's Notes# provides UDP

Basic filtering techniques for grep under Linux

Basic filtering techniques for grep under LinuxDisplay a string containing orcl-extract-serv:63Tail-f/opt/apache/apache-tomcat-6.0.29/logs/catalina.out |grep orcl-extract-serv:63Whitelist filtering policyDisplay a string containing orcl-extract-serv:

Linux commands Daquan (4)

Some files on Windows we want to see the content, as long as there is a corresponding file of the viewing software, directly open can be seen, such as word files.On Linux, you can do this with some commands. The functions of these commands are

Installation of VMware and Redhat Enterprise Linux 6

Create a virtual machine pcFile->new Virtual Machine->custom->...->i would INSTALL the OS later->...->red HAT ENTERPRISE LINUX 6-&G T;...-> Select Path->...->nat->...->maximum DISK SIZE (GB): The maximum amount of window capacity, rather than the

Linux Common Commands Summary--cd

1. Function: Change the current working directory and view the Help information by helping CD2. Usage:CD [-l|-p] [dir]3. Parameters:-L: The default parameter, if there is a linked directory, access to the linked directory;-P: Accesses the actual

Deploying Jenkins under Linux

#前提先建好/opt/app directory   #将/opt/app directory assigned to the user Jenkins with root account Chown jenkins:jenkins /opt/app 1, from Jenkins Official website Download WAR2, will Jenkins.war-Root.war this is to define the port of Jenkins directly

Virtual NIC Tun/tap under Linux

#include #include #include #include #include #include #include #include int Tun_create (char *dev, int flags){struct Ifreq IFR;int FD;int cmd;if (FD = open ("/dev/net/tun", O_RDWR)) {return FD;}memset (&IFR, 0, sizeof (IFR));strcpy (Ifr.ifr_name,

Linux Basic article five--find it!

We know that there are a lot of files in Linux, and sometimes we may have to look for a long time to find the files we need, before we mention a command called find it is really a very important command. Basic use of find:Time-related

Linux commands (3): Chkconfig

Chkconfig command--set some apps to automatically shut down or restart when the server restartsThe package Management Chkconfig command checks and sets the system's various services. This is a program developed by Red Hat in accordance with the GPL

View the number of ports occupied by a single process under Linux

A description of the application scenarioThere are times when we go to determine which service is taking up ports, such as when some Java programs occupy multiple ports, then we need to locate the port occupancy based on the process ID of the Java

Linux Learning File Search command

1. File Search command Find2. Find command common options: Search by file name, file size, owner, owning groupFind/-name init indicates a full search for the init file or directory. Note/indicate overall. Represents the current directoryThe search

Linux timed Execution Task command overview: at and crontab

Linux timed Execution Task command overview: at and crontabThere are two ways to implement tasks on a regular basis under Linux: at command and Crontab. If we just want to have a specific task run once, you can use the at Monitor program, and if

Concepts related to Linux device driver (1) modules

The simplest kernel module#include #include Static int__init Hello_init (void)//kernel initialization function{PRINTK ("Hello world!\n");//Print function, similar to Prinft return 0; }Static void__exit Hello_exit (void)//kernel cleanup

Review the Linux system programming learning process

First, the basic knowledge1, Linux operating system, familiar with the commonly used directives.2, the use of vim compiler, makefile writing.3, the user and the rights related knowledge.4, the concept of environment variables under Linux.Ii.

Linux Basic article

Background knowledgeComputer: Accept the user's instruction and data, after processing the data of the central processor and the logical unit, to produce or store the useful information.Computers include:(1) Input unit: such as keyboard, mouse,

Linux device driver-wait queue implementation

#include #include #include #include "ioctl_led.h" # Define Dev_name "Test-dev" volatile bool empty = true;//A pointer variable that defines a process resource struct task_struct *task;int test_open (struct inode * Inode, struct file *filp)

MAC Linux Installation memcached service

Today when installing the Memcached service on a MacLibevent dependent packages need to be installed before installing memcachedSo use brew install LibeventError during installationWarning: You are using OS X 10.11.We don't provide support for this

Linux Multi-threaded learning (1)

First, write a time-consuming single-threaded program:#include #includeint main () { sleep (5); printf ("programexited.\n");}Compile and run the program, which outputs after 5 seconds and no longer responds to other messages or performs other

Total Pages: 5467 1 .... 2605 2606 2607 2608 2609 .... 5467 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.