Importing all of DRL, including ulogd and all of its files.
[distributedratelimiting.git] / doc / mysql.table.ipaddr-as-string
1 # MySQL dump 7.1
2 #
3 # Host: localhost    Database: ulogd
4 #--------------------------------------------------------
5 # Server version        3.22.32
6
7 # This table is intended for use with older MySQL-Servers and
8 # the --with-mysql-log-ip-as-string feature. It will not work
9 # without that feature.
10 #
11 # Table structure for table 'ulog'
12 #
13 CREATE TABLE ulog (
14   id int(10) unsigned DEFAULT '0' NOT NULL auto_increment,
15   raw_mac varchar(80),
16   oob_time_sec int(10) unsigned,
17   oob_time_usec int(10) unsigned,
18   oob_prefix varchar(32),
19   oob_mark int(10) unsigned,
20   oob_in varchar(32),
21   oob_out varchar(32),
22   ip_saddr varchar(16),
23   ip_daddr varchar(16),
24   ip_protocol tinyint(3) unsigned,
25   ip_tos tinyint(3) unsigned,
26   ip_ttl tinyint(3) unsigned,
27   ip_totlen smallint(5) unsigned,
28   ip_ihl tinyint(3) unsigned,
29   ip_csum smallint(5) unsigned,
30   ip_id smallint(5) unsigned,
31   ip_fragoff smallint(5) unsigned,
32   tcp_sport smallint(5) unsigned,
33   tcp_dport smallint(5) unsigned,
34   tcp_seq int(10) unsigned,
35   tcp_ackseq int(10) unsigned,
36   tcp_window smallint(5) unsigned,
37   tcp_urg tinyint(4),
38   tcp_urgp smallint(5) unsigned,
39   tcp_ack tinyint(4),
40   tcp_psh tinyint(4),
41   tcp_rst tinyint(4),
42   tcp_syn tinyint(4),
43   tcp_fin tinyint(4),
44   udp_sport smallint(5) unsigned,
45   udp_dport smallint(5) unsigned,
46   udp_len smallint(5) unsigned,
47   icmp_type tinyint(3) unsigned,
48   icmp_code tinyint(3) unsigned,
49   icmp_echoid smallint(5) unsigned,
50   icmp_echoseq smallint(5) unsigned,
51   icmp_gateway int(10) unsigned,
52   icmp_fragmtu smallint(5) unsigned,
53   pwsniff_user varchar(30),
54   pwsniff_pass varchar(30),
55   ahesp_spi int(10) unsigned,
56   PRIMARY KEY (id)
57 );
58