Add the known alts panel, which prevents suspicious login logs for whitelisted ckeys (#62520)

* Known alts panel

* Add notice before opening panel

* DB_MINOR_VERSION

* Better ban panel default

* Revert dbconfig

* Add TTL

* Add qdels
This commit is contained in:
Mothblocks
2021-11-08 20:43:52 +11:00
committed by GitHub
parent 76cee651a6
commit 6b3103e612
10 changed files with 257 additions and 3 deletions
+12
View File
@@ -663,6 +663,18 @@ CREATE TABLE `SS13_admin_connections` (
UNIQUE INDEX `unique_constraints` (`ckey`, `ip`, `cid`)
) ENGINE=InnoDB;
--
-- Table structure for table `known_alts`
--
DROP TABLE IF EXISTS `SS13_known_alts`;
CREATE TABLE `SS13_known_alts` (
`id` INT NOT NULL AUTO_INCREMENT,
`ckey1` VARCHAR(32) NOT NULL,
`ckey2` VARCHAR(32) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `unique_contraints` (`ckey1` , `ckey2`)
);
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;