As for alternate protocals going over Freenet, I realized that Freenet would be
ideal for netnews distribution.  This would require a set of new messages which
are not currently part of the Freenet protocal.  Note that these messages
should be passed on if a node doesn't recognize or use them.  They should also
be caught and then passed on by nodes that use them.  There are two different
methods of distribution - push and pull.  Push is used by nodes to send
articles to other nodes.  Pull is used by clients to request news articles from
nodes.

The new messages would be:

NewsSend
UniqueID=unique id for this message (remembered to eliminate cycles)
DataLength=length of article
Data
full Usenet article

NewsgroupRequest
UniqueID=unique id for this message
Newsgroups=glob for newsgroups ('*' for all newsgroups)
EndMessage

NewsgroupReply
UniqueID=unique id (same as for corresponding request)
Newsgroups=newsgroups,...
EndMessage

NewsListRequest
UniqueID=unique id for this message
Newsgroups=list of newsgroups
OldTimeDate=articles returned are equal or later than this (optional)
EndMessage

NewsListReply
UniqueID=unique id (same as for corresponding request)
Articles=(id, date, from, subject, (newsgroups,...)),...
EndMessage

NewsArticleRequest
UniqueID=unique id for this message
ID=message id (netnews - not Freenet UniqueID) requested
EndMessage

NewsArticleReply
UniqueID=unique id (same as for corresponding request)
DataLength=length of article
Data
full Usenet article

-- 
Travis Bemann
Sendmail is still screwed up on my box.
Now I'm not sure if it is even Sendmail - I know it isn't mutt because error
messages returned by Sendmail have my *correct* email address on them.
My email address is really bemann at execpc.com.

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to