On Wed, Oct 25, 2023 at 11:00 PM John Forecast <john(a)forecast.name> wrote:
Hi Dan,
From the network receive/transmit side that would certainly be possible with minimal,
if any, kernel changes. Unfortunately you still have to worry about the application APIs
(connect(), accept(), read(), write() etc) and there is no easy way to hoist them into
userspace without substantial kernel changes. You would need something similar to FUSE.
Hi John, thanks for the note back.
For the application-side system calls, I suppose I thought that one
might fake most of it by clever use of LD_PRELOAD or the like to
overload socket(), connect(), et al, and redirect those to an RPC-ish
protocol over a Unix domain socket to the DECnet server. But that
obviously won't support existing binaries that make raw system calls
(as opposed to invoking stubs in the C library).
- Dan C.
On Oct 25,
2023, at 10:31 PM, Dan Cross <crossd(a)gmail.com> wrote:
On Tue, Oct 24, 2023 at 10:50 PM John Forecast <john(a)forecast.name> wrote:
Sometime around mid-2022 the Linux kernel
developers decided to remove the DECnet code from the Linux
kernel. Kernel 6.0.x was the last release which included source code for a DECnet
implementation. More
recently, there has been some discussion around removing the code from the Long Term
Support kernels.
These changes mean that the repository I have been maintaining at
<https://github.com/JohnForecast/RaspbianDECnet> can no longer be installed on
recent releases.
Over the past year or so, I have been working on a replacement for this repository with
the following
characteristics:
- Designed to be built as an external kernel module
John, forgive me if this question is obtuse, but I'm curious: is there
any reason this couldn't be hoisted entirely into userspace and built
using TAP/TUN, which would put a (relatively) clean interface between
DECnet and the kernel?
- Dan C.
_______________________________________________
HECnet mailing list -- hecnet(a)lists.dfupdate.se
To unsubscribe send an email to hecnet-leave(a)lists.dfupdate.se
_______________________________________________
HECnet mailing list -- hecnet(a)lists.dfupdate.se
To unsubscribe send an email to hecnet-leave(a)lists.dfupdate.se