365jukebox

Transcription

365jukebox
!
"
#$% &'#
''()*+!,-)'$$'%.'
+'#
"",
&
'#
'
%.'', ',',)
)/! 2552
,'+''0+%.'', ',',)
!
"
#$% &'#
''()*+!,-)'$$'%.'
+'#
"",
&
'#
'
%.'', ',',)
)/! 2552
,'+''0+%.'', ',',)
SYSTEM DEVELOPING OF WEB CONTENT FILTERING IN SECONDARY SCHOOL
By
Chanpat Pinunratchathon
A Thesis Submitted in Partial Fulfillment of the Requirements for the Degree
MASTER OF SCIENCE
Department of Computing
Graduate School
SILPAKORN UNIVERSITY
2009
“
!"#$%&$'
(")*
” (+" ,
- .,
/(' )0
) *
(1 --
(
(
0
,
!++&
(
(
……...........................................................
(
(
4
"., ,1)
!"&
&..........".................... ............
61!!
61,'
(
4
".
4 !
4(
.................................................... (
(
4
".4
6'#-&)
............/......................../..............
.................................................... (61,'
(
4
".8* ,(
)
............/......................../..............
.................................................... (61,'
(
4
".
4 )
............/......................../..............
48309322 : (
0
,
!++&(
(
!@
(@
!- : !"#$%&$'
( / %A,,& / !
!
,
- ., : !"#$%&$'
("
)*
. 4
&)*
: 6.".
4 . 154 .
&D$"
0)D
!"#$%&$'
(.
E
&% +",+A Squid %)& ACL (Access Control List) /!!
,
#$% A$"@
)
!
! PCA (Principal Component
Analysis) A)%A,,& SVM (Support Vector Machine) ,
!"#$% ,'!!
,
#.
+&&$"01&
(
(
!"#$%&$'
(D $",+!(
0#$%
TAG '
I "&D META, IMG, A HREF, SCRIPT, TITLE A BODY /!
(
!"
+"@
#$%$'
(
!
( A, PCA 4
!'
!
AA'!(
A 4
D@
"(+"@
#$%!
A (" 200 #$% A#$%
4
200 #$% "(
60
)*
A'
&(
0)D(
ZA'A#$%$'
(4
#$%$" +"&!
Z1(@
'&!& A (" 89.5 % A'
4
94.5% A@
&&&
!"#$%&$'
() SVM
+",01"(,""& '
& SVM &!
Z1
!"(@
' #$%
!
A (" 89 % A'#$%
4
91% 0& & PCA (
Z
A''01$""&'
& SVM A4
!
!'
I 0#$%@
1'
!&&!
(@
!-
'
#$%A#$%$'
(D!!
0!@
&1'.
BODY TAG '
$#
!!&D $'!!'!@
&&!
@
A
&&#$%DI$'(
Z4( HTML Code $"
.
! ,
! ,)*
........................................
,
4
&)*
........................................
\ )*
2552
48309322 : MAJOR : INFORMATION TECHNOLOGY
KEY WORD : WEB FILLTER / SUPPORT VECTOR MACHINE / PRINCIPAL COMPONENT
ANALYSIS
CHANPAT PINUNRATCHATHORN : SYSTEM DEVELOPING OF WEB CONTENT
FILTERING IN SECONDARY SCHOOL. THESIS ADVISOR : ASST.PROF. PANJAI
TANTATSANAWONG, Ph.D. 154 pp.
This thesis has developed to filter inappropriate websites under the Linux operating
system using Squid proxy software with ACL (Access Control List), which controlled of the web
site accessing. The research applied two algorithms to analyze including: Principal Component
Analysis (PCA) and Support Vector Machine (SVM). These algorithms are used for filtering
websites to help control Internet access in schools and allowed students to receive the
appropriate information.
Principal of the inappropriate websites filtering system used the TAG elements
structure of the site as the following META, IMG, A HREF, SCRIPT, TITLE and BODY to
create the filtering system. The inappropriate website brought to model the relationship and
used PCA to determine the value of transformation for each component to create the models.
Then model was tested by the site of 200 violence and drug websites, 200 pornographic web
sites. The results of model evaluation showed that systems can filter inappropriate websites
from normal websites, with accuracy for a group of violent and drug 89.5% and pornographic
group 94.5%. Researcher also compared to the other filtering inappropriate algorithms called
SVM using the same set of test data. The results showed that SVM method has the accuracy
of filtering websites as the following: violent and drug 89%, pornographic 91%, while the PCA
algorithms can segment data better than SVM. From the analysis showed that the elements in
BODY TAG of various sites are very important to classify normal and inappropriate websites.
However, these techniques do not apply to group words that are ambiguous and websites
which can not check the HTML Code.
Department of Computing
Graduate School, Silpakorn University
Student's signature ........................................
Thesis Advisor's signature ........................................
4
Academic Year 2009
'')
]&D(!
(@
#4""&/
614$"!
'
4
!
4
'
&(^(
,
!
,'A@
A4(A$0
0''
I 0
4"!
4('/'
00!(
,!! “!'A!A'” &
((,'
@
4"!
A!
' @
614&44&! 0A0# "
A&@
4
6,-(!'
I 4@
4]&D(@
#4'$"""&
00! '
4
0(
A
4'
&61)*
!!
$"@
@
4 "4I & I I '
&!
,' D
D
!@
A@
&/+,'
)*
!!
A!/@
4(
4@
)*
!!
!D&D(@
#4'$""&
]
$
!"'.
*
$......................................................................................................................
!"'.
*
8*.................................................................................................................
......................................................................................................................
(
-
..............................................................................................................................
(
-.
.................................................................................................................................
&
1
@
........................................................................................................................
!
/
A!
(@
!-0_-
.............................................................
Z(!
4..........................................................................................
000
4 ..........................................................................................
0D
(
A
.................................................................
6&!
"'
4$"............................................................................................
2
8*`&A6
4&&0...............................................................................
(Z....................................................................................................................
!'
&
b
(Standard Deviation) ..............................................
&% (Variance) .................................................................................
+!
&% (Covariance) ..........................................................................
+!
&%% (Covariance Matrix)................................................
$A1(A$ ...............................................................
!
AA(' PCA (PCA : Principal Component
Analysis)....................................................................................................
8*`& SVM (SVM : Support Vector Machine)................................................
@
"(
(@
A'01/ 2 ' (Binary
Classification)................................................................................
@
"!'
Margin Maximization .......................................................
8*`& Feature space.................................................................................
,
4
]
E
1
1
2
2
3
3
4
4
4
5
5
6
7
9
11
11
13
17
&
Kernel Functions .....................................................................................
0D
"(.
0 SVM .........................................
0D
"' Web Server ..................................................................
HTTP Return Code................................................................................
4@
A.0
#$%&$'
(....................................
#$%&$'
(&! Client ............................
(
#$%&$'
(& Gateway.........................
&~#$%&$'
(&&1'_44.............................................
Blacklists and Whitelists .......................................................................
Keyboard Blocking..................................................................................
Rating System..........................................................................................
~#$%&$'
(&&_44......................................
The Internet Content Rating Association (ICRA).................................
SafeSurf Rating .......................................................................................
SmartFilter.................................................................................................
Squidguard.................................................................................................
Internet Access Content Management .................................................
DataReactor iMimic Networking Inc. .................................................
SITA URL filtering ...............................................................................
WEB Filtering for WinProxy ..............................................................
SonicWALL Content Filtering Service (CFS) ....................................
FORTIGUARD WEB Filtering..............................................................
‚%& %„(Proxy server).............................................................
Block #$%+"
(
Blacklist.............................................
Block #$%+", Keyword......................................................
@
Transparency Client 0
, Proxy + ...........
$„)
,
access.log............................................................
)(@
#$%$'
(...............................................
%
19
19
20
21
22
22
22
22
23
23
23
23
24
24
24
24
24
24
25
25
25
25
25
26
27
27
28
28
&
3
4
Naive Bayes.............................................................................................
K-Nearest Neighbor.................................................................................
Decision Tree..........................................................................................
Support Vector Machines........................................................................
Classification of hypertext data.............................................................
Text Classification for hypertext filtering.............................................
Web Filtering Using Text Classification...............................................
&"@
4 .......................................................................................................
''
&,
4................................................................................
!A.........................................................................................
+A&,
4 ..................................................................................
0D
)*
&
0&+A.
*
%&"' Web Server .....
)*
!*0#$%&$'
(.....................................................
)(@
(
4(#$%$'
(....................
(
#$%$'
(.........................................................
!
AA(' PCA (PCA :Principal Component
Analysis)....................................................................................................
!
! ...................................................................
6....................................................................................................
6
"@
4.................................................................................................
0&+A.
*
%& Ubuntu9.04 "'001 html code.......
!
'!@
$'
(,4@
A#$%$'
(4
#$% .............................................................................................
'!@
A (" ............................................................................
'!@
4
.................................................................................
!
4"&
(&,
4@
A#$%$'
(4
#$%+",8*`& PCA (PCA : Principal Component
Analysis) A 8*`&
!@
(Z ................................................
…
28
29
29
29
29
29
29
30
30
30
31
31
32
32
37
37
38
39
40
40
45
45
51
57
&
@
"&,
"(4
D
#$% ...............................
4(!
A'
0D
#$%D 8 ''
" .............................................................................................
!
4"&
(
A'#$%
4
........................
!
4" &
(
A'#$%!
A (".................
6
"(
A''#$%+",8*`& PCA (PCA :
Principal Component Analysis).....................................................
(.
4@
#$%&$"4
!@
(
( ............................................................................................
"(!
! 3 .........................................................
,8*`&
A'01................................................
(
~
0
Z)#$%$'
(.............................................
&!
(@
.........................................................
(
$„&4@
/(@
,
..................................................
!
4@
A#$%+",8*`& SVM (SVM : Support Vector
Machine) &&(.
!"...............................
@
" Feature &,
"(.........................................................
0D'
6 (pre-processing) ..........................................
0D
6 (processing)........................................................
6
"(
A''#$%+",8*`& SVM(SVM: Support
Vector Machine)................................................................................
@
&&6
"(
!"#$%"& PCA
(PCA : Principal Component Analysis) & SVM (SVM :
Support Vector Machine)..................................................................
!
'!@
$'
(A+ ...........................................
&.'!@
A (" ......................................................
&.'!@
4
............................................................
"((.
@
..................................................................
-
57
58
59
69
72
73
74
75
78
78
79
81
81
82
82
83
86
88
88
89
91
&
(.
"
!
Z1..................................................................
(.
"
!
# ........................................................................
(.
# 2.0 ..........................................................
5
( .
6A0(A ............................................................................
Z(!
4 ...........................................................................
_-
A(! ...........................................................................................
0(A .......................................................................................................
0('&$"4
!"#$%...............................
&
'&$"4
!"#$% .................................
..............................................................................................................................
91
92
97
103
103
104
105
105
106
107
.
!6....................................................................................................................................
.
!6 !1'
,
0
4(!!#$%..............
.
!6 0 !1'
,
SVMlight V6.02 ....................................................
.
!6 ! ,#$%!
A (" 200 #$% ...................
.
!6 ,#$%
4
150 #$% ...................................
.
!6 4 ,#$% 200 #$% ................................................
.
!6 ] '!@
4
112 !@
.......................................................
110
111
121
126
134
141
149
614................................................................................................................................ 154
`
$
&
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
„_,4"
$„ Config...................................................................................
„_,&&0
4"
File Dicts .........................................................
„_,&&0
#01#$%........................................................
„_,(@
@
PCA....................................................................
„_,&,4"
+A Squid.....................................................................
„_,&&0
4"
#$% .............................................................
„_,&&0
@
0 Proxy-Server.............................................
(' 4@
'!@
A (" &#$%!
A
(" ' 4@
'!@
A ("&#$%..........
A("'!@
A ("&&@
4
A4A4(1(" ................................
('4@
'!@
4
&#$%
4
' 4@
'!@
4
&#$%..................................................
A("'!@
4
&&@
4
A4A4(1(" ......................................
A("!(0D
#$%......................................................................
A("!'
]&!(0#$%
4
..............................................
A("!'
Eigenvalue !
A A!
A &!@
$"......
A("(.
!"#$%"& PCA (PCA : Principal
Component Analysis)..................................................................................
A("(.
(
((@
A'.#$%!
A ("#$%................................................................
A("(.
(
((@
A'.#$%
4
#$% ..............................................................................
A("(.
!"#$%"& SVM A linear......................
A("(.
!"#$%"& SVM A Polynomial kernel..
A("(.
!"#$%"& SVM A RBF kernel.............
A("(.
!"#$%"& SVM A Sigmoid kernel.......
E
32
33
33
34
34
35
35
46
50
52
56
58
59
64
72
73
73
84
84
85
86
&
22
23
24
25
A("6
&&(.
!"#$%!
A
("" & PCA & SVM ............................................................
A("6
&&(.
!"#$%
4
"
& PCA & SVM ..................................................................................
A("(.
"
!
Z10
4@
A#$% ..............................
A("Z)
&,
Block #$%(
&) ,'061,
#&0)D ..........................................................................
b
87
87
92
93
$&
.
&
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
0D
!
! PCA (PCA : Principal Component
Analysis) .....................................................................................................
A("(
,(&,A''01 ..............................................................
A("(A'01 I $.................................................................
A("(A'010%A,,& .............................................
A("!'
Margin '
4"01" I Hyperplane..........................
&&01(
ZA'$""(
,( ...................................................
&&01$'(
ZA'$""(
,( ..............................................
Feature Space 01(
ZA'$""(
,( ............
(' Request $ Web Server A
014
Web Server ................
0D
"'((
'
Client A Server...........................................
@
0 Proxy Server................................................................................
0D
!
! PCA (PCA :Principal Component
Analysis ) ....................................................................................................
0D
!
'!@
$'
( !'
(Z A8*`& PCA
(PCA : Principal Component Analysis ) ........................................................
„A("@
4
A4A40'!@
A (" ................................
„A("@
4
A4A40'!@
4
......................................
'
A("01#$%
4
&&
!'
01..........................
A("!'
!
A'
I........................................
A("6
!@
+!
&% D 8 &!' A0# $% 4
........................................................................................................
A("!'
Eigenvalues &!@
$" .......................................................................
A("!'
Eigenvectors &!@
$" ......................................................................
A("!'
Eigenvectors &&!'
Eigenvalues (1(" 2 " .................................
A("@
A'001A'#$%0#$%
4
......................
9
12
12
13
14
17
18
18
20
21
26
37
45
50
56
60
61
61
62
63
65
66
.
&
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
'
A("01#$%&&
!'
01 ........................................
A("@
A'001A'#$%0#$% ....................................
A("
A'#$%
4
4
#$% ..................................
'
A("01#$%&,"(!
A
("&&
!'
01.......................................................................................................
A("@
A'001A'#$%0#$% ....................................
A("
A'#$%!
A ("4
#$%....................
A("
AA X Y A Z &4" Origin .............................
A("
D 3 "]
3 ..............................................
A("
"
3 ......................................................................
A("
A''01+"8*`& K-means......................................................
A("
4"1 Model &"1A" ............................................
A("6
!"#$%&'!@
0)D 10 !@
......................................
A("6
!"#$%&'!@
0)D 100 !@
....................................
„A("(.
!
#0.......................................................
„A("!'
]&0
0
Z)#$%................................................
„A("('&
b
0
0
Z)#$%.......................
''
Web 2.0 #$% (@
"(#$%
4
..
A("Z)(
Z4( WEB 2.0 .
4
$" ..............
''
Web 2.0 #$%(@
"(#$%!
A
(" .....................................................................................................
A("Z)(
Z4( WEB 2.0 .!
A ("$".....
''
Web 2.0 #$%
4
(@
"(#$%
4
........................................................................................................
A("Z)(
Z4( WEB 2.0 .
4
$" ..............
4 Login .......................................................................................................
4A40'
(
Home 6'
Menu News............................................
41 Config Files......................................................................................
67
67
68
70
70
71
74
74
75
77
77
90
91
95
96
96
98
99
100
101
101
102
115
115
117
.
&
48
49
50
51
52
53
54
55
41 Config ProxyFilter...........................................................................
4'!@
$'
(............................................................................
4A("'!@
$'
(.........................................................................
4A("'!@
$'
( ............................................................
A("1A01 Data Train............................................................................
'
(
model "& SVM A linear..............................................
'
"(01"& SVM A linear ...........................................
'
output &$"4
"(....................................................................
117
118
119
120
122
123
124
125
1
1
)*2,
1
$+)3$
4
_44 Internet &('(@
!-
"(40' +"'('-'
4
!
14
Internet "(4'
I %) Website A'&
#4&D
&A'
$ ,' #$%&!
1!
A0'
(
01 A'#&
Website /4@
&@
0)D
A $'$"&D
&/+,'(! "#A
, %)#'
&D@
"_-
(!'
I $".
,' #$%
4
0
0&6"`
6'
Internet #$%&
(" A ‰'
@
'
1
@
$E
' 4('6(&'(.
44 +"&'A'
0
$'(
Z&4!!$"
_44+&(Z
&)*
'
I $"&
6"& !!
!
1
Internet 0)D (
Z
!
1$""# 4
Website '
I A'#& Website
&
& $' $"@
0)D
! 1 )*
0"#'
D A'+*
'
&$"'
A %)/
&4
&$'0
$"1 ,
Internet $
&
$'
( Z)A'
_44 .
!b$"&+!
Cyber Inspector @
4(
#$%'
I &&1'_44'
($' +"#$%$&$'
(#4Z1 block
%)/&
&"&'
) A'#$'
4Z) 4
&D& Website &"0)D
'/
4@
Internet +&'
I D +"('-'A4&
D! Server 0)D
A
,E
'
I @
/ Server ,' !
(
Z"
' I "&0)D ,'
&
Block website &$'
(, &
@
Cache ,', Internet $"#0)D &D
.
!b&+
((@
E
Linux %)/ Open source @
/
E
+&&"
E
Linux 4&+A&,'
Squid "
" %)+A
4&
D`
,
'
I 0 Internet &'
ACL (Access Control List) 1
2
+&!!!
(
,
Internet 0& A(
ZD`0!
,
$" +"4@
,
!!
, Internet ,' Download file, 0
"1
Website &$'
( ,
Internet ]
/
4&D4)@
(
!!
,
Website &$'
((@
&
")*
&+&'
I$"'#$%'
".") +"
(
!"Website 0)D
A,+A Squid %)4& ACL (Access Control List)
/!!
,
Website 0"#& A$"&
!" Website
!! ACL (Access Control List) /$+"+
45)
'6
1. )*
&
!"D
0#$% &$'
(
2. !"D
0#$%
3. 6&
0)D
+++'6
1. )*
@
0 +A Squid-2.7 stable3 +", ACL (ACL : Access Control List)
!!
,
Internet !A'0'
2. )*
,
Website .
+& ")*
A)*
3. ('0
!
D
#$% ,]
HTML Code 4@
A
#$%
4. )*
#$%& &D
& !
A (" A 4
5. )*
!"A01 +", Text Processing
6. ((
@
'++! HTTP '
D
7. (
Z@
' Web Browser &/ Internet Explorer A Firefox
8. @
"(''
%), #$% &@
"(& !
A
(" 4@
200 #$% & 4
4@
150 #$%
9. @
4(!
(+"!" /%#0(.
A
!
6"
"
10. ##$%/
#A'
0#$%
3
11. Squid-2.7 Stable3 &@
&/ Proxy Cache Server @
Linux
Ubuntu9.04
12. @
"( #$%&,1A.
*
UTF-8 '
D
+(72,
1. )*
@
0 Server &,E
Linux Ubuntu9.04
2. )*
@
0+A squid +", ACL (Access Control List) !!
,
Internet
3. #014
(
AA'01&&0 A*0
)
,
0! A'0'
&@
&/ Proxy Cache Server
4. )*
) PCA (PCA : Principal Component Analysis) &4@
4
('0 Text Detection
5. )*
@
0 Access.log @
/01
4
,
#$%
0&.
+&
6. 0&+AA@
"
4
7. @
"(''
%), #$% &@
"( & 4
4@
150 #$% &!
A (" 4@
200 #$%
8. @
"(!
(+" !"/ %#(.
A!
6"
"
9. (6
"@
10. 4"@
8,
67
1. &,!! !
(0D
#$%
2. ,'".
0!
&&0
!!
,
Website 0&
3. ,'!!
,
Internet +&&$"01&
(
4. ,'"8
&A Website &$'
(('6"!
""
'!! A(!
2
9!:2,8,'6+7
)*
8*`&A6
4& &0&D614$")*
4
(
A!"
8*E& A
4&&0 "
1. (Z
2. PCA (PCA : Principal Components Analysis)
3. SVM (SVM : Support Vector Machine)
4. 0D
"' Web Server
5. 4@
A.0
#$%&$'
(
6. &~#$%&$'
(&&1'_44
7. ~#$%&$'
(&&_44
8. ‚%& %„ (Proxy server)
9. )(@
#$%$'
(
1. 4'' (Lindsay, 2002)
(Z(
Z@
, & ," 01 0
"-'A
!
!
(
'
A'4"0,"01D &&D4'
Z)
"&@
'001 ,' !'
&
b
(Standard Deviation), &% (Variance), +!
&% (Covariance) A +!
&%
% (Covariance Matrix) %)/(Z&4@
, PCA (PCA : Principal Components
Analysis)
1.1 ; (Standard Deviation)
!'
&
b
0,"01 /
"
4
001 !@
0!'
&
b
!
]&4
!'
0,"01Z)4"01)I !@
!'
&
b
&(
"&D
n
s=
∑ (x
i
− x) 2
i =1
(n − 1)
4
(2.1)
5
!@
!'
&
b
(
Z
$"4
@
(0
4
A'4"001$!'
]&0'01 @
!'
&!@
$"D"
"4@
(
,0'01 (n) " 1 A@
!'
&(
1.2 (Variance)
&%/ "
4
001&A)&*A"&
!'
&
b
(Standard Deviation) %)&(
"&D
n
s2 =
∑(X
i
− X )2
i =1
(2.2)
(n − 1)
%)
4'
$"'
&%/@
(0!'
&
b
(s2) +"D
!'
&
b
A
&%'
#/
"
4
001A' !'
&
b
4,
'
1.3 "
(Covariance)
4
&'
!' & b
A
& % / "
4
0
01 1 '
$#
&,"014@
&&
'
1 A4"(!0
!
01
(Z
'
01&!
('
$' +"A+!
&%4,
01 2 Z
@
!@
+!
&%'
01 1 A4$"!'
&%
A'Z
01& 3 (x,y,z) (
Z!@
!'
+!
&%$"+"!@
+!
&%'
x y ,
x z A y z !@
!'
+!
&%'
x x , y y A z z 4$"!'
&%
0 x, y A z
(
0+!
&%!
(
0
&% %)(
0
&%/
"&D
n
var( X ) =
∑(X
i
− X )( X i − X )
i =1
(n − 1)
(2.3)
A(
0+!
&%/"&D
n
cov( X , Y ) =
∑(X
i
− X )(Yi − Y )
i =1
(n − 1)
(2.4)
6
Z
!'
+!
& % &!@
&!'
/ A("'
!' 01 &
0)DD
( A'Z
!'
+!
&%/A("'
01&!'
0)D) ('&&!'
" A'Z
!'
/1A("'
01D($'$"0)D' +"!'
0 cov(X,Y) 4&!'
'
cov(Y,X)
1.4 "
' (Covariance Matrix)
4
&$"'
0
+"+!
&%4!@
01 2 Z
&01
'
2 A("'
&
!@
+!
&%
'
) ,' ,"01&& 3 (x, y, z) (
Z
!@
cov(x,y), cov(x,z) A cov(y,z) Z
&01 n 4(
Z!@
!'
+!
&%$"
A'
n!
(n − 2)!*2
&'
(@
!@
!' +!
& %'
I @
$"+"
@
!'
+!
&%D"('% %)
(@
+!
&%%(@
,"
01&& n /"&D
C nxn = (c i , j , ci , j = cov( Dimi , Dim j ))
(2.5)
%) C nxn !%&& n AZ n !. A01%!60
!@
+!
&%'
2 &'
,' 01&1'AZ 2 !. 3 !
!@
+!
&%'
& 2 A& 3
'
,' 01& 3 (x,y,z) "D+!
&%%4& 3 AZA
3 !. "&D
⎛ cov( x, x ) cov( x, y ) cov( x, z ) ⎞
⎜
⎟
C = ⎜ cov( y , x) cov( y , y ) cov( y , z ) ⎟
⎜ cov( z , x ) cov( z , y ) cov( z , z ) ⎟
⎝
⎠
(2.6)
4
4
+!
&%% 4#'
A(A%
$
'
0
/!'
+!
&%'
DA #!
&%0D A4
cov(x,y) &!'
'
cov(y,x) 4#$"'
%&D (
(A&D"
7
1.5 2,-2, (Eigenvalue eigenvector and eigenspace, 2010)
4
8*`&!
($AA1(%)($A (
Z
$AA1(A $A
/!1'D Z) $AA1($"#4$"$A
" +"!
(0$AA1( A$A /"(
'$&D
AX = λIX
(2.7)
+"
A
! %&4@
!.A4@
AZ'
λ
! 04@
44@
,%
X
! I
! %*0 A (Identify matrix)
4
(
1 4$"'
λ 4Z1&'
$AA1(0 A X 4Z1
&'
$A0 A A(
Z0&(
'$""&D
AX - λIX = 0
(2.8)
( A - λI)X = 0
(2.9)
(
Z(4
!("&(characteristic determinant)$""&D
det ( A - λI) = 0
(2.10)
(
Z!@
λ %)/ $AA1( 0 A $" n !'
(n !4@
0 A )
4
(
(2.10) $" λ A!'
(
(2.8) 4(
Z!@
X %)/ $A
0 A $" n ,'
4
8*`&
Z
% A =
⎡2 1 ⎤
⎢1 2⎥
⎣
⎦
8
4
(
& 2.10 !'
$AA1($""&D
det
det
det
⎛
⎜
⎜
⎜
⎝
⎛
⎜
⎜
⎜
⎝
⎡2 1 ⎤
⎢1 2⎥
⎣
⎦
⎡2 1 ⎤
⎢1 2⎥
⎣
⎦
⎡2 − λ
⎢1
⎣
-
⎡λ
⎢0
⎣
0⎤ ⎡1
λ ⎥⎦ ⎢⎣0
-
⎡λ
⎢0
⎣
⎞
0⎤ ⎟
⎟
λ ⎥⎦ ⎟
⎠
1
⎤
2 − λ ⎥⎦
0(
&D! λ = 1 A λ = 3
"D $A1( =
⎡1
⎢0
⎣
0⎤
3 ⎥⎦
$4
(
& 1
& λ = 3
⎡2 1 ⎤ ⎡ X ⎤
⎢1 2⎥ ⎢Y ⎥
⎣
⎦ ⎣ ⎦
= 3 ⎡⎢
X⎤
⎥
⎣Y ⎦
2X + Y = 3X
X + 2Y = 3Y
"D X = Y
Z
Y = 1 4$"$ =
& λ = 1
⎡2 1 ⎤ ⎡ X ⎤
⎢1 2⎥ ⎢Y ⎥
⎣
⎦ ⎣ ⎦
⎡1⎤
⎢1⎥
⎣⎦
= 1 ⎡⎢
X⎤
⎥
⎣Y ⎦
2X + Y = X
X + 2Y = Y
"D X = -Y
Z
Y = -1 4$"$
⎡1 ⎤
⎢ −1⎥
⎣ ⎦
⎞
0⎤ ⎟
⎟
1 ⎥⎦ ⎟
⎠
= 0
= 0
= (2- λ )2 – 1 = 0
9
2. ,'
22) PCA (PCA : Principal Component Analysis)
!
A'
0#$%
!'
]&0A'
!@
!'
DataAdjust
!@
!'
Covariance Matrix
!@
!'
Eigenvalues !@
!'
Eigenvector
Eigenvector & Eigenvalue &!'
&("
Final Data = Eigenvector x DataAdjust
.
& 1 0D
!
! PCA (PCA : Principal Component Analysis)
!
AA(' PCA (PCA : Principal Component Analysis)
(,
& (Z& A."^1 4 2549 : 26-28) ! &
',&DZ)1A001A
,'A("01#Z)4""'0!
A!
'
001 '
$#
1A
001D
&4
$" 01D&
(Dimension) A
&4A("/1.
„$" "D PCA 4)/!&&(.
'
AA4@
A
01
4
&D PCA &+,
,'@
"1A001 A&"01
$"+"
"4@
4
(1-(&D
001 +"
!
AA('
,
&&
@
"&D
10
+( 1 01 01+"4
Z) 0_44
+( 2 !'
(Mean) !'
001A'&$"$
+( 3 !'
DataAdjust +"@
01A'4
!'
(Mean)
0A' 4!'
4
A'010 !'
&4@
&D/
!'
]&
0
0A' "D !'
x 4" x A!'
y 4" y @
60,"01&&!'
'
0 (01&Z14
!'
A 4&'
Data
Adjust)
+( 4 !@
!'
%+!
&% (Covariance Matrix) ('
01
/ 2 @
%+!
&%/ 2 x 2
+( 5 !@
$A (Eigenvectors) A$AA1( ( Eigenvalues )
0!'
%+!
&% !'
%+!
&%/ (&&4(A(4@
Row '
4@
0 Column) 4(
Z!@
!'
0$A A$AA1( (@
%$" "D
@
0
(
$A0%+!
&%
4)(
ZA(&1'
„%)/*"'001
$"
+( 6 Eigenvector & Eigenvalues &!'
&(" 4($"'
$AA1(4/!'
&!'0
A'
!
/4$A!'
$AA1(
&&!'
(1(" 4/('&(@
!-0,"01 ,' $A $AA1(
&&!'
(1 4/4"&1'
0,"01 %)/!
(&#$"'
,"4'
001$A&Z14
%+!
&% 0D'$$AA1(
4Z1&/@
"+" 4
!'
(1("$@
(" @
(
Z&@
"!
(@
!-0_44$"
"D4)(
Z"(4&4]' _44&&!
(@
!- $AA1(&!'
%)
$'Z'
/
(1-(&01
+"(
Z"
_44$$" %)01("
4&
'
01 Z
01& n A @
!@
n 0$A A
$AA1( "D
4&$Ap A A01,"("
4&& p 4
D@
A1'10 (Feature vector)+"
@
!'
$A&
4
list 0$A A&/%$A1'!
Eigenvector = (eig1 eig2 eig3 … eign)
(2.11)
11
+( 7 !@
!'
FinalData 4/0D("
0 PCA A/
0D&'
&(" +"
4(' _44&"&&(" (eigenvector) @
Dot
Matrix DataAdjust $" FinalData &/01
&
@
"
FinalData = Eigenvector x DataAdjust
(2.12)
3. 9!: SVM (SVM : Support Vector Machine) (& +"- 2548 : 37-42)
&
0%A,,& SVM 4"/!!&,
A$0_-
"
A''01 (Classification) +"
!
(
((^0
(
(
(A'A'4
01&Z1~ (Pattern) ,
A''+"
4"(!0 SVM !
(
&(
ZA',"01$""&&(" (Optimal Separating
Hyperplane)
(&,"011')'
(
(A'01(
ZA'01/
2 ' A&!@
&/$$"! y = {-1, 1} +"!'
y &D4/6&
SVM &1
,
A''001
(@
Db
"0 SVM DZ1@
,01&
'
2 '/
*,( (Linear) A'!
/4
!D01&@
44&
A''&$'/
,( %)(
Z SVM ,_-
&D$"+"
,!„_, (Kernel Function)
& Feature Space 8*`&%A,,& SVM (SVM : Support Vector
Machine) &
&(@
!-"&D
3.1 112+7-,)* 2 ,5 (Binary Classification)
Z
&
&1
!"#$% W !D@
0
&1 !'
b !!'
$( (bias) (@
&1A x /01&,(
&1
!"#$% (
&/''
011'"
" !
f(x) = sign(wx+b)
(2.13)
A!'
x (
Z
f(x) = 1 4$"!@
0,"011' Class 1
Z
f(x) = -1 4$"!@
0,"011' Class -1
12
.
& 2 A("(
,(&,A''01
+"4"(!0 SVM !
(
&(
ZA',"01$""&&("
(Optimal Separating Hyperplane)
.
& 3 A("(A'01 I $
&
: & +"-, “
A$0_-
!
@
0!@
.
*
$+",%
A,,&” (
--
(
0
,
! (Z
!++&
4
4
!
", 2548), 37.
13
.
& 4 A("(A'010%A,,&
&
: & +"-, “
A$0_-
!
@
0!@
.
*
$+",%
A,,&” (
--
(
0
,
! (Z
!++&
4
4
!
", 2548), 37.
3.2 1
Margin Maximization
3.2.1 !'
Margin +",8*`&
'
'
4"(
@
"*001&,
&1&&0
" L / ( xi , yi ) %)
N
xi ∈ R +"& i = 1,…., λ A y i ∈ {-1,1}
14
.
& 5 A("!'
Margin '
4"01" I Hyperplane
&
: & +"-, “
A$0_-
!
@
0!@
.
*
$+",%
A,,&” (
--
(
0
,
! (Z
!++&
4
4
!
", 2548), 38.
wx+b = 0 " w %)@
"
(Projection) 0
A b %)/!'
&AA w +"4@
!'
0(0%)/
'
&D]
'
4"" I $
(
( wx + b = 0
+"
w.x + b = 0 A@
"4" (x,y) /4")001
4
8*`&
'
&D]
'
(4" Z
d /
'
'
(4"A Ax + By + C = 0 /(
( A (x1 , y1) /4" 4
$" (0
!!
, 2553)
d =
| Ax1 + By1 + C |
A2 + B 2
4
8*`&
'
'
(4""D4$"
(2.14)
15
| wx 1 + b |
w.w
A4
(
wx + b = 1
4$"
|1|
w.w
@
"&
!'
d .
(
wx + b = -1
"D4$"!'
4$"
| −1 |
+
w.w
| −1 |
|1|
Margin =
w.w
w.w
=
|2|
w.w
3.2.2 !'
Maximization Margin +",8*`& Lagrange Multiplier
8*`&&,
!'
(&(",' )*
!'
Maximum A !'
Minimum %)$!@
&&* A
$'$"0)D1' &A&"& A'
0)D1'A
%)&
A$0_-
4, 8*`& Lagrange Multiplier %)@
.
$004@
"
'
((
A* & convexity, 2006)
4
(
wx + b
≥
y
@
" y = 1
(2.15)
wx + b
≤
y
@
" y = -1
(2.16)
4$"(
'4
4
(
(2.15) A(
(2.16) %)
'&"0)D&D/
&"&&("
A'014
+"&0@
"
A''
D 2 '4
+"&
4
06"
"!
y i (w xi
(@
i = 1,…., λ
(2.17)
1 imin
|w xi + b| = 1
=1,..., λ
(2.18)
+ b) > 0
y i (w xi
+ b)
≥
(@
I xi A yi ∈ {-1,1} %)(
& (2.18) 4,/$0
8*`& Lagrange Multiplier
A"
&@
$0 (
& (2.18) /4D &"&
&(" ! &&'
(Margin) '
'D 2 '
&("+"&'
&D0)D1'
!'
2/||w|| %)
(
Z
!1'0
%)'
&(" (Maximum Margins) +"
"
!'
0 1 ||w|| @
&(" "D
&"&&("@
$"+"
A_-
2
16
Minimize (w,b) = 1 ||w||
(2.19)
2
.
$0 y(w x + b) ≥ 1 , i = 1,…., λ
4
8*`& Lagrange Multiplier !'
Max/ Min0(
f(x,y,z)
.
$0 g(x,y,z) = k
4$"(
Lagrange ! F(x,y,z, λ ) = f(x,y,z) - λ [ g(x,y,z) –k ] (2.20)
n
"D
8*`& Lagrange4$" L = 1 | w| 2- ∑ α i [ yi (w.i x + b) − 1] (2.21)
2
i =1
α i ! Lagrange Multipliers α i ≥ 0 ; i = 1,…..,N
8*`& Optimization '
!'
(w,b) &!'
(
(2.21)
&("D4&!'
"„„,& (Differential) 0„_, L &4" w A b &D'
0 (
(2.21) 4)Z1@
(Differential)
∂L( w, b, α )
∂w
n
= w - ∑ y iα i xi = 0
(2.22)
i =1
A
∂L( w, b, α )
∂b
n
= - ∑ y iα i = 0
(2.23)
i =1
"D(
Z
!@
0&"&&("@
$,(
& (2.13)
n
w = ∑ y iα i xi
(2.24)
i =1
+"&
!'
α D
4,(
!!1' Dual formulation %)(
!!1'&D $"
4
@
(
&( 2.23) A (
& (2.24) A!'
(
& (2.21)4$"
l
l
i =1
i =1
F(α )= ∑ α i - 1 | w| 2 = ∑ α i 2
αi ≥
1
2
l
l
i =1
j =1
∑ ∑α
i
α j y i y j ( xi ’ x j ) (2.25)
n
0
i = 1,……,l A ∑ yiα i = 0
i =1
(@
8*`& Optimization '
α D $"
4
!'
(1( "0
F( α ) +"&!'
&D1'$0(
& (2.23)
A $ 0_ - (
& 10 D 4& !' Lagrange Multipliers
( (α = (α 1 ,....,α λ )) &/ 0 1'
!'
A$0(
& (2.25) D@
$"+"
,$0
KKT (KKT : karush-kuhn-Tucker) Condition %)4$" yi (w. xi + b) = 1 !'
α i ≠ 0 $"!'
α A
(
Z
!'
b "
A!'
α i
17
b
*
=
1
# SV
l
∑ ( y - w .x )
*
i
i
(2.26)
i =1
%)(
& (2.26) /
!'
]&0 b* ( #SV = 4@
support
vector) A(
& (2.24) A (
& (2.26) 4$"(
&,
A''01/
l
F(x) = sign ( ∑ yiα i xxi + b* )
(2.27)
i =1
4
(
& (2.27) !'
yi !!@
(Class) 0 Support Vector & xi
A x !01,""( !'
α i A!'
b* /!'
( (^&$" 4
!@
(Optimization) &'
$A
3.3 9!: Feature space (
( 2548 : 41)
&#$%D 2 '$'$"
Feature space &(
Z@
A'$""
(
,(A'01
444'@
A''
I "D4)/_-
@
$'(
Z&4
,(
%!A,,&A,($" 4)&
& Feature space "
(
ZA'01$"
.
& 6 &&01(
ZA'$""(
,(
18
.
& 7 &&01$'(
ZA'$""(
,(
.
& 8 Feature Space 01(
ZA'$""(
,(
19
3.4 Kernel Functions
8*`&&@
Mapping Feature 0 inner product (
%!
A,,&A,(/ inner product '
xi . x j φ ( xi ).φ ( x j )
(2.28)
+" Function mapping D4,8*`& Kernel Functions
K ( xi . x j ) = φ ( xi ).φ ( x j )
(2.29)
&& Feature space '4$"(
A'''"&D
l
F(x) = sign ( ∑ yiα iφ ( x)φ ( xi ) + b )
(2.30)
i =1
„_, Kernel &"&D
1. linear
K( xi . x j ) = ( xi . x j )
(2.31)
2. polynomial
K( xi . x j ) = K( xi . x j ) d
(2.32)
|| xi − x j || 2
3. Radial Basis Function (RBF) K( xi . x j ) = exp ()
(2.33)
g2
4. Sigmoid
K( xi . x j ) = tanh(s( xi . x j ) + c)
(2.34)
3.5 +( )'' &+ SVM (4 4 A
.
(
A(4 2548 : 11)
/0D 0
@
6#$% & @
A'.#$%A
(.
+"44("1'
#$%&A'.D&!'
/'
$ +"@
(.
!'
'
I "&D
3.5.1 !'
!
Z1 Accuracy ! .#$%&@
A'$"D
.#$%&@
"$'+"&4@
#$%&&@
"&#$%
3.5.2 !'
!
A'@
(P) Precision /
('0
!#$%&Z1
4
4@
#$%D"&@
!
$"
4@
#$%&Z1A!!$"
4@
#$%D"&!!$"
3.5.3 !'
!
) (R) Recall /
('0
!#$%&Z14
4@
#$%&Z1D"
20
4@
#$%!!$"
4@
#$%D"&@
"(
4. +(' Web Server (,
& (Z& A."^1 4 2549 : 26-28)
1A&,
((
'
Browser #$%/
((
1A0
Request Response ! Browser %)1'™_š0 Client ('!@
0 Request $#$%
%)1'™_š0 Server Server $"!@
0A Server 4(' response %)#!!@
01& Client $+"&
@
".
& 9
.
& 9 (' Request $ Web Server A
014
Web Server
&
: @
(, “~
0
Z)#&$'
( : &)*
+&!(&
4"
-4”& ((
--
(
0
! , 2546), 13.
(' Request $ Web server A
014
Web server
"'((
'
Client A Server (' Request $001
#40! Client $"0D"'$&D
1. ›" socket (@
"'6'
network
2. (
connection Web Server
3. (' Request !@
0$ Web Server
4. Response A014
Web Server
5. ›" socket &,
"'
21
(/0D
"'((
'
Client A Server 10
,!@
(
0
0&+A!/".
& 10
.
& 10 0D
"'((
'
Client A Server
&
: @
(, “~
0
Z)#&$'
( : &)*
+&!(&
4"
-4”& ((
--
(
0
! , 2546), 14.
HTTP Return Code
"'((
'
Client A Server (' Request 001 HTTP 4&
(
4
™_š Server &'
HTTP Return Code %)4&!
'
I $"&D
1xx
information - !@
0 A@
'$
2xx
successful - $"01A, 0
4 A 22
3xx
4xx
5xx
!@
0$"
redirection – &
(''
@
$"01
!@
0
client error – !@
06"1A $'(1
internal server error – "06"
"!A'0'
$'(
ZE
5. 612)&+ (@
( 2549 : 4)
#$%&$'
((
ZA'$"/ 2 . $"A'
5.1 < Client
/&
@
'
@
0+A Browser +"
(
Rating #.0D
.
#AA/.#$ A@
"
"!
(
Z
,
61, !!00
,
4&!
,#$%A@
" Rating ,/b
01
61, _44
&'
, Recreational Software Advisory Council’s Internet rating system (RSACi)
(
Rating 0)D
,
' Internet Explorer %)/ Browser &"
Windows (
Z@
""!
(
Z
,
061,$"
5.2 7 Gateway
Gateway /(
&,"'!0'
# D&/ Router , Firewall
A Proxy Cache Server 4& Software @
1' Hardware &@
&/ Gateway
'
&D #$%&$'
( @
Client &1'.
Gateway $'(
Z0
,
#$%'
&D$"
(
#$%$'
(&! Client &!
"''
,
61,(
Z@
""!
(
Z0$" !
0A'
Client %)4@
"!
'
,
('
(
#$%$'
(
& Gateway 4/
@
".
D 4&6' Client &1'.
D"$'
&!
"' A'("'
4"
@
!D"& A'"& A'&6D"
6. ')=-)3665 (Rongbo, Reihaneh and Willy 2003 : 325 – 326)
&~0
#$%&$'
(DA(
&! Client (
& Gateway 4&&~1' 3 & "
23
6.1 Blacklists and Whitelists
&&D/
( , #$% &$' - , A-
,
+"Blacklists 4/
,#$%&$'-
,A Whitelists 4/
,
#$%&-
,
$" (Oskar 2003 : 23-26) +"
,'
&D4@
1'"
4
&#$%&"'1'( A/.
0!
&4!
BlacklistsA Whitelists 1'"
,' &D
&1'0)D$&
#$% $'
(1'A
(' #4@
&
@
%D@
% /
.
0)D
6.2 Keyboard Blocking
&&D/
,'00!
/!
(
`
-
$'-
, (Oskar 2003 : 23-26) +"4,'00!
/01 (@
&&,#$% Z
&0!
&'00!
44
('D" #4$'-
,
#$%"'
A'Z
$''00!
#4-
,
#$%D$" &
&DZ
61(
#$%
$'
(
D,A("6" 4&&&
A&D$" A
'
00!
&4@
,(
`
-
$'-
#4/
&4
$"!! !@
!@
4&!
D("
6.3 Rating System
&&D/
@
" Rating #$%'
I +"61"1A#44
@
"
Rating 0#$%0 A@
,#$%0$&
4" Rating $!
&4"& ,' The Recreational Software Advisory Council ratingservice for Internet
(RSACi) A Internet Content Rating Association (ICRA) !
'
&D4/1
,#$% A4" Rating &$"&
$ ,
4@
6'
Browser
Application &@
' Browser ( (1A
!
2547 : 33-35)
7. )=)3665
_44&
'
&
~#$%&$'
( $"A'
24
7.1 The Internet Content Rating Association (ICRA)
/!&$'6@
$ 4
Dr. Donald F. Roberts 4
Standford (
~#$%&$'("& Rating System ,
6'
Browser
+"& ICRAplus filter /!
#$%$'
( ~"#A
,
4
*.&"4
# ",,'
Recreational Software Advisory Council’s Internet
rating System (RSACi) (w.w.w.rsac.org) (Family Online Safety Institute 2006)
7.2 SafeSurf Rating
/~#$%$'
(&(
"& Rating System ,
6'
Browser &A'D
0#$%/ 12 "
~
&
,
#
$"'
( '
$"
((,'A!
/61 !0
"#A
, (SafeSurf 2006)
7.3 SmartFilter
/~ #$%$'
(& ( 0)D (@
&@
&/
Firewall, Proxy Caching &*/(!
&/(@
,
+"& Software
41' ~
,!0'
$
&$'Z1 (Secure Computing
Corporation 2006)
7.4 Squidguard
/ Software &"D,
Proxy Cache Server ,
!!1'
$ SQUID (
Z4@
"
,
-
,
]
#$%&
( ,
#$%&$'
( (blacklists) ,
#$%&&!@
1',0#$% (
Z
update Blacklist #$%$" (SquidGuard 2006)
7.5 Internet Access Content Management
/
4"
,#.
! (
Z~
0
$"1#$%$'($" 60 . A~
"
+"$„'
I
&@
!0'
@
,
A(
Z4(
,#0!
$"A
Real – Time (-(1!++& 2549)
7.6 DataReactor iMimic Networking Inc.
/&@
FreeBSD, Linux A Solaris @
' Caching
,'
".
0 Server A"
Traffic (iMimic Networking 2006)
25
7.7 SITA URL filtering
/ Web Filtering "D firewall ,
'
&&!
! ,
!0'
&&
,
' ,$"
'
!!'
@
"`
,
$"
(
(
Z update URL
list *
@
/A!!
,
4
Blacklists (SITA 2005)
7.8 WEB Filtering for WinProxy
/&@
WinProxy %)/+A. Caching Server
@
Windows 98, NT, 2000, ME, XP &
update ,#$%$'
(
'
' ~61,&"&4
(&$'"&!0'
*
@
/A
!!
,
4
Blacklists (Blue Coat Systems 2006)
7.9 SonicWALL Content Filtering Service (CFS)
/& & ' , ! 0'
# / $ !A
)*
+"
!!
,
6'
Blacklists +"&
update ,+
(SonicWALL 2006)
7.10 FORTIGUARD WEB Filtering
/&" FortiGuard Rating Server #
,#$%'
I$
@
" Rating A'#$% A FortiGuard Antivirus Firewall /('&
!!
,
!0'
#0! (FORTINET 2006)
4
&D& ! & ,
~ # $' (&
"
,' BizGuard, Cyber Patrol www.cyberpatrol.com, CYBER sitter www.cybersitter.com,
Cyber Snoop, Internet Watcher 2000, Net Nanny www.netnanny.com, Norton Internet
Security, Optenet, SurfMonkey, X-Stop +"D"'$
"
4 &!'
,4'
,
D(D
8. > '?(Proxy server) (&. &
( 2552)
‚%& %„ &'
A!, (Cache) !
@
!!&
A''61,&1'"& A@
"61,!&01# 6'
!
!&D +"!"'
4&
"D+A@
&&01#
A'61,A4"#01&!Z1&D$! 01A'61,01D%D@
$"
&+"$'(&
$&01
4
A'01' %)&&D@
61,(
Z&,01
26
&!&61&,
'$""#0)D @
(.
,
!0'
#
0)D
.
& 11 @
0 Proxy Server
&
: &. &
(, Squid Proxy Caching Server [$], 0
Z) 8 84
2551. 0
Z)$"4
http://micro.se-ed.com/content/mc205/MC205_181.asp
‚%& %„&+A&,
&(" A&!
(
Z(1! Squid
(www.squid-cache.org) %)4&
Linux Server +A Squid /‚%&
%„ &&!(
4"
4@
" !!
0
(1'#$%.
! $"/'
"&
+"& Access Control List (ACL) @
&/(`
0
,
A Squid &
!(/ HTTP Object cache &,'#014
#$%.
$'!
4@
0
%„&" ,'
&#$%&!0
Z)
'@
$""#0)D !(0
+A Squid &&0
4
8.1 Block "7 Blacklist
(@
Block #$%"+A Squid +",*
(
,
#$%
$ (
Z@
$"+"
,
$$„&&*/#%$„
A@
"!@
(
Block $$„ /ect/squid/squid.conf +",A (TAG) acl A
HTTP_ access %)&1A
,
"&D
TAG : acl
acl aclname url_regex [-i] “file” … #regex matching on whole URL
27
acl (Access List) /
@
"-,&
,
,
!!
,
'
I
!
( &
@
"$"
./ url_regex (Uniform Resource Locator
Regular expressions) Z),"0 acl &/-,&
,0&1'0#$%
TAG : HTTP_ access
HTTP_access allow[deny [!]aclname
HTTP_access (Access to the HTTP port) /
@
"
-
(allow)
$'-
(deny) ,
HTTP %)#!&,
"' Server 0#$%
8.2 Block "#7 Keyword
/
Block #$% &&,
('/ keyword &@
"$ +", TAG :
acl A TAG : HTTP_ access ,'"&
block #$%+"
(
Blacklists
'
&
@
" acl ,&@
" Keyword $A,$„ &1A
,
"&D
acl aclname url_regex [i] Keyword, Keyword2, …
(
Z@
" Keyword $"
!'
(@
HTTP_access ,
Block #$%+"
(
Blacklist
8.3 1 Transparency <7 Client '+7#7 Proxy "'
@
Transparency ! (
44
,
HTTP %),
0 80 ++! TCP/IP &
$,
&/ Proxy %),
8080 +"+ +"&! Client $'4@
/&
@
"!'
,
ProxyA
$'(
Z&&
,
+"$', Proxy $"
(
Transparency &A
(
3 A
" !
A
A@
"$0& router A
&(, smart switching AA
&(
@
"!'
!&, Squid @
Proxy $@
A'&/ Gateway 0A
A
AA
&(D
&&
!
A ('A
&(
&A!',&
@
"!'
'
!&, Squid @
&/ Proxy A
0
(
#0
! Client +",('
@
"!'
(('"!
('& 1 , iptables @
&&
0 package &,
HTTP
$,0 Proxy A+",!@
(
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080
%)/!@
(&@
&
&
package &&
4
! Client
A&
$& HTTP(80) $& (8080)
28
('& 2 , Squid %)@
&/ Proxy package &Z1&
%)@
"!'
Squid.conf @
+" Transparency "&D
http_port 8080 transparent
8.4 ?,#7 access.log
,
0! Client 4Z1)$&$„ access.log 1'& /var/log/squid
&01D" 10 „›" A'„›""01"&D 2010-01-19 10:24:59 366 127.0.0.1
TCP_MISS/200 8584 GET http://www.google.co.th/ - DIRECT/64.233.181.147 text/html
Timestamp
&
"'(D(" 1A0 UNIX
Elapsed Time
,'
&,
"'
Client Address
0 IP address 0! Client
Log Tag/HTTP Code &"060!@
0/( HTTP &
Size
0
"001&(' Client
Request Method
!@
(0!@
0
URL
&1'0#$%&001
Ident
,61,&$"
-
,
6'
Client
Hierarchy Data/ Hostname $"01
!@
0
'
$ / 4
&$
Content Type
,"001&0
9. ,'1
4"A'.0'#$%"$
4"A'+",0!
$
4"A'+",1.
4&D4,]
$
4"A'+",0!
4
/&&'
$'%% 4
!!
'
&61$"!"!$
4"A'.
0'#$%+"
,0!
(Text Classification) "
"&
&""&D
9.1 Naive Bayes
/&&'
&(.
4)&
,'
A'
+"&&D4, !
Z&0!
('
!@
0!
0#$%'!@
'
A'.
0#$% +",!'
!
A'
0!
'
4/
/!A'. (Yirong and
Jing 2005)
29
9.2 K-Nearest Neighbor
/&& , '# $% &&! !
/ ' '
4"A'.'#$% +"#$%&
4(&!
'#$%'
+", vector 0'!@
#$%/A
&& (David and Marc 2008)
9.3 Decision Tree
/&&,$ (tree) /!
4"
A'.0#$%+"
@
"(!
(&&00'01'
"(4
'
$0$A'"
(node) 4'
4Z)0$ (leaf) 4)4$".0#$%
(Rajeev and Kyuseok 2005)
9.4 Support Vector Machines
,
"(4+",*.
0#$% +"A'~
0
#$%/' I A$"Z1
,
4"A'.0#$%+",
&& vectors %)/A0#$%'0#$%'
A'A!
A'
0#$% '
1''0#$%." (Support Vector Machine 2010)
9.5 Classification of hypertext data
,,"!@
(0 hyperlink, content of linked A meta data &&1'#$%
,
4"
A'.0#$% %)!
Z1AA'@
4"A'.
0#$% (Rayid , sean and Yiming 2006)
9.6 Text Classification for hypertext filtering
/
@
artificial neural network ,
#$%&&.
+ +",
#$%&&.
+ A$'&.
+ /!
Train artificial neural network 4"
A'.0#$% &
&D
4@
/,! ! && ( . (1A$' (
Z( &@
A
real-time $" (Pui, Siu and Alvis 2006)
9.7 Web Filtering Using Text Classification
, V ector %)/ A0!@
& E#$% & & !'
((^!
''
0#$% Z
&!'
((^!
(1'
50 %
4Z'
/."&''
0#$%&,&& (Reihaneh, Safavi - Naini and
Susilo 2003 : 327-328)
3
'1''6
0D
"@
4 (
ZA'$"/ 5 0D !
1. )*
&
0&+A.
*
%& Linux Ubuntu 9.04 "'((
001
#4 4
!A'0'
0#$%$"
2. )*
! *0#$% $'
( (
'!@
&4@
(
#$'
(
3. )*
8*`& PCA (PCA : Principal Component Analysis) ,
A''
#$%
4. (
#$'
((@
!A'0'
Proxy Cache Server
5. "((.
0
,5#7'6
,# $% $ ' (.!
A (" 4@
200 #$%
(.
!6 ! 126) ,#$%$'
(.
4
4@
150 #$%
(.
!6 134) A
,#$% 200 #$% (.
!6 4 141) %)$"4
)
,
0!10'
&0
, Proxy Cache Server 4
$„ access.log 0
!A'0'
#0+&&,
<<2,5)%
1. !0'
#+&&,
2. !A'0'
#&@
& Proxy Cache Server &
&" "&D
2.1 CPU
Xeon Processor 3G
2.2 RAM
4 GB
2.3 HardDisk
160 GB
2.4 Monitor
17”
30
31
2.5 CDROM
52X
2.6 Network Card 10/100/1000 2 2.7 Operating System Linux Ubuntu 9.04 , Squid2.7 STABLE
3. !10'
# ,"(
@
&
&" "&D
3.1 CPU
Pentium 4 1.0 GHz.
3.2 RAM
512 GB
3.3 HardDisk
40 GB
3.4 Monitor
14”
3.5 CDROM
52X
3.6 Network Card 10/100
3.7 Operating System Microsoft Windows XP Service Pack 3
4. ,!0'
(Switching) (
,'
")2#7'6
1. E
Linux Ubuntu9.04
2. E
Microsoft Windows XP Service Pack 3
3. +A VI (@
(
/A$0 %(+!"
4. +A PICO (@
(
/A$0 %(+!"
5. +A GNU C/C++ (@
!$.
*
%&
6. +A Squid2.7 (@
@
&/ Proxy Cache Server
7. +A Matlab R2007a
8. +A SVMlight Version 6.02
+(!'+")2&!<' Web Server
1. )*
&
0&+A.
*
%& Linux Ubuntu9.04
2. )*
&
0&+A.
*
%&"' Web Server
3. )*
& 0&+A.
*
%&001 #44
#$%]
HTML Code )$„
32
!
5%,!%+
1. 0&+A.
*
%& 001
#$%0#$%&$'
( ''
&&" ) HTML Code $„
2. )*
!*]
0#$%$'
( (
'!@
'
@
$,
4(#$%$'
('$
,'176
& 1 „_,4"
$„ Config
?3#
config_read
config_print
1
„_,(@
+"01$„ proxy-fileter.conf
%)/$„
&" config 00
'!
4@
1. ACCESS_LOG
2. WHITE_LIST
3. BLACK_LIST1 A BLACK_LIST2
4. DICTIONARY_1, DICTIONARY_2,
DICTIONARY_3 A DICTIONARY_4
5. PROXYPORT
6. LINE_CONSTANT_1,
LINE_CONSTANT_2
„_,(@
&"01$„
proxy-filter.conf 4
33
& 2 „_,&&0
4"
File Dicts
?3#
dict_new
dict_add
dict_first
dict_next
dict_load
„_,
dict_append, dict_remove
dict_reset_frequency
dict_frequency
1
%!'
pointer dict /!'
'
A!'
count
4@
!@
dict / 0
#01 dict '!
4@
+"#01
/+"* linklist && pointer /,&D
, pointer '
01 dict DA'+"A
, pointer '
+"01Z"$
@
01 dict &#$„0
'!
4@
6'
„_, dict_add
@
@
!@
&!
"'
$'
(4
dict3 $
dict1 A4
dict4 $ dict2
%!'
!
Z&((0!@
A'!@
dict3
A dict4 / 0
A("!'
!
Z&((0!@
A'!@
dict3
A dict4 6'
4
& 3 „_,&&0
#01#$%
?3#
weblist_exists
weblist_add
weblist_reset_black
weblist_reset_white
weblist_reset
1
„_,
4( URL '
&1'$„&
4($'
„_,
URL0
$$„ &
(@
01$„ blacklist1 A blacklist2
(@
01$„ whitelist
01 blackist1, blactlist2 A whitelist
6'
„_, weblist_reset_black,
weblist_reset_white
34
& 4 „_,(@
@
PCA
?3#
eigen_output
eigen_matrix
eigen_mius
eigen_multiply
1
/„_,
!@
!'
eigen
@
!'
01&$"$A1'1
Matrix (1*8)
!@
!'
DataAdjust +"@
@
&
$""!'
]&0A'
!@
!'
FinalData +"@
@
!'
DataAdjust !1!'
Eigenvector
& 5 „_,&,4"
+A Squid
?3#
squid_read_log
squid_parser
extract_http_address
squid_reconfig
1
'
0 1 00 Client 4
$„
access_log_path
4(0 1 4
& Client 06'
squid_read_log "&D
1. 4('
/
04
Client
2. 4('
0&,"0
Message / 200 /
001&(@
#4
"01&6'
4(A4
„_,
squid_parser $" URL & Client 0
('!@
( “squid –k reconfigure” @
reconfig squid
35
& 6 „_,&&0
4"
#$%
?3#
httpclient
getnewlocation
httprequest
count_bad_word
web_init
web_read
1
"' proxy-server (' URL $001 A'
01/ 3 ('! 1. result.tmp /01
&A("6
"'
0 2. meta.tmp /
&"01#$%&1' TAG TITLE
A TAG META 3. httpclient.tmp /
&"01#$%&1' BODY D"
url ' file result.tmp
4(6
001&$"4
„_,
httpclient &/ +!‚" 300 0'6'
getnewlocation
'
01 httpclient 4('
&!@
&
A' dict D"&!@
+" url &
4
!@
(!@
04
client 0
memory
0
&"01#!'
'
ID 8 & 7 „_,&&0
@
0 Proxy-Server
?3#
init_dictionary
record_web_list
web_exists
1
„_,&,4"
Dict 6'
„_,
dict_new, dict_load
„_,& ,4"
url $„
6'
„_, weblist_add
„_,
4('
url &0
&1'$„"
+"4(4
$„ whitelist, blacklist1 A blacklist2
@
" 6'
„_, weblist_exists
36
& 7 (')
?3#
move_word
check_web
Daemon_filter
action_by_param
main
1
4(!@
&!
"'
$'
( dict3 !@
"
& dict1 A4
dict4 & dict2 6'
„_, dict_append, dic_add, dict_remove
1. „_, web_read 4('
url &D
($'4
8*`& PCA
2. 0& url &$'
($„ blacklist1,
blacklist2
3. „_, move_word 4(!@
&!
"'
$'
(
&$'& argument /
& squid @
")01 url & client 00
4(
A+
&& argument 4('
/A"
1. –s „_, web_init A„_, check_web
2. –r „_, weblist_reset @
01 blackist1, blactlist2 A whitelist
3. –w „_, weblist_reset_white @
01D"$„ whitelist
„_,0+A
1. „_, config_read 4"
$„ config
0
2. „_, config_print A("
&"
config 6'
4
3. „_, init_dictionary +" dict D
4 dict 4
$„0
memory
4. 4( argument 0!@
(0
37
7
@
'!@
$' (A 4@
A# $%$'
(&$"
(
#$%$'
( +", 8*`& PCA (PCA : Principal Component Analysis) A
@
$,
4
,'
22) PCA (PCA :Principal Component Analysis)
!
A'
0#$%
!'
]&0A'
!@
!'
DataAdjust
!@
!'
Covariance Metrix
!@
!'
Eigenvalues , !@
!'
Eigenvector
Eigenvector & Eigenvalue &!'
&("
Final Data = Eigenvector x DataAdjust
.
& 12 0D
!
! PCA (PCA :Principal Component Analysis )
38
,'
),
&&
@
"&D
1. !
A'
0#$%
+"@
_44&&0#$% %)@
D" 8 &
!
A'
0#$%,
"(
2. !'
]&0A' (Mean)
@
!'
]&001A'&$"$
3. !@
!'
DataAdjust
!@
!'
Data Adjust +"@
01A'4
!'
]& (Mean) A'
4. !@
!'
%+!
&% (Covariance Matrix)
@
!'
DataAdjust &$"4
0D& 3 !'
%+!
&% +",(1
+!
&%&$"'
$A 4$"%+!
&%0
" 8 x 8
5. !@
$A (Eigenvectors) A$AA1( ( Eigenvalues ) 0
!'
%+!
&%
!'
%+!
&%/ (&&4(A(4@
Row '
4@
0
Column "D4(
Z!@
!'
0$A A$AA1( (@
%$"
6. $A (Eigenvectors) & $AA1( ( Eigenvalues ) &!'
&("
0D
$A (Eigenvectors) & $AA1( ( Eigenvalues )
&!'
&( " !" "
$AA$AA1(&&!'
&("& &
'
!
A0'$" +"&`
"&D
6.1 !'
$AA1( ( Eigenvalues ) > 1 +"!'
Eigenvalue /!'
&'Z)
!
(
Z0!'
4
!
A0'A$"
&$
6.2 !'
!
A(($'!@
'
70 4
4
!'
!
A
+"0&
'
&!'
!
A&
!"#$%$'
(
$' +"!'
!
A+"
Z)(
Z
!
A0'$"
+"
@
!'
$A&
4
list 0$A A&/%
$A1'!
Eigenvector = (eig1 eig2 eig3 … eign)
(3.1)
39
7. !@
!'
Final Data
4/0D("
0 PCA A/0D&'
&(" +"
4('
_44&"&&(" (eigenvector) @
DotMatrix DataAdjust $" FinalData &/01
&
@
"
FinalData = Eigenvector x DataAdjust
(3.2)
)'8,
6!
Z10~
0
Z)#$%$'
( +"!@
!'
!
Z1
#$%$'
( %)
!@
!'
"'
/"A("
(
"&D
%!
Z1 = 4@
#$%&6$"Z1
4@
#$%& ,
"(
4
8,1''6
6
"@
4 !"#$%&$'
("
)*
(
ZA'$"/ 7 0D !
1. )*
&0&+A.
*
%& Ubuntu9.04 "'001 html code
4
#$%
2. !
'!@
,4@
A#$%$'
(4
#$%
3. !
4"&
(&,
4@
A#$%$'
(4
#$%
+",8*`& PCA (PCA : Principal Component Analysis) A 8*`&
!@
(Z
4. (
~
0
Z)#$%$'
(
5. !
4@
A#$%+",8*`& SVM (SVM : Support Vector Machine)
&&(.
!"
6. !
'!@
$'
(A+
7. "((.
@
1. +")2&! Ubuntu9.04 '++7-, html code
4
)*
&
0&+A.
*
%& Ububtu9.04 %), gcc /!$
(Compiler) @
A.
*
+", vi /!
(
AA$0%(+!" (Source
code) ('&@
"' web server $","!@
( "'$&D
host=gethostbyname(proxyserver)
& hostname /0 IP
sockfd=socket(AF_INET,SOCK_STREM,0) ›" socket (@
,'
server.sin_family=AF_INET;
(
,'
server.sin_port=htons(config ->proxy_port);
memcpy(&server.sin_addr,host->h_addr_list[0], host->h_length);
memset(&(server.sin_zero),’\0’,8);
connect(sockfd,(struct sockaddr*)&server,sizeof(struct sockaddr));
40
41
write(sockfd,”GET”,4);
('!@
001
write(sockfd,url,strlen(url));
write(sockfd,”HTTP/1.0\n\n”,11);
while ((numbeyte=read(sockfd,msgtemp,1)) ==1) 01('&/ header
{ if (msgtemp[0]!=’<’) { fputc(msgtemp[0],resultTemp);msgsize++;}
else { fputc(msgtemp[0],htmlTemp); msgsize=1; break;}}
while ((numbyte=read(sockfd,msgtemp,1)) ==1) 01('&/ html code
{ fputc(msgtemp[0],HtmlTemp); msgsize++;}
close(sockfd);
(D("
,'
01&$"
4
web server A'/('0 header 4Z1#$„
result.tmp A('0 html code 4Z1#$„ httpclient.tmp
01&$" result.tmp /01&6
001 +"]
html
return code %)4'
0D$"6'
$ '
01 &"&D
'
& 1
HTTP/1.0 200 OK
Date: Wed,10 Dec 2009 08:07:05 GMT
Server: Apache
Content-Type: text/html
X-Cache: MISS from ns2
Proxy-Connection: close
A("'
6
001!D&D(6(@
#4 $"01
&0
'
& 2
HTTP/1.0 302 Moved Temporarily
Server: Resin/3.0.19
Location: http://www.spicevod.com/dispatcher/frontDoor
Content-Lenght: 82
Date: Mon,8 Dec 2009 04:27:54 GMT
X-Cache: MISS from ns2
X-Cache: MISS from com5
42
Proxy-Connection: close
A("'
6
001!D&D$'(#4(1 @
0$
&$ Location :
01&$" httpclient.tmp /
&"0 html code (@
(
homepage & browser 4@
$, '
01&"&D
<html>
<head>
<title>idol4u.com: ("" Album .
(I &
$"&& & )*
netidol ' '
(I &!! </title>
<meta http-equiv=”Content=Type” content=”text/html;charset=”>
<meta http-equiv=”refresh” content=”0;URL=http://www.idol4u.com/index2.php”>
<META name=”description” content=”idol4u free gallery wallpaper pop idol and
japanidol more!! And pic student narak narak free update more: .
& .
)*
"
A sms”>
<META name=”keywords” content=”skin”
solki,solki,solki,ringtone, ,download,logo,color,game,
java,chat,friend,msn,mobile,wallpaper,gallery, free,.
'
,.
,(I,(
I,
'
I(
I,sexy,idol,japan,"
,
&, & ,)*
,',board,fanclub,„& ,photo,
photo2mobile,
A,(
(,1,
,
A„,","#I'
,"#I,,+„,,‚$',
A,
A,1,%&,(,"1",'
,solki, shinsolki,korea,,A(",
&,(,
'
,(
,(,",+(1,","#(
,&,AZ'
,!0, "
,Britneyspear,msn,
,
Z,+(.
,„&,webboard,"#A,"#(,
>
<link rel=”stylesheet” href=”textidol2.css” type=”text/css”>
<style type = “text/css”>
<
body { margin: 0px 0px; padding: 0px 0px}
a:link {color: #333333; text-decoration:none}
a:visited {color: #333333; text-decoration:none}
a:active {color: #ff6600; text-decoration:none}
43
a:hover {color: #ff6600; text-decoration:underline}
></style>
</head>
<body leftmargin= “0” topmargin = “0” marginwidth = “0” bgcolor= “#000000”>
<table width= “100%” border= “0” cellspacing= “0” cellpadding = “0” class =
“13pxmenu2” align= “center”>
<tr>
<td height= “614” valign= “top”>
<div align= “center”>
<table width= “100%” border= “0” cellspacing= “0” cellpadding = “0” class =
“text13px5” height= “192”>
</tr>
<td height= “50”>&nbsp;</td>
</tr>
<tr>
<td height= “197”>
<div align= “center”><a href= “index2.php”> <font size = “4”><b><font size = “3”
color= “#FF0000”>++
$"„1"!++ </font></b></font></a></div>
</td>
</tr>
<tr>
<td height= “21”>
<div align= “center”>
</div>
</td>
</tr>
<td>
<div align= “center”><span>
<script language= “javascript1.1”>page= “home”;</script>
44
<script language= “javascript1.1”
Src= “http://truehits1.gits.net.th/data/i0016638.js”><a href= “http://host-tracker.com/website-uptime-monitor/112865/ “target=”blank”><img alt= ‘server uptime monitoring’ width=80
height=15 border=0 src=“http://ext.host-tracker.com/uptime-image/?s=15&amp;t=112865
&amp;m=”00.09&amp;p=Total”></a><noscript><a href= “http://host-tracker.com/>web server
downtime monitoring </a></script>
</span></div>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</body>
</html>
4@
A#$%$'
(4
#$%D &0D 4
!
'!@
$'
(A,8*`& PCA (PCA :Principal Component Analysis) /
4@
A#$%&$'
(4
#$% %)A(""A6.
45
'!@
&&!
(Z)4
#$%
4
, '!@
&&!
(Z)!
A ("4
4(
'!@
html code 0#$%
$'
(A#$%
'!@
& &@
4
A4A4(1("
!@
!'
(Z&,(1 PCA (PCA : Principal Component Analysis )
4
01&$"
@
!'
(Z&$"$0
(16'
PCA
(PCA : Principal Component Analysis )
!
4"&
(&,
4@
A#$%$'
(4
#$%
.
& 13 0D
!
'!@
$'
( !'
(Z A8*`& PCA (PCA :
Principal Component Analysis )
2. '
,5
1<#76126)'
'!@
&$'
(D4@
A''!@
&$'
(/ 2 .
"&D
2.1 ,5
152 '
&'!@
A ("&$'
(
2.1.1 '!@
A ("&$"
4
“!
A&
E
,.
*
00'
,-
(
” $""&D
46
§ +" ,"! $ ! 0'0 @
A ‰
„
" A 4A % %A „_ ," $( "! &"&"
"0A0# +
0&D
‰'
( & ( A%D@
A 4'
0'0 $($ &"
"! ,@
A 4' 4'0 + (
D@
$+!4 0'0 "! &D+" ") 4+" " ( & "# " @
&"„_ 01'‰'
2.1.2 @
'!@
&$" "(
'!@
A (" & &@
4
A4A4(1(" @
$,
Block #$% +"&
"(D&0D"&D
2.1.2.1
4@
'!@
A ("D"#$%
'!@
A
("&$"$ +"@
'!@
A ("4
#$%!
A ("
200 #$%
2.1.2.2 4@
'!@
A ("D"#$%
' !@
A
("&$"$ +"@
'!@
A ("4
#$% 200 #$%
2.1.2.3 ('4@
'!@
A ("&#$%!
A (" ' 4@
'!@
A ("&#$%
& 8 (' 4@
'!@
A (" &#$%!
A ("
' 4@
'!@
A ("&#$%
61,5
1
,5
152 '
§
+"
61
,5
152
'
61
52
52 61)'
2,'
,5
1
'
61,5
152
,5
1
'
)'
12
5
2.4000
76
5
15.2000
47
& 8 (')
61,5
1
,5
152 '
,"!
$
!
0'0
@
A
‰
„
"
A
4A
%
%A
„_
,"
$(
61
52
'
,5
1
25
55
15
14
41
18
72
20
45
35
59
70
21
15
30
20
29
19
8
61
,5
152
'
52
61)'
' 61
,5
1
,5
152
'
)'
4
6.2500
5
11.0000
3
5.0000
4
3.5000
4
10.2500
3
6.0000
4
18.0000
4
5.0000
7
6.4286
7
5.0000
5
11.8000
6
11.6667
5
4.2000
4
3.7500
4
7.5000
3
6.6667
4
7.2500
4
4.7500
2
4.0000
48
& 8 (')
61,5
1
,5
152 '
"!
&"&"
"0A0#
+
0&D
‰'
(
&
(
A%D@
A
4'
0'0
$($
&"
"!
,@
A
4'
61
52
'
,5
1
9
13
11
21
6
72
76
16
54
45
31
98
67
15
25
24
8
32
8
61
,5
152
'
52
61)'
' 61
,5
1
,5
152
'
)'
2
4.5000
7
1.8571
5
2.2000
4
5.2500
2
3.0000
5
14.4000
4
19.0000
7
2.2857
8
6.7500
6
7.5000
4
7.7500
4
24.5000
4
16.7500
4
3.7500
5
5.0000
4
6.0000
2
4.0000
6
5.3333
2
4.0000
49
& 8 (')
61,5
1
,5
152 '
4'0
+
(
D@
$+!4
0'0
"!
&D+"
")
4+"
"
(
&
"#
"
@
&"„_
01'‰'
61
52
'
,5
1
10
41
28
29
17
15
15
12
45
8
49
29
66
34
21
42
34
9
61
,5
152
'
52
61)'
' 61
,5
1
,5
152
'
)'
3
3.3333
4
10.2500
11
2.5455
5
5.8000
4
4.2500
7
2.1429
6
2.5000
2
6.0000
6
7.5000
2
4.0000
4
12.2500
8
3.6250
5
13.2000
3
11.3333
2
10.5000
4
10.5000
3
11.3333
3
3.0000
50
2.1.2.4 4
@
01 & $" $A("/ „ ' !@
A
("&& @
4
A4A4(1("
A X A("Z) '!@
A ("
A Y A("Z) ('4@
'!@
A ("&
#$%!
A ("' 4@
'!@
A ("&#$%
.
& 14 „A("@
4
A4A40'!@
A ("
2.1.2.5 4
„@
$"'!@
A ("D" 17 !@
&&@
4
A4A4& 10.25 Z) 24.5 '!@
A ("D" 17 !@
&"&D
& 9 A("'!@
A ("&&@
4
A4A4(1("
,5
152 '
A
(
0'0
4'
+"
‰'
162626
24.50
19.00
18.00
16.75
15.20
14.40
51
& 9 (')
,5
152
&
"
‰
„
"
"#
&"„_
,"!
"
@
+
162626
13.20
12.25
11.80
11.67
11.33
11.33
11.00
10.50
10.50
10.25
10.25
2.2 ,5
1,6
&'!@
4
&$'
(
2.2.1 '!@
4
4
#$%&&D
0!
4
150 #$% !@
4
&$"&"&D
!@
4
&1 !@
4
&2 !@
4
&3 !@
4
&4 !@
4
&5
!@
4
&6 !@
4
&7 !@
4
&8 !@
4
&9 !@
4
&10 !@
4
&11
!@
4
&1 2 !@
4
&1 3 !@
4
&1 4 !@
4
&15 !@
4
&1 6 !@
4
&1 7
!@
4
&1 8 !@
4
&1 9 !@
4
&2 0 !@
4
&21 !@
4
&2 2 !@
4
&2 3
!@
4
&2 4 !@
4
&2 5 !@
4
&2 6 !@
4
&27 !@
4
&2 8 !@
4
&2 9
!@
4
&3 0 !@
4
&3 1 !@
4
&3 2 !@
4
&33 !@
4
&3 4 !@
4
&3 5
!@
4
&3 6 !@
4
&3 7 !@
4
&3 8 !@
4
&39 !@
4
&4 0 !@
4
&4 1
!@
4
&4 2 !@
4
&4 3 !@
4
&4 4 !@
4
&45 !@
4
&4 6 !@
4
&4 7
!@
4
&4 8 !@
4
&4 9 !@
4
&5 0 !@
4
&51 !@
4
&5 2 !@
4
&5 3
!@
4
&5 4 !@
4
&5 5 !@
4
&5 6 !@
4
&57 !@
4
&5 8 !@
4
&5 9
!@
4
&6 0 !@
4
&6 1 !@
4
&6 2
52
2.2.2. @
'!@
&$" "(
'!@
4
&&@
4
A4A4(1("@
$,
Block #$%+"&
"(D&0D"&D
2.2.2.1 4@
'!@
4
D"#$% '!@
4
&$"$ +"@
'!@
4
4
#$%
4
150 #$%
2.2.2.2 4@
'!@
4
D"#$%
'!@
4
&$"$ +"@
'!@
4
4
#$% 200 #$%
2.2.2.3 ('4@
'!@
4
&#$%
4
' 4@
'!@
4
&#$%
& 10 ('4@
'!@
4
&#$%
4
' 4@
'!@
4
&#$%
61
,5
1,6
,
61
61)'
6 61
,6
,5
1
,5
1,6
,5
1
)'
90
8
11.2500
19
1
19.0000
17
2
8.5000
56
3
18.6667
11
1
11.0000
48
3
16.0000
93
9
10.3333
21
3
7.0000
45
3
15.0000
26
2
13.0000
43
2
21.5000
58
9
6.4444
61,5
1
,5
1,6
!@
4
& 1
!@
4
& 2
!@
4
& 3
!@
4
& 4
!@
4
& 5
!@
4
& 6
!@
4
& 7
!@
4
& 8
!@
4
& 9
!@
4
& 10
!@
4
& 11
!@
4
& 12
53
& 10 (')
61
,5
1,6
,
61
61)'
6 61
,6
,5
1
,5
1,6
,5
1
)'
59
8
7.3750
255
1
255.0000
86
1
86.0000
92
2
46.0000
131
3
43.6667
101
2
50.5000
66
1
66.0000
43
3
14.3333
14
1
14.0000
117
2
58.5000
78
1
78.0000
103
2
51.5000
77
1
77.0000
111
2
55.5000
102
1
102.0000
77
1
77.0000
81
1
81.0000
38
3
12.6667
25
2
12.5000
15
1
15.0000
13
1
13.0000
61,5
1
,5
1,6
!@
4
& 13
!@
4
& 14
!@
4
& 15
!@
4
& 16
!@
4
& 17
!@
4
& 18
!@
4
& 19
!@
4
& 20
!@
4
& 21
!@
4
& 22
!@
4
& 23
!@
4
& 24
!@
4
& 25
!@
4
& 26
!@
4
& 27
!@
4
& 28
!@
4
& 29
!@
4
& 30
!@
4
& 31
!@
4
& 32
!@
4
& 33
54
& 10 (')
61
,5
1,6
,
61
61)'
6 61
,6
,5
1
,5
1,6
,5
1
)'
21
2
10.5000
31
2
15.5000
46
4
11.5000
139
11
12.6364
21
8
2.6250
46
9
5.1111
67
5
13.4000
68
12
5.6667
65
5
13.0000
45
5
9.0000
73
1
73.0000
76
1
76.0000
102
2
51.0000
98
1
98.0000
99
2
49.5000
77
1
77.0000
89
2
44.5000
31
10
3.1000
39
9
4.3333
9
2
4.5000
23
2
11.5000
61,5
1
,5
1,6
!@
4
& 34
!@
4
& 35
!@
4
& 36
!@
4
& 37
!@
4
& 38
!@
4
& 39
!@
4
& 40
!@
4
& 41
!@
4
& 42
!@
4
& 43
!@
4
& 44
!@
4
& 45
!@
4
& 46
!@
4
& 47
!@
4
& 48
!@
4
& 49
!@
4
& 50
!@
4
& 51
!@
4
& 52
!@
4
& 53
!@
4
& 54
55
& 10 (')
61
,5
1,6
,
61
61)'
6 61
,6
,5
1
,5
1,6
,5
1
)'
36
3
12.0000
43
3
14.3333
74
6
12.3333
54
9
6.0000
26
2
13.0000
19
1
19.0000
22
1
22.0000
59
5
11.8000
61,5
1
,5
1,6
!@
4
& 55
!@
4
& 56
!@
4
& 57
!@
4
& 58
!@
4
& 59
!@
4
& 60
!@
4
& 61
!@
4
& 62
2.2.2.4 4
@
0 1&$"$A("/
„
'!@
4
&&@
4
A4A4(1("
A X A("Z)'!@
4
A Y A("Z)
('4@
'!@
4
&
#$%
4
'4@
'!@
4
&#$%
56

 



300.00
250.00
200.00
Y
150.00
100.00
50.00
0.00
1
5
9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77

.
& 15 „A("@
4
A4A40'!@
4
2.2.2.5 4
„@
$"'!@
4
D" 21 !@
&&@
4
A4A4& 43.67 Z) 255 '!@
4
D" 21 !@
&"&D
& 11 A("'!@
4
&&@
4
A4A4(1("
,5
1,6
!@
4
& 14
!@
4
& 27
!@
4
& 47
!@
4
& 15
!@
4
& 29
!@
4
& 23
!@
4
& 25
!@
4
& 28
!@
4
& 49
!@
4
& 45
!@
4
& 44
162626
255.00
102.00
98.00
86.00
81.00
78.00
77.00
77.00
77.00
76.00
73.00
57
& 11 (')
,5
1,6
!@
4
& 19
!@
4
& 22
!@
4
& 26
!@
4
& 24
!@
4
& 46
!@
4
& 18
!@
4
& 48
!@
4
& 16
!@
4
& 50
!@
4
& 17
162626
66.00
58.50
55.50
51.50
51.00
50.50
49.50
46.00
44.50
43.67
3. '
65#76126)'"#7
9!: PCA (PCA : Principal Component Analysis) 2, 9!:
1%4''
3.1 1''#76<(
,4@
A!
A'
001A'#$% +"@
01'
I
$"
1A 8 !
A'
0D
#$%D 8 &"&D
3.1.1 4@
0 META TAG %)A("Z) Key word &(@
!-(@
(!
#$%0 Google A description 0#$%
3.1.2 4@
0 A HREF TAG %)A("Z)
Link $#$%
3.1.3 4@
0 IMG TAG %)A("Z)
A("1.
3.1.4 4@
0 SCRIPT TAG %)/+!‚"(@
A'#$%
3.1.5 4@
!@
&$'
(&1' META TAG A TITLE TAG +"@
!@
!@
&$'
(&1''!@
&&@
4
A4A4(1(" (4@
Pool)
3.1.6 4@
!@
&$'
(&1' BODY +"@
!@
!@
&$'
(&
1''!@
&&@
4
A4A4(1("
3.1.7 !'
Z'D@
!@
&$'
( META TAG A TITLE TAG (!'
Z'
D@
04@
Pool)
58
3.1.8 !'
Z'D@
!@
&$'
( BODY
3.2 6
2+<(( 8 '' ,5,
3.2.1 '#$%
4
150 #$%
3.2.2 '#$%!
A (" 200 #$%
3.2.3 '#$% 200 #$%
& 12 A("!(0D
#$%
773
52
'
1090
)' )'
152 1,
'
6
1106
1102
13086
23623
31260
31288
4041
10234
21692
21715
1445
3395
2329
2326
998
4360
458
2634
0
133
0
38
998
458
0
0
4360
2634
133
38
5%'+
<( ,6
4@
0
META TAG
4@
0
A HREF TAG
4@
0 IMG
TAG
4@
0
SCRIPT TAG
4@
Pool
4@
!@
&$'
(&1'
BODY
!'
Z'D@
04@
Pool
!'
Z'D@
!@
&$'
(
BODY
59
3.3 '
652,6
&#$%
4
4@
!
4"&
(
A'#$%
4
#$%
4
+",8*`& PCA (PCA :Principal Component Analysis) A
8*`&
!@
(Z
%) PCA /8*`&&@
"!&$'4@
/$ "D4)@
!
''
!"
&$'4@
/' +",8*`&!
A 8*`&
4
001A'! "(4'
!"&!
(@
!
&(" A!"&!
(@
!-'
"!&$'(@
!$4
0D0 PCA &"&D
3.3.1 @
!'
]&A'!'#$%
4
!'
]&D@
$,
!@
!'
Data Adjust '$
& 13 A("!'
]&!(0#$%
4
5%'+,6
@,
5%'+,6
4@
0 META TAG
5.1553
4@
0 A HREF TAG
87.24
4@
0 IMG TAG
26.94
4@
0 SCRIPT TAG
9.6933
4@
!@
&$'
(&1' META TAG
6.6533
A TITLE TAG
4@
!@
&$ '
(&1' BODY
29.0667
!'
Z'D@
04@
Pool
6.6533
!'
Z'D@
!@
&$'
( BODY
29.0667
3.3.2 !'
01 (Data Adjust) ! 0D
@
01 Training 0
$"@
!
+"01 Training "!&
"(+"@
01A'!!'
]&!'
0A'!
(
&@
!'
+"!'
]&' @
!
4
60
0!A'!"D
"
4
4,8*`& & % %)/
8*`&&
4@
@
"01&0
&!'
]&/ 0 1'1
4
001 $'!'
]&&6'
"
4
001 "D&
&@
!'
]&001/ 0 ! @
01!'
]&' %)
&0D&D'
01
0D
!'
Data Adjust +"@
01#$%
4
D 150 #$%
.
& 16 '
A("01#$%
4
&&
!'
01
3.3.3 @
!@
+!
& % % 0 0 1 & !'
A 0D
&D4/0D
"
4
!
A001
&Z
01&"&
&
"
4
001!
!'
& % A'Z
&01&
'
1 (ZD
"
4
001
'
1 4@
"
4
0
A@
"
4
'
I " &'
!'
+!
& %
+"@
"
4
I /!1' I A4
&"(&D" 8 "D
@
!'
+!
& % A @
('!'
!
( +!
& % A'
%" ,
!@
0D'$ +!(
0+!
&%% D 8 &*
!
("&D
61
.
& 17 A("!'
!
A'
I
%) 4$" +!
&%%0
" n x n (n !4@
D") 4
01
"@
!@
+!
&%%0'
018 &&
!'
A
%)4$"+!
&%%0
" 8x8 "&D
.
& 18 A("6
!@
+!
&%D 8 &!'
A0#$%
4
4
.
A("#Z)!
(
4
001'
,' & 1 & 2 (
Z
!
A
4
001$"
-3764.52 & 2 & 5 (
Z
!
A
4
001
$" 232022.48 +"
PCA 4@
!'
!
(0 !
AA' $
!
")!'
!
A&
$(
!'
3.3.4 !@
$AA$AA1(0+!
&%%
!
! /!!
"4@
A
62
!!) +"
(
A'/„_,,(0A" AA'4")
&"!'
!
A4
A"
$A'$"
&(" %)A'4
0&1'1!"!1!'
$"D!'
$!!'
&@
"
&„_,' ('!'
$A1( ! !'
4@
4&'!
(
Z
0$'
4
!
A0'A$"
&"
@
" (X1, X2, …………X8 ) /D 8 %)&%!
A
' ∑ A&$A1(A$ ( λ1 , λ1 ), ( λ2 , λ2 ),…….( λ8 , λ8 ) λ !
$A1( +"& λ1 ≥ λ2 ≥ …….. ≥ λ8 "D40&! !
'1'1„_,,(0A X1, X2, …………X8 $""&D
+ λ12 X2 + …. + λ1 p Xp
λ21 X1 + λ22 X2 + …. + λ2 p Xp
:
:
Yp = λ p1 X1 + λ p 2 X2 + …. + λ pp Xp
Y1 =
Y2 =
λ11 X1
(4.1)
Z
$!D
!
A0'
'
$"'
1 A $A1(D#$'&+,&4@
!D
, A&@
!
&4@
!
46/!A!' 2-3 !
'
D Z
!&@
!
&4@
44$"!4@
A'
4@
" I !$" ,' !'
$A1(
'
1 %)/
&@
"$ I +A!1'A
.
& 19 A("!'
Eigenvalues &!@
$"
63
.
& 20 A("!'
Eigenvectors &!@
$"
4
(
Yp = λ p1 X1 + λ p 2 X2 + …. + λ pp Xp
p
%)/!' 4$"
' ∑ Var ( xi ) =
λ1 + λ 2 +……..+ λ8
i =1
p
= ∑ Var ( yi ) 4
i =1
(
4#$"'
6!
A0 I A %01 X A6
0!
A0 I !'4!'
'
A'
60$
A1( %)("('!
A001A'!' 4(
ZA("$""&D
("('!
A0,
0!'& k !
λk
λ1 + λ 2 + ...... + λ p
; k= 1, 2, ……p
(4.2)
"DZ
!& k &("('!
A
A("'
!"'
(
Z
!
6A0A"$"
A4
λ1 ≥
λ 2 ≥ …….. ≥ λ8 ≥ 0 A("'
!
A0!'&("! λ A I
4&!'
&(1 "&D4),
"'
4
4@
0!&
(
(@
"001'$
3.3.5 "+"!&(@
!0D
"D4@
4
$A$A1(
+"@
!'
$&&!'
$A1((1&(" %)A("Z)!
(001&
&! (@
! - " D @
&0 1
!' 0$A1 (4 $
4$"
!& & @
" !
(@
!- @
( Z " ( 4& 4 ! &&
64
!
(@
!-'
%)4@
(1-(&01
(' +"/
"&@
01(1-(&$'
A'&6@
(
Z@
01&]
('&(@
!-$6'$"'
A#0)D
+"`&,
' ' 4"0
" ' $' Z)4
(!!'
Eigenvalue > 1 (Cooley and Lohnes 1971; Kim and Mueller 1978; Kerlinger 1986; Stevens 1996)
+"!'
Eigenvalue /!'
&'Z)!
(
Z0!'
4
!
A
0'A$"
&$
+"Z
!D
!
A0'
'
$"'
1 !'
Eigenvalue D#$'&+,&4@
!D
,4
8*`& PCA A`&0)&,4
"0
"D ! 44
4
!'
!
A+"0 & ' & !' !
A&
!"#$%
$'
($' +"!'
!
A+" Z) (
Z
!
A0'$"
+"A!'
!
A(($'!@
'
70 (Cooley and
Lohnes 1971; Kim and Mueller 1978; Kerlinger 1986; Stevens 1996)
4
6
"@
!'
Eigenvalues A!
AA' &
$"
4
$"6"
'$&D
& 14 A("!'
Eigenvalue !
A A!
A &!@
$"
Eigenvector
1
2
3
4
5
6
7
8
Eigenvalues
1462219.2993
471275.6799
208845.3002
107585.1833
6901.1873
5562.0899
1.82E-10
-6.97E-12
%variance
Cumulative % of variance
64.63
64.63
20.83
85.46
9.23
94.69
4.76
99.45
0.31
99.75
0.25
100
8.03E-15
100
-3.1E-16
100
65
4
8*`&
(Z!
A
Z) Z
!&
&!'
!
A(
Z"!'
4
001 A("'
!D$'
(
Z
$"'
01D 2 DA'
'
$ A'Z
!D&!'
!
A
(
Z"!'
4
001$"
A("'
!D(
Z
!
A'
001 2 ' AA'A01 2 'D4
$"
8*`&0 PCA @
&@
"!'
$A1(4
$"D
@
"0$A
!
A$"
&("
4
(
Z(&
&"1AA'!'
&A'
$""&D
&" 2 (
Z
!
A$" 85.46 %#
&" 3 (
Z
!
A$" 94.69 %#
&" 4 (
Z
!
A$" 99.45 %#
&" 5 (
Z
!
A$" 99.75 %#
&" 6-8 (
Z
!
A$" 100.00 %#
"(4@
Eigenvalues 2 A !'
Eigenvalues 2
A&!'
Eigenvalues > 1 A!'
!
A 85.46 %# %) 2 A
(
Z
!
A0''
$" 85.46 %# %)&!
A
'
70% A @
$,
!
01,( %)/01&'
!"
#$%A
"D4
01
"(& 8 4@
"001 2 @
$,
!
01,(
.
& 21 A("!'
Eigenvectors &&!'
Eigenvalues (1(" 2 "
66
3.3.6 @
(
FinalData (@
"(01#$%
FinalData = eigenvectors * DataAdjust
(4.3)
eigenvectors &0
"% 8*2
DataAdjust 01 #$%
4
&0
"% 1*8
"D FinalData &0
"% 1*2 (!'
X,Y)
3.3.7 @
01#$%
4
150 #$%0
(
!'
FinalData
0A'#$% "D4$"01% 1*2 !'
(X,Y) 4@
150 !'
@
$ Plot „
A("@
A'001A'#$%
.
& 22 A("@
A'001A'#$%0#$%
4
3.3.8 !@
!'
D 8 #$%D 200 #$% (4@
!@
$'
(
!@
4
.!@
4
) A@
$!@
!'
DataAdjust 001+",!'
]&
0#$%
4
67
.
& 23 '
A("01#$%&&
!'
01
3.3.9 @
0 1 Data Adjust 0
(1 FinalData +", !' Eigenvectors 0
#$%
4
"D4$"01% 1*2 !'
(X,Y) 4@
200 !'
@
$ Plot
„A("@
A'001A'#$%
.
& 24 A("@
A'001A'#$%0#$%
68
3.3.10 @
010
„D 2 @
"1@
A'001A'#$%
A@
!@
4"&
(
A'#$%4
#$%
4
+",
(
( Y = MX + C /A'014
8*`&
(
(D 4
4
4" 2 4"! 4 " @
( " 0# $% 4
A4 " (1 ( " 0# $% &,
"(
4
x1=-96.2639 y1= -14.5071 4"(1("0#$%.
4
x2= 149.1764 y2= -69.0588 4"@
("0#$%
4
!'
!
, M &!@
$"! -0.2223
!'
!& C &!@
$"! -35.9028
@
"(
1'1 y = mx + b AX + BY + C = 0
(
( Y = -0.2223X -35.9028 0.2223X – Y + 35.9028 = 0
.
& 25 A("
A'#$%
4
4
#$%
69
3.3.11 "(&01#$%0
4!@
DataAdjust D 8
+",!'
]&A'0#$%
4
A!'
Eigenvector 0#$%
4
A@
!@
!'
FinalData $"!'
(x, y) 0#$% A@
@
!'
(x,y) &$"0
(1(
(
!'
C A@
!'
C &$"$4('
#$%&0
/#$%
4
$'+"4
4
$0'$&D
!'
C > -35.9028 A("'
011'(
(%)
!
'
/#$%
4
!'
C ≤ -35.9028 A("'
011'(
(%)
!
'
/#$%
3.4 '
65 2
52 '
&#$%!
A (" 4@
!
4"&
(
A'
#$%4
#$%A ("+",8*`& PCA (PCA : Principal Component
Analysis) A 8*`&
!@
(Z"&D +"
"(
A'#$%!
A
("4
#$%D4, Eigenvector A!'
]&0#$%
4
/
A'01
!'
FinalData &!@
$"(
ZA'01#$%A#$%!
A ("$""&'
4
3.4.1 !'
01 (Data Adjust) 0#$%&4"(!
A
(" ! @
01I!'
DI"!'
]&0 DI (!'
]&0#$%
4
) +"@
01#$%D 200 #$%
70
.
& 26 '
A("01#$%&,"(!
A ("&&
!'
01
3.4.2 +"@
01 Data Adjust 0
(1 FinalData +",!'
eigenvectors 0
#$%
4
"D4$"0 1% 1*2 !'
(X,Y) 4@
200 !'
@
$ Plot
„A("@
A'001A'#$%
.
& 27 A("@
A'001A'#$%0#$%
71
3.4.3 @
010
„D 2 @
"1@
A'001A'#$%
A@
!@
4"&
(
A'#$%4
#$%!
A
("
8*`&
(
(D 4
4
4" 2 4"! 4"@
("0#$%
4
A4"(1("0#$%& ,"(!
A
x1= -96.2690 y1= -14.5174 4"(1("0#$%.!
A
("
x2= 149.1764 y2= -69.0588 4"@
("0#$%
4
!'
!
, M &!@
$"! -0.2221
!'
!& C &!@
$"! -35.9201
@
"(
1'1 y = mx + b AX + BY + C = 0
(
( Y = -0.2221X -35.9201 0.2221X-Y + 35.9201 = 0
A@
"(@
01#$%A0
"1@
A'0
01A'#$%!
A
.
& 28 A("
A'#$%!
A ("4
#$%
72
3.4.4 "(&01#$%0
4@
!@
DataAdjust
D 8 +",!'
]&A'0#$%
4
A!'
Eigenvector 0#$%
4
A@
!@
!'
FinalData $"!'
(x, y) 0#$% A@
@
!'
(x,y) &$"0
(1
(
(
!'
C A@
!'
C &$"$4('
#$%&0
/#$%!
A
$' +"4
4
$0'$&D
!'
C > -35.9201 A("'
011'(
(%)
!
'
/#$%!
A ("
!'
C ≤ -35.9201 A("'
0 1 1' (
(%)
!
'
/#$%
3.5 8,2,5"#79!: PCA (PCA : Principal
Component Analysis)
/0D 0
@
6# $% & @
A'.#$%A
(.
+"01"(
!"#$%/01,""&&"( SVM
1. "(#$%!
A (" A'/#$% 100 #$% A
#$%!
A (" 100 #$%
2. "(#$%
4
A'/#$% 100 #$% A#$%
4
100 #$%
@
4("1'
#$%&A'.D&!'
/'
$ +"@
(.
!'
'
I "&D
& 15 A("(.
!"#$%"& PCA (PCA : Principal Component
Analysis)
)&
#$%!
A
("
#$%
4
4-7 21
,
Accuracy
Precision
Recall
89.5
96.47
82
94.5
100
89
73
3.6 )')''&6176
1%7
(.
0(
(D 2 &D @
"('
Model
&(
D&!
6"
"
A'01
&"+"!"/
('001
D"
& 16 A("(.
(
((@
A'.#$%!
A
("#$%
)&
#$%!
A
("
#$%.
!
A ("
]&
61
200
6124-
61 7,
174
87
6128'
61 7,
26
13
200
197
98.5
3
1.5
400
371
92.75
29
7.25
& 17 A("(.
(
((@
A'.#$%
4
#$%
)&
#$%
4
#$%
4
]&
6124-
6128'
61
61
7,
61
7,
150
200
143
200
95.33
100
7
0
4.67
0
350
343
98
7
2
( ( . 0(
( & ,A '0 1 4
"'
&
4@
#$%$'
( "0
'#$% 4
4
"1A'
#$%
&"0
D/#$%&&!@
&$'
('
&@
"$ (
4
#$%
74
D&
&$,!@
&(!
!& 4)$'(
Z4($" &
&&# $% "0 '0# $% $' (/ ' # $% D & !@ $'
(1'&&4(A"(4#$%D/#$%$'
(
3.7 '
) 3 ''
@
A' 3 , Cartesian Coordinate %)"0 3
(x,y,z) %)A
AA X, Y A Z @
" "&4" Origin (0,0,0)
.
& 29 A("
AA X Y A Z &4" Origin
4
A"D 3 A 4@
"
3 $"A' xy xz
A
yz
I
.
& 30 A("
D 3 "]
3 75
Cartesian Coordinate &,&&,'
Rectangular Coordinate 4
'
A
X, Y, Z D]
"D4" (x,y,z) #!4""0'(&& (Rectangular box) 4"&1'
0
4" (0,0,0)
.
& 31 A("
"
3 4
$"01"]
3 A@
4
A'01
4,
(
" I @
A'01 2 '4
(
,((
Z&A$"
'
2 (
,($&&4@
A n (
Z0&$"1A
a1 x1 + a2 x2 + … + an xn
=b
(4.4)
%) a1, a2,..., an /((^ x1, x2 ,..., xn !A A b !!'
! 0&(
AI ,' 3 4A& x1, x2, x3 ",AI ,' x, y, z
$"
3.8 )5#79!:<2+7-,
&01&$"$'(
ZA'$""(
4,8*`& K-Means %)/
)&,A01/'I+"
!*'
IA01/ K '
4"'A K-Means &0D"&D
76
3.8.1 A''01/ K ' %)$','%'
&&D@
" K = 2
@
A'01#$%/ 2 '
3.8.2 A
"4@
@
"4"%#" 2 4" +"@
4"01"I,"01D
3.8.3 @
01&4")
D 2 4" @
"'01 +"
4
01$4")
A'4"&
&(" (1
4,
!@
A1!"& (Euclidean distance) +"&(
"&D
Distance = ( x1 − c0 ) 2 + ( y1 − c1 ) 2
(4.5)
3.8.4 $"'01'A@
!@
4"%#"0'D'
!@
4")
(centroid) 0' +",!'
]&0!(mean) (1
centroid !
⎛ x + x 2 + ... + x n ⎞ ⎛ y1 + y 2 + ... + y n ⎞
c=⎜ 1
⎟, ⎜
⎟
m
m
⎝
⎠⎝
⎠
(4.6)
3.8.5 @
!@
A"A@
01$'&@
'
'
014"%#"&!'
@
&(" Z
0D&D$'&
'& A("'
'&
A'$"D
(A A'Z
0D&D&
' '&&
0
4@
!@
4"%#"' 4'
!'
04"%#"4!&
77
@
" k=2 (&„~
A'1 (&D@
A' 2 A(&A"A!'
4"%#"
.
& 32 A("
A''01+"8*`& K-means
8*`& K-Means D(
Z@
,01 n $" +"(
Z@
01&"1A4
8*`& PCA 4"11'1 Model +"
@
" D ! #$% A X ! 4@
N " I 0#$% D 4
1
4A("
„&"14
PCA 3 " I %)(
Z, N " I $"
.
& 33 A("
4"1 Model &"1A"
78
+"(
Z!@
!'
'
'
014")
$"4
(1
d(i, j) = ( xi1 − c j1 ) 2 + ... + ( xip − c jp ) 2
(4.7)
d A Euclidean distance
c A4")
x A01
i A@
"001
j A@
"04")
p A001
A c 4")
'(
Z!@
$"4
x11 + x21 + ... + xi1
i
+ …+
x11 + x 21 + ... + xip
i
(4.8)
4. 7)=+74
$" ' !@
&$' (A4" & , (@
4@
A#$% $'
(A
0D'$/
(
~ 0
Z) #$%$'
( "D! A'0'
&&
+A Squid-2.7 stable3 @
&/ Proxy cache server E
Ubuntu9.04
4.1 71
~
0
Z)#$%$'
( ,
'+A squid +"
'
,#$%& Client 001 %)Z1)$ var/log/squid/access.log 4@
001 html code 4
#$%@
4@
A'
/#$%$'
( #$%
+"4(!'
'
I +"@
!'
'
I 0
(
PCA A@
!@
!'
!&0
(
(,4(!'
!&0(
( & !@
$ A
/#$%
$'
(4),#$%"'
blacklists %) &!
0
"
4.1.1 @
Transparency
&
0014
web server 0+A"
(
# (browser) %), port 80 @
0$&+A squid %),
port 8080 A +"@
0!
'$&D$„ /etc/rc.d/rc.local
iptables -t nat -F
79
iptables -t mangle -F
iptables -t filter -F
iptables -X
iptables -A FORWARD -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT -to-port 8080 A0!
'$&D$„ /etc/squid/squid.conf
http_port 8080 transparent
/
~$'!10'
0
,
#$%+"$'6'
Proxy
Cache Server
4.1.2 $„ /etc/squid/squid.conf
$„@
"(.
A"
@
0Squid @
A$0$„
/etc/squid/squid.conf +"
A0!
'$&D
acl ProxyFilter src 127.0.0.1/255.255.255.255
http_access allow ProxyFilter
acl lock1 url_regex '/home/ProxyFilter/blacklist1.txt'
http_access deny lock1
deny_info http://www.math26.com/thesis/warning1.html lock1
acl lock2 url_regex '/home/ProxyFilter/blacklist2.txt'
http_access deny lock2
deny_info http://www.math26.com/thesis/warning2.html lock2
/
-
~
0
Z)#$%$'
((
Z0
,
squid 001 html code 4
#$%$" A(
Blacklists +",$„
blacklist1 Ablacklist2 /&#
,#$%$'
( ,&Z1)$„&D4
$'(
Z0
,
$"
4.2 7?,61)*1#7
4.2.1 $„ blacklist1.txt $„(@
#
,#$%$'
( &
!
A ("
4.2.2 $„ blacklist2.txt $„(@
#
,#$%$'
( &!@
4
80
4.2.3 $„ dict1 $„(@
#'!@
!
A ("&,
4@
A
#$%$'
( +" "1 !@
$„ dict1 +",'!@
!
A
("&$"!"A
4.2.4 $„ dict2 $„(@
#'!@
4
&,
4@
A#$%
$'
( +" "1 !@
$„ dict2 +",'!@
4
&$"!"A
4.2.5 $„ dict3 $„#'!@
& !
A ("
4.2.6 $„ dict4 $„#'!@
& 4
4.2.7 $„ whitelist.txt /$„(@
#
, #$%
4.2.8 $„ proxy-filter.conf /$„ (@
@
"!'
(.
A"
@
+"$"01"'$&D
ACCESS_LOG=/var/log/squid/access.log
BLACK_LIST_1=/home/ProxyFilter/blacklist1.txt
BLACK_LIST_2=/home/ProxyFilter/blacklist2.txt
WHITE_LIST=/home/ProxyFilter/whitelist.txt
DICTIONARY_1=/home/ProxyFilter/dict1
DICTIONARY_2=/home/ProxyFilter/dict2
PROXYPORT=8080
LINE_CONSTANT _1= -35.9028
LINE_CONSTANT_2= -35.7921
ACCESS_LOG@
"$„A@
A'$„
# Log 0! Client
BLACK_LIST_1 @
"$„A@
A'$„ &#
,#$%
$'
( & !
A ("
BLACK_LIST_2 @
"$„ A @
A' $„ & # , # $%
$'
( & 4
WHITE_LIST @
"$„A@
A'$„&#
, #$%
DICTIONARY_1 @
"$„A@
A'$„ &# ' !@
$' (
.!
A ("
DICTIONARY_2 @
"$„A@
A'$„&#'!@
$'
(
.!@
4
PROXYPORT @
"
0 port &,"' Proxy Cache Server
81
LINE_CONSTANT_1 @
"!' !& & , 4( 4@
A
#$%$'
(.!@
A ("
LINE_CONSTANT_2 @
"!' !& & , 4( 4@
A
#$%$'
(.!@
4
(~
0
Z)#$%$'
("$„'
I"&D
/home/ProxyFilter/ProxyFilter $„# Config 0
/home/ProxyFilter/dict1 $„#'!@
$'
( &!@
A
("
/home/ProxyFilter/dict2 $„#'!@
$'
( &!@
4
/home/ProxyFilter/dict3 $„#'!@
$'
( &!@
A ("
/home/ProxyFilter/dict4 $„#'!@
$'
( & !@
4
/home/ProxyFilter/whitelist $„#
,#$%
/home/ProxyFilter/blacklist1$„#
,#$%& !
A ("
/home/ProxyFilter/blacklist2 $„#
,#$%& 4
/home/ProxyFilter/result.tmp $„,!
# http return code
/home/ProxyFilter/httpclient.tmp $„,!
# html code
/home/ProxyFilter/meta.tmp $„,!
#01 mata A title
5. ' 612"#79!: SVM (SVM : Support Vector Machine) <
))''&
0D
!"#$%"& SVM (SVM : Support Vector Machine)
5.1 1 Feature #7
@
" Feature &,
"(D4@
@
"4
D
#$%
,4@
A!
A'
001A'#$%+" Feature 0 SVM &,
"(
4,!'
0 PCA &&6
!"#$%& PCA "D4)@
01
"(,""&
82
5.2 +(),8, (pre-processing)
/0D
&01 Feature 0#$%+"A'
Feature
#$%/ 2 ,"$"A'
5.2.1 Data Train !#$%&4@
,
"( SVM (
Z
&1A(
+"
!"#$%$'
($" +"#$%&&$&D$"@
A'
01 Data Train / 2 ''! Data Train (@
4@
A#$%A ("+"
#$%A (" 200 #$% #$% 200 #$% A Data Train (@
4@
A#$%
4
+"#$%
4
150 #$% A#$%
200 #$%
5.2.2 Data Test ! # $% & @
"(+"& (
$A @
"(' (
Z!"#$%$'
($"Z1
&" +"01
Data Test $"A'/ 2 ''!Data Test (@
"(#$%A ("+"
#$%A (" 100 #$% #$% 100 #$% A Data Train (@
4@
A#$%
4
+"#$%
4
100 #$% A#$%
100 #$%
5.3 +(),8, (processing)
&
!"#$%$'
("& SVM D 4,! SVMlight
V6.02 %)&0D
(
!""&D
5.3.1 @
01 Data Train &$
@
"/1A,
Input
010
+A SVMlight +"@
"A ! !'
1 A("Z)#$%$'
(
A!'
-1 A("Z)#$% '
A("Z) Feature:!
Z&0!'
Feature
5.3.2 @
01 training &&$6'
+A(
+"+",!@
(
(
+""&D “svm_learn [option] example_file model_file” +"
example_file ! Data Train &&
4"1AA
Model_file ! +"&10%)/ output &$"
Option &,
"(&"&D
Learning options:
-z{c,r,p} c Z)
Classification, r Z)
regression A p
Z)
preference ranking %)!'
&
,!!'
c Classification
Kernel Options:
83
-t int ! ,"0 kernel function
0: linear
1: polynomial
2: radial basis function (rbf)
3: sigmoid
-d int !'
d polynomial kernel
-g float !'
gamma rbf kernel
-s float !'
s sigmoid kernel
@
01 Data Train (@
"(#$%AA"(#$%
4
@
(
+"A option (@
"(
5.3.3 @
01 Data Test "( model &10 +",!@
(
"("&D “svm_classify example_file model_file output_file” +"
example_file ! Data Test &&
4"1AA
Model_file ! +"&104
(
$0 5.3.2
Output_file ! output 01&$"4
"(01 Data Test model &1 Z
!'
output &A("$"/ + A("'
/01
' "& +1 ! # $%$' ( Z
!'
output & A("$" / – A("'
/ 0 1
' "& –1 !#$%
5.3.4 @
"(A''#$%+",8*`& kernel functions @
"
A' kernel function &!'
/"&D
Polynomial @
" d = 2, 3
RBF @
" g = 0.01, 0.1, 0.5 A 1
Sigmoid @
" s = 0.25, 0.5, 1 A 2
5.4 8,2,5"#79!: SVM (SVM : Support Vector
Machine)
/0D 0
@
6# $% & @
A'.#$%A
(.
+"01"(
!"#$%/01,""&
"( PCA
1. "(#$%!
A (" A'/#$% 100 #$% A
#$%!
A (" 100 #$%
84
2. "(#$%
4
A'/#$% 100 #$% A#$%
4
100 #$%
@
4("1'
#$%&A'.D&!'
/'
$ +"@
(.
!'
'
I "&D
& 18 A("(.
!"#$%"& SVM A linear
)&
#$%!
A
("
#$%
4
4-7 21
,
Accuracy
Precision
Recall
89
90.63
87
87
100
74
!"#$%"& SVM A linear '
.#$%!
A
(" &!'
!
Z1!"/89 A.#$%
4
&!'
!
Z1
!"/ 87 ,
(
A' Model 1.35 &
& 19 A("(.
!"#$%"& SVM A Polynomial kernel
'+
Polynomial Kernel
#$%!
2
A (" 3
#$%
2
4
3
)&
4-7
Accuracy
66
50
71.5
91
21
Precision
59.88
0
66.67
97.67
,
Recall
97
0
86
84
!"#$%"& SVM A Polynomial kernel D$"@
"(
+",
2 !'
$"A' 2 '
.#$%! A
(" &!'
!
Z1!"/!
Z1 66 A.#$%
4
&!'
!
Z1!"
85
/!
Z1 50 3 '
.#$%!
A
(" &!'
!
Z1!"/ 71.5 A.#$%
4
&!'
!
Z1!"/ 91
(#$%! A (" !" " 2 &(.
' (' # $%
4
!"" 3 & ( .
' &
Polynomial Degree 2 ,
(
Model 1.5 & & Polynomial Degree 3 ,
(
Model 1 ,+
& 20 A("(.
!"#$%"& SVM A RBF kernel
)&
#$%
!
A
("
#$%
4
'+ 4-7 21
RBF Kernel
Accuracy
Precision
0.01
80
100
0.1
74.5
100
0.5
73.5
100
1
73.5
100
0.01
0.1
0.5
1
79
57
52
51
100
100
100
100
,
Recall
60
49
47
47
58
14
4
2
!"#$%"& SVM A RBF kernel D$"@
"(+",
!'
"&D 0.01 0.1 0.5 A 1 6
"('
0.01 6!
Z1
&(" (
Z
!"# $%! A ("$"Z1! "/ 80 A
#$%
4
6!
Z1!"/ 79 ,
(
A' Model 1.2
&
86
& 21 A("(.
!"#$%"& SVM A Sigmoid kernel
)&
#$%
!
A
("
#$%
4
'+ 4-7 21
Sigmoid Kernel
Accuracy
Precision
0.25
50
50
0.5
50
50
1
50
50
2
50
50
0.25
50
50
0.5
50
50
1
50
50
2
50
0
,
Recall
100
100
100
100
100
100
100
0
!"#$%"& SVM A Sigmiod kernael D$"@
"(+"
,!'
"&D 0.25 0.5 1 2 6
"(
!"#$%!
A (" A
#$%
4
$"!'
!
Z1'
" %)$'(
Z!"#$%$""&&D
,
(
A' Model 4.2 ,+
5.5 1)8,
7' PCA (PCA : Principal
Component Analysis) ' SVM (SVM : Support Vector Machine)
&
A''01+",& SVM D ('
A''01&/
(
0!
4,& linear & Polynomial ('&
A''01&/.
D
4,& RBF (Researchers SVM, 2010) 4
8*`&4&D )4
A''01#$%"&
linear A & Polynomial %)4
6
"4# $"'
&
!"#$%.
!
A (", Kernel Function A liner !'
Z1
&(" A&
!"
#$%.
4
, Kernel Function A Polynomial Degree 3 /&
!"
#$%&!'
Z1
&("%)4@
&&& PCA +"@
"(#$%
!
A (" 100 #$% #$%.!
A (" 100 #$% A
#$%
4
100 #$% #$%.
4
100 #$%
87
& 22 A("6
&&(.
!"#$%!
A (""
& PCA & SVM
)&
#$%
!
A
("
#$%
.
A
("
]&
7' PCA
6124-
6128'
61
61
100
82
7' SVM
6124-
6128'
7,
61
7,
61
7,
61
7,
82
18
18
87
87
13
13
100
97
97
3
3
91
91
9
9
200
179
89.5
21
10.5
178
89
22
11
& 23 A("6
&&(.
!"#$%
4
"& PCA
& SVM
7' PCA
6124-
6128'
)&
61
61
#$%!
100
89
4
#$%
.
4
]&
7' SVM
6124-
6128'
7,
61
7,
61
7,
61
7,
89
11
11
84
84
16
16
100
100
100
0
0
98
98
2
2
200
189
94.5
11
5.5
182
91
18
9
4
6
"($"'
&#$%!
A ("& PCA (
Z
!"#$%$"Z1D"!"/89.5 %# ('& SVM D (
Z!"
#$%$"Z1D"!"/ 89 %# ('&#$%
4
& PCA
88
(
Z!"#$%$"Z1D"!"/ 94.5 %# ('& SVM D
(
Z!"#$%$"Z1D"!"/ 91 %#
"D($"'
!"#$%'!@
A (" A'#$%
4
D !""& PCA D&!
Z1
'
&
!"" SVM
6. '
',5
12"'
'!@
'!@
&61,$'A'4'
/'!@
&&@
4
A4A4&
(
'
@
$,
Block #$%$' +"61,(
Z'!@
&$'A'4
,'4(
6.1 %)&,5
152 ' &&
4("&D
6.1.1 '!@
&$'A'4'
/!@
$'
(.!@
A +"@
0
$ 50 !@
"&D
‰'
„_ @
@
& D" ', "@
%' ]",
(
"! ",& A" &" $" 01'‰'
( (
( % %'(
""D (0- @
"(& D " 46 &
" (§ §
~
(
$ &" ‰'
(
"D@
"
@
(@
#4!
!' ‰'
!! (" ,@
A! ©
Z
6.1.2 4@
!
Z&(( 0!@
A'!@
&&61,&
&,
#$%&$'
(.!
A ("
6.1.3 !@
4"!
Z& &
(
'!@
$' A'4 /' !@
&
$'
(.'!@
A (", Block #$%!
4"!
Z&&
( = (!'
@
4
A4A4&
&("+!'
@
4
A4
A4&&(") / 2 4
01
!@
@
4
A4A4'!@
A ("
!'
@
4
A4A4&
&("! A &!'
24.50
!'
@
4
A4A4&&("! + &!'
10.25
4"!
Z&&
( = (24.50 +10.25) / 2 = 17.375
"D4"!
Z&&
(
'!@
&$'A'4.'!@
A
("! 17 !@
!
Z&( ( 50 !@
&D /4@
200 Z
!@
"&!
Z&( (
'
17 !@
Z'
!@
D&@
4
A4A4
( !"#$%
89
6. 2 %)&,5
1,6 &&
4("&D
6.2.1 '!@
&$'A'4'
/!@
$'
(.!@
4
+"
@
0
$ 50 !@
"&D
!@
4
&63 !@
4
& 64 !@
4
&65 !@
4
&66 !@
4
&67
!@
4
&6 8 !@
4
&6 9 !@
4
&7 0 !@
4
&71 !@
4
&7 2 !@
4
&7 3
!@
4
&7 4 !@
4
&7 5 !@
4
&7 6 !@
4
&77 !@
4
&7 8 !@
4
&7 9
!@
4
&8 0 !@
4
&8 1 !@
4
&8 2 !@
4
&83 !@
4
&8 4 !@
4
&8 5
!@
4
&8 6 !@
4
&8 7 !@
4
&8 8 !@
4
&89 !@
4
&9 0 !@
4
&9 1
!@
4
&9 2 !@
4
&9 3 !@
4
&9 4 !@
4
&95 !@
4
&9 6 !@
4
&9 7
!@
4
&9 8 !@
4
&9 9 !@
4
&1 00 !@
4
&101 !@
4
&1 02 !@
4
&1 03
!@
4
&104 !@
4
&105 !@
4
&106 !@
4
&107 !@
4
&1 08 !@
4
&1 09
!@
4
&110 !@
4
&1 11 !@
4
&1 12
6.2.2 4@
!
Z&((0!@
A'!@
&&61,&
&,
#$% &$'
(.
4
6.2.3 !@
4"!
Z& &
(
'!@
$'A'4/'!@
&
$'
( .'!@
4
, Block #$%!
4"!
Z& &
( = (!' @
4
A4A4&
& (" + !'
@
4
A4A4&&(") / 2
4
01
!@
@
4
A4A4'!@
4
!'
@
4
A4A4&
&("! !@
4
&1 4 &!'
255 %)&!'
@
4
A4A4'
4
!'
$"D4)@
!'
@
4
A4A4&
&("
! !@
4
& 27 &!'
102
!'
@
4
A4A4&&("! !@
4
&17 &!'
43.67
4"!
Z&&
( = (102 + 43.67) / 2 = 72.835
"D4"!
Z&&
(
'!@
&$'A'4.'!@
4
! 72 !@
!
Z&( ( 50 !@
&D /4@
150 Z
!@
"&!
Z&( (
'
72 !@
Z'
!@
D&@
4
A4A4
( !"#$%
'!@
+0 &6@
!"01&(.
0)D @
"('!@
(Dict1, Dict2) +"'!@
0)D
@
"&
'!@
Dict1, Dict2 A 4@
!"#$%&$'
(&(.
0)D
90
4
8*`& PCA %) 4@
!@
$' ( POOL A 4@
!@
&
$'
( BODY TAG %)/&/_44'
4@
A#$%
"D4@
"(+"'!@
&$'
(0)D I @
"
A@
4@
!@
$'
( POOL A 4@
!@
&$'
( BODY TAG $@
(
FinalData '+" I!&
"(''
& 1 '!@
4
Dict2 '
10 !@
.
& 34 A("6
!"#$%&'!@
0)D 10 !@
4
„4#$"'
'!@
4@
!"#$%&
(.
0)D "(''
& 1 '!@
4
Dict2 '
100 !@
91
.
& 35 A("6
!"#$%&'!@
0)D 100 !@
4
„4#$"'
'!@
4@
!"#$%&
(.
0)D
7. )''&1
"((.
4@
A#$%$'
(4
#$% A'
"(/ 2 ('! (.
"
!
Z1, (.
"
!
# A
(.
# 2.0
7.1 )''&7
4-7
"((.
0~
0
Z)#$%$'
("
!
Z1 ,#$%
"(4@
431 #$% %)$"4
)
,
0!
10'
&Z1)$!A' +",$„
+ª4$„"&
4@
A6&$" 4
4@
A0 A(""
92
& 24 A("(.
"
!
Z10
4@
A#$%
)&
61
#$%!
A
A
("
#$%!
4
#$%
]&
156
6124-
61 7,
129
82.69
6128'
61 7,
27
17.31
155
131
84.52
24
15.48
120
431
105
365
87.5
84.69
15
66
12.5
15.31
4
"(.
"
!
Z10
4@
A#$%4
4@
#$%D" 431 #$% (
Z4@
A$"Z1 4@
365 #$% !"/ 84.69
04@
#$%D" A'/(
Z4@
A#$%!
A ("$"Z1
129 #$% !"/ 82.69 4@
A#$%
4
$"Z1 131 #$% !"/
84.52 4@
A#$%$"Z1 105 #$% !"/ 87.5 A4@
A#$%
6"
"D"4@
66 #$% !"/ 15.31 04@
#$%D" A'/
4@
A#$%!
A ("6"
" 27 #$% !"/ 17.31 4@
A#$%
4
6"
" 24 #$% !"/ 15.48 4@
A#$%6"
" 15 #$%
!"/ 12.5 (@
!
6"
"&$'(
Z4@
A#$%$'
($"&(
4
#$%&!
Z&0'!@
'
&@
"$ #$%('D
$#
4I &$','
+ª4 #$%&
&A1'"
#$%(!
(
,' 4)4#D
"
A!
6"
"&"
4
4@
A#$%
6"
" &(
4
#$%&'!@
&$'
( '
&@
"$ 4)@
"!
6"
" DI &/#$%
7.2 )''&7
_44&&6' ( . "
!
# 04(
0
Z)
#$%&$'
( &
_44 ,' !
#
,'# 4@
'!@
&
93
$' ( !@
!
Z&0 4@
' !@
A' _4 4 & &6' &("! 61,
# %)/_44)&,
"(
4
6
"@
#$% 50 #$%
"(
61,
#
&0)D I '
61,
#0)D
&,
60+A
0)D
& 25 A("Z)
&,
Block #$%(
&) ,'061,
#&
0)D
,#7+74+7-,
http://atcloud.com/stories/15199
http://webboard.yenta4.com/topic/251441
http://talk.mthai.com/topic/44394
http://www.yorkza.com/content/7979/
http://atcloud.com/stories/15199
http://www.sodamag.net
www.Exteen.com
www.Ohozaa.com
www.Meemodel.com
http://www.madoo.com
http://regist53.blogspot.com/2009/09/3_28.html
http://news.mthai.com/generalnews/52345.html
http://tnews.teenee.com/crime/583.html
http://board.postjung.com/423124.html
http://webboard.yenta4.com/topic/251441
http://bbs.soizaa.com/archiver/tid-8228.html
http://www.pitakthai.com/social/217.html
61+7#7
10
30
60
100
150
07.9
11.8 15.9 20.2
25.9
05.2
10.3 14.6 19.4
23.6
05.1
10.1 14.5 19.1
22.4
06.5
10.9 15.9 19.7
23.9
04.5
09.1 13.4 18.3
20.4
05.9
11.2 14.2 19.2
23.9
04.5
10.7 13.6 18.4
20.6
03.9
08.4 11.5 16.6
18.4
04.5
09.9 13.9 18.7
20.9
04.2
10.1 13.4 18.3
19.4
08.9
12.8 17.5 21.2
26.9
06.2
10.3 15.6 19.4
23.4
06.1
07.5
09.5
05.7
05.2
11.1
11.9
13.5
10.2
10.3
15.5
16.4
18.4
14.3
14.2
19.1
20.7
22.3
19.1
18.8
22.1
25.3
27.4
23.9
22.1
94
& 25 (')
61+7#7
10
30
60 100 150
http://www.ohthai.net/10732.html
06.3 10.8 15.6 19.8 23.6
http://www.ryt9.com/s/bmnd/730195/
04.4 09.2 13.3 18.2 20.1
http://atcloud.com/stories/45137
07.5 11.6 15.7 20.1 24.9
www.yenta4.com
04.2 10.4 13.5 18.4 20.4
www.siamzone.com
04.3 10.1 14.3 18.5 20.5
www.tlcthai.com
05.8 11.5 14.5 19.3 23.7
www.tarad.com
04.5 10.7 13.9 18.6 20.7
www.siamha.com
04.1 09.6 13.3 17.8 19.7
http://ss.comparenotebook.info/goURL/180.html
06.5 10.5 15.8 19.6 23.7
http://www.over18x.com/Breakspells-vol-3.xxx
06.8 11.7 16.1 19.9 22.6
http://www8.mobileacce.info/last/13152.html
09.2 13.6 18.3 22.9 27.1
http://avzone.wordpress.com/2009/01/
09.7 13.8 18.8 23.3 27.8
http://www.thaizexstory.com/home/story/128
07.5 11.9 17.4 22.7 25.3
http://talk.mthai.com/topic/20383
04.2 09.1 13.4 18.1 21.8
http://www.ryt9.com/s/bmnd/712912
04.4 09.2 13.3 18.2 20.1
http://news.mthai.com/general-news/52345.html
07.3 11.3 15.5 19.9 24.2
http://webboard.yenta4.com/topic/251441
06.1 10.6 15.3 19.4 23.5
http://www.pitakthai.com/crime/3487.html
05.5 10.2 14.1 18.5 22.6
www.365jukebox.com
05.4 10.4 14.5 19.4 21.4
www.zuzaa.com
04.5 09.3 14.4 18.7 20.6
http://www.jikgo.com
06.8 11.1 15.5 19.3 22.7
http://www.siamdara.com
04.5 09.7 13.5 18.4 20.5
www.zubzip.com
05.1 10.1 13.9 19.2 21.1
http://www3.lyricscom.info/lasted_stories/12091.html 09.5 13.4 18.5 22.8 27.3
,#7+74+7-,
95
& 25 (')
61+7#7
10
30
60
100
150
08.5
12.9
17.4
21.7
25.3
,#7+74+7-,
http://ss.comparenotebook.info/goURL/180.ht
ml
http://www8.mobileacce.info/last/13152.html
http://avzone.wordpress.com/2009/01/
http://www.thaizexstory.com/home/story/128
http://thairecent.com/First/2009/392766/
http://board.postjung.com/375909.htm
http://www.yorkza.com/content/7878/
http://www.ryt9.com/s/bmnd/678294
http://webboard.yenta4.com/topic/365718
@,
;
07.5
10.8
09.7
06.5
05.4
06.9
08.3
07.5
11.5
14.7
13.8
11.3
10.2
11.5
12.5
11.5
16.8
19.1
18.8
15.4
14.3
15.8
17.2
15.5
20.6
24.9
23.3
19.2
19.2
19.7
21.5
19.8
24.7
28.6
27.8
22.2
21.1
22.8
25.3
24.5
316.5
6.33
1.8209
552.3
11.046
1.4119
765.5
15.31
1.7698
989.4
19.788
1.6839
1158.7
23.174
2.5292
.
& 36 „A("(.
!
#0
96
4
„4$"'
61,
#&0)D
&Z 1,
Block
#$%4&!'
0)D
$" !
'
(.
"
!
#04"
.
& 37 „A("!'
]&0
0
Z)#$%
.
& 38 „A("('&
b
0
0
Z)#$%
@
!'
]&'
61,
#&0)D!'
]&0
&
,
Block #$%4&!'
0)D
$" A("'
61,
#&6'
97
&,
Block #$% A@
!'
&
b
'
4
0
01A','0
61,
# 10-100 ! $''
D %)(
Z
@
$""& A'61,
0)D" 150 !0)D$ 61,
#
&6'
Block #$%
0)D 4@
!"#$%@
$",
7.3 )''& 2.0
_44&W
D EB 2.0 /#$%&
!
(4 A61,#,
#$%& &*/WEB 2.0 0)D
* WEB 2.0 4
A,01 !
1 !
A' @
"
`
",,$ %)
/ 1 A0( !.) & 1' +
# (Social network ) 4!
(@
!-610
,#$% +"61&0
,
D4&
(''#D I 0)D A$','A!'&A0
&, '
'
"& A'&(''
(
(! (Co-Creation) #$%A'D&" +"61,(
Z+ A("
!
!"#A'_01 /61(
D
A@
(01$"" A Web 2.0 (
Z
(
user interface &(
Z,
$"'
0)DA"#0)D
]&D$"#$%. 2.0 . $"A' WORDPRESS,
TWITTER, WIKI, BLOGSPOT, EXTEEN A FLICKR %)!"#$%(
Z
!!
@
0#$% 2.0 $"
@
"A' #$%/' A' . +"@
!@
'
I ,
"(+A+"&'01
""&D
98
.
& 39 ''
Web 2.0 #$% (@
"(#$%
4
6
"(
Z!" WEB 2.0 $" +"#$%&@
@
"D/
#$%A6
"(&$"! @
A' WEB 2.0 1'(
„ %)&!'
C ≤ -35.9028
($"'
/#$%
99
.
& 40 A("Z)(
Z4( WEB 2.0 .
4
$"
100
.
& 41 ''
Web 2.0 #$%(@
"(#$%!
A ("
6
"(
Z!" WEB 2.0 $" +"#$%&@
@
"D
/#$%A6
"(&$"! @
A' WEB 2.0 1'(
„ %)&!'
C ≤ -35.9201
($"'
/#$%
101
.
& 42 A("Z)(
Z4( WEB 2.0 .!
A ("$"
.
& 43 ''
Web 2.0 #$%
4
(@
"(#$%
4
102
6
"(
Z!" WEB 2.0 $" +"#$%&@
@
"D
/#$%
4
A6
"(&$"! @
A' WEB 2.0 1'(
„ %)&!'
C > -35.9028 ($"'
/#$%
4
.
& 44 A("Z)(
Z4( WEB 2.0 .
4
$"
4
6
"4$"'
+A(
Z
4@
!@
$"
&@
" A'&
#$%
.$'(
Z
!@
$" ! FACEBOOK 4
4('
Browser
0 FACEBOOK $'((
0010+A
5
5) &')8,2,+72
4
~
0
Z)#$%$'
( @
$"&(
Z
,
$"4A(
Z,$"
! +"(
Z@
"!'
(.
A" 0
$" ,' @
"'!@
*&,4@
A @
"0
4@
A D&D'
+"(
$""&D
,545)
'6
!"#$%&$'
()*
$"@
"Z(!$
!
1. )*
&
!"D
0#$% &$'
(
4&D$"@
)*
&
A''01,
!"
#$%&$'
( +",& PCA (PCA : Principal Component Analysis) %)/&
]
!&(@
!-A(
Z"!&$'4@
/$$" @
A'
!&&!
(@
!-
!"#$% @
$6'
A'01'$
+"@
)*
& PCA A@
&&& SVM (SVM : Support Vector Machine) %)
& SVM D/&
A''01&&(.
&$"
+"$ 6
"(4@
#$% 400 #$% `'
,8*`&
!
!&!'
!
Z1!"/ 92 '
8*`&%A,,& %)&!'
!
Z1!"
/ 90
2. !"D
0#$%
4
&)*
8*`& PCA (PCA : Principal Component Analysis) A @
(
Z"!&$'4@
/A'!&(@
!-&,
4
A''
010#$%&$'
(4
#$%$"A
4)@
8*`& PCA ,
(
!"#$%&$'
(
+"@
(
Model 1A01
&1! !(
Z!"
#$%$"& User @
0#$% %)1 A Model &@
(
&D A'/
103
104
2 . ! .& 1 Model !"#$%$'
(.'!@
AA
(" .& 2 ! !"#$%$'
(.!@
4
(
Model &A $"@
+A"D!A'0'
# @
$"D&+&&, A("
@
4(A$001%)
* GUI (GUI : Graphic User Interface) 61"1A(
Z4(AA$0
01$"
3. 6&
0)D
4
&)*
8*`& PCA (PCA : Principal Component Analysis) A@
!"#$%&A $"@
"((.
@
0 D
3 "
"&D
3.1 (.
"
!
Z10
4@
A#$%4
4@
#$%D"
431 #$% (
Z4@
A$"Z1 4@
365 #$% !"/ 84.69 04@
#$%D"
3.2 (.
"
!
#+"_44&&6'!
#0D&
_4 4 ,' !
#
, ' # 4@
'!@
&$'
( !@
!
Z&04@
'!@
A'_44&&6'
&("! 61,
# %) / _4 4 ) & , "(( . " !
# 61,
#0)D
&Z1,4&!'
0)D
$"
3.3 (.
"
# 2.0 4
"('
(
Z
!"
#$%&$'
(. # 2.0 $"
)3$2,5)
"_-
A(! "&D
1. #$%$'›"6 HTML Code @
$'(
Z4(!@
&$'
(&
4@
,
" ,' #$% FACEBOOK %)/. WEB 2.0
2. &(
(
Z,$"#$%.
*
$'
D
3. #$%('!@
001,
@
@
4@
A,
$"
D&D0)D1'
,
#
DI"
4. !"#$%&$'
(0D_44!@
/_44(@
!-&,
4@
A#$% +"4@
001 Tag HTML +!‚" 4( %)
#$%#!@
'
I
105
$b
01 @
$'(
Z4(!@
$" 4@
"!
!
"!
!@
!'
,!"#$%
5. #$%
#$%(
Z4@
A#$%$'
(4
#$%
$"A'&_-
4
(' URL Squid @
Block #$% +" Squid $'(
Z Block
#$%$" #$%D&!
“?” A “=” %)!
&/!@
(0
Squid @
Squid $'(
Z Block #$%$"
+72
~
0
Z)#$%$'
( /&
0)D(@
"D!A'0'
#+&&,
%),E
Linux Ubuntu 9.04
' Squid &@
&/ Proxy Cache Server %)61,
(
Z@
"!'
(.
A"
@
$" %)&D(
Z@
$
'
! $""&D
1. !
'!@
&(
Z6
4@
A&6$"Z1(10)D
2. !
'!@
&6#$%.
*
I ,' .
*
-&© .
*
.
*
4& .
*
& «« %)&#$%$'
(1'&/4@
3. /A
&
4@
A,"I ,' 4@
A+",1.
4@
A+",&!
html link 4@
A+",)
4. !
'!@
&(
Z4@
A#$%.I ,' '#$%
'#$%"
!
". ««
5. +A1A.
*
Tis620 , Window-874
6. +",E
I ,' Window Server2008
+75)76
1. '
, META TAG IMG TAG A HREF TAG SCRIPT TAG TITLE TAG
BODY TAG /!
4@
A#$% "8*`& PCA ( Principal Component
Analysis) D (
Z Classify 01$""&'
& SVM (Support Vector Machine) +"
.#$%!
A ("D PCA !"$"Z1 89.5
A SVM !"$"Z1 89
#$%
4
D PCA !"$"Z1 94.5 A SVM
!"$"Z1 90
106
2. '
8*`& Principal Component Analysis ,!"#$%&$'
(
. WEB 2.0 $" %)_44/#$%&,,' HI5 FACEBOOK WIKI
TWISTER
3. 4
4!'
I 0#$%@
1'
!&&!
(@
!'
#$%A#$%$'
(D!!0!@
%)/!&&
*$
"& !&/#$%4!@
$'
(1'$' A'
Z
&#$%$'
(4!@
$'
(1'
'76
4&D$"@
!"#$%&$'
( 2 & ! PCA (Principal
Component Analysis) A SVM (Support Vector Machine) '
&
PCA (Principal
Component Analysis ) (
Z!"$""&'
& SVM (Support Vector Machine) "D
!"#$% +", META TAG IMG TAG A HREF TAG SCRIPT TAG TITLE
TAG BODY TAG /!
4@
A#$% (
Z@
&
!"#$%
+", PCA(Principal Component Analysis) /)
!"$" +"@
01
Training
0
$"@
!
!&(@
!-001,(
$(@
Model &1(
Z!"#$%$" A@
"(
+"@
#$%A#$%$'
(
"(
6
E'
(
Z
A'A#$%$'
(4
#$%$"
107
%5
&!
@
(. “~
0
Z)#&$'
( : &)*
+&!(&
4"
-4&.” (
--
(
0
! , 2546.
4
4 A
. (
A(4. “
4"'(
0!
+"
%A,,&.” 4 $"
((4
$" 4@
\ .. 2548 (
!
, 2548.("(@
)
4
+^. “!
A&,0'
&
E.
*
00'
,-
(
.” (
(
0
,
.
*
$
((
(0
!, 2547.
& +"-. “
A$0_-
!
@
0!@
.
*
$+",%
A,,&.” --
(
0
,
!
(Z
!++&4
4
!
", 2548.
&. &
(. Squid Proxy Caching Server [$]. 0
Z) 8 84
2552.
0
Z)$"4
http:///micro.se-ed.com/content/mc205/MC205_181.asp
-(1!++&. Company Profile [$]. 0
Z) 8 84
2552. 0
Z)$"4
http://www.betech.co.th/index.htlm
,
& (Z& A."^1 4. “4
01
$"#.”
--
--
(
0
,
!
(Z
!++&4
4
!
", 2549.
&"&. 0
!!
[$ ]. 0
Z) 16 *
2010. 0
Z)$"4
http://th.wikipedia.org/wiki/
1
,!
(. (
A* & convexity [$]. 0
Z)
16 *
2010. 0
Z)$"4
http://www.mathcenter.net/forum/showthread.php?t=1262
(. “
4@
A'$+",%!A,,&(.” --
(
0
,
!++& ! ! ( (
(Z
!++&4
!, 2549.
108
&!)
Cooley, W.W. and P.R. Lohnes. Multivariate Data Analysis. New York : John Wiley & Sons Inc.,
1971.
Family Online Safety Institute. About ICRA [Online]. Accessed 13 February 2008. Available from
http://www.fosi.org/icra
FORTINET. Fortiguard Web Filtering [Online]. Accessed 13 February 2008. Available from
http://www.fortinet.com/solutions/wcf.html
Ghani, Rayid, Sean Slattery, and Yiming Yang. Hypertest Categorization using Hyperlink
Patterns and Meta Data [Online]. Accessed 29 December 2008. Available from
http://www.cs.cmu.edu/~rayid/mypapers/hypertest-icm101.ps
iMimic Networking. DataReactor [Online]. Accessed 13 February 2008. Available from
http://www.imimic.com/index.html
Kerlinger, F.N. Foundation of Behavioral Research. United States of America : Hort Rinehart and
Winson Inc., 1986.
Kim, J.O., and C.W. Mueller. Factor Analysis : Statistical Methods and Practical Issues.
Beverley Hills : Sage Publication, 1978.
Lee, Pui Y., Siu C. Hui, and Alvis Cheuk M. Fong. Neural networks for web content
Filtering [Online]. Accessed 13 February 2008. Available from http://ieeexplore.
ieee.org/ie15/9670/22293/01039832.pdf?arnumber=1039832
Lewis, David D. and Marc Ringuette. A comparison of two learning algorithms for text
Categorization [Online]. Accessed 29 December 2008. Available from http://
www.cs.cmu.edu/afs/user/mnr/www/papers/categ.ps
Lindsay, I. Smith. Background Mathematics : A tutorial on Principal Component [Online].
Accessed 11 January 2009. Available from http://www.cs.otago.ac.nz/cosc453/
student_tutorials/principal_components.pdf
Rastogi, Rajeev, and Kyuseok Shim. PUBLIC : A Decision Tree Classifier that Integrates
Building and pruning [Online]. Accessed 29 December 2008. Available from
http://www.vldb.org/conf/1998/p404.pdf
Reihaneh, Rongbo Du, Safavi-Naini, and Willy Susilo. “Web Filterring Using Text Classification.”
Networks 2003 (ICON2003) 11 (Oct 2003) : 325-330.
109
SafeSurf. The SafeSurf Internet Rating Standard [Online]. Accessed 13 Febuary 2008.
Available from http://www.safesurf.com/ssplan.htm
Secure Computing Corporation. Products at a Glance [Online]. Accessed 13 Febuary 2008.
Available from http://www.securecomputing.com/index.cfm?skey=496
Shen , Yirong and Jing Jiang. Improving the Performance of Naïve Bayes for Text Classification
[Online]. Accessed 29 December 2008. Available from
http://nlp.stanford.edu/courses/cs224n/2003/fp/yirong99/report.pdf
SITA. URL Filtering [Online]. Accessed 13 December 2008. Available from
http://www.sita.aero/SITA_URL_Filtering.htm
SquidGuard. About squidGuard [Online]. Accessed 13 February 2008. Available from
http://www.squidguard.org/about.html
Stevens, J. Applied Multivariate Statistics for the Social Sciences. 3 rd ed. Mahwah, N.J. :
Lawrence Erlbaum Associate Inc., 1996.
Wikipedia. Eigenvalue eigenvector and eigenspace [Online]. Accessed 1 March 2010.
Availble from http://en.wikipedia.org/wiki/Eigenvalue,_eigenvector_and_eigenspace
, Lagrange_multipliers [Online]. Accessed 16 April 2010. Availble from
http://en.wikipedia.org/wiki/Lagrange_multipliers
. Support Vector Machine [Online]. Accessed 17 April 2009. Availble from
http://en.wikipedia.org/wiki/Support_vector_machine
&
8
&
8 -<#7+6
5
112
1. )#7")2
+A~
0
Z)#$%$'
(,+A GNU C/C++ @
!A'0'
&@
"E
&% Ubuntu8.1 Proxy Cache Server "+A Squid
@
0+A4'
)
,
0 Squid 4
$„ access.log @
#$%$44@
A Z
/#$%$'
(4@
Blacklists +"+
2. ''(")2)=+74
2.1 @
Transparency $'!10'
0
,
# +"$'6'
Proxy
+"A$0$„ "&D
A$0$„ /etc/rc.local 0!
'$&D
iptables -t nat -F
iptables -t mangle -F
iptables -t filter -F
iptables -X
iptables -A FORWARD -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080
A$0$„ /etc/squid/squid.conf 0!
'$&D
http_port 8080 transparent
2.2 (
Blacklists +"A$0$„ /etc/squid/squid.conf +"0!
'$&D
acl ProxyFilter src 127.0.0.1/255.255.255.255
http_access allow ProxyFilter
acl lock1 url_regex '/home/ProxyFilter/blacklist1.txt'
http_access deny lock1
deny_info http://www.math26.com/thesis/warning1.html lock1
acl lock2 url_regex '/home/ProxyFilter/blacklist2.txt'
http_access deny lock2
deny_info http://www.math26.com/thesis/warning2.html lock2
113
2.3 (
Blacklists +"A $0$„ /etc/squid/squid.conf +"0!
'$&D 1A0$„ /var/log/squid/access.log ' +"A$0$„ /etc/squid.conf
"&&0!
'
cache_access_log /var/log/squid/access.log
A&/
logformat common %{%Y-%m-%d %H:%M:%S}tl %6tr %>a %Ss/%03Hs %<st
%rm %ru %un %Sh/%<A %mt
2.4 (
$"& /home/ProxyFilter/ A!"+A$"&
home/ProxyFilter +",!@
('$&D
#mount /dev/cdrom /mnt
#cp –prv /mnt/ProxyFilter /home/
#chmod –R 777 /home/ProxyFilter/
2.5 +A
#.ProxyFilter –r !&!'
blacklist1.txt,blacklist2.txt,whitelist.txt
#./ProxyFilter –s http://www.com-th.net (+A@
+"4(
#$%&&#$%"&
#./ProxyFilter +A Daemon Mode(@
"
)
+A@
+!D&&
›"! A$0$„
/etc/rc.local +"0!
"'$&D'
0!
"
cd /home/ProxyFilter/
./ProxyFilter&
2.6 !'
(.
A" @
(
ZA $0$„
/home/ProxyFilter/proxy-filter.conf "&D
ACCESS_LOG=/var/log/squid/access.log $„#)
,
Proxy
BLACK_LIST_1=/home/ProxyFilter/blacklist1.txt $„# Blacklist1.txt
BLACK_LIST_2=/home/ProxyFilter/blacklist2.txt $„# Blacklist2.txt
WHITE_LIST=/home/ProxyFilter/whitelist.txt $„# Whitelist.txt
DICTIONARY_1=/home/ProxyFilter/dict1 $„#'!@
!
A
DICTIONARY_2=/home/ProxyFilter/dict2$„#'!@
4
PROXYPORT=8080 port &,"' Proxy
114
MAX_COUNT_1=4 !
Z&0'!@
!
A
MAX_COUNT_2=7 !
Z&0'!@
4
3. '( GUI (Graphic User Interface)
mount /dev/cdrom /mnt
cp /mnt/webfilter /var/www
sudo chmod -R 777 /var/www/webinterface
sudo chown -R www-data:www-data /var/www/webinterface /home/ProxyFilter/
chmod 777 /usr/sbin/squiq
A$0$„ /etc/sudoers +""'$&D'
"("
www-data ALL=(ALL) NOPASSWD:ALL
4. ';+7-, Mysql
mysql -uroot -p < /var/www/squid_admin/MYSQL/squid.sql
(6'
A"
User admin
Pass 1234
('(6'
Mysql +"A$0$„'$&D&
"D
#vi /var/www/webinterface/include/config.php
$obj_dbconfig->set_username("root");
$obj_dbconfig->set_password("1234");
"(&#$%&&D!A'0'
&
0 IP=192.168.1.1
http://l92.168.1.1/webinterface/
5. +(#7;+7-,
5
5.1 61,@
Login 0
(1' +"@
01"&D
Username &,' E-mail A Password &,' Password
115
.
& 45 4 Login
5.2 61,(
ZA40'
(
Home 6'
Menu News
.
& 46 4A40'
(
Home 6'
Menu News
116
5.3 61,@
@
"!'
@
'
I 6'
1 Config
5.3.1 @
Path File '
I $"+"@
"6'
1 Text File (' Path &
0
$,'&1' A"©)
5.3.2 (
Z@
" Path File (@
#!'
Config 0+A Squid $"
+"@
"6'
1D!'
Squid (' Path &
0
$,'&1' A"©)
5.3.3 @
"!'
Config 0 ProxyFilter +"@
"6'
1D!'
ProxyFilter
5.3.4 @
" Path ACCESS_LOG / Path (@
#
,#$%&
USER ,
D"
5.3.5 @
" Path BLACK_LIST_1 / Path (@
#
,#$%$'
(.!
A ("& USER &
,
5.3.6 @
" Path BLACK_LIST_2 / Path (@
#
,#$%$'
(.
4
& USER &
,
5.3.7 @
" Path WHITE_LIST / Path (@
#
,#$%&
USER &
,
5.3.8 @
" Path DICTIONARY_1 (@
#'!@
$'
(&, Block
#$%.'!@
A ("
5.3.9 @
" Path DICTIONARY_2 (@
#'!@
$'
(&, Block
#$%.'!@
4
5.3.10 @
" Port (@
"' Proxy
5.3.11 @
" MAX_COUNT_1 4@
!@
&
(
Block #$%!
A ("
5.3.12 @
" MAX_COUNT_2 4@
!@
&
(
Block #$%
4
117
.
& 47 41 Config Files
.
& 48 41 Config ProxyFilter
118
5.4 4'!@
$'
(+"(
Z'!@
$" 2 &
5.4.1 (
Z!@
$'
(1A Text File $"
5.4.2 (
Z'!@
+"&!@
6'
4
.
& 49 4'!@
$'
(
5.5 (
Z"1'!@
&$'
(&, Block #$%!
A ("A
#$%
4
6'
4 View Dict 1-2
119
.
& 50 4A("'!@
$'
(
5.6 (
Z"1'!@
&$'
(&
4/'!@
&, Block #$%6'
4
View Dict 3-4
120
.
& 51 4A("'!@
$'
(
&
8 +
-<#7 SVMlight V6.02
122
1. SVMlight
SVMlight /!)& ,
!@
!'
'
I ) SVM ,'
A_-
A'014
(
Z!@
(.
A'01 $"A' !'
!
Z1
!'
!
A'@
!'
!
) (
Z!@
!'
A'01+",8*`& Kernel
Functions A/!&(
Z
!@
01$"
SVMlight /+A&"D'
$'(&!'
,4'
A(
Z,
Windows
E
&%
2. ''(")2 SVMlight window
+"+A SVMlight A@
A ZIP $„ 4$"$„ .exe 2 $„ !
svm_learn A svm_classify @
0+A SVMlight 4@
6'
command line
3. +7-,1Training
@
"!'
A'01+"!@
0!'
'& 1 / +1 A!@
0!'
'
& 2 / -1 +"@
"!@
/!A001 A!'$/!
A'
001+"A("@
"&0"!
“:” A'"4@
!
Z&0
D1A01
@
0
! @
"0:!
Z&0!'
D
.
& 52 A("1A01 Data Train
123
4. 1 Training +7-,<7 Model
!@
(
(
Model &"&D “svm_learn [option] example_file model_file”
example_file ! Data Train &&
4"1AA
Model_file
! +"&10%)/ output &$"
Option &,
"(&"&D
Learning options:
-z{c,r,p} c Z)
Classification, r Z)
regression A p Z)
Preference ranking %)!'
&
,!!'
c Classification
Kernel Options:
-t int ! ,"0 kernel function
0: linear
1: polynomial
2: radial basis function (rbf)
3: sigmoid
-d int !'
d polynomial kernel
-g float !'
gamma rbf kernel
-s float !'
s sigmoid kernel
.
& 53 '
(
model "& SVM A linear
124
5. 1 Testing +7-,<+7-,+7
@
01 Data Test "( model &10 +",!@
(
"("&D “svm_classify example_file model_file output_file” +"
example_file ! Data Test &&
4"1AA
Model_file ! +"&104
(
$
Output_file ! output 01&$"4
"(01 Data Test model &1 Z
!'
output &$"A("/ + A("'
/01'"& +1 & @
"$ DA' @
0 1 0
(
Model Z !'
output & A("$" / – A("'
/
0 1 '"& –1
.
& 54 '
"(01"& SVM A linear
125
.
& 55 '
output &$"4
"(
&
8 #<
52 ' 200 127
#<
52 ' 200 (
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
http://news.mthai.com/general-news/35767.html
http://tnews.teenee.com/crime/2351.html
http://board.postjung.com/topic-423629.html
http://webboard.yenta4.com/topic/318269
http://play.kapook.com/vdo/show-26526
http://regist53.blogspot.com/2009/08/13.html
http://www.spiceday.com/thread-142958-1-2.hot
http://atcloud.com/stories/15199
http://www2.nurnia.com/5217/08/thai-social-political-economic/
http://bbs.soizaa.com/archiver/tid-8228.html
http://www.pitakthai.com/social/217.html
http://www.ohthai.net/10732.html
http://www.ryt9.com/s/bmnd/730195/
http://atcloud.com/stories/45137
http://www2.nurnia.com/29249/08/thai-social-political-economic/
http://www.pitakthai.com/crime/3487.html
http://webboard.yenta4.com/topic/251441
http://news.mthai.com/general-news/52345.html
http://www.ryt9.com/s/bmnd/712912
http://www.ryt9.com/s/bmnd/742336
http://talk.mthai.com/topic/20383
http://atcloud.com/stories/45891
http://tnews.teenee.com/crime/27312.html
http://www2.nurnia.com/14126/01/thai-social-political-economic/
http://talk.mthai.com/topic/44394
http://webboard.yenta4.com/topic/48244
http://www.click.in.th/news/local/35771.html
http://www.huaybondin.net/forum/thread-5301-1-1.html
128
29. http://www.jobedd.com/th/page/id/744
30. http://www.opensubscriber.com/message/[email protected]/11255345.html
31. http://www.yorkza.com/content/8449/
32. http://tnews.teenee.com/crime/583.html
33. http://topsy.com/tb/www.thairath.co.th/content/oversea/51082
34. http://www.opensubscriber.com/message/[email protected]/9264396.html
35. http://regist53.blogspot.com/2009/11/25-24-2552.html
36. http://board.siamjung.com/index.php/topic,1249.0.html
37. http://news.ohpicpost.com/%E0%B8%82%E0%B9%88%E0%B8%B2%E0%B8%A7/19651/
38. http://board.postjung.com/423124.html
39. http://thairecent.com/Local/2009/143658/
40. http://www.yorkza.com/content/7979/
41. http://www.huaybondin.net/forum/thread-46840-1-1.html
42. http://www.yorkza.com/content/2605/
43. http://www.zone-it.com/130415
44. http://regist53.blogspot.com/2009/09/3_28.html
45. http://regist53.blogspot.com/2009/04/4_30.html
46. http://www.pochnews.com/article/1451.htm
47. http://www.bangkokhealth.com/index.php/2009-01-19-02-52-08/136-2009-01-19-07-38-29
48. http://thairecent.com/First/2009/392766/
49. http://board.postjung.com/375909.htm
50. http://www.yorkza.com/content/7878/
51. http://www.ryt9.com/s/bmnd/678294
52. http://board.postjung.com/m/375909.html
53. http://webboard.yenta4.com/topic/365718
54. http://www.isnhotnews.com/crime/2009/09/43873
55. http://regist53.blogspot.com/2009/09/blog-post_6448.html
56. http://board.postjung.com/375909.html
57. http://paidoo.net/article/1967789.html
58. http://www.yorkza.com/content/7079/
129
59. http://phuketenews.blogspot.com/2010/01/posted-by_1450.html
60. http://www.isnhotnews.com/crime/2009/09/45955
61. http://news.ohpicpost.com/%E0%B8%82%E0%B9%88%E0%B8%B2%E0%B8%A7/16466/
62. http://www.ryt9.com/s/bmnd/655512
63. http://www.ceramicdd.com/index.php/article/5-hot-new/1202-2009-11-02-17-14-17
64. http://news.ohpicpost.com/%E0%B8%82%E0%B9%88%E0%B8%B2%E0%B8%A7/16466/
65. http://www.plazazone.com/b20/1407-12402/
66. http://www.click.in.th/news/crime/28307.html
67. http://thairecent.com/Local/2009/251782/
68. http://webboard.yenta4.com/topic/60215
69. http://soi8.forumotion.com/forum-f28/topic-t331.htm
70. http://www.startpage.in.th/view/17636
71. http://www.huaybondin.net/forum/thread-40920-1-1.html
72. http://thailandza.exteen.com/20090219/entry-3
73. http://phuketenews.blogspot.com/2010/01/blog-post_29.html
74. http://www.click.in.th/breaking-news/28409.html
75. http://www.startpage.in.th/view/44834
76. http://onair.kapook.com/notice/64415
77. http://www2.nurnia.com/15421/01/thai-social-political-economic/
78. http://www.opensubscriber.com/message/[email protected]/11376881.html
79. http://koreastory.org/philipino-die-because-no-body-song/
80. http://www.readtu.com/content/view/id/101243
81. http://board.siamjung.com/index.php/topic,1249.0.html
82. http://www.ryt9.com/s/bmnd/655770
83. http://news.thaipick.com/news/5373.html
84. http://webboard.yenta4.com/topic/79311
85. http://board.postjung.com/439963.html
86. http://www.ryt9.com/s/bmnd/664713
87. http://www.munnook.com/thread-46086-1-1.html
88. http://atcloud.com/stories/47085
130
89. http://talk.mthai.com/topic/37286
90. http://www.ryt9.com/s/bmnd/670097
91. http://techkr.com/political-opinion/comstory-14/
92. http://www.click.in.th/breaking-news/45417.html
93. http://www.ohthai.net/15544.html
94. http://thairecent.com/Crime/2010/488894/
95. http://www.ryt9.com/s/bmnd/672770
96. http://www.ryt9.com/s/bmnd/672770
97. http://www.huaybondin.net/forum/thread-55590-1-1.html
98. http://board.postjung.com/443154.html
99. http://talk.mthai.com/topic/33014
100. http://www.ryt9.com/s/bmnd/673182
101. http://board.postjung.com/421197.html
102. http://www.munnook.com/thread-65290-1-6.html
103. http://www.click.in.th/news/crime/38547.html
104. http://www.yorkza.com/content/6985/
105. http://thairecent.com/Local/2009/185767/
106. http://www.fwdder.com/topic/14168
107. http://www.click.in.th/news/around/3829.html
108. http://tnews.teenee.com/crime/17927.html
109. http://www.yorkza.com/content/8183/
110. http://www.ryt9.com/s/bmnd/689983
111. http://atcloud.com/stories/58278
112. http://thairecent.com/First/2010/490180/
113. http://board.postjung.com/430093.html
114. http://www.ryt9.com/s/bmnd/742336
115. http://www.ohthai.net/15552.html
116. http://www.zone-it.com/131792
117. http://www.ohthai.net/15207.html
118. http://www.equinenow.com/video-num-577479.htm
131
119. http://clipnabber.com/video/Ts8z6xnfv4A.html
120. http://atcloud.com/stories/70515
121. http://www.yorkza.com/content/7079/
122. http://www.ryt9.com/s/bmnd/656134
123. http://tnews.teenee.com/crime/5073.html
124. http://guru.google.co.th/guru/thread?tid=3b488b834e87970f
125. http://board.postjung.com/m/375909.html
126. http://board.postjung.com/375909.html
127. http://play.kapook.com/vdo/show-84258
128. http://talk.mthai.com/topic/31917
129. http://atcloud.com/stories/15667
130. http://www2.nurnia.com/4544/08/thai-social-political-economic/
131. http://www.yorkza.com/content/958/
132. http://talk.mthai.com/topic/44791
133. http://thairecent.com/Local/2010/498064/
134. http://news.sabsan.com/5565.html
135. http://www.ryt9.com/s/bmnd/701777
136. http://www.click.in.th/breaking-news/16079.html
137. http://www.secure2home.com/news/news109.html
138. http://www.hi5thai.com/thread-30097-1-1.html
139. http://www.yorkza.com/content/8787/
140. http://atcloud.com/stories/24562
141. http://www.catchh.com/stories/entry-1490.html
142. http://forums.dp.in.th/thread-1518-1-1.html
143. http://www.click.in.th/news/crime/42712.html
144. http://thairecent.com/Crime/2009/351654/
145. http://webboard.yenta4.com/topic/157821
146. http://www.startpage.in.th/view/49625
147. http://www.munnook.com/thread-49025-1-1.html
148. http://atcloud.com/stories/19885
132
149. http://regist53.blogspot.com/2009/09/11.html
150. http://board.postjung.com/m/405487.html
151. http://article.wn.com/view/WNAT60daa4f4be70bffc824f7cc31d78f0f4/
152. http://www.yorkza.com/content/2660/
153. http://gotoknow.org/blog/singkhon/224225
154. http://www.siamarchives.com/node/9291
155. http://thairecent.com/Crime/2010/501027/
156. http://talk.mthai.com/topic/26402
157. http://www.yorkza.com/content/2570/
158. http://www.click.in.th/breaking-news/45903.html
159. http://www.childmedia.net/node/507
160. http://learners.in.th/blog/borom7/291997
161. http://paidoo.net/article/546618.html
162. http://seedcom.thai-forum.net/forum-f35/topic-t10616.htm
163. http://tnews.teenee.com/crime/11326.html
164. http://thairecent.com/Local/2010/473775/
165. http://news.ohpicpost.com/%E0%B8%82%E0%B9%88%E0%B8%B2%E0%B8%A7/9379/
166. http://ict.in.th/index.php/topic,3873.0.html
167. http://paidoo.net/article/1903837.html
168. http://forum.siam2fun.com/archiver/?tid-860353.html
169. http://thairecent.com/First/2009/447181/
170. http://www.huaybondin.net/forum/thread-5664-1-1.html
171. http://thairecent.com/First/2010/474919/
172. http://board.postjung.com/407604.html
173. http://www.opensubscriber.com/message/[email protected]/10549601.html
174. http://regist53.blogspot.com/2009/04/2_27.html
175. http://board.postjung.com/435945.html
176. http://thairecent.com/Local/2010/475879/
177. http://news.mthai.com/general-news/62539.html
178. http://www.click.in.th/breaking-news/16056.html
133
179. http://crazymotion.net/-31/wiHT1TA22FkgjAy.html
180. http://www2.nurnia.com/16157/02/thai-social-political-economic/
181. http://www.equinenow.com/video-num-637917.htm
182. http://dekmoram.com/news/hot-news/112-news.html
183. http://www2.nurnia.com/14460/01/thai-social-political-economic/
184. http://www.isnhotnews.com/crime/2009/07/20066
185. http://gotoknow.org/blog/asstudent/62382
186. http://www.pitakthai.com/social/3658.html
187. http://forum.sabyezone.com/index.php/topic,1792.0.html
188. http://zyntag.com/tags/video/_ohoEx15fqg/
189. http://www.pitakthai.com/crime/1145.html
190. http://www.munnook.com/thread-36086-1-9.html
191. http://sexy.yorkza.com/content/4396/
192. http://www.isnhotnews.com/crime/2009/09/45955
193. http://www.pitakthai.com/social/3900.html
194. http://ict.in.th/1666
195. http://www.plazazone.com/b20/2008-62220/
196. http://thairecent.com/Crime/2010/491242/
197. http://www.click.in.th/news/local/692.html
198. http://www.ryt9.com/s/bmnd/688923
199. http://www.newswit.net/read/936351.html
200. http://thairecent.com/First/2010/502150/
&
8 #<,6150 135
#<,6150 (
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
http://www.yedke.com/
http://thaisex.6x6.in/103/
http://dakba.thai-forum.net/forum-f23/topic-t12.htm
http://artyz.wapgem.com/11
http://ss.comparenotebook.info/lastest/1361.html
http://thaig.informe.com/forum/u-uo-u-u-u-ua-u-u-ui-u-a-u-n-u-uo-dt3255.html
http://www.thaizexstory.com/home/story/219
http://missmovie.forumotion.net/forum-f7/topic-t16.htm
http://sport.teenee.com/sport/29985.html
http://club.postjung.com/2792-board-17081.html
http://www.thaisanook.co.cc/boy/2-boy/4-02620.html
http://avzone.wordpress.com/2009/02/27/316/
http://nungxonline.findtalk.net/forum-f49/topic-t4.htm
http://thaisex.6x6.in/105/
http://thaig.informe.com/forum/uo-uu-u-u-u-n-u-u-uo-u-ua-u-uo-u-u-dt719.html
http://www.praduk.com/toonx/
http://www.zeedasia.com/forums/archiver/tid-14.html
http://www.zeedasia.com/forums/thread-10551-1-1.html
http://oxz.freesemantic.net/hotest/1133.html
http://ss.comparenotebook.info/goURL/4241.html
http://www.gnv3.net/bbs/thread-88355-1-1.html
http://www.gaykung.com/
http://www.thaizexstory.com/home/story/246
http://www.thaixxxstory.com/thread-687-1-1.html
http://www8.mobileacce.info/last/12727.html
http://www.thaizexstory.com/home/story/269
http://www8.mobileacce.info/last/12671.html
http://bluesea.freesemantic.net/serf/2728.html
136
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
http://www.g-gang.com/forums/archive/index.php/f-17-p-4.html
http://www.saeplay.com/forum-2-1.html
http://2pmweb.com/board/
http://www.zeedasia.com/forums/thread-8658-1-1.html
http://www.gnv3.net/bbs/thread-38255-1-1.html
http://ninem.forumotions.com/forum-f3/topic-t4.htm
http://seedcom.thai-forum.net/forum-f32/topic-t6019.htm
http://bbigbuff.spaces.live.com/blog/
http://www.saeplay.com/thread-125-1-1.html
http://www.zeedasia.com/forums/thread-11108-1-1.html
http://bbs.u18up.com/thread-809-1-5.html
http://www.hi5thai.com/archiver/tid-17844.html
http://www.saeplay.com/thread-124-1-1.html
http://bbs.u18up.com/thread-409-1-9.html
http://www.opensubscriber.com/message/[email protected]/13120610.html
http://seedcom.thai-forum.net/forum-f32/topic-t7233.htm
http://www.thaizexstory.com/home/story/350
http://thaisex.6x6.in/27/
http://www3.lyricscom.info/lasted_stories/9531.html
http://www.surcentro.com/en/info/www.pee-kun.com
http://www.g-gang.com/forums/archive/index.php/t-7270.html
http://www3.lyricscom.info/lasted_stories/12091.html
http://ss.comparenotebook.info/goURL/180.html
http://www.zeedasia.com/forums/archiver/tid-13697.html
http://www8.mobileacce.info/last/13152.html
http://avzone.wordpress.com/2009/01/
http://www.thaizexstory.com/home/story/128
http://pussyteencam.com/thailand.html
http://seedcom.thai-forum.net/forum-f32/topic-t7228.htm
137
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
http://www.over18x.com/Breakspells-vol-3.xxx
http://www.thaizexstory.com/home/story/141
http://bluesea.freesemantic.net/serf/519.html
http://missmovie.forumotion.net/forum-f7/topic-t101.htm
http://ss.comparenotebook.info/goURL/3501.html
http://www3.lyricscom.info/lasted_stories/8090.html
http://bluesea.freesemantic.net/serf/3000.html
http://sexy-porno.org/forum/
http://bbs.u18up.com/thread-687-1-1.html
http://oxz.freesemantic.net/hotest/3923.html
http://thaisex.6x6.in/page/5/
http://seedcom.thai-forum.net/forum-f32/topic-t4767.htm
http://artyz.wapgem.com/4
http://seed.gameref.info/go/94.html
http://www.zeedasia.com/forums/archiver/tid-11067.html
http://www.g-gang.com/forums/archive/index.php/t-7272.html
http://www.thaizexstory.com/home/story/118
http://www.opensubscriber.com/message/[email protected]/13012284.html
http://oxz.freesemantic.net/serf/2529.html
http://www.zeedasia.com/forums/archiver/tid-8241.html
http://planet.kapook.com/sexyboy2/blog/viewnew/68996
http://www.zeedasia.com/forums/archiver/tid-13119.html
http://forum.soda-zaa.com/thread-5778-1-2.html
http://space.postjung.com/1083242-blog-62869.html
http://oxz.freesemantic.net/serf/68.html
http://www.saeplay.com/thread-31-1-1.html
http://ss.comparenotebook.info/lastest/2834.html
http://www.thaizexstory.com/home/story/188
http://www8.mobileacce.info/last/15090.html
138
87. http://forum.soda-zaa.com/thread-2514-1-3.html
88. http://seed.gameref.info/go/4139.html
89. http://seedcom.thai-forum.net/forum-f32/topic-t8555.htm
90. http://missmovie.forumotion.net/forum-f7/topic-t101-15.htm
91. http://bbs.u18up.com/thread-1593-1-1.html
92. http://seed.gameref.info/go/1709.html
93. http://swing.realbb.net/forum-f1/topic-t1.htm
94. http://www.opensubscriber.com/message/[email protected]/13098555.html
95. http://seedcom.thai-forum.net/forum-f32/topic-t7491.htm
96. http://oxz.freesemantic.net/hotest/2055.html
97. http://forum.soda-zaa.com/thread-2526-1-2.html
98. http://forum.soda-zaa.com/thread-2460-1-5.html
99. http://www.sexy-picpost-xxx.com/
100. http://www3.lyricscom.info/lasted_stories/10766.html
101. http://missmovie.forumotion.net/forum-f7/topic-t99.htm
102. http://seed.gameref.info/hs/3330.html
103. http://www.zeedasia.com/forums/thread-13828-1-4.html
104. http://www.saeplay.com/viewthread.php?tid=65
105. http://www.69rental.com/
106. http://forum.soda-zaa.com/thread-6351-1-5.html
107. http://bbs.u18up.com/thread-827-1-1.html
108. http://www.thaizexstory.com/home/story/160
109. http://thaisex.6x6.in/69/
110. http://www.peekstats.com/www.gaykung.com
111. http://www.peekstats.com/www.ohjeed.com
112. http://www3.lyricscom.info/lasted_stories/9091.html
113. http://yedke.wordpress.com/2008/12/
114. http://www.thaixxxstory.com/thread-2582-1-1.html
115. http://www.ohpicpost.com/story/thread-40485-1-5.html
139
116. http://x691.com/forum/index.php
117. http://seedcom.thai-forum.net/forum-f32/topic-t7811.htm
118. http://www.thaizexstory.com/home/story/94
119. http://www.giggay.com/board/friend/topic-2192
120. http://thaix.in/thread-16317-1-4.html
121. http://seedcom.thai-forum.net/forum-f32/topic-t5989.htm
122. http://forum.soda-zaa.com/thread-2521-1-3.html
123. http://www.zeedasia.com/forums/archiver/tid-1540.html
124. http://oxz.freesemantic.net/serf/2763.html
125. http://www.thaizexstory.com/home/story/217
126. http://www8.mobileacce.info/last/13066.html
127. http://www.saeplay.com/thread-127-1-1.html
128. http://bluesea.freesemantic.net/hotest/3465.html
129. http://seedcom.thai-forum.net/forum-f32/topic-t4562.htm
130. http://atcloud.com/stories/49688
131. http://www.praduk.com/toonx/tag/
132. http://www.dek-it.net/read-htm-tid-8875.html
133. http://www.pakkdee.info/board/
134. http://bbs.u18up.com/thread-1025-1-1.html
135. http://www.googgang.com/clip/
136. http://xstory.aoi2you.com/
137. http://www.surcentro.com/en/info/www.clipxx.com
138. http://freeclippo.com/board/
139. http://thaix.in/
140. http://bbs.powerzeed.com/
141. http://seed.gameref.info/go/1190.html
142. http://www2.lhc-effect.info/
143. http://www.yedme.com/
144. http://www.fwdder.com/topic/4679
145. http://thaig.informe.com/forum/message45525.html
140
146. http://board.darkconceal.com/
147. http://goolabua.com/
148. http://www.goox.info/
149. http://picpost.gig01.com/
150. http://www.cdxyz.net/
&
8 6
#<)' 200 142
#<)' 200 (
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
http://www.sansuk.com
http://www.108event.com
http://www.clinicrak.com
http://www.sodamag.net
http://www.Exteen.com
http://www.Ohozaa.com
http://www.Meemodel.com
http://www.madoo.com
http://www.yenta4.om
http://www.siamzone.com
http://www.tlcthai.com
http://www.tarad.com
http://www.siamha.com
http://www.365jukebox.com
http://www.zuzaa.com
http://www.jikgo.com
http://www.siamdara.com
http://www.zubzip.com
http://www.yimza.com
http://www.seezaa.com
http://www.jkdramas.com
http://www.108ideas.com
http://www.sbuyzone.com
http://www.narak.com
http://www.nurnia.com
http://www.zheza.com
http://www.samarts.com
http://www.rannaidee.com
143
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
http://coolzshot.com
http://www.khaikai.com
http://www.bkkonline.com
http://www.siam2you.com
http://www.impressivezone.com
http://www.aonlines.com
http://www.sabyedigg.com
http://www.oopza.com
http://www.siamtrue.com
http://www.namtea.com
http://www.diggma.com
http://www.zabjung.com
http://www.moomdigg.com
http://www.eduzones.com
http://www.tourthai.com
http://www.skydigg.com
http://www.haarai.com
http://www.discuzthai.com
http://www.medias.co.th
http://www.cmsthailand.com
http://movie.classifiedthai.com
http://www.arunsawat.com
http://www.rsu-cyberu.com
http://www.krusu.com
http://www.moe.go.th/idea
http://graduate.kru.ac.th/course
http://www.chaiwbi.com
http://www.crnfe.ac.th
http://www.rjanadd.com
http://www.edutoday.in.th
144
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
http://www.niyada.net
http://www.learnland.net
http://www.kanngan.com
http://www.krusupap.com
http://www.taklong.com
http://www.thecameracity.com
http://www.rpst.or.th
http://www.pixprox.net
http://www.pixnice.com
http://www.photothai.net
http://www.artphotoschool.com/
http://www.ohophoto.com
http://www.rpst-digital.org
http://www.thairetouch.com
http://www.hardcoregraphic.com
http://www.thaigraph.com
http://www.rookienet.com
http://www.designparty.com
http://www.thai3d.net
http://www.triamudom.ac.th
http://www2.bodin.ac.th
http://www.satriwit.ac.th
http://www.snr.ac.th
http://www.sk.ac.th
http://www.phrachaokrungthon.com
http://www.chartthai.or.th
http://www.archae.go.th
http://www.kanmuang.org
http://www.democrat.or.th
http://www.ubudpa.in.th
145
89. http://www.pol.ru.ac.th
90. http://www.terdchai.com
91. http://www.krooadd.com
92. http://www.ftawatch.org
93. http://www.kru-itth.com
94. http://www.trainer.in.th
95. http://www.metukyang.com
96. http://www.stks.or.th
97. http://www.tkpark.or.th
98. http://www.radompon.com
99. http://www.tutoronline.co.th
100. http://www.ecommerce.or.th
101. http://www.sanook.com
102. http://www.kapook.com
103. http://www.mthai.com
104. http://www.manager.co.th
105. http://www.dek-d.com
106. http://www.teenee.com
107. http://www.exteen.com
108. http://www.bloggang.com
109. http://www.playpark.com
110. http://www.narak.com
111. http://www.meemodel.com
112. http://www.asiasoft.co.th
113. http://www.yenta4.com
114. http://www.postjung.com
115. http://www.siamzone.com
116. http://www.siamsport.co.th
117. http://www.gg.in.th
118. http://www.tlcthai.com
146
119. http://www.212cafe.com
120. http://www.pramool.com
121. http://www.siamza.com
122. http://www.thaicybergames.com
123. http://www.hunsa.com
124. http://www.uploadtoday.com
125. http://www.truelife.com
126. http://www.siamha.com
127. http://www.ini3.co.th
128. http://www.soccersuck.com
129. http://www.pantipmarket.com
130. http://www.ohozaa.com
131. http://www.tarad.com
132. http://www.zheza.com
133. http://www.thaiSecondhand.com
134. http://www.one2car.com
135. http://www.ob.tc
136. http://www.uppic.net
137. http://www.thaiza.com
138. http://www.dailynews.co.th
139. http://www.gmember.com
140. http://www.thaiware.com
141. http://www.temppic.com
142. http://www.gushare.com
143. http://www.popcornfor2.com
144. http://www.adintrend.com
145. http://www.siamphone.com
146. http://www.clipmass.com
147. http://www.thaimisc.com
148. http://www.bitthailand.com
147
149. http://www.siambit.com
150. http://www.math26.com
151. http://www.cuas.or.th
152. http://www.niets.or.th
153. http://www.vcharkarn.com/vexam
154. http://www.campus.sanook.com/entrance
155. http://www.admissions.chula.ac.th
156. http://www.yenta4.com/entrance
157. http://www.pantip.com/tech
158. http://www.bcoms.net
159. http://www.com-th.net
160. http://www.notebookspec.com
161. http://www.adslthailand.com
162. http://www.unlimitpc.com
163. http://www.it-guides.com
164. http://www.divland.com
165. http://www.thaiopensource.org
166. http://www.opentle.org
167. http://www.thaimsn.net
168. http://www.mrpalm.com
169. http://www.monavista.com
170. http://www.mac2hand.com
171. http://www.hi5thai.com
172. http://www.thaiall.com
173. http://www.thaiiphoneclub.com
174. http://www.studentloan.ktb.co.th
175. http://www.studentloan.or.th
176. http://www.ex-mba.com
177. http://www.ocsc.go.th
178. http://www.ies-education.com
148
179. http://www.educatepark.com
180. http://www.yesthailand.org
181. http://www.it-ed.com
182. http://www.coj.go.th
183. http://www.moj.go.th
184. http://www.admincourt.go.th
185. http://www.lawyerthai.com
186. http://www.dhamma.th.gs
187. http://www.luangta.com
188. http://www.dhammathai.org
189. http://www.sdsweb.org
190. http://www.catholic.or.th
191. http://www.thaibible.net
192. http://www.kondee.com
193. http://www.netdesign.ac.th
194. http://www.artanddesign.ac.th
195. http://www.allstep.net
196. http://www.3d-dsign.com
197. http://www.aptech.co.th
198. http://www.ecc.ac.th
199. http://www.greatfriends.biz
200. http://www.computer.ru.ac.th
&
8 @
,5
1,6 112 1
150
,5
1,6 112 1
1. !@
4
& 1
2. !@
4
& 2
3. !@
4
& 3
4. !@
4
& 4
5. !@
4
& 5
6. !@
4
& 6
7. !@
4
& 7
8. !@
4
& 8
9. !@
4
& 9
10. !@
4
& 10
11. !@
4
& 11
12. !@
4
& 12
13. !@
4
& 13
14. !@
4
& 14
15. !@
4
& 15
16. !@
4
& 16
17. !@
4
& 17
18. !@
4
& 18
19. !@
4
& 19
20. !@
4
& 20
21. !@
4
& 21
22. !@
4
& 22
23. !@
4
& 23
24. !@
4
& 24
25. !@
4
& 25
26. !@
4
& 26
27. !@
4
& 27
28. !@
4
& 28
%&°"
Z'
0
4&°
(&
A1
#%
A"1
(&"&
"
+ 1+ A6
.
"
#"
AD
(
+ (
(&
›"(^
D6
'(&
(&4
(&&
"1"
(D
,'
&&
(&
151
29. !@
4
& 29
30. !@
4
& 30
31. !@
4
& 31
32. !@
4
& 32
33. !@
4
& 33
34. !@
4
& 34
35. !@
4
& 35
36. !@
4
& 36
37. !@
4
& 37
38. !@
4
& 38
39. !@
4
& 39
40. !@
4
& 40
41. !@
4
& 41
42. !@
4
& 42
43. !@
4
& 43
44. !@
4
& 44
45. !@
4
& 45
46. !@
4
& 46
47. !@
4
& 47
48. !@
4
& 48
49. !@
4
& 49
50. !@
4
& 50
51. !@
4
& 51
52. !@
4
& 52
53. !@
4
& 53
54. !@
4
& 54
55. !@
4
& 55
56. !@
4
& 56
57. !@
4
& 57
58. !@
4
& 58
&
&
1
!
AZ'
)°
'
'
%#%
!Z
AZ'
.
+ (&
4"(&
&
D@
A
(&!
!
&
%Z&
.
(&
.
""
1AZ'
(
'
'
4"(""
152
59. !@
4
& 59
60. !@
4
& 60
61. !@
4
& 61
62. !@
4
& 62
63. !@
4
& 63
64. !@
4
& 64
65. !@
4
& 65
66. !@
4
& 66
67. !@
4
& 67
68. !@
4
& 68
69. !@
4
& 69
70. !@
4
& 70
71. !@
4
& 71
72. !@
4
& 72
73. !@
4
& 73
74. !@
4
& 74
75. !@
4
& 75
76. !@
4
& 76
77. !@
4
& 77
78. !@
4
& 78
79. !@
4
& 79
80. !@
4
& 80
81. !@
4
& 81
82. !@
4
& 82
83. !@
4
& 83
84. !@
4
& 84
85. !@
4
& 85
86. !@
4
& 86
87. !@
4
& 87
88. !@
4
& 88
(&(
D@
4±
!"
&
'
0
"-'
#
(&%'
1"0
1"
~
$%%!
"6
01
Z"
0)D!'
'4"
,'
&!1'
&
Z'
A0Z'
0
Z"(D6
""
Z'
0
1
'"4
'
Z1$Z
''
153
89. !@
4
& 89
90. !@
4
& 90
91. !@
4
& 91
92. !@
4
& 92
93. !@
4
& 93
94. !@
4
& 94
95. !@
4
& 95
96. !@
4
& 96
97. !@
4
& 97
98. !@
4
& 98
99. !@
4
& 99
100. !@
4
& 100
101. !@
4
& 101
102. !@
4
& 102
103. !@
4
& 103
104. !@
4
& 104
105. !@
4
& 105
106. !@
4
& 106
107. !@
4
& 107
108. !@
4
& 108
109. !@
4
& 109
110. !@
4
& 110
111. !@
4
& 111
112. !@
4
& 112
"1"
1
A0#+"'
#
A%
A
'#
(&1
""
Z+
++!
A"
1
""
!-!
'
("('
0
""
A6
AA
"41
D@
'
154
)'8-7'6
#< - 5,
-
1
,
- .,
219 1'8 .@
AA( .@
AA( 4.!b 73140
55-57-59 +^ .b4"& . 4.!b
73000 + (034) 250962-4
)'!
.. 2547
.. 2548
(@
#4
)*
--
( ,
!
(
4
!
( !++&4
&
)*
'"--
(
0
,
!++&
(
( )'1
.. 2548 – _44 61"1A *(+!

Similar documents