Comments (2)
To expand on this, there should also be banned vehicles and usernames. The server scripts can ban vehicles, but the server must be restarted for the changes to apply.
from ror-server.
Hi.
RoRserver has persistent state AUTH_BANNED(32) based on token in authfile - this is checked first when connecting.
There are also IP-bans which are created by "!ban " command and aren't persisted. Nickname is recorded but not checked:
ror-server/source/server/sequencer.cpp
Lines 219 to 225 in 17cc7b5
Draft
- Maintain "blacklist.json" containing existing ban-records:
ror-server/source/server/sequencer.h
Lines 137 to 143 in 17cc7b5
- Add nick-blacklist by adding a "type {IP, NICK, BOTH}" field to the above struct.
- Vehicle bans: add "![un]blacklist " commands, create new struct similar to ban_t and persist it in "blacklist.json" as well.
- Vehicle bans: record { truckfile name/truck full name, GUID }, but those be easily faked, we may need to record node/beam/wheel/command/hydro counts, possibly with custom checksums - whatever data server has available.
from ror-server.
Related Issues (20)
- Make unban command work with blacklist
- Replace copy-pasted libs with poco
- Segfault HOT 1
- Crash on exit
- Crash with current master: bad UTF-8 continuation byte HOT 4
- Use git submodules for dependencies
- not working HOT 2
- Allow visitors to multiplayer servers to see which terrain each person is on HOT 9
- server not start up HOT 4
- Blank lines in config file causes `missing '=' separator` errors HOT 1
- Code formatting
- wont start HOT 1
- Sending chat message results in crash HOT 2
- ScriptEngine error while loading AS script HOT 6
- Crash when disconnecting clients
- Bring back server bot HOT 4
- Server Log Not Updating HOT 3
- Bring back UserAuth HOT 2
- Empty stream registration crash HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ror-server.