Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Released data diode system information #53

Merged
merged 38 commits into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
db850be
feat: creating sample Go module
TechSolomon Nov 3, 2023
4d4b447
feat: example error handling
TechSolomon Nov 3, 2023
cfe708c
refactor: random example communication message
TechSolomon Nov 3, 2023
d5184a2
feat: example map data type (slice) & test cases
TechSolomon Nov 4, 2023
cded158
Template for suggested experimental expectations (#24)
TechSolomon Mar 2, 2024
034b7ba
Merge branch 'dev' of github.com:acep-uaf/data-diode into dev
TechSolomon Mar 5, 2024
867925f
fix: text cache source location
TechSolomon Mar 5, 2024
7676ab7
Delete `message` directory
TechSolomon Mar 5, 2024
b630302
Delete `example` directory
TechSolomon Mar 5, 2024
7d4f705
bump: latest Go milestone (minor release)
TechSolomon Mar 5, 2024
d25f5a9
Topic levels for MQTT (#27)
TechSolomon Mar 10, 2024
9a7f7f1
docs: finalize project directory structure
TechSolomon Mar 10, 2024
2c24f25
refactor: variables for testing content publisher
TechSolomon Mar 10, 2024
aadd7d9
feat: placeholder client + server (I/O)
TechSolomon Mar 12, 2024
56e17f6
refactor: data diode settings & connection constants
TechSolomon Mar 12, 2024
3cae110
refactor: application constants with minimal error handling
TechSolomon Mar 12, 2024
63f2ea8
fix: brange merge conflicts via command line
TechSolomon Mar 13, 2024
a9ba3e4
deps: remove outdated string metrics library
TechSolomon Mar 13, 2024
a09895f
docs: create B4-0144-355112.json (via Fend_B4_4.0.2.fw)
TechSolomon Mar 14, 2024
5010e61
refactor: diode test variables
TechSolomon Mar 14, 2024
16d57a0
docs: mock external API for schema validation
TechSolomon Mar 14, 2024
af9ef76
Mock system connection & message crafting (#34)
TechSolomon Mar 22, 2024
541088f
feat: MQTT test subscription + application (client/server)
TechSolomon Mar 22, 2024
88b9bf7
refactor: diode test command & server continuous stream
TechSolomon Mar 23, 2024
9d27891
Merge branch 'main' into dev
TechSolomon Mar 25, 2024
ffcf54d
fix: broken build with undefined import
TechSolomon Mar 25, 2024
bd39b60
refactor: draft goroutine for server connection(s)
TechSolomon Mar 25, 2024
bad9451
Merge remote-tracking branch 'origin/main' into dev
TechSolomon Mar 25, 2024
21d8678
nit: minor code format
TechSolomon Mar 25, 2024
16a479e
refactor: remove duplicate function contents
TechSolomon Mar 25, 2024
b033a84
Updated configuration flow of control (#38)
TechSolomon Apr 1, 2024
85e8c4e
docs: update main program directory name
TechSolomon Apr 1, 2024
e120498
Saturate components for testing diode system behavior (#42)
TechSolomon Apr 19, 2024
57b2f37
refactor: Dockerfile command, MQTT broker ports, & code comments
TechSolomon Apr 20, 2024
2936e11
Merge branch 'main' into dev
TechSolomon Apr 20, 2024
0b3f5eb
docs: build requirements for `make`
TechSolomon Apr 26, 2024
d58628a
fix: match MQTT client ID
TechSolomon Apr 27, 2024
0b67fa1
Merge branch 'main' into dev
TechSolomon Apr 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
BIN_NAME=diode
BIN_VERSION=0.1.3
BIN_VERSION=0.1.4
BIN_DATE=$(shell date +%FT%T%z)

all: build
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Scripts for verifying TCP passthrough functionality.
- Clone repository: `gh repo clone acep-uaf/data-diode`
- Source navigation: `cd data-diode`
- Build binary: `make`
- [`build-essential`](https://packages.ubuntu.com/focal/build-essential)
- CLI: `./diode [options...]`

#### Branch Management
Expand Down
2 changes: 1 addition & 1 deletion utility/republisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func UnencapsulatePayload(message string) string {

func PublishPayload(server string, port int, topic string, message string) {
location := fmt.Sprintf("tcp://%s:%d", server, port)
opts := mqtt.NewClientOptions().AddBroker(location).SetClientID("out_rev_string")
opts := mqtt.NewClientOptions().AddBroker(location).SetClientID("out_rec_string")

client := mqtt.NewClient(opts)
if token := client.Connect(); token.Wait() && token.Error() != nil {
Expand Down