diff --git a/surveillance/filtrage.sql b/surveillance/filtrage.sql index 281feca4..2c224ad2 100644 --- a/surveillance/filtrage.sql +++ b/surveillance/filtrage.sql @@ -55,6 +55,19 @@ CREATE TABLE flood ( upload bigint NOT NULL, CONSTRAINT upload_protocole FOREIGN KEY (id) REFERENCES protocole (id)); +-- Table dump : date | source | destinataire | protocole | port source | port dest | download | upload + CREATE TABLE dump ( + date timestamp NOT NULL, + ip_crans inet NOT NULL, + ip_ext inet NOT NULL, + id integer NOT NULL, + port_crans integer NOT NULL, + port_ext integer NOT NULL, + download bigint NOT NULL, + upload bigint NOT NULL, + CONSTRAINT upload_protocole FOREIGN KEY (id) REFERENCES protocole (id)); + + -- Table p2p : date | source | destinataire | protocole p2p | port source | port dest CREATE TABLE p2p ( date timestamp NOT NULL,