Skip to content

FCPv2 Peer

David Roden edited this page Mar 27, 2017 · 1 revision

Peer is sent by the Freenet node to a client program in response to a ListPeer, ListPeers, or ModifyPeer message.

It gives the details of a Freenet node that is directly connected to your node (a peer).

Example (build 1134)

 Peer
 lastGoodVersion=Fred,0.7,1.0,1134
 opennet=false
 seed=false
 myName=Somebody's Node
 identity=-~AH0...
 location=0.6699208187881001
 testnet=false
 version=Fred,0.7,1.0,1135
 physical.udp=88.x.x.x:xxxxx
 ark.pubURI=SSK@rsj1.../ark
 ark.number=40
 dsaPubKey.y=Y3DQ...
 dsaGroup.p=AIYI...
 dsaGroup.g=UaRa...
 dsaGroup.q=ALFD...
 auth.negTypes=2
 EndMessage

(Keys and IP addresses have been removed; also, the field myName does not exist in the output if opennet is set to true!)

Note

When you specifiied WithMetadata=true and/or WithVolatile=true in your ListPeer or ListPeers command the output will contain more information about the peer. WithVolatile=true will add the following lines to the output:

 volatile.averagePingTime=1172.3187327786154
 volatile.overloadProbability=77.31471256750754
 volatile.percentTimeRoutableConnection=18.556701030927837
 volatile.routingBackoffPercent=10.194888893854625
 volatile.status=CONNECTED
 volatile.totalBytesIn=29870
 volatile.routingBackoffLength=2000
 volatile.lastRoutingBackoffReason=ForwardRejectedOverload
 volatile.routingBackoff=0
 volatile.totalBytesOut=51821

WithMetadata=true adds the following lines:

 metadata.routableConnectionCheckCount=125
 metadata.hadRoutableConnectionCount=46
 metadata.timeLastConnected=1207738143843
 metadata.timeLastSuccess=1207738140155
 metadata.timeLastRoutable=1207738143843
 metadata.timeLastReceivedPacket=1207738141513
 metadata.detected.udp=x.x.x.x:xxxxx
Clone this wiki locally
You can’t perform that action at this time.