DataReelDataReelC++ Toolkit Documentation

DataReel 6.4 Security Design (White Paper)

Release: DataReel 6.4 legacy release (6.4.1 and the 6.4.2 branch), 11/18/2026. Audience: security reviewers, system administrators and developers who maintain programs built on DataReel 6.x. DataReel 6.4 is the legacy release: it gets bug fixes and security updates only. New programs should use DataReel 7.4, whose security design is in its own white paper (https://datareel.com/clib7/security_design.php). This paper was written from the 6.4 source; each section names the files it describes. When this paper and the code disagree, the code wins: report it (section 11).

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 (an Internet-Draft for the Independent Submission stream).

1. What DataReel 6.4 protects, and from whom

DataReel 6.x is a C++ library: an embedded object database (gxDatabase, gxBtree, POD, InfoHog, the page cache and the gxdJournal write-ahead journal since 6.3, and the relational classes), sockets and TLS (gxSocket, gxSSL, HTTP, SMTP, POP3, FTP, IMAP, telnet and the gxStream and gxDatagram database block protocols), threads, strings, containers, configuration and log files. Its security goals are:

DataReel 6.x does not make every connection secure. Unlike DataReel 7, it keeps plain text network classes for compatibility: SMTP, POP3, FTP, HTTP and telnet clients, gxDatagram over UDP, and gxStream over plain TCP when a server opts out of client authentication. It does not encrypt database files at rest, and it does not protect against an attacker who controls the computer a program runs on or who holds a certificate and key a server trusts.

2. TLS

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

3. Database servers on port 2073

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

4. Replication and the 7.x object server

Source: dr7features/include/dr7features.h, dr7features/src/dr7features.cpp, docs/replication_6x.html.

DataReel 6.4 has no replication or object server code of its own. The optional dr7features build (DATAREEL7_FEATURES_DIR, a DataReel 7.4 or later source tree) links the DataReel 7.4 code:

Their security is DataReel 7.4's, with its limits: a replication peer the copy trusts can raise the copy's epoch or replace its data, and the replication digests detect mistakes, not forgeries.

5. Hostile input

Source: RELEASE_NOTES_6.3.txt, RELEASE_NOTES_6.4.txt, RELEASE_NOTES_6.4.1.txt, examples_database/fuzz, examples_general/fuzz, examples_socket/stream_fuzz.

6. Database files

Source: include/gxdbase.h, include/gxdjrnl.h.

7. Use DataReel 6.4 securely

8. Limits, stated plainly

9. FIPS 140-3

DataReel 6.4 is not a FIPS-validated cryptographic module and has no FIPS-only mode of its own. Its TLS uses the TLS library it is built with: on a RHEL system in FIPS mode, the system OpenSSL's FIPS provider; on Windows, Schannel under the Windows FIPS policy, or OpenSSL 3.5 built with its FIPS provider (README_windows_openssl.txt). DataReel 6.4 should not be described as FIPS compliant or FIPS validated. The plain text transports use no cryptography at all.

10. Quantum computing

DataReel leaves key exchange to the TLS library. OpenSSL 3.5 offers the hybrid X25519MLKEM768 group (ML-KEM, NIST FIPS 203) in TLS 1.3 by default, so peers built with it can agree on keys that a future quantum computer cannot recover from recorded traffic, where the system crypto policy allows it. Certificates are RSA or ECDSA. Plain text transports protect nothing, now or later. For traffic that must stay confidential for years, use TLS 1.3 with OpenSSL 3.5, or move to DataReel 7.4.

11. Reporting a security issue

Report security issues privately through the contact page (https://datareel.com/contact.php), not in public issue trackers. DataReel 6.4.x gets security fixes; projects maintained by DataReel Software Development report DataReel issues through DataReel's internal handoff process.