DataReelDataReelC++ Toolkit Documentation

DataReel 7.4 Security Design (White Paper)

Release: DataReel 7.4 (the 7.4.1 branch), 11/18/2026. Audience: security reviewers, system administrators and developers deciding whether to trust DataReel with their data and their network traffic. DataReel is free software and its source is published, so everything in this paper can be checked against the code; the design does not depend on keeping any of it secret. Each section names the source files it was written from. When this paper and the code disagree, the code wins, and the paper is wrong: report it (section 12).

The companion papers are the gxStream and replication white paper, which explains the database protocol on the IANA-registered port 2073, and its protocol specification (docs/rfc/draft-gaer-datareel-gxstream-00.txt, an Internet-Draft for the Independent Submission stream).

1. What DataReel protects, and from whom

DataReel is a C++ library, not a program: it has an embedded object database (gxDatabase, gxBtree, POD, InfoHog, gxdJournal, gxVectorIndex), TLS network classes (gxsTLSConnection, gxsTLSServer) and protocols built on them (HTTPS, SMTP, POP3, IMAP, FTPS and gxStream, the database block protocol). Its security goals are:

DataReel does not encrypt database files at rest. Data written with gxDatabase is stored as the application wrote it; an application that needs encryption at rest encrypts its records itself or keeps the files on an encrypted file system. (DataReel's own products that do encrypt at rest, the Encrypted Password Database and fcrypt, have their own security papers.) DataReel does not protect against an attacker who controls the computer a DataReel program runs on, or who holds a valid certificate and key that a server trusts.

2. TLS on every network protocol

Source: include/gxstls.h, src/gxstls.cpp, src/gxssl.cpp, src/gxsschan.cpp.

3. Mutual TLS for database servers

Source: include/gxstls.h, include/gxstream.h, src/gxstls.cpp.

4. The database protocol on port 2073

Source: include/gxstream.h, src/gxstream.cpp, include/gxheader.h, include/gxdbserver.h, src/gxdbserver.cpp, include/gxdbmux.h, src/gxdbmux.cpp, include/gxdbobject.h, src/gxdbobject.cpp. The protocol itself is described in the gxStream and replication white paper.

5. Replication

Source: include/gxobjrepl.h, src/gxobjrepl.cpp, docs/replication_admin_guide.md.

The running digests are 64-bit FNV-1a hashes: they detect a mistake (two nodes with different histories, a lost or repeated frame), not a forgery. The protection against a forged stream is the mutual TLS check: any peer whose certificate the copy accepts is trusted with the stream, including raising the epoch and sending a full replacement of the copy's data (section 10).

6. Hostile input from files and the network

Source: src/gxdbase.cpp, src/gxbtree.cpp, src/gxvindex.cpp, src/gxdbmux.cpp, src/gxobjrepl.cpp, tests/damaged_files.cpp, tests/fuzz/.

7. Database files

Source: include/gxdbase.h, include/gxdjrnl.h, src/gxdjrnl.cpp, include/gxproclock.h.

8. How DataReel is checked

9. Use DataReel securely

10. Limits, stated plainly

11. FIPS 140-3 and quantum computing

FIPS 140-3. DataReel itself is not a FIPS-validated cryptographic module, and it has no FIPS-only mode of its own; all of its cryptography is done by the TLS library it is built with. On a RHEL system in FIPS mode, the system OpenSSL uses its FIPS provider, so DataReel's TLS connections use only the algorithms that provider allows. The Windows OpenSSL builds described in README_windows_openssl.txt include the OpenSSL 3.5 FIPS provider. Schannel follows the Windows FIPS policy setting. DataReel should not be described as FIPS compliant or FIPS validated; sites that require FIPS-validated cryptography should check their configuration with their security office.

Quantum computing. A large quantum computer, if one is built, would break the RSA and elliptic curve cryptography that TLS certificates and classic key exchange use today. Where DataReel stands:

12. Reporting a security issue

Report security issues privately through the contact page, not in public issue trackers. Projects maintained by DataReel Software Development report DataReel issues through DataReel's internal handoff process. Fixes go into the next release: 7.4.x for DataReel 7, and 6.4.x (bug fixes and security updates only) for the legacy DataReel 6 release.