-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.json
76 lines (72 loc) · 2.18 KB
/
settings.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"Username": "",
"Password": "",
"IP": "127.0.0.1",
"Port": "3306",
"DBName": "",
"ActionQueueSleepTime": 10,
"ActionQueue": "actionQueue",
"Connections": "connections",
"OnOpen": "onOpen",
"OnWrite": "onWrite",
"OnRead": "onRead",
"OnClose": "onClose",
"Databases":[
[
"actionQueue",
"id BIGINT NOT NULL AUTO_INCREMENT",
"connectionCondition VARCHAR(1024) NOT NULL DEFAULT \"TRUE\"",
"action ENUM('CONNECT', 'LISTEN', 'STOPLISTEN', 'CLOSE', 'WRITE', 'EXEC') NOT NULL",
"args VARCHAR(1024) NOT NULL",
"PRIMARY KEY(id)",
"InnoDB"
],
[
"connections",
"ip VARCHAR(15) NOT NULL",
"localport SMALLINT UNSIGNED NOT NULL",
"remoteport SMALLINT UNSIGNED NOT NULL",
"PRIMARY KEY(ip,localport,remoteport)",
"MyISAM"
],
[
"onOpen",
"id INT NOT NULL AUTO_INCREMENT",
"connectionCondition VARCHAR(1024) NOT NULL DEFAULT \"TRUE\"",
"action ENUM('CONNECT', 'LISTEN', 'STOPLISTEN', 'CLOSE', 'WRITE', 'EXEC') NOT NULL",
"args VARCHAR(1024) NOT NULL",
"PRIMARY KEY(id)",
"MyISAM"
],
[
"onWrite",
"id INT NOT NULL AUTO_INCREMENT",
"connectionCondition VARCHAR(1024) NOT NULL DEFAULT \"TRUE\"",
"action ENUM('CONNECT', 'LISTEN', 'STOPLISTEN', 'CLOSE', 'WRITE', 'EXEC', 'FORWARDMSG') NOT NULL",
"args VARCHAR(1024) NOT NULL",
"msg_regex VARCHAR(1024) NOT NULL DEFAULT \".*\"",
"PRIMARY KEY(id)",
"MyISAM"
],
[
"onRead",
"id INT NOT NULL AUTO_INCREMENT",
"connectionCondition VARCHAR(1024) NOT NULL DEFAULT \"TRUE\"",
"action ENUM('CONNECT', 'LISTEN', 'STOPLISTEN', 'CLOSE', 'WRITE', 'EXEC', 'FORWARDMSG') NOT NULL",
"args VARCHAR(1024) NOT NULL",
"msg_regex VARCHAR(1024) NOT NULL DEFAULT \".*\"",
"PRIMARY KEY(id)",
"MyISAM"
],
[
"onClose",
"id INT NOT NULL AUTO_INCREMENT",
"connectionCondition VARCHAR(1024) NOT NULL DEFAULT \"TRUE\"",
"action ENUM('CONNECT', 'LISTEN', 'STOPLISTEN', 'CLOSE', 'WRITE', 'EXEC') NOT NULL",
"args VARCHAR(1024) NOT NULL",
"PRIMARY KEY(id)",
"MyISAM"
]
],
"Values": []
}