Research on and Implementation of Junk Mail Filtering System on Linux-Based Platform

Author
XuHaiSen
Advisor
ZhouRongHui
School
Southwest Jiaotong University
Major
Applied Computer Technology
Classification
TP393.098 E-mail ( E -mail )
Degree
Master's thesis
Year
2009
Downloads
113
Citations
0

Request the full text

Abstract

With the continuous development of Internet, network has become an indispensable part in people’s daily life. As one of the most useful tools supplied by Internet, E-mail provides a very big advantage to people’s work and life, and even changes the way of people’s living. But at same time it also brings us a very big problemn - junk mails, which may give Internet users, network administrators and ISPs endless annoyance and great loss.Now, market offers a rich supply of different kinds of anti-spam systems, but all of these products, either their functions are simple, do not have a good extension, or rich in function but very expensive, are full with problems. So the requirement of creating an effective, useful junk mail filtering system which can resolve these problems easily has become a very urgent issue.This thesis uses a project finished by author during the intern as a base, firstly, introduces junk mail related theories and some technologies and frameworks which provided by Linux OS and will be used in developing the filtering system briefly and across the board. And then analyzes the whole work flow of this system carefully, and uses this as a foundation, put forward a overall plan and design on Linux-based junk mail filtering system. The content of this thesis just include the parts which designed and implemented by author himself, such as the algorithm of network IP packets’ holding up, filtering and restoring email letter and relative interaction information from original packets, besides, thesis also describes the using of multithreading technology in filtering system, but for the filtering technology part, here only discusses some traditional technologies such as address check, Multi-Send tools check and accessory virus check.During designing of the junk mail filtering system, keeping the working follow and organization both clear have become the first rule, and under this concept, this system has been carved up in three subsystems: lower engine subsystem, anti-spam subsystem and Anti-DDoS subsystem. Every such subsystem has a couple of different functional modules. This thesis discusses the structure and constitutes of the system in detail, and elucidates the designs and implementations of all the functional modules. During this process, author especially focuses on analysis of functional principles and core algorithms which may be demonstrated by some source codes.

Table of contents

Abstract 6-7 Abstract 7-10 Chapter 1 Introduction 10-14 1.1 Background topics 10-11 1.2 development status at home and abroad 11-12 the of 1.3 topics sources and research content and significance 12-13 1.4 thesis chapters arranged 13-14 Chapter 2 spam filtering system theory and technical analysis 14-27 2.1 spam related concepts 14-15 2.1.1 definition of spam 14 2.1.2 spam type 14-15 2.2 LINUX the mail filtering Related Techniques 15-27 2.2.1 transparent bridge technology 15-16 2.2.2 network protocol stack 16-17 2.2.3 network packet filter subsystem 17-23 communication mechanism between the 2.2.4 user mode and kernel mode 23-27 Chapter 3 firewall systems analysis and spam filtering 27-35 3.1 firewall system overview 27-28 3.2 firewall system goals 28-31 3.2.1 functional goals 28-30 3.2.2 performance goals 30-31 3.3 firewall system functions 31-32 3.4 spam filter subsystem and the other subsystems 32-34 3.5 the LINUX platform-based spam filtering system requirements analysis 34-35 Chapter 4 spam filtering system design 35-80 4.1 system planning 35-40 4.1.1 function of the overall planning 35-36 4.1.2 spam filtering technology choice 36-40 4.2 network packets functional design 40-66 4.2.1 packet blocking, filtering and redirection 40-42 4.2.2 user space application packet reception and reinjection 42 4.2.3 packet restore mail 42-61 4.2.4 for throughput considerations 61-65 4.2.5 to establish the underlying engine subsystem 65-66 4.3 attack prevention function analysis and design 66-68 4.3.1 attack protection objects and protective principle 66-67 4.3.2 data structure design 67-68 4.3.3 attack protection process design 68 of 4.4 mail filtering function analysis and design 68-78 4.4.1 MIME specification defined email 69-72 4.4.2 Address check technical analysis and design 72-75 4.4.3 mass the tool identification technology analysis and design 75-77 4.4.4 attachment virus scanning technology analysis and design 77-78 4.5 spam filter system functions architecture 78-80 Chapter 5 spam filtering system 80-100 5.1 e-mail to restore the function of the realization 80-93 5.1.1 IP fragment reassembly function implementation 80-86 5.1.2 TCP data stream reassembly function implementation 86-92 5.1.3 SMTP mail defined function to achieve 92-93 5.2 multi-threaded scheduling processing functions to achieve 93-95 5.2.1 mail queue implementation 93-94 the 5.2.2 message notification mechanism implementation 94-95 thread 5.2.3 implementation 95 5.3 address check function realization 95-98 5.3.1 address queue implementation 95-96 5.3.2 function described 96-97 5.3.3 function call relationship realization process described 97-98 the 5.4 attachment virus scan function of the realization 98-100 5.4.1-virus engine installation and startup 98 5.4.2 function described 98-99 5.4.3 virus scanning process to achieve 99-100 concluded 100-102 summarize 100-101 Looking 101-102 Acknowledgements 102-103 the References 103-106 the studying for a master's degree during published papers and research work 106-107 1. during the master's degree published and accepted papers 106 2. scientific research projects during the master's degree in 106-107 Appendix 107

Related dissertations

  1. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  2. Research and Design of Embedded Building Security System
    YangChen ·Liaoning Normal University ·2012 ·Master's thesis
  3. The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
  4. The Research of Household Remote Monitoring Based on Embedded Web Server
  5. Research and Design of Intelligent Video Surveillance System Based on ARM
  6. Design of Video Monitoring System Based on the Embedded
  7. The Design of Embedded Network Video Surveillance System Based on ARM9
  8. Design and Application of the Distributed Monitoring System Based on Embedded Web
  9. Study on Embedded Data Acquisition System Application
    ZhangDong ·Dalian Polytechnic University ·2009 ·Master's thesis
  10. Embedded Software Design of AC Field Detection Instrument Based on ARM
  11. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  12. Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
  13. Design of Industrial Ethernet Motion Controller Based on ARM
  14. Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
    FuAiJun ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  15. The software design of intelligent control Home Furnishing gateway based on ARM11
    ZuoPengZuo ·Northwestern University ·2013 ·Master's thesis
  16. The System Design and Implementation of Smart Home Control Terminal Based on Linux
  17. Movement Gait Control Research of Six Feet Bionic Robot
    XuShuai ·Ningxia University ·2013 ·Master's thesis
  18. Research on Embedded Control System for Palletizing Robot
    YangYang ·Nanjing Forestry University ·2013 ·Master's thesis
  19. Control system design of robot based on ARM
    OuYangJianFei ·Jiangxi University of Technology ·2013 ·Master's thesis
  20. AGV car design and development of image recognition and motion control technology based on