Design of basic experiment of information security system design of five communication protocols

Source: Internet
Author: User

Beijing Institute of Electronic Technology (BESTI)

Real Inspection report

Course: Information Security system Design Basic experiment class: 1353

School Number name: 20135305 Liao 20135310 Chen Chaojan

Score: Instructor: Lou Jia Peng Experimental Date: 2015.11.17

Experiment level: Preview degree: Experiment time: 15:30-18:30

Instrument Group: Compulsory/Elective: compulsory test number: five

Experiment Name: Communication protocol design

Experimental purposes and requirements:

1. Understand the process of password system development;

2. implement a simple communication protocol;

3 . Includes grouping algorithm and symmetric algorithm;

4. to have a systematic security design.                                  

Experimental instrument:

Name

Model

Number

Computer

Lenovo

1

Experiment contents, steps and experiences (attached paper):

First, the experimental steps

1. Read and understand the source code

Go to the/ARM2410CL/EXP/BASIC/07_HTTPD directory and read the source code using the VI editor or other editor.

2. Compiling the application

Run make to produce an executable file httpd

[Email protected]/]# cd/arm2410cl/exp/basic/07_httpd/

[[email protected] 07_httpd]# make

Armv4l-unknown-linux-gcc-dhttpd_document_root=\ "/mnt/yaffs\"-c-o httpd.o httpd.c

Armv4l-unknown-linux-gcc-dhttpd_document_root=\ "/mnt/yaffs\"-c-o copy.c

Armv4l-unknown-linux-gcc-o. /BIN/HTTPD HTTPD.O Copy.o-lpthread

Armv4l-unknown-linux-gcc-o httpd HTTPD.O Copy.o-lpthread

[[email protected] 07_httpd]# ls

copy.c Doc httpd HTTPD.C HTTPD.O

index.html Makefile copy.o Doc Google

3. Download and debug

Use the NFS service to download the HTTPD to the Development Board and copy the test page for debugging, in this case the index test page. Download result one:

4. Native Test

Enter http://192.168.0.111 (111 for the IP address of the Up-cup S2410 Lab board) in the desktop browser to observe the connection request results (2.7.8) in the client's browser and the print information for the server on the Development Board. The results of the experiment are as two:

Figure two native test results

Third, the problems encountered and solutions

1 , when running the make command to produce the executable file httpd, we run the make command after the end, go into the 07_httpd folder to view, found that there is no generation httpd this file, detailed see three:

Figure three Questions one

Workaround: Run the make command again to get the prompt "can ' t open output file. /bin/httpd ", you know, in our current 07_HTTPD folder in the parent directory WS does not exist in the Bin folder, so the command is not allowed to enter the WS/BIN/HTTPD path, thus, We chose to use mkdir, the command that created the specified name directory, to return to the top-level directory of the current directory, using "MkDir bin" to create the bin directory in the WS document, and then run the make command to produce httpd files, the resolution process such as four:

Figure Four Problem solving process

2 , when you download the HTTPD service to the Development Board in this step, Mount HyperTerminal communication with the shared file, enter "Mount-t nfs-o nolock 192.168.0.234:/root/bc/host" when prompted "No such file o R Directory "error prompt,

Workaround: Review the shared files directory again, make sure we do not have the/ROOT/HOME/BC directory, modify the command line to "Mount-t nfs-o nolock 192.168.0.234:/home/bc/host" To resolve the prompt error, Resolution process Five:

Figure five problem two resolution process

Design of basic experiment of information security system design of five communication protocols

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.