Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +------------------+
- | Tables_in_snort |
- +------------------+
- | data |
- | detail |
- | encoding |
- | event |
- | icmphdr |
- | iphdr |
- | opt |
- | reference |
- | reference_system |
- | schema |
- | sensor |
- | sig_class |
- | sig_reference |
- | signature |
- | tcphdr |
- | udphdr |
- +------------------+
- mysql> describe data;
- +--------------+------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +--------------+------------------+------+-----+---------+-------+
- | sid | int(10) unsigned | NO | PRI | NULL | |
- | cid | int(10) unsigned | NO | PRI | NULL | |
- | data_payload | text | YES | | NULL | |
- +--------------+------------------+------+-----+---------+-------+
- 3 rows in set (0.06 sec)
- mysql> describe detail;
- +-------------+---------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +-------------+---------------------+------+-----+---------+-------+
- | detail_type | tinyint(3) unsigned | NO | PRI | NULL | |
- | detail_text | text | NO | | NULL | |
- +-------------+---------------------+------+-----+---------+-------+
- 2 rows in set (0.01 sec)
- mysql> describe encoding;
- +---------------+---------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +---------------+---------------------+------+-----+---------+-------+
- | encoding_type | tinyint(3) unsigned | NO | PRI | NULL | |
- | encoding_text | text | NO | | NULL | |
- +---------------+---------------------+------+-----+---------+-------+
- 2 rows in set (0.00 sec)
- mysql> describe event;
- +-----------+------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +-----------+------------------+------+-----+---------+-------+
- | sid | int(10) unsigned | NO | PRI | NULL | |
- | cid | int(10) unsigned | NO | PRI | NULL | |
- | signature | int(10) unsigned | NO | MUL | NULL | |
- | timestamp | datetime | NO | MUL | NULL | |
- +-----------+------------------+------+-----+---------+-------+
- 4 rows in set (0.00 sec)
- mysql> describe icmphdr;
- +-----------+----------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +-----------+----------------------+------+-----+---------+-------+
- | sid | int(10) unsigned | NO | PRI | NULL | |
- | cid | int(10) unsigned | NO | PRI | NULL | |
- | icmp_type | tinyint(3) unsigned | NO | MUL | NULL | |
- | icmp_code | tinyint(3) unsigned | NO | | NULL | |
- | icmp_csum | smallint(5) unsigned | YES | | NULL | |
- | icmp_id | smallint(5) unsigned | YES | | NULL | |
- | icmp_seq | smallint(5) unsigned | YES | | NULL | |
- +-----------+----------------------+------+-----+---------+-------+
- 7 rows in set (0.01 sec)
- mysql> describe iphdr;
- +----------+----------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +----------+----------------------+------+-----+---------+-------+
- | sid | int(10) unsigned | NO | PRI | NULL | |
- | cid | int(10) unsigned | NO | PRI | NULL | |
- | ip_src | int(10) unsigned | NO | MUL | NULL | |
- | ip_dst | int(10) unsigned | NO | MUL | NULL | |
- | ip_ver | tinyint(3) unsigned | YES | | NULL | |
- | ip_hlen | tinyint(3) unsigned | YES | | NULL | |
- | ip_tos | tinyint(3) unsigned | YES | | NULL | |
- | ip_len | smallint(5) unsigned | YES | | NULL | |
- | ip_id | smallint(5) unsigned | YES | | NULL | |
- | ip_flags | tinyint(3) unsigned | YES | | NULL | |
- | ip_off | smallint(5) unsigned | YES | | NULL | |
- | ip_ttl | tinyint(3) unsigned | YES | | NULL | |
- | ip_proto | tinyint(3) unsigned | NO | | NULL | |
- | ip_csum | smallint(5) unsigned | YES | | NULL | |
- +----------+----------------------+------+-----+---------+-------+
- 14 rows in set (0.00 sec)
- mysql> describe opt;
- +-----------+---------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +-----------+---------------------+------+-----+---------+-------+
- | sid | int(10) unsigned | NO | PRI | NULL | |
- | cid | int(10) unsigned | NO | PRI | NULL | |
- | optid | int(10) unsigned | NO | PRI | NULL | |
- | opt_proto | tinyint(3) unsigned | NO | | NULL | |
- | opt_code | tinyint(3) unsigned | NO | | NULL | |
- | opt_len | smallint(6) | YES | | NULL | |
- | opt_data | text | YES | | NULL | |
- +-----------+---------------------+------+-----+---------+-------+
- 7 rows in set (0.00 sec)
- mysql> describe reference;
- +---------------+------------------+------+-----+---------+----------------+
- | Field | Type | Null | Key | Default | Extra |
- +---------------+------------------+------+-----+---------+----------------+
- | ref_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
- | ref_system_id | int(10) unsigned | NO | | NULL | |
- | ref_tag | text | NO | | NULL | |
- +---------------+------------------+------+-----+---------+----------------+
- 3 rows in set (0.01 sec)
- mysql> describe reference_system;
- +-----------------+------------------+------+-----+---------+----------------+
- | Field | Type | Null | Key | Default | Extra |
- +-----------------+------------------+------+-----+---------+----------------+
- | ref_system_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
- | ref_system_name | varchar(20) | YES | | NULL | |
- +-----------------+------------------+------+-----+---------+----------------+
- 2 rows in set (0.00 sec)
- mysql> describe sensor;
- +-----------+------------------+------+-----+---------+----------------+
- | Field | Type | Null | Key | Default | Extra |
- +-----------+------------------+------+-----+---------+----------------+
- | sid | int(10) unsigned | NO | PRI | NULL | auto_increment |
- | hostname | text | YES | | NULL | |
- | interface | text | YES | | NULL | |
- | filter | text | YES | | NULL | |
- | detail | tinyint(4) | YES | | NULL | |
- | encoding | tinyint(4) | YES | | NULL | |
- | last_cid | int(10) unsigned | NO | | NULL | |
- +-----------+------------------+------+-----+---------+----------------+
- 7 rows in set (0.00 sec)
- mysql> describe sig_class;
- +----------------+------------------+------+-----+---------+----------------+
- | Field | Type | Null | Key | Default | Extra |
- +----------------+------------------+------+-----+---------+----------------+
- | sig_class_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
- | sig_class_name | varchar(60) | NO | MUL | NULL | |
- +----------------+------------------+------+-----+---------+----------------+
- 2 rows in set (0.01 sec)
- mysql> describe sig_reference;
- +---------+------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +---------+------------------+------+-----+---------+-------+
- | sig_id | int(10) unsigned | NO | PRI | NULL | |
- | ref_seq | int(10) unsigned | NO | PRI | NULL | |
- | ref_id | int(10) unsigned | NO | | NULL | |
- +---------+------------------+------+-----+---------+-------+
- 3 rows in set (0.00 sec)
- mysql> describe signature;
- +--------------+------------------+------+-----+---------+----------------+
- | Field | Type | Null | Key | Default | Extra |
- +--------------+------------------+------+-----+---------+----------------+
- | sig_id | int(10) unsigned | NO | PRI | NULL | auto_increment |
- | sig_name | varchar(255) | NO | MUL | NULL | |
- | sig_class_id | int(10) unsigned | NO | MUL | NULL | |
- | sig_priority | int(10) unsigned | YES | | NULL | |
- | sig_rev | int(10) unsigned | YES | | NULL | |
- | sig_sid | int(10) unsigned | YES | | NULL | |
- | sig_gid | int(10) unsigned | YES | | NULL | |
- +--------------+------------------+------+-----+---------+----------------+
- 7 rows in set (0.01 sec)
- mysql> describe tcphdr;
- +-----------+----------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +-----------+----------------------+------+-----+---------+-------+
- | sid | int(10) unsigned | NO | PRI | NULL | |
- | cid | int(10) unsigned | NO | PRI | NULL | |
- | tcp_sport | smallint(5) unsigned | NO | MUL | NULL | |
- | tcp_dport | smallint(5) unsigned | NO | MUL | NULL | |
- | tcp_seq | int(10) unsigned | YES | | NULL | |
- | tcp_ack | int(10) unsigned | YES | | NULL | |
- | tcp_off | tinyint(3) unsigned | YES | | NULL | |
- | tcp_res | tinyint(3) unsigned | YES | | NULL | |
- | tcp_flags | tinyint(3) unsigned | NO | MUL | NULL | |
- | tcp_win | smallint(5) unsigned | YES | | NULL | |
- | tcp_csum | smallint(5) unsigned | YES | | NULL | |
- | tcp_urp | smallint(5) unsigned | YES | | NULL | |
- +-----------+----------------------+------+-----+---------+-------+
- 12 rows in set (0.00 sec)
- mysql> describe udphdr;
- +-----------+----------------------+------+-----+---------+-------+
- | Field | Type | Null | Key | Default | Extra |
- +-----------+----------------------+------+-----+---------+-------+
- | sid | int(10) unsigned | NO | PRI | NULL | |
- | cid | int(10) unsigned | NO | PRI | NULL | |
- | udp_sport | smallint(5) unsigned | NO | MUL | NULL | |
- | udp_dport | smallint(5) unsigned | NO | MUL | NULL | |
- | udp_len | smallint(5) unsigned | YES | | NULL | |
- | udp_csum | smallint(5) unsigned | YES | | NULL | |
- +-----------+----------------------+------+-----+---------+-------+
- 6 rows in set (0.01 sec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement