Re: [freenet-support] BartPE plugin for Freenet 0.7?

2010-10-16 Thread Matthew Toseland
On Friday 27 August 2010 11:04:57 Mark wrote:
 On 27/08/2010 09:37, Stephen Mollett wrote:
  Hi,
 
  On Thu, Aug 26, 2010 at 22:11, Mark perkype...@hotmail.co.uk wrote:

  ...
  I'm  thinking of using a machine with 2G of RAM and implement a 1G
  ramdisk, the  bartPE itself will be on a read only bootable USB stick.
  
  FWIW, I think there's a configuration option to make the node keep its 
  datastore 
  in RAM without having to use a ramdisk. I can't remember exactly where it 
  is now 
  (I'm not at my node) but that might be worth looking at - it may be more 
  efficient than going through the filesystem layer.
 
  Of course, it might be worth considering (perhaps for a version 2 after 
  you've 
  got the basic stuff working) having an option to export (and, obviously, 
  re-import) an encrypted archive of the vital statistics (node keys, etc - 
  optionally the datastore, although that would require it to be stored in a 
  filesystem so the archiver can access it) so that if the operator needs to 
  reboot for administrative reasons, he doesn't have to restart his node from 
  scratch. Obviously, he'd need to wipe/destroy the backup media afterwards 
  so as 
  not to defeat the original purpose of having a RAM-based node...
 
  Stephen
 
 Thanks for the suggestions. I'm a little new to all this so I think I'll
 just try to get something going first :)
 
 The option of having the datastore in ram rather than the filesystem is
 quite attractive as it liberates the ramdisk space for use by other
 things that do require a filesystem. I'll look at that option once I
 have something going though.

How about using the existing swap space allocated by the installed 
linux/windows/whatever system? Encrypted, of course. You could even only use it 
if it was encrypted, if that can be detected easily. Plus, you can write stuff 
to the USB key e.g. keys ...


signature.asc
Description: This is a digitally signed message part.
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

Re: [freenet-support] BartPE plugin for Freenet 0.7?

2010-08-30 Thread Juiceman
On Fri, Aug 27, 2010 at 5:59 AM, Mark perkype...@hotmail.co.uk wrote:

 On 26/08/2010 22:36, Juiceman wrote:
 
 
  On Thu, Aug 26, 2010 at 5:11 PM, Mark perkype...@hotmail.co.uk
  mailto:perkype...@hotmail.co.uk wrote:
 
  Hi All,
 
  Does anyone have a bartPE plugin available for Freenet V0.7?
 
  If no-one has done this I'm thinking of having a go. It would be
  really
  useful though if I could get the following information from somewhere
  (maybe this is already published somewhere, apologies if it is):
 
  1) A list of all files and where they should be put
  2) A list of registry entries to be made
  3) What services need to be registered and run
  4) Where temporary files Freenet creates should be put
 
  I'm thinking of using a machine with 2G of RAM and implement a 1G
  ramdisk, the bartPE itself will be on a read only bootable USB stick.
 
  Does anyone have a feel for how difficult this might be, or any
  gotchas
  I need to look out for?
 
  If I manage to get it going I'll make it available to the Freenet
  community.
 
  As an aside, I really think Freenet should create and publish
  their own
  official bartPE plugin, this would allow liveCDs and liveUSBs to be
  easily created that are guaranteed not to leave any footprint
  whatsoever
  on a host PC, especially useful for those living in oppressive
 regimes
  who want to leave no trace of a Freenet being run.
 
  Thanks!
 
  Mark.
  ___
  Support mailing list
  Support@freenetproject.org mailto:Support@freenetproject.org
  http://news.gmane.org/gmane.network.freenet.support
  Unsubscribe at
  http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
  Or mailto:support-requ...@freenetproject.org
  mailto:support-requ...@freenetproject.org?subject=unsubscribe
 
 
  I think this is a great idea, I look forward to testing it for you.
  Many of the answers you need can be found on one of the wikis.
  http://wiki.freenetproject.org or http://new-wiki.freenetproject.org.
  You can even add info to the new wiki about your plugin project.
 
  No registry entries need to be made, nor do any services need to be
  run.  The node can be run with a simple batch command, something like
  java -Xmx100M http://wiki.freenetproject.org/Xmx100M/edit -cp
  freenet-ext.jar:freenet-cvs-snapshot.jar freenet.node.Node freenet.ini
 

 I was unaware you could do this, thanks for this!

 The reason I mentioned services is that there is a freenet service
 running on my machine, and if you disable it you get a lost signal error
 when trying to start or stop the node. So I assumed this needed to be
 registered and run during install. However I have read since that no
 services are really needed and sometimes this signal error does happen.
 Also there are registry entries for freenet. I did have V0.5 once so
 maybe this is a hangover from an unclean de-install of V0.5 (?).


What you are trying to accomplish does not need the integrated Windows
cruft.  All you need is the directory and files that are created when you do
an install and that command I gave you earlier to invoke Freenet manually.


 Can I also assume that starting the node as you describe puts an icon in
 the task bar and allows you to start and stop the node? Also I'm unsure
 exactly what freenet.node.NODE switch actually does, maybe there is a
 help file or a help output from the java command above.


The icon is a separate utility that calls the Windows service so this can be
ignored.
The freenet.node.NODE switch tells Java what part of the Freenet code to
start first.


 I'm a bit confused now about exactly what files to install. I'm guessing
 I can take a standard Windows installation and just put all the files in
 the Program Files/Freenet directory into ramdisk and run the java
 command above and that's all, is this correct?


Yes.


 Thanks for the help BTW :)

 Mark.




 ___
 Support mailing list
 Support@freenetproject.org
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at
 http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:support-requ...@freenetproject.org?subject=unsubscribe




-- 
I may disagree with what you have to say, but I shall defend, to the death,
your right to say it. - Voltaire
Those who would give up Liberty, to purchase temporary Safety, deserve
neither Liberty nor Safety. - Ben Franklin
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe

Re: [freenet-support] BartPE plugin for Freenet 0.7?

2010-08-27 Thread Stephen Mollett
Hi,

On Thu, Aug 26, 2010 at 22:11, Mark perkype...@hotmail.co.uk wrote:
 ...
 I'm  thinking of using a machine with 2G of RAM and implement a 1G
 ramdisk, the  bartPE itself will be on a read only bootable USB stick.

FWIW, I think there's a configuration option to make the node keep its 
datastore 
in RAM without having to use a ramdisk. I can't remember exactly where it is 
now 
(I'm not at my node) but that might be worth looking at - it may be more 
efficient than going through the filesystem layer.

Of course, it might be worth considering (perhaps for a version 2 after 
you've 
got the basic stuff working) having an option to export (and, obviously, 
re-import) an encrypted archive of the vital statistics (node keys, etc - 
optionally the datastore, although that would require it to be stored in a 
filesystem so the archiver can access it) so that if the operator needs to 
reboot for administrative reasons, he doesn't have to restart his node from 
scratch. Obviously, he'd need to wipe/destroy the backup media afterwards so as 
not to defeat the original purpose of having a RAM-based node...

Stephen

 -- 


I haven't lost my mind - it's backed up on tape somewhere!
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] BartPE plugin for Freenet 0.7?

2010-08-27 Thread Mark
On 26/08/2010 22:36, Juiceman wrote:


 On Thu, Aug 26, 2010 at 5:11 PM, Mark perkype...@hotmail.co.uk
 mailto:perkype...@hotmail.co.uk wrote:

 Hi All,

 Does anyone have a bartPE plugin available for Freenet V0.7?

 If no-one has done this I'm thinking of having a go. It would be
 really
 useful though if I could get the following information from somewhere
 (maybe this is already published somewhere, apologies if it is):

 1) A list of all files and where they should be put
 2) A list of registry entries to be made
 3) What services need to be registered and run
 4) Where temporary files Freenet creates should be put

 I'm thinking of using a machine with 2G of RAM and implement a 1G
 ramdisk, the bartPE itself will be on a read only bootable USB stick.

 Does anyone have a feel for how difficult this might be, or any
 gotchas
 I need to look out for?

 If I manage to get it going I'll make it available to the Freenet
 community.

 As an aside, I really think Freenet should create and publish
 their own
 official bartPE plugin, this would allow liveCDs and liveUSBs to be
 easily created that are guaranteed not to leave any footprint
 whatsoever
 on a host PC, especially useful for those living in oppressive regimes
 who want to leave no trace of a Freenet being run.

 Thanks!

 Mark.
 ___
 Support mailing list
 Support@freenetproject.org mailto:Support@freenetproject.org
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at
 http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:support-requ...@freenetproject.org
 mailto:support-requ...@freenetproject.org?subject=unsubscribe


 I think this is a great idea, I look forward to testing it for you. 
 Many of the answers you need can be found on one of the wikis. 
 http://wiki.freenetproject.org or http://new-wiki.freenetproject.org. 
 You can even add info to the new wiki about your plugin project.

 No registry entries need to be made, nor do any services need to be
 run.  The node can be run with a simple batch command, something like
 java -Xmx100M http://wiki.freenetproject.org/Xmx100M/edit -cp
 freenet-ext.jar:freenet-cvs-snapshot.jar freenet.node.Node freenet.ini


I was unaware you could do this, thanks for this!

The reason I mentioned services is that there is a freenet service
running on my machine, and if you disable it you get a lost signal error
when trying to start or stop the node. So I assumed this needed to be
registered and run during install. However I have read since that no
services are really needed and sometimes this signal error does happen.
Also there are registry entries for freenet. I did have V0.5 once so
maybe this is a hangover from an unclean de-install of V0.5 (?).

Can I also assume that starting the node as you describe puts an icon in
the task bar and allows you to start and stop the node? Also I'm unsure
exactly what freenet.node.NODE switch actually does, maybe there is a
help file or a help output from the java command above.

I'm a bit confused now about exactly what files to install. I'm guessing
I can take a standard Windows installation and just put all the files in
the Program Files/Freenet directory into ramdisk and run the java
command above and that's all, is this correct?

Thanks for the help BTW :)

Mark.




___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] BartPE plugin for Freenet 0.7?

2010-08-27 Thread Mark
On 27/08/2010 09:37, Stephen Mollett wrote:
 Hi,

 On Thu, Aug 26, 2010 at 22:11, Mark perkype...@hotmail.co.uk wrote:
   
 ...
 I'm  thinking of using a machine with 2G of RAM and implement a 1G
 ramdisk, the  bartPE itself will be on a read only bootable USB stick.
 
 FWIW, I think there's a configuration option to make the node keep its 
 datastore 
 in RAM without having to use a ramdisk. I can't remember exactly where it is 
 now 
 (I'm not at my node) but that might be worth looking at - it may be more 
 efficient than going through the filesystem layer.

 Of course, it might be worth considering (perhaps for a version 2 after 
 you've 
 got the basic stuff working) having an option to export (and, obviously, 
 re-import) an encrypted archive of the vital statistics (node keys, etc - 
 optionally the datastore, although that would require it to be stored in a 
 filesystem so the archiver can access it) so that if the operator needs to 
 reboot for administrative reasons, he doesn't have to restart his node from 
 scratch. Obviously, he'd need to wipe/destroy the backup media afterwards so 
 as 
 not to defeat the original purpose of having a RAM-based node...

 Stephen
   

Thanks for the suggestions. I'm a little new to all this so I think I'll
just try to get something going first :)

The option of having the datastore in ram rather than the filesystem is
quite attractive as it liberates the ramdisk space for use by other
things that do require a filesystem. I'll look at that option once I
have something going though.

Mark.

___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] BartPE plugin for Freenet 0.7?

2010-08-27 Thread user1
Wonder if it could be made as a pet package for the puppy live cd?

http://www.puppylinux.com/download/


___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


Re: [freenet-support] BartPE plugin for Freenet 0.7?

2010-08-26 Thread Juiceman
On Thu, Aug 26, 2010 at 5:11 PM, Mark perkype...@hotmail.co.uk wrote:

 Hi All,

 Does anyone have a bartPE plugin available for Freenet V0.7?

 If no-one has done this I'm thinking of having a go. It would be really
 useful though if I could get the following information from somewhere
 (maybe this is already published somewhere, apologies if it is):

 1) A list of all files and where they should be put
 2) A list of registry entries to be made
 3) What services need to be registered and run
 4) Where temporary files Freenet creates should be put

 I'm thinking of using a machine with 2G of RAM and implement a 1G
 ramdisk, the bartPE itself will be on a read only bootable USB stick.

 Does anyone have a feel for how difficult this might be, or any gotchas
 I need to look out for?

 If I manage to get it going I'll make it available to the Freenet
 community.

 As an aside, I really think Freenet should create and publish their own
 official bartPE plugin, this would allow liveCDs and liveUSBs to be
 easily created that are guaranteed not to leave any footprint whatsoever
 on a host PC, especially useful for those living in oppressive regimes
 who want to leave no trace of a Freenet being run.

 Thanks!

 Mark.
 ___
 Support mailing list
 Support@freenetproject.org
 http://news.gmane.org/gmane.network.freenet.support
 Unsubscribe at
 http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
 Or mailto:support-requ...@freenetproject.org?subject=unsubscribe


I think this is a great idea, I look forward to testing it for you.  Many of
the answers you need can be found on one of the wikis.
http://wiki.freenetproject.org or http://new-wiki.freenetproject.org.  You
can even add info to the new wiki about your plugin project.

No registry entries need to be made, nor do any services need to be run.
The node can be run with a simple batch command, something like java -
Xmx100M http://wiki.freenetproject.org/Xmx100M/edit -cp
freenet-ext.jar:freenet-cvs-snapshot.jar freenet.node.Node freenet.ini


-- 
I may disagree with what you have to say, but I shall defend, to the death,
your right to say it. - Voltaire
Those who would give up Liberty, to purchase temporary Safety, deserve
neither Liberty nor Safety. - Ben Franklin
___
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:support-requ...@freenetproject.org?subject=unsubscribe