summaryrefslogtreecommitdiffstats
path: root/doc/mysql.table
blob: bdfee7134ac784c39f03e3cf5e776648b9287e57 (plain)
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
CREATE TABLE ulog (	id		INT UNSIGNED AUTO_INCREMENT UNIQUE,

			raw_mac		VARCHAR(80),

			oob_time_sec	INT UNSIGNED,
			oob_time_usec	INT UNSIGNED,
			oob_prefix	VARCHAR(32),
			oob_mark	INT UNSIGNED,
			oob_in		VARCHAR(32),
			oob_out		VARCHAR(32),

			ip_saddr	INT UNSIGNED,
			ip_daddr	INT UNSIGNED,
			ip_protocol	TINYINT UNSIGNED,
			ip_tos		TINYINT UNSIGNED,
			ip_ttl		TINYINT UNSIGNED,
			ip_totlen	SMALLINT UNSIGNED,
			ip_ihl		TINYINT UNSIGNED,
			ip_csum		SMALLINT UNSIGNED,
			ip_id		SMALLINT UNSIGNED,
			ip_fragoff	SMALLINT UNSIGNED,

			tcp_sport	SMALLINT UNSIGNED,
			tcp_dport	SMALLINT UNSIGNED,
			tcp_seq		INT UNSIGNED,
			tcp_ackseq	INT UNSIGNED,
			tcp_window	SMALLINT UNSIGNED,
			tcp_urg		TINYINT,
			tcp_urgp	SMALLINT UNSIGNED,
			tcp_ack		TINYINT,
			tcp_psh		TINYINT,
			tcp_rst		TINYINT,
			tcp_syn		TINYINT,
			tcp_fin		TINYINT,

			udp_sport	SMALLINT UNSIGNED,
			udp_dport	SMALLINT UNSIGNED,
			udp_len		SMALLINT UNSIGNED,
			
			icmp_type	TINYINT UNSIGNED,
			icmp_code	TINYINT UNSIGNED,
			icmp_echoid	SMALLINT UNSIGNED,
			icmp_echoseq	SMALLINT UNSIGNED,
			icmp_gateway	INT UNSIGNED,
			icmp_fragmtu	SMALLINT UNSIGNED,
			
			pwsniff_user	VARCHAR(30),
			pwsniff_pass	VARCHAR(30),
			
			ahesp_spi	INT UNSIGNED,			

			KEY index_id	(id)
		);