Forum

> > CS2D > Scripts > [ServerManager] Dev Blog.
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch [ServerManager] Dev Blog.

52 Antworten
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

alt [ServerManager] Dev Blog.

Marcell
Super User Off Offline

Zitieren
∗ Updates ∗

Some new mobile screenshot added

http://xde.hu/image/AK
http://xde.hu/image/AU
http://xde.hu/image/Ah
http://xde.hu/image/AI
http://xde.hu/image/Af

> Information:

Long time ago, i planning to make something really useful for this community. Today i show some information about currently and coming features of this panel.


> Trailer:
https://www.youtube.com/watch?v=77DS_T50scs

> It's have 3 parts:

• The quest page (where servers, blogs, prices, other thinks are listed, etc.)
• The client page (where client able to manage his server, pay his invoices, etc.)
• The admin area (where owner able to create new servers, post news, modify configurations, etc.)

Currently features:

> Server related:

• Managing Servers (create, delete, edit)
• Status of Servers
• Starting Servers
• Restarting Servers
• Stopping Servers
• Changing RCON Password
• OneClick LuaScript Installer

ADDED
New Features

• Ticket System
• Restarting Servers
• Stats::Extract and Old Stats Viewer
• Admin News (add, delete)
• Announcements (add, delete)
• Invoice System
• Package Manager
• New Home page
• Order Managment

Coming features:

• Client Area
• Web Based FTP (with FTP accounts)
• Server-Image Generator
• Web Based RCON
• RealTime In-Game Chat via Webinterface (you dont need to connect for talk)

Website: http://cs2d.hu
Version: 0.0.8

Supported OS:
√ Linux (x86, x64)
× Windows

Screens:
Home (Stats)
Orders
Clients
Servers
Invoice
Tickets
New Stats System Thanks to Nighthawk1037 ∗


Changelog
Spoiler >
19× editiert, zuletzt 30.11.15 12:46:26

alt Re: [ServerManager] Dev Blog.

Yates
Reviewer Off Offline

Zitieren
How will you protect servers from each other Lua based? Linux permissions can't stop Lua from going outside its own directory and into another.

Say I find out what dir a client uses, I could basically ruin their whole server without you knowing.

Just asking, I never was able to resolve that.

alt Re: [ServerManager] Dev Blog.

_Yank
User Off Offline

Zitieren
easy, dirty and limited workarround :
1
2
os.execute = nil
io.popen = nil
make sure that's the first script being executed, chown it to root, make it read only for other users and boom.

alt Re: [ServerManager] Dev Blog.

Yates
Reviewer Off Offline

Zitieren
@user _Yank: The cs2d_dedicated needs certain permissions which are enough to delete that file once found.

It's pretty hard if not impossible to stop it.

alt Re: [ServerManager] Dev Blog.

Marcell
Super User Off Offline

Zitieren
user _Yank hat geschrieben
easy, dirty and limited workarround :
1
2
os.execute = nil
io.popen = nil


It will not solve everything, it still requires a lot of configuration.

alt Re: [ServerManager] Dev Blog.

Hajt
User Off Offline

Zitieren
Maybe scan *.lua files every 1 minute by cron. If os.execute has been detected, kill server. That'll be a little bit stupid but this problem is difficult to solve.

alt Re: [ServerManager] Dev Blog.

Yates
Reviewer Off Offline

Zitieren
@user Hajt: That would still give me one minute, and Lua could ruin a whole server in just under a few seconds. Also, people will need os.execute and io.open for save files and map detection for map voting.

If there was a way to output what the cs2d_dedicated is doing, and stop it when it tries to go into a directory outside it's root.

alt Re: [ServerManager] Dev Blog.

_Yank
User Off Offline

Zitieren
@user Yates: I don't get your point, if the file has the right permissions, the user will not be able delete it. (right ?)

@user Marcell: Why not ?

With that, you could make a system where you can only edit the server.lua through the manager (and it would ensure the script is the first being executed)

But again, this way, makes scripting even more limited.

alt Re: [ServerManager] Dev Blog.

_Yank
User Off Offline

Zitieren
@user Marcell: No after you declare it nil, you'll not be able to use it. So as I said, if you could ensure that's the first thing being executed on the server, it would indeed work.

alt Re: [ServerManager] Dev Blog.

Marcell
Super User Off Offline

Zitieren
Still problem with

Zitat
Yates:

Also, people will need os.execute and io.open for save files and map detection for map voting.

alt Re: [ServerManager] Dev Blog.

Starkkz
Moderator Off Offline

Zitieren
This is why I want developers to use DLL(s)/SO(s) for Lua and not actually static libraries.

@On-topic: Good luck on your project.

alt Re: [ServerManager] Dev Blog.

Starkkz
Moderator Off Offline

Zitieren
Well, on the other hand it would still be necessary to block that DLL/SO because someone could replace it with one that is completely unblocked just with a simple Lua script.

alt Re: [ServerManager] Dev Blog.

_Yank
User Off Offline

Zitieren
Quick suggestion,
an option to choose the administration script (along that automatic rank configuration).

If you're ever going to implement that, I would like if you implemented mine.
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht