Open cactuspatch opened 7 months ago
Hi. OpenBSD and Grin user and miner here. Let me tell you that it took me a long time to get the grin node running on OpenBSD since I had to sit for many hours to experiment. Let's take things from the beginning.
I'm not a developer. However, with a lot of reading and experimentation the node ran successfully.
OpenBSD is one of the most secure operating systems, if not the most secure! A basic principle of the OpenBSD developers is that under no circumstances should we touch the kernel of the operating system. It is not Linux. Even in communication that I had with some of them they recommended that I not go any further for security reasons. The slightest change is bound to create a crash or security vulnerabilities which we do not want under any circumstances. Of course if you have a deep knowledge of C and Rust language and know how costumize kernels without security holes then you can do it. Although usually the kernel costumize is done by the OpenBSD developers (testing purposes) for new software releases every 6 months. It is not for ordinary users.
This may all seem disappointing to you, but it's not. OpenBSD is definitely the most secure and solid server. So what I do and recommend to those who want to use OpenBSD is to create virtual machines, connect and run Grin nodes over ssh On a vmm you can install debian in cli mode (no desktop environment supported) and connect over ssh. The memory used is very small. Also you can create 3-4 different network interfaces on different machines and run nodes in parallel. OpenBSD is built to have such features!
Conclusion If you really want to help Grin network, create virtual machines, run nodes on the most secure operating system over ssh. Know that nothing breaks the connection (OpenBSD and OpenSSH are real rocks) and all you will need every 6 months is the $ sysupgrade -s command
Any help you need in setting up virtual machines and firewall configuration I am ready to help you
Good Luck!
P.S: Everything I have written relates to older versions of the grin node. I have not tested the latest one. Maybe even more changes and configuration are needed.
openbsd now ships with updated rust packages. (not_rust-up) I'm hoping there can be a successful build on obsd platforms. errors thrown during build process follows:
Second: