mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-22 20:20:29 +02:00
Dont allow clients to connect to remote nodes quite yet
This commit is contained in:
@@ -22,7 +22,10 @@ export async function listExitNodes(
|
||||
// Accepted for parity with the enterprise implementation (used there for
|
||||
// site-label filtering of remote exit nodes). The OSS build has no remote
|
||||
// exit nodes, so it is unused here.
|
||||
siteId?: number
|
||||
siteId?: number,
|
||||
// Same as above: accepted for parity, unused since the OSS build has no
|
||||
// remote exit nodes to exclude.
|
||||
noRemote = false
|
||||
) {
|
||||
// TODO: pick which nodes to send and ping better than just all of them that are not remote
|
||||
const allExitNodes = await db
|
||||
|
||||
Reference in New Issue
Block a user