Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1,435 Commits

Repository files navigation

NitroWebExpress™

National Finance Engine v2811.1 Author: Maximilian Eric Alexander Rupplin von Keffikon — MEARVK LLC License: LICENSE.md

A multi-module Java 21 telnet/TCP server platform with NIO masquerade routing, AI inference (Strernary™), encrypted chat, fiduciary services, and Tomcat-deployed web frontends. All modules share a common startup/shutdown orchestration system.


Quick Start

# First-time install (handles Java, MySQL, Tomcat, firewall, databases, deploy)
sudo bash scripts/web/post-clone.sh
# Or use the Ubuntu Alpha Restricted installer
sudo bash scripts/install-jwstf.sh
# After git pull on an existing server
bash scripts/compile-all-modules.sh
bash scripts/start-all.sh
# Deploy all module frontends
bash deploy-all-modules.sh
# Verify
bash scripts/status.sh

Module Registry

Core Servers (always started by Main.java)

ModulePortClassPurpose
NitroWebExpress49152MainMain entry point, telnet proxy
AesCompliant5512source.AesCompliantAES-256 encryption server
RsaCompliant7743source.RsaCompliantRSA-2048/4096 encryption server
DsaCompliant7744source.DsaCompliantDSA encryption server
BitcoinCompliant6682source.BitcoinCompliantBitcoin wallet/transaction server
ConnectionStatus49155source.ConnectionStatusServerActive connection tracker
AsciiCreator49177source.ASCIICreatorServerASCII art generator
ModuleInstallation49166source.ModuleInstallationServiceRemote module install/unload
ModuleLoaderDaemon49188ModuleLoaderDaemonStandalone OS-installable daemon
Communicator49199source.communicator.CommunicatorEncrypted 1-hour chat (DH/ECDH)
BinaryHttp49144source.BinaryHttpServerBinary-to-HTTP-link server
Antivirussource.AntivirusScannerClamAV daily scan
Strernary20000strernary.StrernaryServerAI inference (DJL/PyTorch)
StrernaryDirectory2000strernary.StrernaryDirectoryServerPort directory/menu server
NioMasqueradestrernary.NioMasqueradeEngineNIO routing layer (127.0.0.1–17)
BrarnerAletesource-code.MainHTTP comm with Brarner.M.Alete repo

Signal Servers (international TCP endpoints)

ModulePortPurpose
JapanSignal49201Japan signal processing
RussiaSignal49202Russia signal processing
MexicoSignal49203Mexico signal processing
GreeceInternational49204Greece international signal
CalendarD4449200Calendar / scheduling

Submodules (in modules/)

ModuleDirectoryPortContextBackend ClassPurpose
CaliforniaFBImodules/fbi49210/california-fbisource.CaliforniaFBIServerFBI crime reporting, AI categorization, tips.fbi.gov
CaliforniaCIAmodules/cia49211/california-ciasource.CaliforniaCIAServerCIA intelligence reporting, FOIA, cia.gov
CaliforniaNSAmodules/nsa49212/california-nsasource.CaliforniaNSAServerNSA cybersecurity, CISA vulnerability disclosure
DukeUniversitymodules/duke49213/california-dukesource.DukeUniversityServerDuke University college interface, academic queries
StanfordLibrarymodules/library49214/librarysource.StanfordLibraryServerStanford Library catalog, resource requests
Vietnammodules/vietnam49215/vietnamsource.VietnamServerSaving American Names and graces.
Emetermodules/emeter49216/emetersource.EmeterServerE-Meter instruction, calibration, readings
SpectrumTandemmodules/spectrum-tandem49222/spectrum-tandemsource.SpectrumTandemServerDolyene spectrum of int discipline, word bank, county precedent
TandemEqualsmodules/tandem-equals49223/tandem-equalssource.TandemEqualsServerHuman intellect modulator simplex, 4-layer control curve
Chatmodules/chat49230/chatsource.ChatServerEncrypted chat, DH-2048/RSA-2048, federation, file/voice, admin
UNCWmodules/uncw49231/uncwsource.UNCWServerUNCW Wilmington CS club, colleges, chancellor, files, messaging
ArmorerStevemodules/armorer49235/armorersource.ArmorerSteveServerTCP Q&A interface, knowledge base, C/Java hybrid
Fiduciarymodules/fiduciary49240/fiduciarysource.FiduciaryServicesServerACH transfer service, fiduciary outbound connector, C/Java hybrid
GrayPortRegistrymodules/gray9999/gray-registrymodules.gray.source.GrayPortRegistryServerPort registry (30M ports/block), Bitcoin/Dash payment, AI-gated
Gray85Crèmemodules/gray.a8510085/gray85-registrymodules.gray.a85.source.Gray85PortRegistryServerCrème port registry (85% open, 15% locked at $1000 USD)
AE6E66modules/AE6E66/ae6e66source.AE6E66MainUK Parliament contact module, DKIM email
Green.Durham.Grass.and.Herbmodules/Green.Durham.Grass.and.Herb20000/gdghlisteners.BaseListenerLabor/ethical/moral concerns, NC labor laws
Futures (DemocraticAI)modules/red/Futures5000/futuresai.server.DemocraticAIServerDemocratic AI futures, tax defense pipeline
Definedmodules/Defined49220/definedmodules.Defined.source.ai.server.DefinedAIServerDark Gray moral surveillance, 29 categories, NTSB, 12 protocol handlers
Bitcoinmodules/bitcoin/bitcoin(webapp only)Bitcoin wallet webapp frontend
Dictionarymodules/dictionary/dictionary(DB-only)Dictionary lookup, MySQL nwe_dictionary
Calendarmodules/calendar/calendar(webapp only)Calendar and scheduling webapp
Analyticsmodules/analytics/analytics(DB-only)Passive analytics tracking via JSP includes
Black Beltmodules/black-belt/blackbelt(webapp only)Black belt rank module
Languagesmodules/languages/languages(webapp only)Language pack management
Daemonmodules/daemon49188ModuleLoaderDaemonStandalone module loader service
Brarner.M.Aletemodules/black/presidential/Brarner.M.Alete49152/brarner.m.aletesource-code.MainPresidential species/postal/art/science

Script Reference

Orchestration (run from project root)

ScriptPurpose
scripts/start-all.shFull startup: MySQL → Backends → Frontends
scripts/shutdown-all.shFull shutdown: Frontends → Backends → MySQL
scripts/start-backends.shStart all backend TCP servers (per-module)
scripts/shutdown-backends.shStop all backend TCP servers
scripts/start-frontends.shDeploy all webapps to Tomcat
scripts/shutdown-frontends.shUndeploy all webapps
scripts/start-mysql.shStart MySQL
scripts/shutdown-mysql.shStop MySQL
scripts/startup.shStart Main.java directly (G1GC, 4GB heap)
scripts/start-backend-modules.shStart Main.java + verify all 19 ports
scripts/status.shReport status of all services
scripts/compile-all-modules.shCompile all Java sources → out/
scripts/build-jar.shBuild fat JAR (nwe.jar)
scripts/test-local.shFull test suite (TCP, HTTP, XML, integrity)
scripts/install-jwstf.shInstall NWE from Ubuntu Alpha Restricted OS
deploy-all-modules.shDeploy all module frontends to Tomcat

Deployment

ScriptPurpose
scripts/web/post-clone.shFirst-time server setup (Java, MySQL, Tomcat, firewall, databases, deploy)
scripts/web/deploy-all.shDeploy all enabled modules from web-deploy-config.xml
scripts/web/deploy-missing.shRe-deploy modules returning HTTP 404
scripts/ufw-allow-all.shOpen all NWE ports in UFW firewall

Mail (Postfix + Dovecot)

ScriptPurpose
scripts/mail/postfix/install_postfix.shInstall and configure Postfix MTA
scripts/mail/postfix/configure-mail.shFull mail system configuration
scripts/mail/postfix/mail-config.xmlMail configuration (shared with Dovecot)
scripts/mail/dovecot/install_dovecot.shInstall and configure Dovecot IMAP/POP3

Per-Module (run from modules/<name>/)

ScriptPurpose
start-backend.shStart the module's TCP backend server
shutdown-backend.shStop the module's TCP backend server
start-frontend.shDeploy webapp to Tomcat
shutdown-frontend.shUndeploy webapp from Tomcat
start.shLegacy: deploy + start Tomcat (used by start-frontends.sh)
shutdown.shLegacy: undeploy (--stop-tomcat to also stop Tomcat)

Configuration

FilePurpose
configuration/nwe-config.xmlMaster config: ports, admin, servers, scheduling
configuration/masquerade-modules.xmlNIO masquerade module registry + auto-discover
configuration/print-method.xmlOutput formatting, capitalization, color, trademarks
configuration/nio-masquerade-config.xmlNIO layer enable/disable and IP bindings
configuration/protocol-handlers.xmlTelnet command handler registry
configuration/port-2000-directory-config.xmlDirectory server routing config
scripts/web/web-deploy-config.xmlTomcat deploy targets, cron schedules

Communicator™ — Encrypted Chat (Port 49199)

Persistent 1-hour telnet chat server with end-to-end encryption negotiation.

Cipher Options:

#CipherKey SizeNotes
1AES-256-GCM256-bitDefault. Authenticated encryption.
2RSA-20482048-bitDH derives symmetric key, RSA for signing.
3RSA-40964096-bitHigher security RSA variant.
4Twofish-256256-bitBouncyCastle; falls back to AES-256-CBC.
5ECC-secp256r1256-bitECDH key exchange + AES-GCM.
6ChaCha20-Poly1305256-bitModern stream cipher with authentication.

Key Exchange: DH-2048 (RFC 3526 Group 14) for ciphers 1–4,6. ECDH (secp256r1) for cipher 5.

telnet localhost 49199
identify <nationalId>
encrypt 1 ← initiate AES-256-GCM via DH
encrypt accept <your_pubkey_hex> ← complete key exchange
encrypt off ← disable encryption
profile cipher 6 ← save ChaCha20 as default

TandemEquals™ — Human Intellect Modulator (Port 49223)

Four-layer simplex control curve system for perception → cognition → modulation → expression.

TCP Protocol:

telnet localhost 49223
PERCEPTION — list all signals
COGNITION — list all patterns
MODULATION — list all modulators
EXPRESSION — list all outputs
CURVE — list control curves
EVALUATE|<id> — evaluate full simplex path
STATUS — table counts
QUIT — disconnect

Database:nwe_tandem_equals — 6 tables: perception, cognition, modulation, expression, control_curve, intellect_log.


Fiduciary™ — ACH Transfer Service (Port 49240)

TCP server for fiduciary outbound connections and ACH transfer processing. Hybrid C/Java implementation with native fiduciary.c and ach_transfer.c compiled via Makefile alongside Java FiduciaryServicesServer and FiduciaryOutboundConnector.

Database:nwe_fiduciary

Source:modules/fiduciary/source/ — Java server + C native ACH engine.


ArmorerSteve™ — Knowledge Q&A (Port 49235)

TCP Q&A interface with a fulltext-searchable knowledge base. Hybrid C/Java implementation with native armorer.c compiled via Makefile alongside ArmorerSteveServer.java.

Database:nwe_armorer — knowledge_base table with fulltext indexing.


Integrity System

Post-install SHA-256 file verification. Non-blocking — program continues regardless of findings.

Schedule: Every 2 days at 06:00 (0 6 */2 * *)

FilePurpose
integrity/post-install-integrity-check.shMain integrity scan (SHA-256 + MD5)
cron/integrity-check.shCron wrapper for periodic runs
integrity/integrity-schema.sqlMySQL schema for nwe_integrity database

Behavior:

  1. Self-integrity check first
  2. Full SHA-256 + MD5 scan of all git-tracked files
  3. On corruption → auto-restore from GitHub
  4. On update → preserve original digests in integrity/history/
  5. Concerns logged to integrity/concerns/ (non-blocking, append-only)

Database:nwe_integrity — No DELETE on any table. No UPDATE on history or concerns.


Directory Layout

Java.Web.Server.Telnet.Front.Java.21/
├── source/ Core Java source (Main, servers, strernary, communicator)
├── modules/
│ ├── fbi/ CaliforniaFBI (port 49210)
│ ├── cia/ CaliforniaCIA (port 49211)
│ ├── nsa/ CaliforniaNSA (port 49212)
│ ├── duke/ DukeUniversity (port 49213)
│ ├── library/ StanfordLibrary (port 49214)
│ ├── vietnam/ Vietnam (port 49215)
│ ├── emeter/ Emeter (port 49216)
│ ├── spectrum-tandem/ SpectrumTandem (port 49222)
│ ├── tandem-equals/ TandemEquals (port 49223)
│ ├── chat/ NWE Chat (port 49230)
│ ├── uncw/ UNCW Wilmington (port 49231)
│ ├── armorer/ ArmorerSteve (port 49235)
│ ├── fiduciary/ Fiduciary (port 49240)
│ ├── gray/ GrayPortRegistry (port 9999)
│ ├── gray.a85/ Gray85Crème (port 10085)
│ ├── AE6E66/ UK Parliament contact
│ ├── Green.Durham.Grass.and.Herb/ Labor/ethics (port 20000)
│ ├── red/Futures/ Democratic AI (port 5000)
│ ├── Defined/ Dark Gray moral surveillance (port 49220)
│ ├── bitcoin/ Bitcoin wallet frontend
│ ├── dictionary/ Dictionary (DB-only)
│ ├── calendar/ Calendar (webapp)
│ ├── analytics/ Analytics (DB-only, passive)
│ ├── black-belt/ Black Belt (webapp only)
│ ├── languages/ Language packs (webapp only)
│ ├── daemon/ ModuleLoaderDaemon (port 49188)
│ └── black/presidential/ Brarner.M.Alete
├── configuration/ XML config files
├── scripts/ Orchestration, deploy, test scripts
│ └── mail/ Postfix + Dovecot mail system
├── jars/ Dependencies (MySQL connector, Lanterna, DJL)
├── out/ Compiled .class files
├── logging/ NWE main logs
└── data/ PID files, runtime data

Ports Summary

RangeServices
2000StrernaryDirectory
5000Futures (DemocraticAI)
5512AES encryption
6682Bitcoin
7743–7744RSA, DSA
8080Tomcat (all web frontends)
9999Gray Port Registry
10085Gray85 Crème Registry
20000Strernary AI inference
49111–49216NWE core + signal + modules
49220–49223Defined, SpectrumTandem, TandemEquals
49230–49231NWE Chat, UNCW
49235ArmorerSteve (knowledge Q&A)
49240Fiduciary (ACH transfer)

Open all ports:sudo bash scripts/ufw-allow-all.sh


Ubuntu Alpha Restricted Integration

This project is bundled as userland in the Ubuntu.Determinant.Alpha.Restricted distribution at userland/java-web-server/. The OS also provides native C tools:

ToolLocation (in Ubuntu repo)Purpose
fiduciary.ctools/fiduciary/Native ACH transfer engine
ach_transfer.ctools/fiduciary/ACH transfer C implementation
armorer.ctools/armorer/Native armorer knowledge engine
configure-mail.shtools/postfix/Full Postfix/Dovecot mail configuration
install_postfix.shtools/postfix/Postfix MTA installer
install_dovecot.shtools/dovecot/Dovecot IMAP/POP3 installer

These native sources are also kept locally in the corresponding modules/*/source/ directories.


Contact

About

NCIQ - Java Series Finance Engine v.281.1 v.12.1 - By applying these lifelong principles, we consistently make informed, strategic choices. Embracing this disciplined path fosters deep confidence in our capabilities, driving sustainable productivity and economic success as we move forward.

Topics

Resources

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages