The basic experiment of information security system Design Five: Communication protocol design 20135327 Guo Hao 20135329 li Hai-air

Source: Internet
Author: User

Beijing Institute of Electronic Technology (BESTI)

Real Inspection report

Course: Information Security design Basic class: 1353

Name: Guo Hao li hai Empty

Study No.: 20135327 20135329

Score: Instructor: Lou Jia Peng Experimental Date: 2015.11.24

Experiment level: Preview degree: Experiment time: 15:30~18:00

Instrument Group: Compulsory/Elective: Experiment Number: 5

Experiment Name: Experiment Three: Communication protocol design

Experimental purposes and requirements: Master in ARM boards implement a simple WEB server process.                                                       

Learning in ARM on the Development Board SOCKET network programming.                   

Learning Linux under the signal () the use of functions.                           

                                                                  

Experimental instrument:

Name

Model

Number

ARM Experiment Box

1

Pc

1

Experiment contents, steps and experience:

1. Connect the experimental box power, use serial line, line, network cable, connect the experiment box and the host

2. Configure the environment according to the experimental one

3. Copy the WS folder to the BC shared folder

4. Modify Makefile

5. Run make to generate the executable file httpd

6. Use the NFS service mode to download the HTTPD to the Development Board and copy the test page for debugging, in this case the index test page.

1. The understanding of the experiment process, the understanding of the knowledge point in the experiment instruction book.

(1). Signal () function

Signal (SIGHUP, sig_ign);

Signal signal function, the first parameter represents the signal value to be processed (SIGHUP), the second parameter is a handler function or a representation, here, sig_ign means ignoring SIGHUP that registered signal.

Sighup is related to console operation, when the console is closed, the system will send HUP signal to all processes that have console SessionID, the default HUP signal action is exit, if a remote login starts a service process and closes the connection when the program is running, it will cause the service process to exit , so the General Service process starts with the Nohup tool or writes a daemon.

2. Problems encountered during the experiment and solutions.

          1. Failed to make a success.

            Workaround: Modify the makefile as follows:

The basic experiment of information security system Design Five: Communication protocol design 20135327 Guo Hao 20135329 li Hai-air

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.