fix: increase VARCHAR sizes for direction, eth_type, and ip_proto in packets table for better data handling
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 7s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 7s
This commit is contained in:
@@ -53,12 +53,12 @@ CREATE TABLE IF NOT EXISTS packets (
|
|||||||
|
|
||||||
-- Interface metadata
|
-- Interface metadata
|
||||||
iface VARCHAR(64),
|
iface VARCHAR(64),
|
||||||
direction VARCHAR(16),
|
direction VARCHAR(64),
|
||||||
|
|
||||||
-- Ethernet
|
-- Ethernet
|
||||||
src_mac MACADDR,
|
src_mac MACADDR,
|
||||||
dst_mac MACADDR,
|
dst_mac MACADDR,
|
||||||
eth_type VARCHAR(16),
|
eth_type VARCHAR(64),
|
||||||
|
|
||||||
-- VLAN
|
-- VLAN
|
||||||
vlan_id INTEGER,
|
vlan_id INTEGER,
|
||||||
@@ -66,7 +66,7 @@ CREATE TABLE IF NOT EXISTS packets (
|
|||||||
-- IP layer
|
-- IP layer
|
||||||
src_ip INET,
|
src_ip INET,
|
||||||
dst_ip INET,
|
dst_ip INET,
|
||||||
ip_proto VARCHAR(32),
|
ip_proto VARCHAR(64),
|
||||||
|
|
||||||
-- Transport layer
|
-- Transport layer
|
||||||
src_port INTEGER,
|
src_port INTEGER,
|
||||||
|
|||||||
Reference in New Issue
Block a user