Download Mako Server for QNX 7

The QNX 7.0 and 7.1 Mako Server downloads include binaries for x86_64, armv7le, and aarch64le.

The Mako Server binaries for QNX are based on the Barracuda App Server QNX Source Code Library.


Slinger and CGI Scripts

We provide a CGI plugin that lets you use existing Slinger CGI scripts/programs with the Mako Server. The CGI plugin comes included with our LSP-Examples GitHub repository. The Mako Server correctly parses URLs, and the directory traversal vulnerability in the original QNX Slinger web server is not possible with the Mako Server's CGI plugin.

Download:

Copy the following and paste into a QNX shell:

curl makoserver.net/download/MakoServer.QNX7.1.tar.gz -o MakoServer.QNX7.tar.gz tar xvzf MakoServer.QNX7.tar.gz cd MakoServer ./RunTutorials.sh

QNX 7.0 users: change 7.1 in the above command to 7.0.

The last command above detects the CPU type, starts the applicable executable, and loads the tutorials. After the server starts, use a browser and navigate to http://target-ip-address

Note: All QNX binaries have been compiled with optimization turned off.

How to Integrate Your Own C Modules in the Pre-Compiled Mako Server

The Mako Server can directly integrate your C APIs and make them available to server side Lua scripts. The C Module Example is compatible with QNX, but you must set up the build environment as follows:

wget makoserver.net/download/MakoModuleExample.zip Unzip MakoModuleExample.zip cd MakoModuleExample\make call %USERPROFILE%\qnx710\qnxsdp-env.bat set CC=qcc make

The above set of commands compiles and produces a shared library for QNX x64. Copy the shared library to the QNX target and place the shared library in the same directory as the Mako Server executable. See the C Module Example for details.

Using the Mako Server as a Photon microGUI Replacement

The Mako Server is great for creating web based dashboard applications. You can use our dashboard template as a starting point. The included Web File Manager and WebDAV server makes it easy to access and work with files directly on the QNX file system without having to copy files to and from your host computer. The Linux Web Shell is compatible with QNX, making it easy to access your QNX system without using SSH. External Intranet access can be set up using the SharkTrustX Service. We also include a QNX PPS plugin, which provides a bridge between WebSockets and the QNX Persistent Publish Subscribe (PPS) service, enabling easy web based pub/sub real time communication with any existing PPS service.

Figure 1: Windows mapped WebDAV share, the Web File Manager, and the Web Shell connected to QNX.