From f08a68f9ee936e3564d331ab5e6f7bee281a649e Mon Sep 17 00:00:00 2001 From: "Janus B. Kristensen" Date: Wed, 10 Oct 2007 07:57:23 +0000 Subject: [PATCH] The ipbans table has a list of banned IPs, keep in mind, though that this resets when the MySQL server is restarted, so a single user may not be banned forever (people on non-static IPs shouldn't be able to punish the person getting that IP next anyways) svn path=/trunk/boinc/; revision=13818 --- html/bt/database/bittorrent_ipbans.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 html/bt/database/bittorrent_ipbans.sql diff --git a/html/bt/database/bittorrent_ipbans.sql b/html/bt/database/bittorrent_ipbans.sql new file mode 100644 index 0000000000..016953474e --- /dev/null +++ b/html/bt/database/bittorrent_ipbans.sql @@ -0,0 +1,5 @@ +CREATE TABLE `bittorrent_ipbans` ( + `ip` varbinary(256) NOT NULL default '', + `timestamp` int(14) NOT NULL, + PRIMARY KEY (`ip`) +) ENGINE=MEMORY COMMENT='Banned IPs and when they can be unbanned (reset when SQL-server restarts)'; \ No newline at end of file