1 grant insert on probes.data to logsnorter@localhost identified by 'password';
2 grant select on probes.detail to logsnorter@localhost;
3 grant select on probes.encoding to logsnorter@localhost;
4 grant select,insert on probes.event to logsnorter@localhost;
5 grant insert on probes.icmphdr to logsnorter@localhost;
6 grant insert on probes.iphdr to logsnorter@localhost;
7 grant insert on probes.opt to logsnorter@localhost;
8 grant insert on probes.reference to logsnorter@localhost;
9 grant select,insert on probes.reference_system to logsnorter@localhost;
10 grant select on probes.schema to logsnorter@localhost;
11 grant select,insert on probes.sensor to logsnorter@localhost;
12 grant select,insert on probes.sig_class to logsnorter@localhost;
13 grant select,insert on probes.sig_reference to logsnorter@localhost;
14 grant select,insert on probes.signature to logsnorter@localhost;
15 grant insert on probes.tcphdr to logsnorter@localhost;
16 grant insert on probes.udphdr to logsnorter@localhost;
17 grant all privileges on probes.* to base@localhost identified by 'password';
20 CREATE TABLE acid_event ( sid INT UNSIGNED NOT NULL,
21 cid INT UNSIGNED NOT NULL,
22 signature INT UNSIGNED NOT NULL,
23 sig_name VARCHAR(255),
24 sig_class_id INT UNSIGNED,
25 sig_priority INT UNSIGNED,
26 timestamp DATETIME NOT NULL,
30 layer4_sport INT UNSIGNED,
31 layer4_dport INT UNSIGNED,
33 PRIMARY KEY (sid,cid),
47 CREATE TABLE acid_ag ( ag_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
56 CREATE TABLE acid_ag_alert( ag_id INT UNSIGNED NOT NULL,
57 ag_sid INT UNSIGNED NOT NULL,
58 ag_cid INT UNSIGNED NOT NULL,
60 PRIMARY KEY (ag_id, ag_sid, ag_cid),
62 INDEX (ag_sid, ag_cid));
64 CREATE TABLE acid_ip_cache( ipc_ip INT UNSIGNED NOT NULL,
66 ipc_dns_timestamp DATETIME,
68 ipc_whois_timestamp DATETIME,
72 grant select,insert,delete on probes.acid_ag to logsnorter@localhost;
73 grant select,insert,delete on probes.acid_ag_alert to logsnorter@localhost;
74 grant select,insert,update,delete on probes.acid_event to logsnorter@localhost;
75 grant select,insert,update,delete on probes.acid_ip_cache to logsnorter@localhost;
76 grant select,insert,delete on probes.data to logsnorter@localhost;
77 grant select on probes.detail to logsnorter@localhost;
78 grant select on probes.encoding to logsnorter@localhost;
79 grant select,insert,delete on probes.event to logsnorter@localhost;
80 grant select,insert,delete on probes.icmphdr to logsnorter@localhost;
81 grant select,insert,delete on probes.iphdr to logsnorter@localhost;
82 grant select,insert,delete on probes.opt to logsnorter@localhost;
83 grant select,insert,update,delete on probes.reference to logsnorter@localhost;
84 grant select,insert,update,delete on probes.reference_system to logsnorter@localhost;
85 grant select on probes.schema to logsnorter@localhost;
86 grant select,insert on probes.sensor to logsnorter@localhost;
87 grant select,insert,update,delete on probes.sig_class to logsnorter@localhost;
88 grant select,insert,update,delete on probes.sig_reference to logsnorter@localhost;
89 grant select,insert on probes.signature to logsnorter@localhost;
90 grant select,insert,delete on probes.tcphdr to logsnorter@localhost;
91 grant select,insert,delete on probes.udphdr to logsnorter@localhost;