summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-12-17Remove some clutter print messagesJesusaves1-5/+2
2020-12-17New function: security.score()Jesusaves4-5/+52
Whenever a bad packet is received or something, it adds a "score" to the conn. If it exceeds a certain threshold (5 for unauthed, 30 for authed users), the connection is killed and IP is blacklisted for BAN_TIME (default: 3 mins)
2020-12-17Move blacklist functions to security.pyJesusaves3-41/+85
2020-12-17Fix a few bugs and ignore the ban files.Jesusaves2-6/+18
2020-12-17Update README instructions, and fix the blacklist system to use dl_searchJesusaves2-1/+14
instead.
2020-12-17Add support for three blacklist filesJesusaves3-5/+41
But technicially, Z-Line and G-Line should be processed before
2020-12-16Initial protocol processing systemJesusaves2-9/+62
2020-12-16Add back the autotools from the old versionJesusaves8-0/+336
2020-12-16Import the good ol' SQL module.Jesusaves4-1/+534
2020-12-16Not sure, but pyflakes might want pass.json?Jesusaves1-0/+1
2020-12-16pass.json may contain secrets, so make a .example out of it.Jesusaves2-3/+4
*I'm also sure that is not the right username/password/db for localhost anyway* *I still am not at SQL stage after all*
2020-12-16Remove unused dependencyJesusaves1-1/+1
2020-12-16Add utils for improved logging.Jesusaves10-11/+1553
Add the placeholder JSONs from earlier.
2020-12-16Add pipelinesJesusaves1-0/+36
2020-12-15Allow server to be run with SSL encryptationJesusaves1-4/+8
It is a hurdle in both Google Play Console as in Python-For-Android
2020-12-15Messages should always be a reply, never a global noticeJesusaves1-5/+1
2020-12-15Always reply to clientsJesusaves1-2/+12
2020-12-09Initial websocket structureJesusaves2-0/+775
2020-12-09Initial commitJesusaves1-0/+23