With the most recent update, hostban.txt now gets reloaded (in 30s intervals) if a change is made. This allows for us to actually use session-based bans. Because of this, I decided to re-write DreamConfig and open-source it this time. I wanted to get some pre-release testing done, if I could, to make sure I didn't miss anything. I've already done some testing myself, but there's no real test better than normal usage.
You can grab the binary that I compiled and packaged with tar here. There might be some issues with glibc versions, so let me know and I can re-compile it with an earlier version. If for some reason you don't want to trust my compiled version, or you can't get it to work and want to compile it yourself, the source can be found here. Once you have git installed, it's as simple as:
git clone git://git.audeuro.com/dreamconfig.git
And some usage information:
DreamConfig [action] [options] action: ban unban options: -a -key banKey -ip banIp -type banType -reason banReason -message banMessage -pid sessionPid -time expirationTime banType: (Optional) Must be one of: 'sticky' or 'key'. sessionPid: The PID of the Dream Daemon process that this ban should apply to. expirationTime: The length of time (in seconds) from now that this ban should last. * If the -a flag is set, only sets options that are present. * banMessage and banReason must be enclosed in quotes. * banMessage is displayed to the user. * If expirationTime is not expired, the ban will be permanant.
I removed the friends functionality that was in the first version for now. Any suggestions or feedback you're welcome to post in this thread.
And received the files, how do I install/use them?
root@CENSORED_IP:~/dreamconfig# DreamConfig ban -key MasterSpectra -time 60 -reason "Because I can"
-bash: DreamConfig: command not found