Vaultster for Linux
Posted: Mon Jul 20, 2009 8:59 am
Dusts off the forum
As many of you probably know, in the Spring Avlis migrated to Linux VM's on VMWare ESXi server. I'll fess up, I knew that the Linux version of the Vaultster plugin was completely out of date, and IIRC, wasn't compatible with Win32 Vaultster when it was released. I was about halfway done with the port of the current Win32 plugin when I got slammed by RL.
It started as a straight port, but it was too closely tied to the Windows API, so I documented the protocol and rewrote it in (more) portable code using Boost (with the glaring exception of the directory searching bits). In other words, it should be fairly easy to port this back to 'doze.
All support for the GET command was removed. The existing Win32 code base blocks it after the connection has been established, this version returns failure immediately.
The server (receiver) is now standalone. It never made sense to me why it should be tied to a module and vice-versa where a crash in one affected the other. Splitting it off lets you run it on the machine responsible for your vault.
Vaultster Source:
http://www.projectplasma.com/NWN/vaults ... ded.tar.gz
The plugin is located in plugins/vaultster
The server is located in vaultster-serv
You'll need boost::asio, boost::system, boost::program_options and boost::thread to compile. I tested against boost 1.37 backported to Ubuntu 8.04.2. The stock version of Boost for 8.04 is 1.34.1 but that's too old. I haven't checked recently, but I ~think~ there's now an official backport of 1.37 or later for 8.04.
Warning: this is only unit tested, there are probably some wickedly subtle bugs in here that need to be thrashed out. The transfers do pass an md5sum test.
If anybody needs a binary distribution, I've got one compiled for Ubuntu 8.04.2 server using NWNX SVN of about mid-March 09. Send me a PM on the Avlis boards if you're interested.
Ulterior Motives:
Primarily I want some better testing by interested parties. It has passed all of my internal testing, but it really needs more sets of eyes just to make sure I didn't overlook something due to familiarity. The lull in RL that allowed me to finish was only temporary.
Linux should be a viable option for CoPaP. This should address the remaining major hole. The Higher Grounds folks have produced some amazing plugins that are Linux only. I also much prefer the text console to the graphical abomination the Win32 server uses: no more Remote Desktop or VNC needed and it's scriptable. Finally we don't lose CPU cycles or RAM to a useless GUI.
As many of you probably know, in the Spring Avlis migrated to Linux VM's on VMWare ESXi server. I'll fess up, I knew that the Linux version of the Vaultster plugin was completely out of date, and IIRC, wasn't compatible with Win32 Vaultster when it was released. I was about halfway done with the port of the current Win32 plugin when I got slammed by RL.
It started as a straight port, but it was too closely tied to the Windows API, so I documented the protocol and rewrote it in (more) portable code using Boost (with the glaring exception of the directory searching bits). In other words, it should be fairly easy to port this back to 'doze.
All support for the GET command was removed. The existing Win32 code base blocks it after the connection has been established, this version returns failure immediately.
The server (receiver) is now standalone. It never made sense to me why it should be tied to a module and vice-versa where a crash in one affected the other. Splitting it off lets you run it on the machine responsible for your vault.
Vaultster Source:
http://www.projectplasma.com/NWN/vaults ... ded.tar.gz
The plugin is located in plugins/vaultster
The server is located in vaultster-serv
You'll need boost::asio, boost::system, boost::program_options and boost::thread to compile. I tested against boost 1.37 backported to Ubuntu 8.04.2. The stock version of Boost for 8.04 is 1.34.1 but that's too old. I haven't checked recently, but I ~think~ there's now an official backport of 1.37 or later for 8.04.
Warning: this is only unit tested, there are probably some wickedly subtle bugs in here that need to be thrashed out. The transfers do pass an md5sum test.
If anybody needs a binary distribution, I've got one compiled for Ubuntu 8.04.2 server using NWNX SVN of about mid-March 09. Send me a PM on the Avlis boards if you're interested.
Ulterior Motives:
Primarily I want some better testing by interested parties. It has passed all of my internal testing, but it really needs more sets of eyes just to make sure I didn't overlook something due to familiarity. The lull in RL that allowed me to finish was only temporary.
Linux should be a viable option for CoPaP. This should address the remaining major hole. The Higher Grounds folks have produced some amazing plugins that are Linux only. I also much prefer the text console to the graphical abomination the Win32 server uses: no more Remote Desktop or VNC needed and it's scriptable. Finally we don't lose CPU cycles or RAM to a useless GUI.