Research and Implementation of the Anti-Spam Model Based on Transparent Proxy
- Author
- ZhouPeng
- Advisor
- DaiQi
- School
- Southwest Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP393.098 E-mail ( E -mail )
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 17
- Citations
- 0
Abstract
With the development of Internet applications, E-mail has become an indispensable communication tool in people’s work and lives. At the same time, the emergence of spam which destroyed the harmony of network civilization, wasted Internet resources and Internet user’s time, has aroused great concern. Anti-spam technology has become a research focus of network security field. Already existing anti-spam products can not effectively curb the spreading of spam. Research and development of effective anti-spam model has become imperative. This thesis analyzed the advantages and disadvantages of existing anti-spam technology, referred to the development trend of today’s anti-spam technology, proposed an anti-spam model which based on transparent proxy.Bayesian classification algorithm which based on Bayesian theory was widely used in the field of text classification. In this thesis, I studied Bayesian classification algorithm and its’ application in spam filtering. For the localization that Bayesian algorithm may misjudge normal mail as spam that brought huge losses to the user, this thesis referred to the minimum risk decision theory, improved the Bayesian mail filtering algorithm which can effectively reduce the probability of misjudgment spam and improve the accuracy of spam. Transparent proxy server can be deployed between client and server, caching the data packets which through the proxy for detection. This article studied the principle of transparent proxy works seriously, on this basis, the anti-spam model which based on transparent proxy was proposed. E-mail detection and mail transparent proxy modules were made a presentation focusing in this thesis. Mail detection module used the improved algorithm. It can be divided into training and classification sub-modules. From the protocol point of view, mail proxy module can be divided into SMTP proxy and POP3 proxy sub-modules. Mail proxy implements that caching e-mail message content for detection and executing specified action on mail that detected. Finally, Experiments and tests of the model were introduced with the summary.The result of research in this thesis is implementing an anti-spam model which based on transparent proxy. The model can detect spam accurately, executive specific action on spam according to the configuration of manager. Experiments and tested proved that the improved Bayesian classification algorithm can improve the accuracy of mail classification, Mail proxy achieved expected requirements that caching e-mail content for testing and performing specified action on detected mail which is spam.
Table of contents
Summary 6-7
Abstract 7-11
Chapter 1 Introduction 11-16
1.1 Background 11 <br / > 1.2 thesis purpose and meaning 11-12
1.3 literature review 12-13
1.4 dissertation chapters arranged 13-14
1.5 Author The main work and innovation 14-16
Chapter 2 Overview of e-mail and anti-spam technology 16-27
2.1 Email Overview 16-21 < br /> 2.1.1 email works 16-17
2.1.2 e-mail protocol outlined 17-19
2.1.3 Email structural analysis Mail Code 19-20
2.1.4 Overview 20-21
2.2 spam Overview 21-22
2.2.1 spam definitions 21
2.2.2 spam development history 21-22
2.3 Anti-Spam technology Overview 22-26
2.3.1 and limitations of existing anti-spam technology sex 22-26
2.3.2 antispam technology trends 26
2.4 Summary 26-27
Chapter 3 Bayesian mail filtering algorithm and improved 27-39
3.1 Mail pretreatment 27-30
3.1.1 Chinese Mail word 27-28
3.1. 2 to stop words 28-29
3.1.3 feature words extracted 29-30
3.1.4 mail to quantify 30
3.2 beta Yates algorithm theoretical basis 3.3 Naive Bayesian probability of two models of 30-33
estimation method 33-34
3.3.1 multivariate Bernoulli event model 33-34
3.3.2 polynomial event model 34
3.4 Bayesian spam filtering algorithm in the 34-36
3.4 .1 Mail training 35
3.4.2 mail classification 35-36
3.5 Bayesian spam filtering algorithm improvements 36-38
3.6 Summary 38-39
Chapter 4 transparent proxy based anti-spam model analysis and design 39-47
4.1 proxy theory 39-40 < br /> 4.1.1 application proxy 39
4.1.2 transparent proxy 39-40
4.1.3 application proxy and transparent proxy comparison 40 <br / > the advantages of using a transparent proxy technology issues 4.2 40-41
4.3 transparent proxy related technologies 41-42
4.3.1 NAT technology principle 41-42 < br 42-43 <; br /> 4.3.2 port redirection 42
4.4 system Analysis and Design 42-46
4.4.1 overall system architecture analysis nbsp / > 4.4.2 system network topology analysis 43
4.4.3 system functional Analysis 43-44
4.4.4 system process analysis 44-45
4.4.5 system level design 45-46
4.5 summary 46-47
Chapter 5 nbsp transparent proxy -based implementation of the anti-spam model ; achieve 47-65
5.1 spam detection module achieve 47-50
5.1.1 Mail preprocessing module 47-48
5.1.2 Mail training modules to achieve achieve 48-49
5.1.3 message classification module 49-50
5.2 antispam main 50
5.3 mail proxy module achieve 50-61
5.3.1 packet processing of the main flow 50-55
5.3.2 Mail cache implementations 55-57 achieve
5.3.3 Receive e-mail test results achieve 57-58
5.3.4 Mail actions 58-61
achieve 5.4 Other modules 61-62
5.4.1 administrator to configure the module 61
5.4.2 buffer module 61-62
5.5 some important data structure 62-64
5.5.1 hash table data structure 62
5.5.2 network packet structure 62-63
5.5.3 structure nbsp mail session ; 63-64
5.5.4 Mail information structure 64
5.6 Summary 64-65
Chapter 6, experimental testing and results analysis 65-73
6.1 experimental test configuration 65
6.2 experimental test environment 65-66
6.3 mail classification experiments 66-70 <br / > 6.3.1 experimental evaluation criteria 66-67
6.3.2 Mail corpus 67
6.3.3 experimental methods and procedures 67
6.3. 4 experimental results and analysis 67-70
6.4 proxy function test 70-72
6.4.1 functional Test 70-71
6.4.2 performance testing 71-72
6.4.3 test Results and Analysis 72
6.5 Summary 72-73
conclusion 73 - 74
Thanks 74-75
References published during 75-78
master's degree thesis and research 78
Related dissertations
- The Research and Application of Spam Filtering System Based on Grid
- Research and Design based the Bayesian algorithm spam filtering system
- Research and Design of Content-Based Spam Filter
- AIS and Bayes network based spam filtering research
- Research on Content-Based Spam Filtering Technology
- Spam filter based on the multi-process system design and implementation
- The Defence of Directory Harvest Attack
- Research of Anti-Spam Based on Mail Purpose and Finger-Print
- Network Behavior Analysis of the Spamming Botnet and the Design and Implementation of Spamming Botnet Detection Algorithms
- Research on Signature Generation of Malware on the Web
- Research and Design of Content-Based Spam Detection Framework
- Image De-noising Algorithm Combined with Fourier Transform and NSCT
- Design and Implementation of the Agricultural Bank of Chengdu Hi Tech Branch Customers Manager Corporate Performance Appraisal System
- A Study and Application on Doubly Stochastic Series Models AR(1)-ARMA(p,q)
- Empirical Bayes Problems Research on the Parameter for Rayleigh Distribution
- Research of Gait Pattern Classification Based on Accelerometer
- Research and Implementation of Spam Filtering System Based on Batv and Content Filtering Technology
- Spam Filtering Based on Kernel Paitial Least Squares Feature Extraction
- The Research about the Application of Improved KNN Algorithms in Spam Filtering
- The Application of an Improved Bayesian Classification Filter Algorithm for Spam Filtering