-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is exactly the type of thing I was worried would happen. Automated access to information about the node is exactly what FCP is intended for, and exactly what fproxy isn't intended for. We definitely should not be encouraging people to write scripts to scrape fproxy pages by trying to make them easier to parse. Fproxy is not, and will never be intended to provide a stable API for this kind of thing.

Please revert this, and instead, work on bug #200 (https:// bugs.freenetproject.org/view.php?id=200)

Ian.

On 1 Jul 2006, at 22:09, David 'Bombe' Roden wrote:

Hi, everyone.

I added a raw mode to the darknet connections page to allow scripts to
make it easier to periodically record the node's status. The general
line format is

[0-9]{3}:([0-9]+:)?.*

Or: 3 digits (status identifier) followed by a colon, an optional
counter followed by a colon, and the status value/text.

Example:

014:289415
036:1:DISCONNECTED

Following identifiers are used so far:

001: number of connected nodes
002: number of backed off nodes
003: number of too new nodes
004: number of too old nodes
005: number of disconnected nodes
006: number of never connected nodes
007: number of disabled nodes
008: number of listening nodes
009: bwlimitDelayTime (in ms)
010: nodeAveragePingTime (in ms)
011: networkSizeEstimate (in nodes)
012: missRoutingDistance (float)
013: backedOffPercent (float from 0.0 to 1.0)
014: nodeUptime (in ms)
015: number of running inserts
016: number of running requests
017: number of transferring requests
018: number of ARK fetching requests
019: number of nodes with no backoff reason
020: number of nodes with backoff reason "Timeout"
021: ..."Timeout2"
022: ..."Timeout3"
023: ..."FatalTimeout"
024: ..."AcceptedTimeout"
025: ..."ForwardRejectedOverload"
025: ..."ForwardRejectedOverload2"
025: ..."ForwardRejectedOverload3"
025: ..."ForwardRejectedOverload4"
025: ..."ForwardRejectedOverload5"
025: ..."ForwardRejectedOverload6"
031: ..."AfterInsertAcceptedTimeout"
032: ..."AfterInsertAcceptedTimeout2"
033: unknown backoff reason
034:n: node number n's name
035:n: hashcode
036:n: node status string
037:n: average ping time
038:n: detected address
039:n: version
040:n: location
041:n: remaining backoff time (in ms) (only if node is backed off)
042:n: total backoff time (in ms) (only if node is backed off)
043:n: last backoff reason (only if node is backed off)
044:n: time peer was added (if peer was never connected)
045:n: idle time (if peer is/was connected)
046:n: fetches ARK (true/false)

Counters always start at 0.

If you need something more, just let me know.

        David
_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)

iD8DBQFEqBXlQtgxRWSmsqwRAkDZAJ9hIZYZ6N8oM4MTy31Ppr5nl/ZegwCfSqin
c7ruwW0mgrLn93lbi+y+6FY=
=F8gw
-----END PGP SIGNATURE-----
_______________________________________________
Devl mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to