-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsig.conf
58 lines (56 loc) · 1.26 KB
/
sig.conf
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
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
#######################################
#
# sig_id = APPID:CATE:INDEX
#
#
#######################################
application {
appid 1;
appname Youku;
category 0x22;
sign {
youku_flv_sig {
sig_id 0x1;
sig_proto HTTP;
sig_type AC_MULTI;
sig_enable 1;
sig_priority 1;
sig_dir 0;
sig_match http_method=GET&http_url=flv&http_host=youku;
}
youku_wma_sig {
sig_id 0x2;
sig_proto HTTP;
sig_type REGEX;
sig_enable 0;
sig_priority 2;
sig_dir 0;
sig_match GET.*wma.*youku;
}
}
}
application {
appid 2;
appname QQ;
category 0x23;
sign {
qq_udp_sig {
sig_id 0x3;
sig_proto UDP;
sig_type AC_MULTI;
sig_enable 1;
sig_priority 4;
sig_dir 1;
sig_match tcp_payload=aaa&tcp_payload[4]=bbb;
}
qq_tcp_sig {
sig_id 0x4;
sig_proto TCP;
sig_type AC;
sig_enable 0;
sig_priority 5;
sig_dir 1;
sig_match tcp_payload[10]=\xff\xff\xff;
}
}
}