Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Support 1 application per plug-in, multiple plug-ins per node #25
Currently, if a node wants to run multiple applications, it must write its plugin to manage those applications and track which sockets belong to which applications. This should be done in shadow, so that a plug-in that runs Tor is completely separate from a plug-in that runs a file server.
Shadow can track which application creates which sockets by keeping a cached pointer to the application before calling into its code. Then if any interceptions happen while in the application context, the sockets that are created/deleted, etc, can be linked to that application. Communication between applications on a single virtual node (localhost) should go through a high-bandwidth shadow interface.