----- Original Message -----
From: "Are" <[email protected]>
To: <devl at freenetproject.org>
Sent: Monday, November 12, 2001 9:47 AM
Subject: Re: [freenet-devl] State of Freenet #2


>> That would be easy enough to do (but I'd build it without the pretty
graphical crap).  Just need a >>mailing list to send stuff to (support?) and
an SMTP server for sending the e-mail, which can be set in >>the Freenet
node config file.  We just need to decide what kind of information needs to
be sent.  Last >>1k of the log file?  Do we want to add an option for users
to put comments in?

>As I said in an eariler mail, why cant you just post the debug info
>somewhere on freenet? Like a special Frost message board? I dont think
>someone running Freenet would like their anonymous node to post its "guts"
>on a mailing list ;)

>This would only work for not fatal errors ofcourse.

um, i posted a message about this yesterday, but it never did arrive,here
goes again...

First off just because the freenet node crashes in the first instance dosent
mean it'll never start again, and storing the debug data in-memory/ondisk
isnt more
unsafe than letting netscape hold the page for rendering/caching.
If i understand what frost does(i might be wrong, it is a infreenet
messageboard/bbs/something similar right?), you could restart the node with
user permission, and post the data to a special frost messageboard or
equivelant, where the developers can pick it up and do thier stuff. And as
the data would be just debug stuff, stripping ip's from the log even and
such, it could be freely accessible to whoever.

If anyone remembers the days of dr watson on win3.1, something along those
lines?
ie: when the central error handling code(you do have this right?) is called,
it first writes any data which isnt included in a log(dumps of current
read/write pos in the datastore etc, you get the idea), and then
runs a small external program, for my purposes lets call it doc_freenet.

doc_freenet would popup(assuming windows), and read in the datafile if it
exists. by this point the node has likely crashed or shut itself down.
doc_freenet then tells the user that freenet had an error and needed to
shutdown, sorry for the inconvenience and can we anonymously submit some
debug info?. if yes then do the following:
1. attempt to (re)start a freenet node [the nodes do restart without a
system reboot right?].
1a If restart sucessful then post the data using the frost protocol.
1b If restart fails(ie: findWindowByTitle dosent return the freenet window
handle etc), then store the data and mabye resend when the freenet node
works with users permission again?.

Its crude but workable.
absolute essential: let the users see whats bieng sent, assure them that 
nothing personal is bieng sent and we cant track them, please check the freenet 
page in a few days(or weeks lol) for a update to fix this, thanks for using 
freenet!

thoughts?  hell i'd offer to write the windows version of this but i am but
a simple asp/vb programmer, i have the knoledge but the language isnt the
accepted one on freenet. it could look pretty though. such is life.





--
| Are ?rseth    | elrond at idi.ntnu.no | http://ctemp.dhs.org/ |
| tlf: 73886876 | mob: 410 00548


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



--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .


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

Reply via email to