It is a lot easier if you do diff -c instead of sending the whole thing (yes, I
can do it myself, but still).
Also, what is point of running a node if you don't have access to the Internet?
If your web browser can't reach sites directly, how will Freenet?
On Sun, 16 Apr 2000, Stuart A Blair wrote:
>
> Hi All.
>
> I've written some code that may be useful to those who would like to run
> a Freenet node, but are forced to access the web via a web proxy server.
> This presents a problem if you're trying to read the list of nodes or
> add to it.
>
> Before the connection to inform.php, a few lines of code set the Java
> system properties to use a proxy specified in the config file or on the
> command line.
>
> It is of no use whatsoever if you are behind a firewall which blocks
> incoming traffic, since other nodes will not be able to contact yours.
>
> Changes are limited to three files taken from the cvs snapshot
> Freenet-20000415.tgz:
> node/Node.java - lines 199-203, 244-245
> scripts/freenet.ini - lines 35-38
> scripts/sample.freenetrc - lines 35-38
>
> I've made the changes to the version I'm running here, and all seems
> well. Unfortunately, you still have to unregister the node manually when
> you shut it down, since this isn't done using Java.
>
> Please feel free to make use of this, or disregard it totally:)
>
> All the best,
> Stuart
>
----------------------------------------
Content-Type: text/plain; name="Node.java"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
----------------------------------------
Content-Type: text/plain; name="freenet.ini"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
----------------------------------------
Content-Type: text/plain; name="sample.freenetrc"
Content-Transfer-Encoding: 7bit
Content-Description:
----------------------------------------
--
Oskar Sandberg
md98-osa at nada.kth.se
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev