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

Data Diode #88

Open
TheWanderer1983 opened this issue Feb 1, 2024 · 2 comments
Open

Data Diode #88

TheWanderer1983 opened this issue Feb 1, 2024 · 2 comments

Comments

@TheWanderer1983
Copy link

Hello,

What is your reasoning for using a USB/TTL data diode instead of a OSDD fiber data diode ?
https://github.com/Vrolijk/OSDD/blob/main/datadiode_hardware_setups.md

@maqp
Copy link
Owner

maqp commented Feb 20, 2024

That repo was created on January 14, 2022 with this commit. The work on TFC started in 2013.

I did experiment with ethernet-to-fiber converters back in 2013-2014, but ran into issues:

HW configuration consistency: Some guides used converters that required three units, and the ones I received required four units, to mock the carrier signal so the last two converters in the chain would allow data transfer.

Error rate: With udpcast and heavy FEC I was able to get reasonably reliable UDP transfers at ~10% efficiency, and given the cost it didn't seem reasonable. Later inspection showed the adapters might have had moisture damage during shipping or storage, so YMMV.

Cost: The documentation of the project you linked discusses Y-cables which would drop the cost to half of what it was, and the prices have also come down. I paid roughly 120€ for 4x100mbps converters for a single direction data diode, so end user would have had to pay roughly 240€ for the data diode. The list price for the MC210CS is roughly 40€, so it's still 160€ per end user. You might be able to grab one on sale, and since it's a gigabit device the throughput is much better compared to the TTL data diode so if your intent is to transfer large files it's certainly better.

The project is currently in maintenance only because I'm busy with other aspects of my life, so the work to add support for UDP data transfer will have to wait.

@TheWanderer1983
Copy link
Author

TheWanderer1983 commented Mar 23, 2024

Thanks for the response. All good reasons.
Just for interest, here is a paper on this method with error rates with udpcast, pydiode and netcat. They also bench-marked against your data diode.
https://pep23.com/assets/pdf/pep23-paper7.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants