From 42386de84e485c0edab689d573bf458893c7106f Mon Sep 17 00:00:00 2001 From: pessoles Date: Thu, 1 Sep 2005 01:42:26 +0200 Subject: [PATCH] Flood spars des virus darcs-hash:20050831234226-6d78a-197b379577ac5bc2657593429ba5058920b6cb0c.gz --- surveillance/filtrage.sql | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/surveillance/filtrage.sql b/surveillance/filtrage.sql index f080efff..e7846aff 100644 --- a/surveillance/filtrage.sql +++ b/surveillance/filtrage.sql @@ -32,7 +32,16 @@ CREATE TABLE virus ( port_src integer NOT NULL, port_dest integer NOT NULL, CONSTRAINT virus_protocole FOREIGN KEY (id) REFERENCES protocole (id)); - + +-- Table Flood : date | source | destinataire | protocole | port source | port dest +CREATE TABLE virus ( + date timestamp NOT NULL, + ip_src inet NOT NULL, + ip_dest inet NOT NULL, + id integer NOT NULL, + port_src integer NOT NULL, + port_dest integer NOT NULL, + CONSTRAINT flood_protocole FOREIGN KEY (id) REFERENCES protocole (id)); -- Table upload : date | source | destinataire | protocole | port source | port dest | download | upload CREATE TABLE upload (