Clanmod web control panel -1 reply

Please wait...

cloudflint

Go raibh grásta Dé leat

50 XP

6th January 2008

0 Uploads

123 Posts

0 Threads

#1 9 years ago

Hey, so im running a clanmod server, and i was kinda getting tired of having to manually ftp into the config and then go restart the server or spend ages typing in commands through rcon. So i decided to do something about it :D

Basically Im building a web control panel using php. The idea is that when you go to the control panel in your browser it ftp's into your jka server and reads the config. You are then presented with an easy to use menu that lets you alter all the settings in your config. Once you are done you hit apply and it then ftp's the config back up to your jka server and also applies any changes you have made to the config to the server through rcon.

This means that anyone able to host php files could make changes to their server from any device capable of viewing web pages, without having to restart their server or use calculators for working out cvars.

isptcfwidu.jpg

As you can see in this screenshot, options such as cm_empower_infforce can be adjusted with a simple on/off radio switch. settings such as the admin powers and damage flags can be set in the same way. settings such as the clan password just use regular text boxes. The on/off switches are also color coded to make it easy to see what you have enabled.

I have manged to get the system functioning, It seems to be prosessing the server .cfg files ok, it is Rcon-ing into my test server ok and the ftp seems to be funcitoning as well. I just thought i would post it here to see what you all think and to see if anyone has some good ideas :D I figure once I finish it I could release it for outher people to use, though it will need alot of work on the design, security e.t.c before it is ready for that.




Pande

Sexeh like teh gizmo

50 XP

9th April 2008

0 Uploads

610 Posts

0 Threads

#2 9 years ago

I don't have a use, but server owners certainly would! :) Thanks for the addon!




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#3 9 years ago

Be careful with FTP. Passwords sent for FTP logins are not encrypted, meaning any number of computers can steal the password and save it for evil uses. There is a monster virus out there that targets this very vulnerability.

slash rant...?




cloudflint

Go raibh grásta Dé leat

50 XP

6th January 2008

0 Uploads

123 Posts

0 Threads

#4 9 years ago
Be careful with FTP. Passwords sent for FTP logins are not encrypted, meaning any number of computers can steal the password and save it for evil uses. There is a monster virus out there that targets this very vulnerability. slash rant...?

That is actually one of the reasons i am making this. This system should pose less of a security risk since the ftp session is being made from one remote server to the outher, so the client machine never actually has any contact with ftp.

The average client machine used for day to day use is far more likley to pick up a virus and would likley have far more security holes than a server used exclusivley for web hosting. Using this system the ftp session would in most cases be made between two servers both professionally hosted and exclusivley used for web or game hosting, meaning there would be much less chance of either machine having a virus or outher malicious software.

As the passwords would be set in the php config i am also working on enforcing password integrity. If the user has to manually type in their ftp password, they are more likley to have something easy to remember and thus easier to break. With this system i can have it refuse to connect unless the password meets the security requirements.

So overall, this system should improve security by basically removing the user from all direct contact with FTP. Im also looking into having an option to use FTPS as well.




NAB622

EAT ME!

50 XP

8th October 2005

0 Uploads

6,921 Posts

0 Threads

#5 9 years ago
cloudflint;4908411Im also looking into having an option to use FTPS as well.

:nodding: