Skip to content

Commit 2f724ba

Browse files
committed
System Touch
1 parent f8560c8 commit 2f724ba

5 files changed

Lines changed: 618 additions & 2 deletions

File tree

configuration/nwe-config.xml

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<!--
3+
NitroWebExpress Configuration
4+
==============================
5+
MEARVK LLC — National Finance Engine v2811.1
6+
Author: Max Rupplin
7+
8+
All ports listed here are the authoritative reference for NWE services.
9+
Port privilege for MODULE_LOADER_DAEMON is established externally by the
10+
national port-aware program and its database. All other ports are bound
11+
locally on startup.
12+
-->
13+
<nwe-config>
14+
15+
<!-- ═══════════════════════════════════════════════════════════════════
16+
MAIN SERVER
17+
════════════════════════════════════════════════════════════════════ -->
18+
<server id="NITRO_WEB_EXPRESS">
19+
<name>NitroWebExpress</name>
20+
<thread>WEBEXPRESS_TELNET_PROXY_SERVER</thread>
21+
<host>localhost</host>
22+
<port>49152</port>
23+
<telnet-enabled>true</telnet-enabled>
24+
<description>Main NitroWebExpress entry point. Telnet-proxy enabled.</description>
25+
</server>
26+
27+
<!-- ═══════════════════════════════════════════════════════════════════
28+
ENCRYPTION SERVERS
29+
════════════════════════════════════════════════════════════════════ -->
30+
<server id="AES_COMPLIANT">
31+
<name>AES 2.0 DSS5.0 Server</name>
32+
<thread>WEBEXPRESS_AES2_SERVER</thread>
33+
<host>localhost</host>
34+
<port>5512</port>
35+
<telnet-enabled>true</telnet-enabled>
36+
<description>AES 2.0 compliant sub-server. Cryptographic compliance layer.</description>
37+
</server>
38+
39+
<server id="RSA_COMPLIANT">
40+
<name>RSA Compliant Server</name>
41+
<thread>WEBEXPRESS_RSA_SERVER</thread>
42+
<host>localhost</host>
43+
<port>7743</port>
44+
<telnet-enabled>true</telnet-enabled>
45+
<description>RSA encryption sub-server.</description>
46+
</server>
47+
48+
<server id="DSA_COMPLIANT">
49+
<name>DSA Compliant Server</name>
50+
<thread>WEBEXPRESS_DSA_SERVER</thread>
51+
<host>localhost</host>
52+
<port>7744</port>
53+
<telnet-enabled>true</telnet-enabled>
54+
<description>DSA encryption sub-server.</description>
55+
</server>
56+
57+
<!-- ═══════════════════════════════════════════════════════════════════
58+
BITCOIN SERVER
59+
════════════════════════════════════════════════════════════════════ -->
60+
<server id="BITCOIN_COMPLIANT">
61+
<name>Bitcoin v24.0+ Masterthread</name>
62+
<thread>WEBEXPRESS_BITCOIN_SERVER</thread>
63+
<host>localhost</host>
64+
<port>6682</port>
65+
<telnet-enabled>true</telnet-enabled>
66+
<description>Bitcoin lightweight trading sub-server.</description>
67+
</server>
68+
69+
<!-- ═══════════════════════════════════════════════════════════════════
70+
STATUS AND UTILITY SERVERS
71+
════════════════════════════════════════════════════════════════════ -->
72+
<server id="CONNECTION_STATUS">
73+
<name>ConnectionStatusServer</name>
74+
<thread>ConnectionStatusServer</thread>
75+
<host>localhost</host>
76+
<port>49155</port>
77+
<description>Returns server status: IP, geo, uptime, memory, connection count.</description>
78+
</server>
79+
80+
<server id="ASCII_CREATOR">
81+
<name>ASCIICreatorServer</name>
82+
<thread>ASCIICreatorServer</thread>
83+
<host>localhost</host>
84+
<port>49177</port>
85+
<description>Binary ASCII signature service. Issues unique signatures per National ID.</description>
86+
</server>
87+
88+
<!-- ═══════════════════════════════════════════════════════════════════
89+
MODULE SERVICES
90+
════════════════════════════════════════════════════════════════════ -->
91+
<server id="MODULE_INSTALLATION">
92+
<name>ModuleInstallationService</name>
93+
<thread>ModuleInstallationService</thread>
94+
<host>localhost</host>
95+
<port>49166</port>
96+
<description>
97+
Install, unload, and manage modules via authenticated TCP session.
98+
Requires National ID identification and admin password for privileged ops.
99+
</description>
100+
</server>
101+
102+
<server id="MODULE_LOADER_DAEMON">
103+
<name>ModuleLoaderDaemon</name>
104+
<thread>ModuleLoaderDaemon</thread>
105+
<host>localhost</host>
106+
<port>49188</port>
107+
<description>
108+
Standalone OS-installable module loader daemon. Runs independently;
109+
can be installed as a systemd/launchd/Windows service. Supports
110+
remote push, pull, and replication to other ModuleLoaderDaemon instances.
111+
Port privilege is granted by the national port-aware program and
112+
its external database before clients may perform write operations.
113+
</description>
114+
<port-authority>
115+
<!-- Token store is populated at runtime by the national port-authority
116+
database. If empty, local/trusted access is permitted without token. -->
117+
<tokens-required>true</tokens-required>
118+
<authority-db>national-port-registry</authority-db>
119+
</port-authority>
120+
</server>
121+
122+
<!-- ═══════════════════════════════════════════════════════════════════
123+
REMOTE / EXTERNAL SERVERS (for outbound connections)
124+
════════════════════════════════════════════════════════════════════ -->
125+
<remote-server id="AES_REMOTE">
126+
<name>AES 2.0 Remote Server</name>
127+
<domain>mearvk.us</domain>
128+
<ip>45.32.31.139</ip>
129+
<description>Production AES remote target.</description>
130+
</remote-server>
131+
132+
<remote-server id="BITCOIN_REMOTE">
133+
<name>Bitcoin v24.0+ Remote Server</name>
134+
<domain>mearvk.us</domain>
135+
<ip>45.32.31.139</ip>
136+
<description>Production Bitcoin remote target.</description>
137+
</remote-server>
138+
139+
</nwe-config>

source/Main.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ public class Main
5555

5656
protected static final String ASCII_CREATOR_SERVER_HOST = "localhost";
5757

58+
protected static final Integer MODULE_LOADER_DAEMON_PORT = loader.ModuleLoaderDaemon.PORT;
59+
60+
protected static final String MODULE_LOADER_DAEMON_HOST = "localhost";
61+
5862
public static void main(String...args)
5963
{
6064
Main main = new Main();
@@ -112,6 +116,8 @@ public Main()
112116

113117
NITRO.BRIDGE.ASCII_CREATOR_SERVER = new NitroWebExpress.Aspect.ASCIICreatorServer(ASCII_CREATOR_SERVER_HOST);
114118

119+
NITRO.BRIDGE.MODULE_LOADER_DAEMON = new loader.ModuleLoaderDaemon(MODULE_LOADER_DAEMON_HOST);
120+
115121
NITRO.BRIDGE.MYSQL_COMPONENT = new NitroWebExpress.Aspect.MySQLComponent();
116122

117123
NITRO.BRIDGE.MYSQL_COMPONENT.print(this);

0 commit comments

Comments
 (0)