Re: Freenet in Whonix

Arne Babenhauserheide <arne_bab-S0/[email protected]>
Newsgroups gmane.network.freenet.devel
Message-ID <[email protected]>
[email protected] writes:

> On 2016-12-16 22:06, Arne Babenhauserheide wrote:
>> [email protected] writes:
>> There is a way to route connections over Tor, but it isn’t tested
>> regularly and currently only works in friend-to-friend mode. For 
>> details
>> see:
>> http://127.0.0.1:8888/freenet:USK@ED3bT6ngiUE1RayB9N~aQz6iIrc4Gwj-ubnaw22s~aY,kN3gtmcb9pHa2FKrVPw1U5209WvB7vvuQ7oC42gt6ic,AQACAAE/wats-dieh/17/freenet-over-tor.html
>> 
…
> I do not doubt Freenet's anonymity capabilities.
…
> While running nodes over Tor with TCP support is not optimal for
> Freenet network performance, it is still to your advantage than not
> having those nodes run at all?

The issue is not only performance. It is implementation. Switching from
UDP to TCP would require restructuring of the whole transport layer. It
is on the longterm roadmap, but as long as no one new takes it up, it
will take time.

So not routing over Tor is not about advantage or strategy.

However if you just need to reach the users, you could simply establish
Tor hidden services which provide the content from Freenet over
Tor. This then uses Freenet as distributed storage and provides several
views on the site — only one of which needs to be available to get the
information.

Here in an example of this:

http://127.0.0.1:8888/USK@1ORdIvjL2H1bZblJcP8hu2LjjKtVB-rVzp8mLty~5N4,8hL85otZBbq0geDsSKkBK4sKESL2SrNVecFZz9NxGVQ,AQACAAE/bluishcoder/37/2015/09/14/using-freenet-for-static-websites.html

These sites can be run by any Whonix user who has access to both Freenet
and Tor. Then those who only have access to Tor due to needing hidden
bridges and pluggable transports can check the different hidden
services to get the data.

Whonix users who can run Freenet will then get the full cryptographic
guarantees that the site was uploaded from someone with the private key,
while Whonix users who can only run Tor will need to rely on the
integrity of the hidden services (depending on the protocol you
establish, corruption of one of the services will simply cause fallback
to another one).

What I forgot to ask: Do you have information about Users for whom the
Freenet friend-to-friend mode is blocked? This is similar to hidden
bridges, and the Freenet protocol is not trivial to detect.

>> Also you can modify the configuration from pyFreenet but I did not test
>> that in a long time:
>> https://github.com/ArneBab/lib-pyFreenet-staging/blob/py3/fcp3/node.py#L1132
>> See also: https://wiki.freenetproject.org/FCPv2/ModifyConfig
>
> Good to know. Thanks.
>
>> You can have a look at my work with auto-spawning of Freenet nodes in
>> fcpupload and babcom. See
>> http://www.draketo.de/light/english/freenet/pyfreenet-041-autospawn
…
>> fcpupload --spawn --fcpPort 9486 testfile
>> 
>> ^ spawn a node, uploads testfile into Freenet. Provides the key to the
>>   file when the upload finishes and tears down the node again.
…
>> auto-spawning currently downloads Freenet over the internet,
>> though. Doing this download over Tor shouldn’t be hard. In fact it just
>> requires setting the proxy:
> 
> Does that happen when updating Freenet?

Updates of Freenet are downloaded directly over Freenet, so they never
touch the clearnet.

Therefore the requirement to use a proxy only exists for spawning a node
on a computer which does not have Freenet yet.

The current way to install Freenet and keep it up to date is to install
it once, start it at boot or login and then let it update itself
automatically.

>>> * Before including pyFreenet we would need it to be signed by its
>>> respective dev so we can validate it before running anything of 
>>> course.
>> 
>> I’m the current maintainer. Do you need gpg signed git revisions or
>> tags, signed release tarballs or signed Mercurial commits?
>> 
>
> Ideally we need a signed deb
…
>> pyFreenet consist purely of Python packages, without need of 
>> compilation
>> steps.
>
> I understand. We can't rely on pip because it lacks GPG support. Please 
> also consider providing Freenet in signed .deb form so we can easily 
> provide that package via our repos.

I understand not wanting to rely on pip. I would not expect you to: The
instructions are just for those who want to skip manual steps.

Providing Freenet itself as a signed deb is on the roadmap, but not yet
done. The main problem in the past was that some of our requirements
were unavailable in Debian.

> Debian reprepo tool works nicely for packaging and really helpful 
> upstream that can be contacted by mail.
>
> https://mirrorer.alioth.debian.org/

I just checked this, but the howto and manual were unavailable.

Did they move to a new place?

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken

_______________________________________________
Devl mailing list
[email protected]
https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
signature.asc (application/pgp-signature, 800 B)
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJYVX2RAAoJEBPvjUUkA8Pr2uYQAJNzxYABJrycL4CzIolvKoVP
P9G4SmaBvwCnE0gonP3QbgHkajDajIE4ZmZf6q7CilM3YwEBz+4OqXJwEjbD2x7e
1sdvsQLspM5ghBu/Rudpj0YKm/6i6jEIQ4nMoVx2Wvfz6aUvBuHPAso5pJmrKd1A
6aQ1FenuNnzOyFpwJPksr2Z4qk4NbqIl5wGZScLkOx1tPI1r90uXqi6OI7Te/I7b
LPg8z5KMGU3a+seT0k4JI5bAbuUvHqCJ4TDctNnmEX12YaG+8tDuHrEk7b0mLul5
NPR+rLDh4cSrX6wf6a4a8QN+jBRrR/oDn+9QXtDwvmwIOosTPle96+5qqtdIkRqU
Uq2QFR+pdpNaUqZpIWp2+VOW/Fmq95K3ztwnE4GJWjRJPElvUgQrjTl17Fw/LUCz
0xByfKRIJi9vZt68e0cVn7UYo/gqEQzdmrsPtflxxsdX+m7bFcmDjkszYDng5YfW
RBR4k7dfZXxDcaNrVeSWcbwOHyfM2QohEVsHiUY2I8JzKAaeqURv6Gd1RRi9Dxss
K+3E1LDGhX11zvJCl/EjDqhnyTmMHP++hkzLwGXfVn3yByQ9WQQkLGr2qGeD58HQ
9JzzEs1oCfr6Ztnvs1HZ6hD9RDCFwgCV9Jf9PYEobEChCbCtC8CDGjgyCvEM6hSz
QHxKaXmS3eJRjtIi3qbO
=6ehq
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.