> Tavin is fixing the entire store isnt he? But WHILE he does that we could
> get a node harvester up and running. We need that anyway right? Or the
> poor seedNodes will be overwhelmed when someone post about 0.5 freenet on
> slashdot.
>
> I can help with the PHP, so if anyone can spec up a system, send me a mail
> and I'll help do the dirty PHP scripting ;)

This is dirty, but it would work really quickly: have some NodeStatus
servlets running on permanent nodes accept connections from another computer
(say, hawk.freenetproject.org) which would suck down
http://[node]/noderefs.txt?minCP=0.0&minConnections=1 at a regular basis and
write the results to a static file (seednodes.ref). People would request
seednodes.ref without any overhead on the server (except a cron job). Dirty,
but this could be set up in a matter of minutes.

wget node1:8889/noderefs.txt?minCP=0.0&minConnections=1 -O node1.ref
wget node2:8889/noderefs.txt?minCP=0.0&minConnections=1 -O node2.ref
...
wget nodeN:8889/noderefs.txt?minCP=0.0&minConnections=1 -O nodeN.ref
cat *.ref > htdocs/seednodes.ref

--Will


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to