github hyphanet/fred build01493
build01493: 2022-03-28

latest releases: build01498, build01498-pre1, testing-build-1498-pre1...
2 years ago

Freenet 0.7.5 build 1493 is now available. [overview]

This build provides four core improvements:

  1. Curated default bookmarks, including an actively maintained index and Shoeshop for sneakernet
  2. Better peer scaling for very fast nodes
  3. Updated defaults to adapt to the higher capacities of modern systems.
  4. Compatibility with Java 17, first in the installers, with the following update for all nodes

The curated default bookmarks provide a much better first-start
experience. Previously new users saw mostly outdated sites in
inactive indexes.

Adding Shoeshop to enable sneakernet which can connect separate
Freenet networks even if no internet connection can be established
now provides all the tools for selfpublishing, not only in the
style of publishing an online blog (which is already easy with
Sharesite) or sending a file to an independent printer, but in the
much more self-reliant style, resourcefulness and rebellious spirit
of classical samizdat.

Adjusted peer-scaling fixes a conceptual problem: Fast nodes could
not utilize their bandwidth well enough, because the previous
peer-scaling did not take the aggregated bandwidth limit of the
peers into account. Now very fast nodes have linearly scaling
peer-counts to make it more likely that the capacity of their peers
added together matches the capacity of the fast node. The absolute
upper limits stay in place, because they are needed to preserve
privacy. There are also no changes to the peer-scaling of slower
nodes.

The fixed scaling should improve the performance of the whole
network because it avoids creating artificial bottlenecks.

Changes to the defaults are a doubled thread limit of newly
installed nodes (increased from 500 to 1000), with the stack size
per thread reduced by half to avoid higher memory consumption, the
datastore size is increased from 20GiB to 100GiB, because SSDs are
much faster and more resilient than before, and the default
bandwidth to offer if the actual speed cannot be found is doubled
to 32KiB/s.

These newer defaults should also improve the first-time user
experience.

Compatibility with Java 17 took longer than we hoped, because it
required deploying a newer wrapper and changes to the classpath.
This makes it easier to support packages for modern Linux, and it
should avoid losing nodes when Java updates itself (starting from
the next update this also applies to existing nodes; we have to
deploy the update code in 1493 so it can run during the update to
1494).

All together these changes should improve the user experience for
new people, give sneakernet the visibility it deserves, and
increase the performance of the network as a whole.

And last, but definitely not least, our translation team at
transifex updated enough of the the German, Persian, Finnish,
Italian, Japanese, Norwegian, Portuguese, Russian, and Swedish
texts in Freenet that we can ship the new versions. Thank you
very much!

That Freenet can keep moving forward and help people worldwide to
exercise their basic rights and freedoms is the work of amazing
volunteers, both contributors and people running Freenet nodes.
Thank you for your contributions, and thank you for using Freenet!

  • AB

Developer changelog:

2022-03-28

Changes in 1493:

  • Update the wrapper files in dependencies.properties to 3.5.30
    This change sets a consistent wrapper-version for Windows, *Nix, and
    also OSX, thanks to operhiem1 for the review

  • Pseudonymous people found found a bug in our splitfile inserter that
    TheSeeker tracked down to its source. It threw an exception if the
    checksum was exactly [0,0,0,0], thanks to operhiem1 for the review

  • Update default bookmarks: Replace inactive indexes, add Shoeshop,
    show active sites first. Thanks to AC4BB21B for the review!

  • Fix FreenetURI intern() to not forget edition of USK — thanks to
    debbiedub!

  • Replace Pointer.SIZE with Native.POINTER_SIZE for JNA 5.x — thanks
    to Leo3418 and Bombe

  • fix peer scaling for very fast peers:
    Very fast nodes have more peers to fix a conceptual mistake
    (did not take the aggregated bandwidth limit of the peers into account).
    Thanks to TheSeeker for the review!

  • more resilient noderef parsing for easier friend-to-friend connections
    try replacing spaces by newlines in noderefs when parsing fails

  • Accept FreenetURI in add peer field; only try regular url on failure
    — thanks to desyncr for the review

  • Add warning about surveillance through voice recognition tech

  • Updater changes to add Java 17 support for existing nodes to
    wrapper.conf (required module opens for Java 17 to wrapper.conf)
    during the following update (to 1494)

  • add output of filtered file to the OggFilterTest

  • Installer changes:

    • Java 17 support
    • increase default datastore size to 100GiB, because SSDs are much
      faster today
    • Set standard thread limit to 1000
    • decrease default thread stack size for reduced memory usage
      (512KiB)
    • Increase default bandwidth to 32KiB/s. This should improve
      performance for new nodes where UPnP does not give the speed.
      thanks to operhiem1 for the review
  • AB


Changes in the installers:

java-installer:

Arne Babenhauserheide (8):
wrapper.conf: open the modules required for Java 16 and Java 17
wrapper.conf: increase count for commented out args, too
decrease per-thread stacksize to 256k
Get and load sharesite by default instead of ThawIndexBrowser
increase default max memory limit to 768 for computers with more than 4GiB of memory
fix: no equal sign after Xss
512k thread stack
update wrapper.jar, binaries and libs to upstream version 3.5.30
update jna on classpath when run without wrapper to 4.5.2

Arne Babenhauserheide (freenet releases) (3):
Merge branch 'TheSeeker-patch-1' into next
Merge branch 'next' of github.com:freenet/java_installer into next
detect Java 9 to 18

TheSeeker (1):
update jna dependency versions

wininstaller-innosetup:

Arne Babenhauserheide (8):
Update wrapper.conf
decrease per-thread stacksize to 256k
fix: no equal sign after Xss
only set Java 9+ options on w64
also lookup java 64 under non-explicit 64 key
allow 1024 MiB of memory on a machine with more than 4GiB
update the wrapper to the build with Java 9+ support created by Steve in 2018
remove 32bit note for Java installer (because it is no longer correct)

Arne Babenhauserheide (freenet releases) (11):
Update bundled JRE to 10.0.2 for Windows x64
reference zip, not exe
declare var
{tmp}\ so this is not empty
note why zip
Merge branch 'innosetup-windows-x64-support' of https://github.com/desyncr/wininstaller-innosetup
Merge branch 'desyncr-innosetup-windows-x64-support'
end line with carriage return newline
update FreenetTray.exe to version from cc614654fe8a4ae1a22db9b67b7bdf012268590c support-java-registry-with-JRE
Merge branch 'master' of github.com:freenet/wininstaller-innosetup
note that gh actions runs can be retriggerd

DC* (6):
Reference bundled zip for extraction
Fix syntax error
Simplify command and remove unnecessary compression
Mistakenly removed fred_deps.iss
Pre-unpack jre zip before creating installer
Merge remote-tracking branch 'origin/master' into innosetup-windows-x64-support


Changes in fred:

Arne Babenhauserheide (33):
add output of filtered file to the OggFilterTest
fix peer scaling for very fast peers:
correctly mark bytes with uppercase b
fix: apply max peers after increasing targetPeers for fast nodes
add voice recognition warning
try replacing spaces by newlines in noderefs when parsing fails.
Accept FreenetURI in add peer field; only try regular url on failure
note effectively published field
actually replace instead of doing the wrong thing
actually working more liberal noderef parsing
add max size to the fetched noderef
add required module opens for Java 17 to wrapper.conf
increase default datastore size to 100GiB, because SSDs are much faster today
Set standard thread limit to 1000
Use Logger instead of System.out.println
make the 50% slow fraction assumption explicit
break long line
log after setting limit for consistency
update NEWS
update default bookmarks.
update NEWS
Increase default upload bandwidth if none detected to 32KiB/s
remove options with duplicated upload bandwidths.
delete l10n for no longer existing bookmarks
Add fetchpullstats to the bookmarks
Move inactive flogs to the end of the flog list
fix: this threw an exception if the checksum was exactly [0,0,0,0].
Update the wrapper files in dependencies.properties to 3.5.30
1493 NEWS
1493 NEWS
fix: NEWS structure was broken
typo
cleaner NEWS description and remove duplicate entry

Arne Babenhauserheide (freenet releases) (7):
Update default bookmark editions
Update default bookmark editions
Update default bookmark editions
Update default bookmark editions
NEWS changes
Update default bookmark editions
Build 1493

Debora Wöpcke (2):
Add test to verify that intern() does not modify an USK
Correct so that FreenetURI intern() doesn't forget suggestedEdition

Yuan Liao (1):
Replace Pointer.SIZE with Native.POINTER_SIZE for JNA 5.x

Don't miss a new fred release

NewReleases is sending notifications on new releases.