Implementation of a Hypertext Transfer Protocol Server on a High Assurance Multilevel Secure Platform
Total Page:16
File Type:pdf, Size:1020Kb
Calhoun: The NPS Institutional Archive Theses and Dissertations Thesis Collection 2000 Implementation of a hypertext transfer protocol server on a high assurance multilevel secure platform Bersack, Evelyn Louise Monterey, California. Naval Postgraduate School http://hdl.handle.net/10945/9236 NAVAL POSTGRADUATE SCHOOL Monterey, California THESIS IMPLEMENTATION OF A HYPERTEXT TRANSFER PROTOCOL SERVER ON A HIGH ASSURANCE MULTILEVEL SECURE PLATFORM by Evelyn Louise Bersack December 2000 Thesis Advisor: Cynthia Irvine Second Reader: Geoffrey Xie Approved for public release; distribution is unlimited 20010215 017 REPORT DOCUMENTATION PAGE F onn Approved OMB No. 0704-0188 Public reporting burden for this collection of information is estimated to average 1 hour per response, including the time for reviewing instruction, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Send comments regarding this burden estimate or any other aspect of this collection of information, including suggestions for reducing this burden, to Washington headquarters Services, Directorate for Information Operations and Reports, 1215 Jefferson Davis Highway, Suite 1204, Arlington, VA 22202-4302, and to the Office of Management and Budget, Paperwork Reduction Project (0704-0188) Washington DC 20503. 1. AGENCY USE ONLY (Leave blank) 2. REPORT DATE 3. REPORT TYPE AND DATES COVERED December 2000 Master's Thesis 4. TITLE AND SUBTITLE : Implementation of a HyperText Transfer Protocol 5. FUNDING NUMBERS Server on a High Assurance Multilevel Secure Platform 6. AUTHOR(S) Evelyn Louise Bersack 8. PERFORMING ORGANIZATION 7. PERFORMING ORGANIZATION NAME(S) AND ADDRESS(ES) REPORT NUMBER Naval Postgraduate School Monterey, CA 93943-5000 9. SPONSORING I MONITORING AGENCY NAME(S) AND 10. SPONSORING I MONITORING ADDRESS(ES) AGENCY REPORT NUMBER NIA 11. SUPPLEMENTARY NOTES The views expressed in this thesis are those of the author and do not reflect the official policy or position of the Department of Defense or the U.S. Government. 12a. DISTRIBUTION I AVAILABILITY STATEMENT 12b. DISTRIBUTION CODE Approved for public release; distribution is unlimited ABSTRACT (maximum 200 words) In a client/server environment on a local area network (LAN), a server should provide various network applications including a hypertext transfer protocol (HTTP) server. HTTP is a client/server, request/response application protocol that is used on the World Wide Web (WWW). It provides the definition and means for transferring objects across internets. A server used in the context of a multilevel secure (MLS) LAN should be no exception. A MLS LAN should be capable of providing an HTTP web server that can be used by commercially available web browsers executing on client workstations. This server needs to be aware of the MLS environment and provide clients access to all web pages and objects for which they are authorized. This thesis implements an HTTP web server running on a high assurance host in a MLS LAN. The web server is based on a commercially available web server application. The commercially available application has been modified and configured to run on the high assurance host. This thesis discusses the details for implementing the web server on the high assurance host. The result of this thesis is an HTTP web server application that runs on a high assurance host servicing clients on a MLS LAN that are using commercially available web browsers. These clients now have the capability of web browsing at varying levels of classification on one workstation. 14. SUBJECT TERMS Hypertext Transfer Protocol, Web Server, Multilevel Secure, Local Area 15. NUMBER OF PAGES Network, High Assurance 144 16. PRICE CODE 17. SECURITY CLASSIFICATION 18. SECURITY 19. SECURITY 20. LIMITATION OF OF REPORT CLASSIFICATION OF THIS CLASSIFICA TIO ABSTRACT PAGE N OF ABSTRACT Unclassified Unclassified Unclassified UL NSN 7540-01-280-5500 Standard Form 298 (Rev. 2-89) Prescribed by ANSI Std. 239-18 THIS PAGE JNTENTIONALLY LEFf BLANK ii Approved for public release; distribution is unlimited IMPLE:MENTATION OF A HYPERTEXT TRANSFER PROTOCOL SERVER ONA HIGH ASSURANCE MULTILEVEL SECURE PLATFORM Evelyn Louise Bersack Civilian, United States Army B.S., University of Arizona, 1986 Submitted in partial fulfillment of the requirements for the degree of MASTER OF SCIENCE IN COMPUTER SCIENCE from the NAVAL POSTGRADUATE SCHOOL December 2000 Author: Approved by: Computer Science Department iii THIS PAGE INTENTIONALLY LEFT BLANK iv ABSTRACT In a client/server environment on a local area network (LAN), a server should provide various network applications including a hypertext transfer protocol (HTTP) server. HTTP is a client/server, request/response application protocol that is used on the World Wide Web (WWW). It provides the definition and means for transferring objects across intemets. A server used in the context of a multilevel secure (MLS) LAN should be no exception. A MLS LAN should be capable of providing an HTTP web server that can be used by commercially available web browsers executing on client workstations. This server needs to be aware of the MLS environment and provide clients access to all web pages and objects for which they are authorized. This thesis implements an HTTP web server running on a high assurance host in a MLS LAN. The web server is based on a commercially available web server application. The commercially available application has been modified and configured to run on the high assurance host. This thesis discusses the details for implementing the web server on the high assurance host. The result of this thesis is an HTTP web server application that runs on a high assurance host servicing clients on a MLS LAN that are using commercially available web browsers. These clients now have the capability of web browsing at varying levels of classification on one workstation. v THIS PAGE JNTENTIONALLY LEFf BLANK vi TABLE OF CONTENTS I. INTRODUCTION ......................................................................................•.......... ! A. PURPOSE ........................................................................•.......••...............• ! B. RESEARCH Q UESTI 0 NS .........................................••.•.•.......•............... 1 C. OVERVIEW .......................•......•............•.•..•.................................•......•.... 2 D. BENEFITS OF RESEARCH ...•...........................................................•... 3 E. ORGANIZATION OF THESIS ............................................................... 5 II. BACKGROUND ........................................................................................•........... 7 A. HYPERTEXT TRANSFER PROTOCOL .......•...........................•......•... 7 B. APACHE SOFTWARE FOUNDATION PRODUCT ......................... 14 C. XTS-300 PLATFORM ...................................•....................................•... 16 D. NPS MULTILEVEL SECURE LOCAL AREA NETWORK PROJECT .......................................................................................•....••.. 17 III. ANALYSIS OF THE APACHE SOFTWARE PACKAGE ............................ 23 A. IMPLEMENTATION REQUIREMENTS ........................................... 23 B. IMPLEMENTATION DECISIONS ...................................................... 24 C. PROBLEMS AND DIFFICULTIES ....................................................• 29 IV. IMPLEMENTATION OF AN APACHE-BASED HTTP WEB SERVER ON THE XTS-300 COMPUTER .............................................................................. 33 A. APACHE SOURCE DIRECTORY STRUCTURE •.........••••..••.....•..•.• 34 B. MAKEFILE MODIFICATIONS ........................................................... 36 C. PHASE 0 NE ............................................................................................ 37 D. PHASE TW0 .............................•............................................................. 46 E. PHASE THREE ....................................................................................... 47 F. PHASE FOUR ......................................................................................... 50 G. DOCUMENTATION MODIFICATIONS ............................................ 51 V. SECURITY CONSIDERATIONS ..................................................................... 53 A. DIRECTORY STRUCTURES AND FILE ACCESS .......................... 53 B. APACHE ADD-ON MODULES ............................................................ 53 C. SECURE SOCKET LAYER .................................................................. 59 VI. CONCLUSIONS AND FUTURE WORK ........................................................ 63 A. DISCUSSION .......................................................................................... 63 B. FUTURE WORK .................................................................................... 64 C. CONCLUSIONS ...................................................................................... 65 APPENDIX A: GLOSSARY .......................................................................................... 67 APPENDIX B: APACHE SOFTWARE LICENSE FILE ........................................... 71 APPENDIX C: DIRECTORY LISTING ...................................................................... 73 APPENDIX D: MODIFICATIONS TO CONFIGURATION FILES ....................... 79 vii APPENDIX E: MODIFICATIONS TO SOURCE CODE ....................................•..... 81 APPENDIX F: MODIFICATIONS TO HEADER