Supercharge Your Innovation With Domain-Expert AI Agents!

Start-stop method and system and security detection method and system based on construction of Linux system services

A system service and security detection technology, applied in the field of host system security enhancement, can solve problems such as complex and tedious installation packages, and achieve the effects of improving construction speed, simple and fast construction, and shortening detection cycle.

Inactive Publication Date: 2018-02-23
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a method and system for opening and closing and safety detection based on the construction of Linux system services, aiming to solve the problem that the detection of the existing SSR security configuration detection module depends on complex and cumbersome installation packages, and realize the rapid construction of Linux System services, so as to quickly test the functional availability of service detection items in the SSR security configuration detection module, improve test efficiency, and shorten the test cycle

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Start-stop method and system and security detection method and system based on construction of Linux system services
  • Start-stop method and system and security detection method and system based on construction of Linux system services

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] Such as figure 1 As shown, the embodiment of the present invention discloses a method for opening and closing based on constructing Linux system services, comprising the following steps:

[0035] Construct Linux system service startup and shutdown scripts.

[0036] The init.d directory contains many startup and stop scripts for various services of the system. When Linux starts, it will search for the service scripts in these directories, and determine different startup levels according to the run level of the scripts.

[0037] In the init.d directory, use the existing service to clone the target service. For example, when constructing the target service dovecot service, you can use the existing Linux service network to construct, that is, copy the network service, and execute the following command to complete the copy task:

[0038] "cp / etc / init.d / network / etc / init.d / dovecot"

[0039] By copying the command, the dovecot service is added to the init.d directory. Howev...

Embodiment 2

[0083] The embodiment of the present invention discloses a security detection method based on constructing Linux system services, comprising the following steps:

[0084] Construct Linux system service startup and shutdown scripts.

[0085] In the init.d directory, use the existing service to clone the target service. For example, when constructing the target service dovecot service, you can use the existing Linux service network to construct, that is, copy the network service, and execute the following command to complete the copy task:

[0086] "cp / etc / init.d / network / etc / init.d / dovecot"

[0087] By copying the command, the dovecot service is added to the init.d directory. However, the completed dovecot service is different from the real dovecot service. Its content is the same as that of the network service, but the name has changed. When the system recognizes the service type, because the system judges only according to the name, although the substantive content of the c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides start-stop method and system and security detection method and system based on construction of Linux system services. The start-stop method comprises: constructing a Linux system service start-stop script; configuring corresponding start levels, and starting constructed system services; configuring corresponding start levels, and stopping the constructed system services. Target services are cloned to quickly construct the target services and quickly configure false system service start state, the trouble due to the need of a conventional installation service for installing massive dependencies is avoided, batch operation can be performed in script form, hundreds of system services can be simulated within a short time, construction is simple and fast, Linux service construction speed is greatly increased, test efficiency of an SSR (system security reinforcement) product security configuration module is improved, and test cycle is shortened; the start-stop method and system and security detection method and system based on construction of Linux system services are applicable to all Linux systems.

Description

technical field [0001] The invention relates to the technical field of host system security enhancement, in particular to a method and system for opening and closing and security detection based on constructing Linux system services. Background technique [0002] Nowadays, host system security is an important topic. SSR (System Security Reinforcement, Host Security Enhancement System) is based on the kernel-level security enhancement protection for hosts. When unauthorized intranet and extranet users break through the When network security products such as firewalls enter the host, SSR will become the last and strongest line of defense. [0003] Among them, the SSR security configuration detection module can detect the service status in the host system, thereby ensuring system security. The test for the accuracy of service detection items in the Linux system is to detect the SSR security configuration detection module. First, install the Linux system service, and then use t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/51G06F21/57
CPCG06F21/51G06F21/57
Inventor 李岩
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More