[Release] *Secure* RAServerController and RAServerMonitor

Page 1 of 2 12 LastLast
Results 1 to 15 of 25
  1. #1
    Hardcore Member Lifefire is offline
    MemberRank
    May 2018 Join Date
    USALocation
    115Posts

    note [Release] *Secure* RAServerController and RAServerMonitor

    [Release] *Secure* RAServerController and RAServerMonitor
    Post Restored:
    (This will work for any server version between 6.0.7 - 6.4.2)
    If you use your regular Server Monitor remotely then you are most likely subjective to other people screwing with your server once they get your IP. I have solved that issue by creating a Secured Server Controller and matching Server Monitor.

    Each INI file is also provided as default templates with extra settings, I will not go into detail of each setting in this post but I did put notes in the INI files and you simply need to update it with your current settings plus the info below.

    How it works:
    This new server Controller is built to require user logins and also a ControllerAccessKey, the key you set can be anything you want it to be. However, the MonitorAccessKey must be an exact match to the ControllerAccessKey. Please see below.

    The Controller will never expose it's ControllerAccessKey to the network or the Monitor to make sure it cannot be hacked or bypassed. Instead, the Monitor will send it's MonitorAccessKey to the Controller ONLY AFTER the user has successfully logged into the Monitor based on the Account settings you define in the database you see at the bottom of this post.

    After the Monitor sends it's MonitorAccessKey, the Controller will check it against the ControllerAccessKey to see if it is a match. If they match then you can use your Monitor normally, if they do not match then the Controller will not send any data to the Monitor and not accept any data either.

    The reason i designed it this way is so it has a 2-step Authentication method so if you want to quickly remove a single user you can change their password in the database... If you want to remove all users except yourself you can just change the access key.

    It is also important to note, no one can lock you out of your own Controller since the ControllerAccessKey is located in the INI. There is no possible way for a Monitor to push changes to your Controller's INI file.

    Code:
    [ Config.ini (This is the Controller's INI file) ]
    ;EveryServer Monitor's 'MonitorAccessKey' must match this access alpha-numeric key you create
    ;(example: "KesfD2N4W5LF767Nh23h4dth7dsf65M")
    ControllerAccessKey = "AnyKeyYouWantToUseHere"
    
    [ RAServerMonitor.ini (This is the Monitor's INI file) ]
    ;---------------------------------------------------
    ;Sends this key to the controller for authentication
    ;---------------------------------------------------
    MonitorAccessKey = "This key must match the key in the Controller's Config.ini"
    Download Link:
    The following link contains all of the exe files and required dlls plus template INI files for each exe, make backups of your current ones before replacing them with these. The dll files included are needed.
    Code:
    Secure - RAServerController and RAServerMonitor.rar
    
    https://drive.google.com/uc?export=d...8RGwToXuYoabJg
     
    SideNote - these files must be used as a pair, the Controller will not allow older Monitors to connect to it

    Database Needed:
    To use the Server Controller and Monitor you will need to create the database "MonitorData" then add the tables below. Only add players that you want to grant access to! (See next CODE block for ManageLv access definitions)
    Code:
    CREATE TABLE [dbo].[AccountTable](
        [Account] [varchar](32) NOT NULL,
        [Password] [varchar](32) NOT NULL,
        [ManageLv] [int] NOT NULL,
        [LoggedIn] [int] NOT NULL
    ) ON [PRIMARY]
    GO
    
    CREATE TABLE [dbo].[ActionLog](
        [Account] [varchar](32) NOT NULL,
        [Action] [varchar](64) NOT NULL,
        [Time] [smalldatetime] NOT NULL
    ) ON [PRIMARY]
    GO
    
    CREATE TABLE [dbo].[LoginHistory](
        [Account] [varchar](32) NOT NULL,
        [Type] [varchar](32) NOT NULL,
        [Time] [smalldatetime] NOT NULL
    ) ON [PRIMARY]
    GO
    ActionLog and LoginHistory are log tables only.

    ManageLv Settings:
    These are the Monitor access levels based on the Account and ManageLv you create for anyone that you want to give access to.
    Code:
    ManageLv <= 11: (Monitor Observer Only)
    {
       Function->Enabled  = false;
       Config->Enabled    = false;
       Help->Enabled      = false;
    }
    ManageLv = 12: (Partial Control Only)
    {
       Function->Enabled  = true;
       Config->Enabled    = false;
       Help->Enabled      = true;
    }   
    ManageLv = 13: (Full Control)
    {
       Function->Enabled  = true;
       Config->Enabled    = true;
       Help->Enabled      = true;
    }
    Last edited by Lifefire; 06-09-19 at 04:05 AM. Reason: Fixed a typo


  2. #2
    Hardcore Member Lifefire is offline
    MemberRank
    May 2018 Join Date
    USALocation
    115Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    -----
    Last edited by Lifefire; 31-12-19 at 12:58 PM.

  3. #3
    Hardcore Member mollo is offline
    MemberRank
    Sep 2014 Join Date
    Gamers4LifeLocation
    104Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    Most ppl here dont know anything about coding or working with source. I guess you added a nice security feature but it will take its time to get spread under the right ppl. I will have a look inside your project after I found some free time :D

  4. #4
    Hardcore Member Lifefire is offline
    MemberRank
    May 2018 Join Date
    USALocation
    115Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    Very true Mollo, thank you.

  5. #5
    Newbie Beatraxz is offline
    MemberRank
    Jun 2018 Join Date
    3Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    Appreciate your work. Pretty simple but secure solution with all kind of usefull extras and still easy useable

  6. #6
    Hardcore Member Lifefire is offline
    MemberRank
    May 2018 Join Date
    USALocation
    115Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    Thank you.

  7. #7
    Hardcore Member Mageoski is offline
    MemberRank
    Jul 2015 Join Date
    113Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    Is it possible to get this download again ? I'm trying some things out on my RoMserver. I'm not sure if i can get you some profound feedback of this. And i guess its not that bad to have some updated servercontroller since the old ones were from 2009.

  8. #8
    Hardcore Member Lifefire is offline
    MemberRank
    May 2018 Join Date
    USALocation
    115Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    -----
    Last edited by Lifefire; 14-03-20 at 02:28 PM.

  9. #9
    Hardcore Member mollo is offline
    MemberRank
    Sep 2014 Join Date
    Gamers4LifeLocation
    104Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    well, it takes time till people react. Its not like that there are that many people who could actually work with these files.

  10. #10
    Hardcore Member Lifefire is offline
    MemberRank
    May 2018 Join Date
    USALocation
    115Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    I have updated the original post with the Monitor and Controller.

  11. #11
    Newbie dEFAULT0 is offline
    MemberRank
    Sep 2019 Join Date
    4Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    Greetings, thank you for your work!

  12. #12
    Hardcore Member Mageoski is offline
    MemberRank
    Jul 2015 Join Date
    113Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    Thanks for this release (and to all people who are involved in this).

    I like the look of this new Monitor, and one of the best things in it (yes, you can laugh at me): finally you can scroll completely up and down. That always annoyed me in the original monitor, where you always first had to click the mouse pointer)!

    So, now i have to figure out why kashaylan/splitwater isn't working on my server and then i really start to like it :D My wife is always asking me why i play with it that much the last couple of weeks. Because i'm alone and that isn't fun, lol. I then say, hey its Runes of Magic, my first MMO that i played since the beta. (And i adore the music of it)

    Click image for larger version. 

Name:	Monitor.jpg 
Views:	70 
Size:	378.3 KB 
ID:	165720

  13. #13
    Hardcore Member Lifefire is offline
    MemberRank
    May 2018 Join Date
    USALocation
    115Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    You all are welcome, and thank you for saying thank you as well, it lets me know that my time creating this wasnt wasted. I appreciate it.

  14. #14
    Registered prologe60 is offline
    MemberRank
    Dec 2014 Join Date
    8Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    Woow amazing tool, congratulations Lifefire!!

    I am using it but I have a doubt.

    I get the login without problems but no server appears on the monitor.
    The RAServerController Config.ini file and in the RAServerMonitor, there is a section of [CONTROLLERS] in which the IP address and the port must be entered.

    I tried to put the same port that I had in the old RAServer but it doesn't work.

    How can I know what the port is?

    Thank you very much for the contribution!

    PD: The ControllerAccessKey is the same in both files.

  15. #15
    Hardcore Member Lifefire is offline
    MemberRank
    May 2018 Join Date
    USALocation
    115Posts

    Re: [Release] *Secure* RAServerController and RAServerMonitor

    I recommend port 36759, but 36780 should also work as long as both configs have the same IP and port



Page 1 of 2 12 LastLast

Advertisement