Skip to content
Snippets Groups Projects
Unverified Commit 4ea71e4e authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Archivist: Checks for range of telnet port

parent e1d1ee42
Branches
1 merge request!12Store honeypot remote port into the archive
...@@ -343,7 +343,9 @@ CREATE TABLE fake_passwords ( ...@@ -343,7 +343,9 @@ CREATE TABLE fake_passwords (
remote INET NOT NULL, remote INET NOT NULL,
remote_port INT, remote_port INT,
name BYTEA NOT NULL, name BYTEA NOT NULL,
password BYTEA NOT NULL password BYTEA NOT NULL,
CHECK(remote_port > 0),
CHECK(remote_port <= 65535)
); );
CREATE TABLE fake_server_activity ( CREATE TABLE fake_server_activity (
date DATE NOT NULL, date DATE NOT NULL,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment