Can I manage sets of darknet nodes through ssh?

<damiengray-q7wo9g+UVklWk0Htik3J/[email protected]> Tue, 2 Oct 2018 13:59:20 +0200 (CEST)
Newsgroups gmane.network.freenet.support
Message-ID <[email protected]>
------=_Part_109674_1844134302.1538481560401
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Is it possible to manage sets of darknet nodes through ssh?=20

That is, can I directly edit the ~/freenet/peers-* and ~/freenet/extra-peer=
-data-*/0 files, rather than adding and removing peers through FProxy's dia=
logs? Am I correct that the freenet daemon reads those files when starting,=
 and then updates them while running and/or when stopping?
Working with a small darknet, I see that most of the lines for a particular=
 peer are the same in ~/freenet/peers-* files for all nodes. Some are alway=
s different in different nodes, but they seem to be just historical data:

totalInput
totalOutput
metadata.hadRoutableConnectionCount
metadata.peersLocation
metadata.routableConnectionCheckCount
metadata.timeLastConnected
metadata.timeLastReceivedAck
metadata.timeLastReceivedPacket
metadata.timeLastRoutable

Can I just not include them, when configuring new nodes to peer with other =
nodes in my darknet? Or should I set default initial values?

Although the values for "full.sigP256", "full.ark.number", and "full.physic=
al.udp" for a particular peer are not the same in ~/freenet/peers-* files i=
n all nodes, they do appear in multiple nodes. Can I use one valid set of t=
hose values when configuring new nodes?

For a particular peer, there is also variability among nodes in the first l=
ine of the "0" files in ~/freenet/extra-peer-data-12345/eb.................=
......................Mc/. For example, in some nodes I see:

$ cat ~/freenet/extra-peer-data-12345/eb...................................=
....Mc/0
=C2=A0=C2=A0 Ozj....................Mc/0
=C2=A0=C2=A0 peerNoteType=3D1
=C2=A0=C2=A0 privateDarknetComment=3DQ2....................................=
....Fh
=C2=A0=C2=A0 extraPeerDataType=3D2
=C2=A0=C2=A0 End

But in others, I see:

$ cat ~/freenet/extra-peer-data-54321/eb...................................=
....Mc/0
=C2=A0=C2=A0 zj....................Mc/0
=C2=A0=C2=A0 peerNoteType=3D1
=C2=A0=C2=A0 privateDarknetComment=3DQ2....................................=
....Fh
=C2=A0=C2=A0 extraPeerDataType=3D2
=C2=A0=C2=A0 End

Can I just use one of those values ("Ozj..." or "zj...") when configuring n=
ew nodes?
------=_Part_109674_1844134302.1538481560401
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta http-equiv=3D"content-type" content=3D"text/html; charset=3DUTF-8=
">
  </head>
  <body>
Is it possible to manage sets of darknet nodes through ssh? <br /><br /><di=
v>That is, can I directly edit the ~/freenet/peers-* and ~/freenet/extra-pe=
er-data-*/0 files, rather than adding and removing peers through FProxy's d=
ialogs? Am I correct that the freenet daemon reads those files when startin=
g, and then updates them while running and/or when stopping?</div><div><br =
/></div>Working with a small darknet, I see that most of the lines for a pa=
rticular peer are the same in ~/freenet/peers-* files for all nodes. Some a=
re always different in different nodes, but they seem to be just historical=
 data:<br /><br />totalInput<br />totalOutput<br />metadata.hadRoutableConn=
ectionCount<br />metadata.peersLocation<br />metadata.routableConnectionChe=
ckCount<br />metadata.timeLastConnected<br />metadata.timeLastReceivedAck<b=
r />metadata.timeLastReceivedPacket<br />metadata.timeLastRoutable<br /><br=
 />Can I just not include them, when configuring new nodes to peer with oth=
er nodes in my darknet? Or should I set default initial values?<br /><br />=
Although the values for &quot;full.sigP256&quot;, &quot;full.ark.number&quo=
t;, and &quot;full.physical.udp&quot; for a particular peer are not the sam=
e in ~/freenet/peers-* files in all nodes, they do appear in multiple nodes=
. Can I use one valid set of those values when configuring new nodes?<br />=
<br />For a particular peer, there is also variability among nodes in the f=
irst line of the &quot;0&quot; files in ~/freenet/extra-peer-data-12345/eb.=
......................................Mc/. For example, in some nodes I see=
:<br /><br />$ cat ~/freenet/extra-peer-data-12345/eb......................=
.................Mc/0<br />&nbsp;&nbsp; Ozj....................Mc/0<br />&n=
bsp;&nbsp; peerNoteType=3D1<br />&nbsp;&nbsp; privateDarknetComment=3DQ2...=
.....................................Fh<br />&nbsp;&nbsp; extraPeerDataType=
=3D2<br />&nbsp;&nbsp; End<br /><br />But in others, I see:<br /><br />$ ca=
t ~/freenet/extra-peer-data-54321/eb.......................................=
Mc/0<br />&nbsp;&nbsp; zj....................Mc/0<br />&nbsp;&nbsp; peerNot=
eType=3D1<br />&nbsp;&nbsp; privateDarknetComment=3DQ2.....................=
...................Fh<br />&nbsp;&nbsp; extraPeerDataType=3D2<br />&nbsp;&n=
bsp; End<br /><br />Can I just use one of those values (&quot;Ozj...&quot; =
or &quot;zj...&quot;) when configuring new nodes?  </body>
</html>

------=_Part_109674_1844134302.1538481560401--